From 4a3f1fdfe1eb3743564adcee35d5513224339260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?=
Date: Fri, 25 Nov 2016 04:10:33 +0100
Subject: New upstream version 0.25.1
---
ChangeLog | 899 +-
Makefile.am | 1 +
Makefile.in | 218 +-
NEWS | 46 +
common.am | 4 +-
configure | 60 +-
configure.ac | 8 +-
help/Makefile.am | 2 +-
help/Makefile.in | 2 +-
help/es/edit-adjustments.page | 24 +-
help/es/edit-crop.page | 31 +-
help/es/edit-date-time.page | 6 +
help/es/edit-enhance.page | 10 +-
help/es/edit-external.page | 13 +-
help/es/edit-nondestructive.page | 6 +
help/es/edit-redeye.page | 6 +
help/es/edit-rotate.page | 6 +
help/es/edit-straighten.page | 6 +
help/es/edit-undo.page | 6 +
help/es/es.po | 6008 ++++----
help/es/formats.page | 6 +
help/es/import-camera.page | 6 +
help/es/import-f-spot.page | 6 +
help/es/import-file.page | 6 +
help/es/import-memorycard.page | 6 +
help/es/index.page | 6 +
help/es/organize-event.page | 6 +
help/es/organize-flag.page | 6 +
help/es/organize-rating.page | 6 +
help/es/organize-remove.page | 6 +
help/es/organize-search.page | 6 +
help/es/organize-tag.page | 6 +
help/es/organize-title.page | 6 +
help/es/other-files.page | 6 +
help/es/other-missing.page | 6 +
help/es/other-multiple.page | 6 +
help/es/other-plugins.page | 6 +
help/es/raw.page | 6 +
help/es/running.page | 6 +
help/es/share-background.page | 6 +
help/es/share-export.page | 6 +
help/es/share-print.page | 6 +
help/es/share-send.page | 6 +
help/es/share-slideshow.page | 6 +
help/es/share-upload.page | 6 +
help/es/view-displaying.page | 6 +
help/es/view-information.page | 6 +
help/es/view-sidebar.page | 6 +
help/lv/edit-adjustments.page | 49 +
help/lv/edit-crop.page | 44 +
help/lv/edit-date-time.page | 19 +
help/lv/edit-enhance.page | 16 +
help/lv/edit-external.page | 26 +
help/lv/edit-nondestructive.page | 19 +
help/lv/edit-redeye.page | 25 +
help/lv/edit-rotate.page | 26 +
help/lv/edit-straighten.page | 27 +
help/lv/edit-undo.page | 21 +
help/lv/figures/trash_process.png | Bin 0 -> 21274 bytes
help/lv/formats.page | 27 +
help/lv/import-camera.page | 31 +
help/lv/import-f-spot.page | 19 +
help/lv/import-file.page | 23 +
help/lv/import-memorycard.page | 31 +
help/lv/index.page | 47 +
help/lv/lv.po | 3226 ++++
help/lv/lv.stamp | 0
help/lv/organize-event.page | 53 +
help/lv/organize-flag.page | 24 +
help/lv/organize-rating.page | 27 +
help/lv/organize-remove.page | 42 +
help/lv/organize-search.page | 33 +
help/lv/organize-tag.page | 50 +
help/lv/organize-title.page | 17 +
help/lv/other-files.page | 100 +
help/lv/other-missing.page | 21 +
help/lv/other-multiple.page | 21 +
help/lv/other-plugins.page | 18 +
help/lv/raw.page | 24 +
help/lv/running.page | 23 +
help/lv/share-background.page | 17 +
help/lv/share-export.page | 32 +
help/lv/share-print.page | 18 +
help/lv/share-send.page | 16 +
help/lv/share-slideshow.page | 22 +
help/lv/share-upload.page | 32 +
help/lv/view-displaying.page | 26 +
help/lv/view-information.page | 17 +
help/lv/view-sidebar.page | 34 +
plugins/common/BuilderPane.c | 632 +
plugins/common/BuilderPane.vala | 60 +
plugins/common/RESTSupport.c | 1223 +-
plugins/common/RESTSupport.vala | 18 +-
plugins/common/WebAuthenticationPane.c | 238 +-
plugins/common/WebAuthenticationPane.vala | 8 +-
plugins/shotwell-plugin-common.h | 34 +
plugins/shotwell-plugin-common.vapi | 13 +
.../shotwell-publishing-extras/RajcePublishing.c | 3318 ++--
.../RajcePublishing.vala | 5 +-
.../shotwell-publishing-extras/TumblrPublishing.c | 2960 ++--
.../TumblrPublishing.vala | 9 +-
.../shotwell-publishing-extras/YandexPublishing.c | 722 +-
.../YandexPublishing.vala | 8 +-
.../rajce_authentication_pane.ui | 202 +-
.../tumblr_authentication_pane.ui | 181 +-
.../yandex_publish_model.ui | 272 +-
plugins/shotwell-publishing/FacebookPublishing.c | 2 +-
.../shotwell-publishing/FacebookPublishing.vala | 20 +-
plugins/shotwell-publishing/FlickrPublishing.c | 12 +-
plugins/shotwell-publishing/PicasaPublishing.c | 1146 +-
plugins/shotwell-publishing/PicasaPublishing.vala | 4 +-
plugins/shotwell-publishing/PiwigoPublishing.c | 10911 ++++++-------
plugins/shotwell-publishing/PiwigoPublishing.vala | 440 +-
plugins/shotwell-publishing/YouTubePublishing.c | 917 +-
plugins/shotwell-publishing/YouTubePublishing.vala | 5 +-
.../piwigo_authentication_pane.ui | 257 +-
.../piwigo_publishing_options_pane.ui | 469 +-
po/POTFILES.in | 144 +-
po/cs.gmo | Bin 130059 -> 127736 bytes
po/cs.po | 1678 +-
po/de.gmo | Bin 124543 -> 128320 bytes
po/de.po | 1245 +-
po/es.gmo | Bin 114467 -> 126247 bytes
po/es.po | 13471 ++++++++--------
po/kk.gmo | Bin 103855 -> 90339 bytes
po/kk.po | 8188 ++++++----
po/lv.gmo | Bin 124320 -> 128268 bytes
po/lv.po | 1816 ++-
po/pl.gmo | Bin 132435 -> 129986 bytes
po/pl.po | 1890 ++-
po/pt_BR.gmo | Bin 124917 -> 123632 bytes
po/pt_BR.po | 3515 +++--
po/shotwell.pot | 1973 ++-
publish.am | 13 +-
shotwell.am | 17 +
src/AppDirs.c | 82 +-
src/AppWindow.c | 5139 +++----
src/AppWindow.vala | 197 +-
src/Application.c | 654 +-
src/Application.vala | 12 +
src/BatchImport.c | 126 +-
src/CheckerboardLayout.c | 10 +-
src/CollectionPage.c | 5401 +++----
src/CollectionPage.vala | 222 +-
src/Commands.c | 50 +-
src/Debug.c | 8 +-
src/DesktopIntegration.c | 36 +-
src/Dialogs.c | 9607 ++++++------
src/Dialogs.vala | 91 +-
src/DirectoryMonitor.c | 42 +-
src/Event.c | 64 +-
src/Exporter.c | 36 +-
src/LibraryFiles.c | 56 +-
src/LibraryMonitor.c | 46 +-
src/MediaDataRepresentation.c | 40 +-
src/MediaInterfaces.c | 22 +-
src/MediaMonitor.c | 8 +-
src/MediaPage.c | 7764 ++++------
src/MediaPage.vala | 447 +-
src/MetadataWriter.c | 44 +-
src/Page.c | 12960 ++++++++--------
src/Page.vala | 400 +-
src/Photo.c | 810 +-
src/PhotoMonitor.c | 82 +-
src/PhotoPage.c | 15290 ++++++++-----------
src/PhotoPage.vala | 471 +-
src/PixbufCache.c | 292 +-
src/PixbufCache.vala | 2 +-
src/Printing.c | 108 +-
src/Properties.c | 3841 ++---
src/Properties.vala | 22 +-
src/Resources.c | 3009 ++--
src/Resources.vala | 40 +-
src/SearchFilter.c | 7733 ++++------
src/SearchFilter.vala | 409 +-
src/SlideshowPage.c | 274 +-
src/Tag.c | 70 +-
src/ThumbnailCache.c | 50 +-
src/Tombstone.c | 48 +-
src/Upgrades.c | 18 +-
src/VideoMetadata.c | 90 +-
src/VideoSupport.c | 5990 ++++----
src/VideoSupport.vala | 1 -
src/camera/CameraTable.c | 46 +-
src/camera/GPhoto.c | 26 +-
src/camera/ImportPage.c | 5814 ++++---
src/camera/ImportPage.vala | 58 +-
src/config/ConfigurationInterfaces.c | 1004 +-
src/config/GSettingsEngine.c | 106 +-
src/core/DataSource.c | 14 +-
src/core/SourceCollection.c | 8 +-
src/data_imports/DataImportSource.c | 32 +-
src/data_imports/DataImports.c | 6 +-
src/data_imports/DataImportsPluginHost.c | 6 +-
src/data_imports/DataImportsUI.c | 756 +-
src/data_imports/DataImportsUI.vala | 46 +-
src/db/PhotoTable.c | 6185 ++++----
src/db/PhotoTable.vala | 9 +-
src/direct/DirectPhoto.c | 28 +-
src/direct/DirectPhotoPage.c | 4022 ++---
src/direct/DirectPhotoPage.vala | 207 +-
src/direct/DirectWindow.c | 359 +-
src/direct/DirectWindow.vala | 3 +-
src/editing_tools/EditingTools.c | 13488 ++++++++--------
src/editing_tools/EditingTools.vala | 78 +-
src/editing_tools/StraightenTool.c | 1689 +-
src/editing_tools/StraightenTool.vala | 17 +-
src/events/EventDirectoryItem.c | 16 +-
src/events/EventPage.c | 707 +-
src/events/EventPage.vala | 26 +-
src/events/EventsDirectoryPage.c | 1481 +-
src/events/EventsDirectoryPage.vala | 78 +-
src/folders/Page.c | 56 +-
src/library/Branch.c | 151 +-
src/library/FlaggedPage.c | 73 +-
src/library/ImportQueuePage.c | 776 +-
src/library/ImportQueuePage.vala | 20 +-
src/library/LastImportPage.c | 87 +-
src/library/LibraryWindow.c | 8929 +++++------
src/library/LibraryWindow.vala | 418 +-
src/library/OfflinePage.c | 553 +-
src/library/OfflinePage.vala | 29 +-
src/library/TrashPage.c | 549 +-
src/library/TrashPage.vala | 35 +-
src/main.c | 76 +-
src/org.gnome.Shotwell.gresource.xml | 10 +
src/plugins/ManifestWidget.c | 692 +-
src/plugins/ManifestWidget.vala | 3 +-
src/publishing/PublishingUI.c | 2060 +--
src/publishing/PublishingUI.vala | 69 +-
src/searches/Branch.c | 596 +-
src/searches/Branch.vala | 36 +-
src/searches/SavedSearchDialog.c | 4006 +++--
src/searches/SavedSearchDialog.vala | 15 +-
src/searches/SavedSearchPage.c | 399 +-
src/searches/SavedSearchPage.vala | 40 +-
src/searches/SearchBoolean.c | 52 +-
src/sidebar/Tree.c | 5387 ++++---
src/sidebar/Tree.vala | 45 +-
src/tags/Branch.c | 1242 +-
src/tags/Branch.vala | 38 +-
src/tags/HierarchicalTagIndex.c | 6 +-
src/tags/HierarchicalTagUtilities.c | 10 +-
src/tags/TagPage.c | 778 +-
src/tags/TagPage.vala | 52 +-
src/threads/BackgroundJob.c | 8 +-
src/threads/BackgroundJob.vala | 2 +-
src/util/ui.c | 164 +-
src/util/ui.vala | 10 -
ui/collection.ui | 276 +-
ui/direct.ui | 267 +-
ui/direct_context.ui | 41 +-
ui/event.ui | 618 +-
ui/events_directory.ui | 255 +-
ui/import.ui | 285 +-
ui/import_queue.ui | 123 +-
ui/media.ui | 552 +-
ui/offline.ui | 319 +-
ui/photo.ui | 537 +-
ui/photo_context.ui | 182 +-
ui/savedsearch.ui | 29 +-
ui/search_bar.ui | 67 +-
ui/search_sidebar_context.ui | 18 +-
ui/set_background_dialog.ui | 11 +-
ui/shotwell.ui | 1703 +--
ui/sidebar_default_context.ui | 22 +-
ui/tag_sidebar_context.ui | 17 +-
ui/tags.ui | 470 +-
ui/top.ui | 57 +-
ui/trash.ui | 405 +-
270 files changed, 111041 insertions(+), 111123 deletions(-)
create mode 100644 help/lv/edit-adjustments.page
create mode 100644 help/lv/edit-crop.page
create mode 100644 help/lv/edit-date-time.page
create mode 100644 help/lv/edit-enhance.page
create mode 100644 help/lv/edit-external.page
create mode 100644 help/lv/edit-nondestructive.page
create mode 100644 help/lv/edit-redeye.page
create mode 100644 help/lv/edit-rotate.page
create mode 100644 help/lv/edit-straighten.page
create mode 100644 help/lv/edit-undo.page
create mode 100644 help/lv/figures/trash_process.png
create mode 100644 help/lv/formats.page
create mode 100644 help/lv/import-camera.page
create mode 100644 help/lv/import-f-spot.page
create mode 100644 help/lv/import-file.page
create mode 100644 help/lv/import-memorycard.page
create mode 100644 help/lv/index.page
create mode 100644 help/lv/lv.po
create mode 100644 help/lv/lv.stamp
create mode 100644 help/lv/organize-event.page
create mode 100644 help/lv/organize-flag.page
create mode 100644 help/lv/organize-rating.page
create mode 100644 help/lv/organize-remove.page
create mode 100644 help/lv/organize-search.page
create mode 100644 help/lv/organize-tag.page
create mode 100644 help/lv/organize-title.page
create mode 100644 help/lv/other-files.page
create mode 100644 help/lv/other-missing.page
create mode 100644 help/lv/other-multiple.page
create mode 100644 help/lv/other-plugins.page
create mode 100644 help/lv/raw.page
create mode 100644 help/lv/running.page
create mode 100644 help/lv/share-background.page
create mode 100644 help/lv/share-export.page
create mode 100644 help/lv/share-print.page
create mode 100644 help/lv/share-send.page
create mode 100644 help/lv/share-slideshow.page
create mode 100644 help/lv/share-upload.page
create mode 100644 help/lv/view-displaying.page
create mode 100644 help/lv/view-information.page
create mode 100644 help/lv/view-sidebar.page
create mode 100644 plugins/common/BuilderPane.c
create mode 100644 plugins/common/BuilderPane.vala
create mode 100644 src/org.gnome.Shotwell.gresource.xml
diff --git a/ChangeLog b/ChangeLog
index bee37e4..4b739a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,903 @@
+commit 9984f365ab9407791f58792a71b71d15d974b64e
+Author: Jens Georg
+Date: Mon Nov 21 20:30:37 2016 +0100
+
+ Prepare 0.25.1
+
+ Signed-off-by: Jens Georg
+
+M NEWS
+M configure.ac
+M debian/changelog
+
+commit 25ee2b5cdabc7632e5bd4c41dc04e8f06f533275
+Author: Marina Prado
+Date: Mon Nov 21 17:41:14 2016 +0000
+
+ Update Spanish translation
+
+M help/es/es.po
+
+commit 1eec412e97c255c9ca235e039dcdc59ee4c3c140
+Author: Jens Georg
+Date: Sun Nov 20 23:54:09 2016 +0100
+
+ Fix crash when clicking on tool window in wayland
+
+ Signed-off-by: Jens Georg
+
+M src/editing_tools/EditingTools.vala
+
+commit a409642472f9609e470ed9216b944c0c87f47637
+Author: Jens Georg
+Date: Sun Nov 20 23:48:22 2016 +0100
+
+ Fix resource dependency generation
+
+ Signed-off-by: Jens Georg
+
+M publish.am
+M shotwell.am
+
+commit 916804df42f54092365d74378f6fca3266453721
+Author: Jens Georg
+Date: Sun Nov 20 23:48:12 2016 +0100
+
+ Dist resource file
+
+ Signed-off-by: Jens Georg
+
+M shotwell.am
+
+commit f0de94576ba0463f829acf05423fac6d95c83bb3
+Author: Jens Georg
+Date: Sun Nov 20 23:18:31 2016 +0100
+
+ Remove another useless context menu title
+
+ Signed-off-by: Jens Georg
+
+M ui/savedsearch.ui
+
+commit a2a4e194f831e1533676878300a41fcdac9c4ca6
+Author: Jens Georg
+Date: Sun Nov 20 23:13:08 2016 +0100
+
+ Work-around issue with photo context menu
+
+ Since we are not using separate action groups anymore, so leaving
+ collection page is disabling the actions we just enabled in PhotoPage.
+
+ Signed-off-by: Jens Georg
+
+M src/CollectionPage.vala
+
+commit 9ae5339a193c8a14cc81d77867e9bd02dde038b0
+Author: Jens Georg
+Date: Sun Nov 20 21:11:29 2016 +0100
+
+ Do not show menubar on fullscreen
+
+ Signed-off-by: Jens Georg
+
+M src/AppWindow.vala
+
+commit d557aa766770eee4f11635e3a017b1d053f0574f
+Author: Jens Georg
+Date: Sun Nov 20 20:35:30 2016 +0100
+
+ Remove unnecessary context menu label
+
+ Signed-off-by: Jens Georg
+
+M ui/direct_context.ui
+
+commit 3760e9eb404ef14e8e8bdc30e614ecb9f7c94be2
+Author: Jens Georg
+Date: Sun Nov 20 19:55:33 2016 +0100
+
+ Remove deprecations from shotwell.ui
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=767181
+
+M src/Dialogs.vala
+M ui/shotwell.ui
+
+commit dbd298480651d80be3651e594b2efc1b20580cf5
+Author: Jens Georg
+Date: Sun Nov 20 16:06:14 2016 +0100
+
+ Replace from_stock in EventsDirectoryPage
+
+ Signed-off-by: Jens Georg
+
+M src/events/EventsDirectoryPage.vala
+
+commit 1e39fb34441615555cb25da2786ae2d85412aeb0
+Author: Jens Georg
+Date: Sun Nov 20 15:44:32 2016 +0100
+
+ Remove deprecated calls from properties
+
+ Signed-off-by: Jens Georg
+
+M src/Properties.vala
+
+commit e3ed5ceb07be8581000272b6fe8fd250a4975f9d
+Author: Piotr Drąg
+Date: Sun Nov 20 18:31:29 2016 +0100
+
+ Update Polish translation
+
+M po/pl.po
+
+commit ab05955e1b0c8dbe3c86b0c829af49c18813d1a2
+Author: Rafael Fontenelle
+Date: Sat Nov 19 01:52:24 2016 +0000
+
+ Update Brazilian Portuguese translation
+
+M po/pt_BR.po
+
+commit cae15e6ea12990a477c62c8fc06849618f102ffb
+Author: Marina Prado
+Date: Fri Nov 18 12:35:18 2016 +0000
+
+ Update Spanish translation
+
+M help/es/es.po
+
+commit 482249a12230612aab927458c892432b45d8e1c9
+Author: Marina Prado
+Date: Fri Nov 18 08:18:03 2016 +0000
+
+ Update Spanish translation
+
+M help/es/es.po
+
+commit 94e107e021a24df2a99f0eb6b84449111908f744
+Author: Jens Georg
+Date: Thu Nov 17 22:59:53 2016 +0100
+
+ More ngettext for plurals
+
+ Signed-off-by: Jens Georg
+
+M src/Dialogs.vala
+
+commit 3a67c97a5aa7779c106401c62914c53c800967d9
+Author: Jens Georg
+Date: Thu Nov 17 22:59:44 2016 +0100
+
+ Remove deprecated code from Dialogs
+
+ Signed-off-by: Jens Georg
+
+M src/Dialogs.vala
+M ui/shotwell.ui
+
+commit bb5a1ac6776e6e8348266a77f6798e31c6160ea6
+Author: Jens Georg
+Date: Thu Nov 17 22:26:54 2016 +0100
+
+ Remove deprecated calls from PhotoPage
+
+ Signed-off-by: Jens Georg
+
+M src/PhotoPage.vala
+
+commit 96b325abdfec494294f3bc6233d999a4968de8ab
+Author: Jens Georg
+Date: Thu Nov 17 21:51:13 2016 +0100
+
+ Remove deprecations from AppWindow
+
+ Signed-off-by: Jens Georg
+
+M src/AppWindow.vala
+
+commit 875b0f8fa30ddb30eb3ba81ff4db7307c9c7603e
+Author: Jens Georg
+Date: Thu Nov 17 21:43:21 2016 +0100
+
+ Fix warning about pointer cast
+
+ Signed-off-by: Jens Georg
+
+M src/PixbufCache.vala
+M src/threads/BackgroundJob.vala
+
+commit 7135d7a4687dbbc61d1d9babe29060f23da1fbbc
+Author: Jens Georg
+Date: Thu Nov 17 18:15:45 2016 +0100
+
+ Publishing: Use ngettext for plurals
+
+ Signed-off-by: Jens Georg
+
+M src/publishing/PublishingUI.vala
+
+commit fa430d09a1b407dae551dcfd0302486b0cdfdd1f
+Author: Jens Georg
+Date: Thu Nov 17 18:15:28 2016 +0100
+
+ Fix deprecations in Imports UI
+
+ Signed-off-by: Jens Georg
+
+M src/data_imports/DataImportsUI.vala
+
+commit eb9f7826392aa96306dfd102f0ee7d5e2dd40d02
+Author: Jens Georg
+Date: Thu Nov 17 18:00:51 2016 +0100
+
+ publishing: Fix criticals when switching to Facebook
+
+ Signed-off-by: Jens Georg
+
+M src/publishing/PublishingUI.vala
+
+commit 8bdbd6bdbe729915fcb3bb3c8e7acdac7c172924
+Author: Jens Georg
+Date: Thu Nov 17 16:53:39 2016 +0100
+
+ Remove deprecated function from Tree
+
+ Signed-off-by: Jens Georg
+
+M src/sidebar/Tree.vala
+
+commit 2d3bcae244075abedb5853b380bac539dde87da1
+Author: Jens Georg
+Date: Thu Nov 17 16:52:29 2016 +0100
+
+ Remove dead code
+
+ Not used anymore after putting stars as unicode
+
+ Signed-off-by: Jens Georg
+
+M src/SearchFilter.vala
+
+commit 30abef1ac4778f0cd7a08fd23171e76011c84d9a
+Author: Marek Černocký
+Date: Thu Nov 17 11:21:56 2016 +0100
+
+ Updated Czech translation
+
+M po/cs.po
+
+commit 80fd4d15591e6cca50072e530e4fd9cd6ff9c6af
+Author: Daniel Mustieles
+Date: Thu Nov 17 08:17:13 2016 +0000
+
+ Update Spanish translation
+
+M help/es/es.po
+
+commit db76214268f16829125bc3b89e8381c8230ecb49
+Author: Jens Georg
+Date: Wed Nov 16 23:09:32 2016 +0100
+
+ SearchBar: Remove star icons
+
+ Signed-off-by: Jens Georg
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=771788
+
+M src/SearchFilter.vala
+
+commit 5901f0282e6ce6b0b3a27248552c5cf8d492706a
+Author: Jens Georg
+Date: Wed Nov 16 22:21:10 2016 +0100
+
+ Make Find toolbar button a toggle button
+
+ Signed-off-by: Jens Georg
+
+M ui/collection.ui
+
+commit 9be90a6bd45ca410f273b722b2726e0868640498
+Author: Jens Georg
+Date: Wed Nov 16 22:11:34 2016 +0100
+
+ Gdk.Seat exists only since 3.20
+
+ Signed-off-by: Jens Georg
+
+M src/Page.vala
+M src/library/LibraryWindow.vala
+
+commit aef3f23f92c4df33f932ee5d1af3a4e9a33d266d
+Author: Jens Georg
+Date: Wed Nov 16 21:52:57 2016 +0100
+
+ Use change_state instead of set_state
+
+ Signed-off-by: Jens Georg
+
+M src/library/LibraryWindow.vala
+
+commit 6ae8259658aa63e03bc1cfdd73403f2e9ef75cf4
+Author: Marek Cernocky
+Date: Wed Nov 16 11:41:07 2016 +0100
+
+ Updated Czech translation
+
+M po/cs.po
+
+commit ef8d4068d58d09b81af688f98f4a855fe444b930
+Author: Jens Georg
+Date: Wed Nov 16 00:52:17 2016 +0100
+
+ Remove deprecated calls from LibraryWindow
+
+ Signed-off-by: Jens Georg
+
+M src/library/LibraryWindow.vala
+
+commit 0410d948509def958eda90a91d8bfc28b03a7670
+Author: Jens Georg
+Date: Wed Nov 16 00:40:15 2016 +0100
+
+ Remove deprecations from PublishingUI
+
+ Signed-off-by: Jens Georg
+
+M src/publishing/PublishingUI.vala
+
+commit b6acc7475fe707f75fab55eaa160881118f46b9d
+Author: Jens Georg
+Date: Tue Nov 15 23:55:09 2016 +0100
+
+ Remove deprecated calls from ManifestWidget
+
+ Signed-off-by: Jens Georg
+
+M src/plugins/ManifestWidget.vala
+
+commit ebfb5620ef054276b84eb0a5aaf87bc2c26dd9fd
+Author: Jens Georg
+Date: Tue Nov 15 23:47:55 2016 +0100
+
+ Dedeprecate Adjust Tool
+
+ Signed-off-by: Jens Georg
+
+M src/editing_tools/EditingTools.vala
+
+commit bbccb6eded1d1e65d0c1ef65b22cfc4f06fc8b4a
+Author: Jens Georg
+Date: Tue Nov 15 23:47:02 2016 +0100
+
+ Dedeprecate RedEye Tool
+
+ Signed-off-by: Jens Georg
+
+M src/editing_tools/EditingTools.vala
+
+commit 21559b2ba0696a0db9c050a5872ca7c7c8b98f1d
+Author: Jens Georg
+Date: Tue Nov 15 23:46:43 2016 +0100
+
+ Dedeprecate EditingTools base class
+
+ Signed-off-by: Jens Georg
+
+M src/editing_tools/EditingTools.vala
+
+commit 36410aa0942d029e0cb2e199ed70bffaf3e15d52
+Author: Piotr Drąg
+Date: Tue Nov 15 12:30:24 2016 +0100
+
+ i18n: Remove files with no translations from POTFILES.in and
+ POTFILES.skip
+
+M po/POTFILES.in
+M po/POTFILES.skip
+
+commit 3d4319a28d800e9e1f3ffb032f78d7b531ff1178
+Author: Piotr Drąg
+Date: Tue Nov 15 12:20:14 2016 +0100
+
+ i18n: Add intermediate C files to POTFILES.skip
+
+M po/POTFILES.skip
+
+commit 46ceedff9eb3fa29a4b76b6c93b185c08ccc09b1
+Author: Piotr Drąg
+Date: Tue Nov 15 12:17:59 2016 +0100
+
+ i18n: Add missing files to POTFILES.in
+
+M po/POTFILES.in
+
+commit aadd627f44499cc0a830249f31b306ef30ba2596
+Author: Jens Georg
+Date: Mon Nov 14 23:59:01 2016 +0100
+
+ Dedeprecate Page
+
+ Signed-off-by: Jens Georg
+
+M src/Page.vala
+
+commit f8f42e7a7dee8cedbb115309671468a7fd1e81e0
+Author: Jens Georg
+Date: Mon Nov 14 23:27:25 2016 +0100
+
+ Use GtkApplication menubar, get accels for free
+
+ Signed-off-by: Jens Georg
+
+M src/AppWindow.vala
+M src/Application.vala
+M src/Page.vala
+M src/direct/DirectWindow.vala
+M src/library/LibraryWindow.vala
+
+commit 17c8587e485cc8fad18abdecc2d6fa603416c973
+Author: Jens Georg
+Date: Wed Oct 19 21:56:15 2016 +0200
+
+ Remove GtkUIManager and Gtk*Action*
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=768271
+
+ Signed-off-by: Jens Georg
+
+M shotwell.am
+M src/AppWindow.vala
+M src/Application.vala
+M src/CollectionPage.vala
+M src/MediaPage.vala
+M src/Page.vala
+M src/PhotoPage.vala
+M src/Resources.vala
+M src/SearchFilter.vala
+M src/camera/ImportPage.vala
+M src/direct/DirectPhotoPage.vala
+M src/events/EventPage.vala
+M src/events/EventsDirectoryPage.vala
+M src/library/ImportQueuePage.vala
+M src/library/LibraryWindow.vala
+M src/library/OfflinePage.vala
+M src/library/TrashPage.vala
+M src/org.gnome.Shotwell.gresource.xml
+M src/searches/Branch.vala
+M src/searches/SavedSearchPage.vala
+M src/sidebar/Tree.vala
+M src/tags/Branch.vala
+M src/tags/TagPage.vala
+M src/util/ui.vala
+M ui/collection.ui
+M ui/direct.ui
+M ui/direct_context.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/photo_context.ui
+M ui/savedsearch.ui
+M ui/search_bar.ui
+M ui/search_sidebar_context.ui
+M ui/set_background_dialog.ui
+M ui/sidebar_default_context.ui
+M ui/tag_sidebar_context.ui
+M ui/tags.ui
+M ui/top.ui
+M ui/trash.ui
+
+commit 1206252faec829f23857ceb1e6e5150459e289a8
+Author: Jens Georg
+Date: Sat Oct 29 09:53:13 2016 +0200
+
+ piwigo: Port Option pane to BuilderPane
+
+ Signed-off-by: Jens Georg
+
+M plugins/shotwell-publishing/PiwigoPublishing.vala
+
+commit e8755595eee86d8fc417815f176ebc79da06e523
+Author: Jens Georg
+Date: Sat Oct 29 03:16:27 2016 +0200
+
+ common,piwigo: Add "default" widget to BuilderPane
+
+ Signed-off-by: Jens Georg
+
+M plugins/common/BuilderPane.vala
+M plugins/shotwell-publishing/PiwigoPublishing.vala
+
+commit 816b12dcd20cdba94f98d317bed67f5738fd6a3b
+Author: Jens Georg
+Date: Sat Oct 29 03:11:24 2016 +0200
+
+ piwigo: Port SSL pane to BuilderPane
+
+ Signed-off-by: Jens Georg
+
+M plugins/shotwell-publishing/PiwigoPublishing.vala
+
+commit 941eeecc49cb0131abecce9a163513a3d3d1b135
+Author: Jens Georg
+Date: Sat Oct 29 02:47:30 2016 +0200
+
+ piwigo: Simplify category name parsing a bit
+
+ Signed-off-by: Jens Georg
+
+M plugins/shotwell-publishing/PiwigoPublishing.vala
+
+commit a9a507bf91f5244bef8fb00cc13793723bec5c47
+Author: Jens Georg
+Date: Sat Oct 29 02:28:49 2016 +0200
+
+ piwigo: Port authentication dialog to builder pane
+
+ Signed-off-by: Jens Georg
+
+M plugins/shotwell-publishing/PiwigoPublishing.vala
+
+commit beb3005c4cc8085856ed7f06178434ab45a8784a
+Author: Jens Georg
+Date: Sat Oct 29 02:28:30 2016 +0200
+
+ common: Add BuilderPane
+
+ Signed-off-by: Jens Georg
+
+M Makefile.am
+A plugins/common/BuilderPane.vala
+
+commit bb8acd09cb6107ab3b97ac05dadefb00d83bcb92
+Author: Jens Georg
+Date: Fri Oct 21 17:49:10 2016 +0200
+
+ Remove GtkMisc from SeachFilter
+
+ Signed-off-by: Jens Georg
+
+M src/SearchFilter.vala
+
+commit ed928a0f498dd1004105094245b8170107fd7e2c
+Author: Jens Georg
+Date: Fri Oct 21 17:43:39 2016 +0200
+
+ De-deprecate SavedSearchDialog
+
+ Signed-off-by: Jens Georg
+
+M src/searches/SavedSearchDialog.vala
+
+commit 2dd03b3ea8a50fc031c91f79df65b9d2a4d25b13
+Author: Jens Georg
+Date: Fri Oct 21 17:39:09 2016 +0200
+
+ build: Disable misleading warnings caused by valac
+
+ Signed-off-by: Jens Georg
+
+M common.am
+
+commit 8a93cf67b561815fa1f5cec88fcc65f392a4496c
+Author: Jens Georg
+Date: Wed Oct 19 21:55:14 2016 +0200
+
+ De-deprecate crop tool
+
+ Signed-off-by: Jens Georg
+
+M configure.ac
+M shotwell.am
+M src/editing_tools/EditingTools.vala
+A src/org.gnome.Shotwell.gresource.xml
+
+commit 2c91f2cf6017cd841c621fd10b6a5976623843b9
+Author: Jens Georg
+Date: Sat Oct 1 17:27:34 2016 +0200
+
+ De-deprecate StraightenTool
+
+ Signed-off-by: Jens Georg
+
+M src/editing_tools/StraightenTool.vala
+
+commit e1c1bafe21b84457b1c7242ee29c59071e4faad2
+Author: Jens Georg
+Date: Sat Oct 1 17:18:44 2016 +0200
+
+ publishin-extra: Remove deprecations from Yandex
+
+ Signed-off-by: Jens Georg
+
+M plugins/shotwell-publishing-extras/YandexPublishing.vala
+M plugins/shotwell-publishing-extras/yandex_publish_model.ui
+
+commit 7cd7dc282e5f4affac450257a779bdf90b47623d
+Author: Jens Georg
+Date: Sat Oct 1 17:11:31 2016 +0200
+
+ publishing-extra: Remove deprecations from Tumblr
+
+ Signed-off-by: Jens Georg
+
+M plugins/shotwell-publishing-extras/TumblrPublishing.vala
+M plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui
+
+commit 2b13b39e6ed1e7da5e5eb19d4c28917c8bdca7b7
+Author: Jens Georg
+Date: Sat Oct 1 17:07:17 2016 +0200
+
+ publishing-extra: Remove deprecations from Rajce
+
+ Signed-off-by: Jens Georg
+
+M plugins/shotwell-publishing-extras/RajcePublishing.vala
+M plugins/shotwell-publishing-extras/rajce_authentication_pane.ui
+
+commit ef0f0e77056ddf95cb2b239b1a5c1a6189b72a91
+Author: Jens Georg
+Date: Sat Oct 1 16:49:23 2016 +0200
+
+ pubishing: Revamp Piwigo dialogs
+
+ Signed-off-by: Jens Georg
+
+M plugins/shotwell-publishing/PiwigoPublishing.vala
+M plugins/shotwell-publishing/piwigo_authentication_pane.ui
+M plugins/shotwell-publishing/piwigo_publishing_options_pane.ui
+
+commit c3352e8dbee06d582c2b22f40fd629e0ff22f1c0
+Author: Marina Prado
+Date: Mon Nov 14 08:48:57 2016 +0000
+
+ Update Spanish translation
+
+M po/es.po
+
+commit 7e1415a56094159709643685d7bb2e47108c9145
+Author: Piotr Drąg
+Date: Sun Nov 13 14:33:10 2016 +0100
+
+ Update Polish translation
+
+M po/pl.po
+
+commit f01c6a9ca870fd4c1f5150e1c53cb47c817503e1
+Author: Marina Prado
+Date: Fri Nov 11 12:44:40 2016 +0000
+
+ Update Spanish translation
+
+M po/es.po
+
+commit c8cacef72095daef28bc71945b7bd42ab40662ce
+Author: Jens Georg
+Date: Fri Nov 11 00:32:04 2016 +0100
+
+ Prevent dropping the index on evey start
+
+ Signed-off-by: Jens Georg
+
+M src/db/PhotoTable.vala
+
+commit e969f1839544e7555f8f52d68f3279bffec33be7
+Author: Marek Cernocky
+Date: Thu Nov 10 12:50:12 2016 +0100
+
+ Updated Czeach translation
+
+M po/cs.po
+
+commit b836f7f8f90c4a8ebf0365464306742f17f614ad
+Author: Marina Prado
+Date: Thu Nov 10 10:16:00 2016 +0000
+
+ Update Spanish translation
+
+M po/es.po
+
+commit e09cc440be5545515814e244fba1fa6aa5555cde
+Author: Jens Georg
+Date: Wed Nov 9 22:21:57 2016 +0100
+
+ Use ngettext for some plural forms
+
+ Signed-off-by: Jens Georg
+
+M src/Resources.vala
+
+commit 55a29cabf8e46a0db6a66672a062e666d981a9be
+Author: Jens Georg
+Date: Wed Nov 9 21:48:26 2016 +0100
+
+ Remove uniqueness of PhotoTableMD5Format index
+
+ Signed-off-by: Jens Georg
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=772223
+
+M src/db/PhotoTable.vala
+
+commit a35867695dff4478a3c60087611cb90e5b7d8692
+Author: Baurzhan Muftakhidinov
+Date: Wed Nov 9 09:20:17 2016 +0000
+
+ Update Kazakh translation
+
+M po/kk.po
+
+commit 098e84788934f41d216c49d58740af5c212b5697
+Author: Rūdolfs Mazurs
+Date: Tue Nov 8 23:33:53 2016 +0200
+
+ Update Latvian translation
+
+M help/lv/lv.po
+
+commit ea3d4296160051b1c980cc5df131da6f6c80b1e1
+Author: Rūdolfs Mazurs
+Date: Tue Nov 8 23:30:18 2016 +0200
+
+ Update Latvian translation
+
+M help/lv/lv.po
+M po/lv.po
+
+commit 7a4d6d810dd54fce9cee905a10b60615494a922c
+Author: Marek Černocký
+Date: Tue Nov 8 08:15:11 2016 +0100
+
+ Updated Czech translation
+
+M po/cs.po
+
+commit d135612c2cc079253021b5c757ca386d7c706d31
+Author: Jens Georg
+Date: Mon Nov 7 23:59:11 2016 +0100
+
+ Dist misc.vapi
+
+ Signed-off-by: Jens Georg
+
+M Makefile.am
+
+commit d5c9ffb6e430ce641c657e390107311e105671f5
+Author: Damian Pietras
+Date: Mon Nov 7 13:29:00 2016 +0000
+
+ thumbnailer: fix double close()
+
+ A file descriptor used to communicate with the video thumbnailer
+ process is
+ closed twice. In case another thread allocates the same descriptor
+ number in
+ the meantime, the second close() actually closes a descriptor not
+ owned by the
+ thread. This causes crashes in most cases or unexpected behaviour.
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=774057
+
+M src/VideoSupport.vala
+
+commit 22908394f043723c78f90a9143b04338108fca09
+Author: Marina Prado
+Date: Mon Nov 7 10:29:36 2016 +0000
+
+ Update Spanish translation
+
+M po/es.po
+
+commit 4a325a09618a6f4f02067207a525fd54d3e04b99
+Author: Marina Prado
+Date: Fri Nov 4 11:59:02 2016 +0000
+
+ Update Spanish translation
+
+M po/es.po
+
+commit bcdc5e49bc065e2e60449d6b4d50c15a04b85b57
+Author: Marina Prado
+Date: Fri Nov 4 07:53:51 2016 +0000
+
+ Update Spanish translation
+
+M po/es.po
+
+commit c852ecce570cf5c261808539f8825cd0f72f27e4
+Author: Marina Prado
+Date: Thu Nov 3 09:08:39 2016 +0000
+
+ Update Spanish translation
+
+M po/es.po
+
+commit bca67bfe286a1d67e19f82391f1bf4650a43e2bf
+Author: Jens Georg
+Date: Tue Nov 1 21:11:55 2016 +0100
+
+ Fix missing parameters in Tumblr publisher
+
+ Fix by Jürg Billeter
+
+ Signed-off-by: Jens Georg
+
+M plugins/shotwell-publishing-extras/TumblrPublishing.vala
+
+commit 2f4504d78d29ccb80145b596a25e6fefe5f9c656
+Author: Jens Georg
+Date: Sat Oct 29 12:23:17 2016 +0200
+
+ common: Remove extra box around webview
+
+ Signed-off-by: Jens Georg
+
+M plugins/common/WebAuthenticationPane.vala
+
+commit c941492caa504aae3c8a695f45d49c9a8c502b46
+Author: Jens Georg
+Date: Sat Oct 29 02:09:36 2016 +0200
+
+ publishing: Fix resource dependencies
+
+ Signed-off-by: Jens Georg
+
+M publish.am
+
+commit 8999db51f67aeab1507d182742adc689dfbd9bb1
+Author: Jens Georg
+Date: Sat Oct 29 01:01:54 2016 +0200
+
+ Remove deprecated Soup API
+
+ Signed-off-by: Jens Georg
+
+M plugins/common/RESTSupport.vala
+M plugins/shotwell-publishing-extras/YandexPublishing.vala
+M plugins/shotwell-publishing/FacebookPublishing.vala
+M plugins/shotwell-publishing/PicasaPublishing.vala
+M plugins/shotwell-publishing/YouTubePublishing.vala
+
+commit 6efc613556a6128c2e2a91bc5f528d183ad8710c
+Author: Jens Georg
+Date: Wed Oct 26 13:23:06 2016 +0200
+
+ Update debian
+
+ - Add dependency to gcr3
+ - Fix typo in rules file
+ - Bump gexiv2 requirements
+
+ Signed-off-by: Jens Georg
+
+M debian/control
+M debian/rules
+
+commit 65628886da590e2c290869d39b678fd6abe81673
+Author: Rūdolfs Mazurs
+Date: Sun Oct 30 23:21:11 2016 +0200
+
+ Update Latvian translation
+
+M help/Makefile.am
+A help/lv/figures/trash_process.png
+A help/lv/lv.po
+
+commit a82f9cfc23aad68f953a5e3414349a3e12a124e2
+Author: Mario Blättermann
+Date: Sun Oct 30 18:10:17 2016 +0000
+
+ Update German translation
+
+M po/de.po
+
commit 8cc28654affe568f156bc74a20fb4959160ac872
Author: Jens Georg
-Date: Mon Oct 24 20:09:08 2016 +0200
+Date: Mon Oct 24 20:09:08 2016 +0200
Prepare 0.25.0 release
diff --git a/Makefile.am b/Makefile.am
index 4c7d9d2..4568e29 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,6 +55,7 @@ plugins_common_libshotwell_plugin_common_la_SOURCES = \
plugins/common/RESTSupport.vala \
plugins/common/Resources.vala \
plugins/common/WebAuthenticationPane.vala \
+ plugins/common/BuilderPane.vala \
plugins/shotwell-plugin-dev-1.0.vapi
$(top_srcdir)/plugins/shotwell-plugin-common.vapi plugins/shotwell-plugin-common.h: \
diff --git a/Makefile.in b/Makefile.in
index ee358be..c1db35d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -176,7 +176,8 @@ plugins_common_libshotwell_plugin_common_la_DEPENDENCIES = \
am__dirstamp = $(am__leading_dot)dirstamp
am_plugins_common_libshotwell_plugin_common_la_OBJECTS = plugins/common/plugins_common_libshotwell_plugin_common_la-RESTSupport.lo \
plugins/common/plugins_common_libshotwell_plugin_common_la-Resources.lo \
- plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo
+ plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo \
+ plugins/common/plugins_common_libshotwell_plugin_common_la-BuilderPane.lo
plugins_common_libshotwell_plugin_common_la_OBJECTS = \
$(am_plugins_common_libshotwell_plugin_common_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@)
@@ -484,7 +485,8 @@ 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)
-shotwell_OBJECTS = $(am_shotwell_OBJECTS)
+nodist_shotwell_OBJECTS = src/shotwell-resource.$(OBJEXT)
+shotwell_OBJECTS = $(am_shotwell_OBJECTS) $(nodist_shotwell_OBJECTS)
shotwell_DEPENDENCIES = src/plugins/libplugin.la $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1)
shotwell_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
@@ -552,6 +554,7 @@ SOURCES = $(plugins_common_libshotwell_plugin_common_la_SOURCES) \
$(plugins_shotwell_transitions_shotwell_transitions_la_SOURCES) \
$(nodist_plugins_shotwell_transitions_shotwell_transitions_la_SOURCES) \
$(src_plugins_libplugin_la_SOURCES) $(shotwell_SOURCES) \
+ $(nodist_shotwell_SOURCES) \
$(thumbnailer_shotwell_video_thumbnailer_SOURCES)
DIST_SOURCES = $(plugins_common_libshotwell_plugin_common_la_SOURCES) \
$(plugins_shotwell_data_imports_shotwell_data_imports_la_SOURCES) \
@@ -573,7 +576,8 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
-am__dist_noinst_DATA_DIST = plugins/shotwell-publishing/facebook.png \
+am__dist_noinst_DATA_DIST = src/org.gnome.Shotwell.gresource.xml \
+ plugins/shotwell-publishing/facebook.png \
plugins/shotwell-publishing/flickr.png \
plugins/shotwell-publishing/picasa.png \
plugins/shotwell-publishing/piwigo.png \
@@ -661,7 +665,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
build-aux/compile build-aux/config.guess \
build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
build-aux/install-sh build-aux/ltmain.sh build-aux/missing \
- plugins/common/RESTSupport.c plugins/common/Resources.c \
+ plugins/common/BuilderPane.c plugins/common/RESTSupport.c \
+ plugins/common/Resources.c \
plugins/common/WebAuthenticationPane.c \
plugins/shotwell-data-imports/FSpotDatabase.c \
plugins/shotwell-data-imports/FSpotDatabaseBehavior.c \
@@ -1055,6 +1060,7 @@ plugins_common_libshotwell_plugin_common_la_SOURCES = \
plugins/common/RESTSupport.vala \
plugins/common/Resources.vala \
plugins/common/WebAuthenticationPane.vala \
+ plugins/common/BuilderPane.vala \
plugins/shotwell-plugin-dev-1.0.vapi
plugins_common_libshotwell_plugin_common_la_VALAFLAGS = \
@@ -1117,7 +1123,8 @@ 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) plugins/shotwell-publishing/facebook.png \
+dist_noinst_DATA = $(NULL) src/org.gnome.Shotwell.gresource.xml \
+ plugins/shotwell-publishing/facebook.png \
plugins/shotwell-publishing/flickr.png \
plugins/shotwell-publishing/picasa.png \
plugins/shotwell-publishing/piwigo.png \
@@ -1140,8 +1147,9 @@ dist_noinst_DATA = $(NULL) plugins/shotwell-publishing/facebook.png \
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) plugins/shotwell-publishing/resource.c \
- $(am__append_5) plugins/shotwell-transitions/resource.c \
+MOSTLYCLEANFILES = $(NULL) src/resource.c \
+ plugins/shotwell-publishing/resource.c $(am__append_5) \
+ plugins/shotwell-transitions/resource.c \
plugins/shotwell-data-imports/resource.c
# --enable-checking needs to come first to not trigger
@@ -1155,6 +1163,7 @@ COMMON_CFLAGS = -I$(top_srcdir)/vapi -D_PREFIX='"$(prefix)"' \
-DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \
-D_LANG_SUPPORT_DIR='"$(prefix)/share/locale"' \
-D_LIBEXECDIR='"$(libexecdir)"' -D_LIB='"$(libdir)"' \
+ -Wno-incompatible-pointer-types -Wno-discarded-qualifiers \
$(am__append_1)
shotwell_CFLAGS = \
$(SHOTWELL_CFLAGS) \
@@ -1178,6 +1187,14 @@ shotwell_VALAFLAGS = $(COMMON_VALAFLAGS) \
$(UNITY_VALAFLAGS) \
$(COMMON_VALAFLAGS_POST)
+nodist_shotwell_SOURCES = \
+ src/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_SOURCES = \
src/unit/Unit.vala \
src/util/Util.vala \
@@ -1392,6 +1409,11 @@ plugins_shotwell_publishing_shotwell_publishing_la_SOURCES = \
nodist_plugins_shotwell_publishing_shotwell_publishing_la_SOURCES = \
plugins/shotwell-publishing/resource.c
+PUBLISHING_RESOURCE_FILE := $(abs_top_srcdir)/plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml
+PUBLISHING_RESOURCE_DEPS = $(shell $(GLIB_COMPILE_RESOURCES) \
+ --sourcedir=$(abs_top_srcdir)/plugins/shotwell-publishing \
+ --generate-dependencies $(PUBLISHING_RESOURCE_FILE))
+
plugins_shotwell_publishing_shotwell_publishing_la_VALAFLAGS = \
$(COMMON_VALAFLAGS) \
--pkg gtk+-3.0 \
@@ -1700,6 +1722,9 @@ plugins/common/plugins_common_libshotwell_plugin_common_la-Resources.lo: \
plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo: \
plugins/common/$(am__dirstamp) \
plugins/common/$(DEPDIR)/$(am__dirstamp)
+plugins/common/plugins_common_libshotwell_plugin_common_la-BuilderPane.lo: \
+ plugins/common/$(am__dirstamp) \
+ plugins/common/$(DEPDIR)/$(am__dirstamp)
plugins/common/libshotwell-plugin-common.la: $(plugins_common_libshotwell_plugin_common_la_OBJECTS) $(plugins_common_libshotwell_plugin_common_la_DEPENDENCIES) $(EXTRA_plugins_common_libshotwell_plugin_common_la_DEPENDENCIES) plugins/common/$(am__dirstamp)
$(AM_V_CCLD)$(plugins_common_libshotwell_plugin_common_la_LINK) -rpath $(libdir) $(plugins_common_libshotwell_plugin_common_la_OBJECTS) $(plugins_common_libshotwell_plugin_common_la_LIBADD) $(LIBS)
@@ -2548,6 +2573,8 @@ 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)
@@ -2641,6 +2668,7 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
+@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@
@AMDEP_TRUE@@am__include@ @am__quote@plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.Plo@am__quote@
@@ -2737,6 +2765,7 @@ 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@
@@ -2926,6 +2955,13 @@ plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_common_libshotwell_plugin_common_la_CFLAGS) $(CFLAGS) -c -o plugins/common/plugins_common_libshotwell_plugin_common_la-WebAuthenticationPane.lo `test -f 'plugins/common/WebAuthenticationPane.c' || echo '$(srcdir)/'`plugins/common/WebAuthenticationPane.c
+plugins/common/plugins_common_libshotwell_plugin_common_la-BuilderPane.lo: plugins/common/BuilderPane.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_common_libshotwell_plugin_common_la_CFLAGS) $(CFLAGS) -MT plugins/common/plugins_common_libshotwell_plugin_common_la-BuilderPane.lo -MD -MP -MF plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-BuilderPane.Tpo -c -o plugins/common/plugins_common_libshotwell_plugin_common_la-BuilderPane.lo `test -f 'plugins/common/BuilderPane.c' || echo '$(srcdir)/'`plugins/common/BuilderPane.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-BuilderPane.Tpo plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-BuilderPane.Plo
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='plugins/common/BuilderPane.c' object='plugins/common/plugins_common_libshotwell_plugin_common_la-BuilderPane.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_common_libshotwell_plugin_common_la_CFLAGS) $(CFLAGS) -c -o plugins/common/plugins_common_libshotwell_plugin_common_la-BuilderPane.lo `test -f 'plugins/common/BuilderPane.c' || echo '$(srcdir)/'`plugins/common/BuilderPane.c
+
plugins/shotwell-data-imports/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.lo: plugins/shotwell-data-imports/FSpotDatabaseBehavior.c
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_shotwell_data_imports_shotwell_data_imports_la_CFLAGS) $(CFLAGS) -MT plugins/shotwell-data-imports/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.lo -MD -MP -MF plugins/shotwell-data-imports/$(DEPDIR)/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.Tpo -c -o plugins/shotwell-data-imports/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.lo `test -f 'plugins/shotwell-data-imports/FSpotDatabaseBehavior.c' || echo '$(srcdir)/'`plugins/shotwell-data-imports/FSpotDatabaseBehavior.c
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) plugins/shotwell-data-imports/$(DEPDIR)/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.Tpo plugins/shotwell-data-imports/$(DEPDIR)/plugins_shotwell_data_imports_shotwell_data_imports_la-FSpotDatabaseBehavior.Plo
@@ -5908,6 +5944,20 @@ 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@
+@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
+
+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@
+@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`
+
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
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) thumbnailer/$(DEPDIR)/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.Tpo thumbnailer/$(DEPDIR)/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.Po
@@ -5921,15 +5971,6 @@ thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.ob
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='thumbnailer/shotwell-video-thumbnailer.c' object='thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(thumbnailer_shotwell_video_thumbnailer_CFLAGS) $(CFLAGS) -c -o thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.obj `if test -f 'thumbnailer/shotwell-video-thumbnailer.c'; then $(CYGPATH_W) 'thumbnailer/shotwell-video-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/thumbnailer/shotwell-video-thumbnailer.c'; fi`
-$(srcdir)/thumbnailer/shotwell-video-thumbnailer.c: $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; \
- fi
-$(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp: thumbnailer/shotwell-video-thumbnailer.vala
- $(AM_V_at)rm -f $@ && echo stamp > $@-t
- $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(thumbnailer_shotwell_video_thumbnailer_VALAFLAGS) $(VALAFLAGS) -C thumbnailer/shotwell-video-thumbnailer.vala
- $(AM_V_at)mv -f $@-t $@
$(srcdir)/src/unit/Unit.c: $(srcdir)/shotwell_vala.stamp
@if test -f $@; then :; else rm -f $(srcdir)/shotwell_vala.stamp; fi
@if test -f $@; then :; else \
@@ -6889,64 +6930,38 @@ $(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)/plugins/shotwell-transitions/BlindsEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
- fi
-$(srcdir)/plugins/shotwell-transitions/ChessEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
- fi
-$(srcdir)/plugins/shotwell-transitions/CircleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
- fi
-$(srcdir)/plugins/shotwell-transitions/CirclesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
- fi
-$(srcdir)/plugins/shotwell-transitions/ClockEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
- fi
-$(srcdir)/plugins/shotwell-transitions/CrumbleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
- fi
-$(srcdir)/plugins/shotwell-transitions/FadeEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+$(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)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; \
fi
-$(srcdir)/plugins/shotwell-transitions/shotwell-transitions.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+$(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_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
fi
-$(srcdir)/plugins/shotwell-transitions/SlideEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+$(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_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
fi
-$(srcdir)/plugins/shotwell-transitions/SquaresEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+$(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_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
fi
-$(srcdir)/plugins/shotwell-transitions/StripesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+$(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_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
fi
-$(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp: plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi
+$(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_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_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
@@ -7109,24 +7124,64 @@ $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp: plu
$(AM_V_at)rm -f $@ && echo stamp > $@-t
$(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_data_imports_shotwell_data_imports_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-data-imports/FSpotDatabaseBehavior.vala plugins/shotwell-data-imports/FSpotDatabaseTable.vala plugins/shotwell-data-imports/FSpotDatabase.vala plugins/shotwell-data-imports/FSpotImporter.vala plugins/shotwell-data-imports/FSpotMetaTable.vala plugins/shotwell-data-imports/FSpotPhotosTable.vala plugins/shotwell-data-imports/FSpotPhotoTagsTable.vala plugins/shotwell-data-imports/FSpotPhotoVersionsTable.vala plugins/shotwell-data-imports/FSpotRollsTable.vala plugins/shotwell-data-imports/FSpotTableBehavior.vala plugins/shotwell-data-imports/FSpotTagsTable.vala plugins/shotwell-data-imports/shotwell-data-imports.vala plugins/shotwell-data-imports/SqliteSupport.vala plugins/shotwell-data-imports/VersionNumber.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
+$(srcdir)/plugins/shotwell-transitions/BlindsEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
@if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_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
+$(srcdir)/plugins/shotwell-transitions/ChessEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
@if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_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
+$(srcdir)/plugins/shotwell-transitions/CircleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
@if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_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/shotwell-plugin-dev-1.0.vapi
+$(srcdir)/plugins/shotwell-transitions/CirclesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/shotwell-transitions/ClockEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/shotwell-transitions/CrumbleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/shotwell-transitions/FadeEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/shotwell-transitions/shotwell-transitions.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/shotwell-transitions/SlideEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/shotwell-transitions/SquaresEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/shotwell-transitions/StripesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \
+ fi
+$(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp: plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi
$(AM_V_at)rm -f $@ && echo stamp > $@-t
- $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_common_libshotwell_plugin_common_la_VALAFLAGS) $(VALAFLAGS) -C plugins/common/RESTSupport.vala plugins/common/Resources.vala plugins/common/WebAuthenticationPane.vala plugins/shotwell-plugin-dev-1.0.vapi
+ $(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 $@
mostlyclean-libtool:
@@ -7560,6 +7615,7 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
+ -rm -f $(srcdir)/plugins/common/BuilderPane.c
-rm -f $(srcdir)/plugins/common/RESTSupport.c
-rm -f $(srcdir)/plugins/common/Resources.c
-rm -f $(srcdir)/plugins/common/WebAuthenticationPane.c
@@ -7803,6 +7859,7 @@ maintainer-clean-generic:
-rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp
-rm -f $(srcdir)/thumbnailer/shotwell-video-thumbnailer.c
-rm -f $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp
+ -rm -f plugins/common/BuilderPane.c
-rm -f plugins/common/RESTSupport.c
-rm -f plugins/common/Resources.c
-rm -f plugins/common/WebAuthenticationPane.c
@@ -8173,8 +8230,17 @@ plugins/shotwell-plugin-dev-1.0.vapi plugins/shotwell-plugin-dev-1.0.h: src_plug
-include $(top_srcdir)/git.mk
-plugins/shotwell-publishing/resource.c: plugins/shotwell-publishing/org.gnome.Shotwell.Publishing.gresource.xml
- $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(abs_top_srcdir)/plugins/shotwell-publishing --generate $<
+src/resource.c: src/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 \
+ --generate $<
+
+plugins/shotwell-publishing/resource.c: $(PUBLISHING_RESOURCE_DEPS) $(PUBLISHING_RESOURCE_FILE)
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) \
+ --target=$@ \
+ --sourcedir=$(abs_top_srcdir)/plugins/shotwell-publishing \
+ --generate $(PUBLISHING_RESOURCE_FILE)
@HAVE_EXTRA_PLUGINS_TRUE@plugins/shotwell-publishing-extras/resource.c: plugins/shotwell-publishing-extras/org.gnome.Shotwell.Publishing.Extras.gresource.xml
@HAVE_EXTRA_PLUGINS_TRUE@ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(abs_top_srcdir)/plugins/shotwell-publishing-extras --generate $<
diff --git a/NEWS b/NEWS
index 1cb5b35..cc83831 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,49 @@
+Shotwell 0.25.1 - 21 Nov 2016
+ * Remove deprecated libsoup API
+ * Remove extra box around WebKit authenticator view
+ * Tumblr: Fix compile error with recent vala compiler
+ * Thumbnailer: Fix an issue with accidental closing of file descriptors
+ * Distribute misc.vapi
+ * Use proper ngettext for plurals instead of hard-coded >1
+ * Fix issue with unique index on MD5 and Format
+ * Update Piwigo dialogs
+ * Remove most of the deprecated API calls for GTK+ <= 3.14
+ * Remove some useless warnings generated by Vala
+ * Refactor Plugins to use a common aproach to load panes from glade
+ * Piwigo: Simplify category parsing
+ * Remove GtkUIManager and Gtk*Action* from code
+ * Fix a crash when clicking on tool window under Wayland
+ * Translation updates
+
+Bugs fixed in this release:
+ - https://bugzilla.gnome.org/show_bug.cgi?id=767181
+ - https://bugzilla.gnome.org/show_bug.cgi?id=768271
+ - https://bugzilla.gnome.org/show_bug.cgi?id=771788
+ - https://bugzilla.gnome.org/show_bug.cgi?id=772223
+ - https://bugzilla.gnome.org/show_bug.cgi?id=774057
+
+All contributors to this release:
+ - Jens Georg
+ - Marina Prado
+ - Piotr Drąg
+ - Rūdolfs Mazurs
+ - Marek Černocký
+ - Marek Cernocky
+ - Rafael Fontenelle
+ - Mario Blättermann
+ - Daniel Mustieles
+ - Damian Pietras
+ - Baurzhan Muftakhidinov
+
+Added/updated translations
+ - cs, courtesy of Marek Černocký
+ - de, courtesy of Mario Blättermann
+ - es, courtesy of Daniel Mustieles
+ - kk, courtesy of Baurzhan Muftakhidinov
+ - 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/common.am b/common.am
index 20a66c6..da05cba 100644
--- a/common.am
+++ b/common.am
@@ -12,7 +12,9 @@ COMMON_CFLAGS = \
-DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \
-D_LANG_SUPPORT_DIR='"$(prefix)/share/locale"' \
-D_LIBEXECDIR='"$(libexecdir)"' \
- -D_LIB='"$(libdir)"'
+ -D_LIB='"$(libdir)"' \
+ -Wno-incompatible-pointer-types \
+ -Wno-discarded-qualifiers
if IS_GITVERSION
COMMON_CFLAGS += -D_GIT_VERSION='"@GITVER@"'
diff --git a/configure b/configure
index 36cb06c..8656614 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.0.1.
+# Generated by GNU Autoconf 2.69 for shotwell 0.25.1.
#
# Report bugs to .
#
@@ -650,8 +650,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='shotwell'
PACKAGE_TARNAME='shotwell'
-PACKAGE_VERSION='0.25.0.1'
-PACKAGE_STRING='shotwell 0.25.0.1'
+PACKAGE_VERSION='0.25.1'
+PACKAGE_STRING='shotwell 0.25.1'
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.0.1 to adapt to many kinds of systems.
+\`configure' configures shotwell 0.25.1 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.0.1:";;
+ short | recursive ) echo "Configuration of shotwell 0.25.1:";;
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.0.1
+shotwell configure 0.25.1
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.0.1, which was
+It was created by shotwell $as_me 0.25.1, 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=0
+MICRO_VERSION=1
API_VERSION=0
-GITVER=8cc28654affe568f156bc74a20fb4959160ac872
+GITVER=9984f365ab9407791f58792a71b71d15d974b64e
if test "x$GITVER" != "x"; then
@@ -2962,7 +2962,7 @@ fi
# Define the identity of the package.
PACKAGE='shotwell'
- VERSION='0.25.0.1'
+ VERSION='0.25.1'
cat >>confdefs.h <<_ACEOF
@@ -8032,7 +8032,7 @@ if test -n "$SHOTWELL_CFLAGS"; then
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -8052,7 +8052,7 @@ if test -n "$SHOTWELL_CFLAGS"; then
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -8075,7 +8075,7 @@ if test -n "$SHOTWELL_CFLAGS"; then
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -8106,7 +8106,7 @@ if test -n "$SHOTWELL_LIBS"; then
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -8126,7 +8126,7 @@ if test -n "$SHOTWELL_LIBS"; then
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -8149,7 +8149,7 @@ if test -n "$SHOTWELL_LIBS"; then
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -8189,7 +8189,7 @@ fi
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -8210,7 +8210,7 @@ fi
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -8234,7 +8234,7 @@ fi
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -8284,14 +8284,14 @@ if test -n "$THUMBNAILER_CFLAGS"; then
pkg_cv_THUMBNAILER_CFLAGS="$THUMBNAILER_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0\""; } >&5
- ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_THUMBNAILER_CFLAGS=`$PKG_CONFIG --cflags "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ pkg_cv_THUMBNAILER_CFLAGS=`$PKG_CONFIG --cflags "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
@@ -8304,14 +8304,14 @@ if test -n "$THUMBNAILER_LIBS"; then
pkg_cv_THUMBNAILER_LIBS="$THUMBNAILER_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0\""; } >&5
- ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ ($PKG_CONFIG --exists --print-errors "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_THUMBNAILER_LIBS=`$PKG_CONFIG --libs "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ pkg_cv_THUMBNAILER_LIBS=`$PKG_CONFIG --libs "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
@@ -8333,16 +8333,16 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- THUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ THUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0" 2>&1`
else
- THUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ THUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$THUMBNAILER_PKG_ERRORS" >&5
- as_fn_error $? "Package requirements (gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+ as_fn_error $? "Package requirements (gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0) were not met:
$THUMBNAILER_PKG_ERRORS
@@ -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.0.1, which was
+This file was extended by shotwell $as_me 0.25.1, 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.0.1
+shotwell config.status 0.25.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 65198eb..a62e957 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,8 +6,8 @@ dnl Define Versioning Information
dnl ***********************************************************************
m4_define([major_version],[0])
m4_define([minor_version],[25])
-m4_define([micro_version],[0])
-m4_define([package_version],[major_version.minor_version.micro_version.1])
+m4_define([micro_version],[1])
+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])
@@ -93,7 +93,7 @@ PKG_CHECK_MODULES(SHOTWELL, [
gstreamer-base-1.0 >= 1.0.0
gstreamer-plugins-base-1.0 >= 1.0.0
gstreamer-pbutils-1.0 >= 1.0.0
- gtk+-3.0 >= 3.12.2
+ gtk+-3.0 >= 3.14.0
gudev-1.0 >= 145
libexif >= 0.6.16
libgphoto2 >= 2.5.0
@@ -103,7 +103,7 @@ PKG_CHECK_MODULES(SHOTWELL, [
sqlite3 >= 3.5.9
webkit2gtk-4.0
])
-PKG_CHECK_MODULES(THUMBNAILER, [gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.12.2
+PKG_CHECK_MODULES(THUMBNAILER, [gee-0.8 >= 0.8.5 gtk+-3.0 >= 3.14.0
gstreamer-base-1.0 >= 1.0.0])
PKG_CHECK_MODULES(PLUGIN, [gobject-2.0 glib-2.0 json-glib-1.0 libxml-2.0
diff --git a/help/Makefile.am b/help/Makefile.am
index 53c1448..30fa388 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -54,6 +54,6 @@ HELP_FILES = \
view-information.page \
view-sidebar.page
-HELP_LINGUAS = cs de el es hu pt_BR sv
+HELP_LINGUAS = cs de el es hu lv pt_BR sv
-include $(top_srcdir)/git.mk
diff --git a/help/Makefile.in b/help/Makefile.in
index e7b526c..76c7a8a 100644
--- a/help/Makefile.in
+++ b/help/Makefile.in
@@ -390,7 +390,7 @@ HELP_FILES = \
view-information.page \
view-sidebar.page
-HELP_LINGUAS = cs de el es hu pt_BR sv
+HELP_LINGUAS = cs de el es hu lv pt_BR sv
all: all-am
.SUFFIXES:
diff --git a/help/es/edit-adjustments.page b/help/es/edit-adjustments.page
index 2ee4887..9600468 100644
--- a/help/es/edit-adjustments.page
+++ b/help/es/edit-adjustments.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
@@ -22,38 +28,38 @@
Ajustes del color
-The Adjust 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.
+El botón Ajustes 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.
-The Enhance button adjusts the histogram and shadows sliders to improve the quality of a photo.
+El botón Mejorar ajusta el histograma y el control deslizante de las sombras para mejorar la calidad de una foto.
-When the photo's colors and contrast are to your liking, press OK to save the changes. Reset will return the image to its original state. Cancel discards all changes you've made.
+Si los colores y el contraste de la foto son adecuados, pulse Aceptar para guardar los cambios. El botón Restablecer devolverá la imagen a su estado original. El botón Cancelar deshace todos los cambios realizados.
¿Qué hacen los ajustes del color?
-
Exposición
- 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.
+ 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.
-
Saturación
- 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.
+ 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.
-
Matiz
- 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.
+ 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.
-
Temperatura
- Changes how "warm" or "cool" the picture looks. Use this to make cold, depressing scenes look more lively, for example.
+ 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.
-
Sombras
- This makes shadowy areas appear lighter. Use this to make detail more visible if it's obscured by the darkness of a shadow.
+ 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.
-
Umbral de intensidad (control deslizante en el histograma)
- 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.
+ 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.
diff --git a/help/es/edit-crop.page b/help/es/edit-crop.page
index 5187d86..d834984 100644
--- a/help/es/edit-crop.page
+++ b/help/es/edit-crop.page
@@ -3,10 +3,16 @@
- Improve the composition of a photo by cutting out parts of it.
+ Mejore la composición de una foto cortando partes de la misma.
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
@@ -22,36 +28,35 @@
Recortar
- 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.
+ 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.
-
-
Double-click on a photo to enter full-window mode, then press the Crop button on the toolbar.
+ Para entrar en el modo a pantalla completa, pulse dos veces en la foto y luego pulse el botón Recortar en la barra de herramientas.
-
-
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.
+ 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.
-
-
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 rule of thirds lines.
- 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).
+ 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 regla de los tercios .
+ 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).
-
When you're happy with your crop outline, apply it by pressing the Crop button. Shotwell will display the cropped photo.
-
-
If you change your mind, press the Crop button again and fine-tune the crop.
- If you press Cancel rather than Apply , Shotwell will return to the photo's previous crop dimensions.
+ Si cambia de opinión, pulse el botón Recortar de nuevo y ajuste el recorte.
+ Si pulsa el botón Cancelar en vez del botón Aplicar , Shotwell devolverá a la foto las dimensiones anteriores del recorte.
¿Qué es la regla de los tercios?
- The rule of thirds helps you to choose a pleasing composition for a photo.
- 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.
- Cropping a photo so that it conforms to the rule of thirds often results in a more visually appealing image.
+ La regla de los tercios le ayuda a elegir una composición satisfactoria para una foto.
+ 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.
+ Recortar una foto siguiendo la regla de los tercios suele dar como resultado una imagen visualmente más satisfactoria.
- Cropping a photo, using the "rule of thirds" lines to improve the composition.
+ Recorte una foto siguiendo las líneas de la «regla de los tercios» para mejorar la composición.
diff --git a/help/es/edit-date-time.page b/help/es/edit-date-time.page
index fe00e2f..3917b77 100644
--- a/help/es/edit-date-time.page
+++ b/help/es/edit-date-time.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/edit-enhance.page b/help/es/edit-enhance.page
index 458a275..3e6a417 100644
--- a/help/es/edit-enhance.page
+++ b/help/es/edit-enhance.page
@@ -3,12 +3,18 @@
- Let Shotwell improve the brightness and contrast of a photo automatically.
+ Permita que Shotwell mejore el brillo y el contraste de una foto automáticamente.
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
@@ -24,5 +30,5 @@
Mejora automática
- Clicking on the Enhance 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 Adjust button.
+ Pulsar en el botón Mejorar 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 Ajustar .
diff --git a/help/es/edit-external.page b/help/es/edit-external.page
index f2c4c80..e9e9e1b 100644
--- a/help/es/edit-external.page
+++ b/help/es/edit-external.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
@@ -30,12 +36,7 @@
editors from drop-down menus of installed applications.
-
- Once your editors have been set, select a photo and choose Photos
- Open With External Editor to open the photo with the external editor.
- Likewise, if the original photo is a RAW file, select Photos Open
- With RAW Editor to edit the RAW file directly with the set RAW editor.
-
+ Una vez que los editores se han establecido, seleccione una foto y elija Fotos Abrir con un editor externo para abrir la foto con un editor externo. De la misma manera, si la foto original es un archivo RAW, seleccione Fotos Abrir con un editor RAW para editar el archivo RAW directamente con un editor RAW establecido.
When you complete your edits and save the file, Shotwell will detect the changes and
diff --git a/help/es/edit-nondestructive.page b/help/es/edit-nondestructive.page
index 27302fa..06363a6 100644
--- a/help/es/edit-nondestructive.page
+++ b/help/es/edit-nondestructive.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/edit-redeye.page b/help/es/edit-redeye.page
index 6df0a8e..f8300b4 100644
--- a/help/es/edit-redeye.page
+++ b/help/es/edit-redeye.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/edit-rotate.page b/help/es/edit-rotate.page
index e4adf64..ec2d730 100644
--- a/help/es/edit-rotate.page
+++ b/help/es/edit-rotate.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/edit-straighten.page b/help/es/edit-straighten.page
index b78ca77..0906223 100644
--- a/help/es/edit-straighten.page
+++ b/help/es/edit-straighten.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/edit-undo.page b/help/es/edit-undo.page
index d93a55b..51ec098 100644
--- a/help/es/edit-undo.page
+++ b/help/es/edit-undo.page
@@ -9,6 +9,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/es.po b/help/es/es.po
index 1e7189f..b2c3d30 100644
--- a/help/es/es.po
+++ b/help/es/es.po
@@ -1,2960 +1,3048 @@
-# Spanish translation for shotwell.
-# Copyright (C) 2014 shotwell's COPYRIGHT HOLDER
-# This file is distributed under the same license as the shotwell package.
-# FIRST AUTHOR , YEAR.
-# Dámaris Letelier , 2014.
-# Daniel Mustieles , 2014, 2016.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: shotwell master\n"
-"POT-Creation-Date: 2016-07-04 07:20+0000\n"
-"PO-Revision-Date: 2016-07-04 14:35+0200\n"
-"Last-Translator: Daniel Mustieles \n"
-"Language-Team: Español; Castellano \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 , YEAR1, YEAR2
-msgctxt "_"
-msgid "translator-credits"
-msgstr ""
-"Daniel Mustieles , 2014 - 2016\n"
-"Dámaris Letelier , 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 Adjust 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 ""
-
-#. (itstool) path: page/p
-#: C/edit-adjustments.page:16
-msgid ""
-"The Enhance button adjusts the histogram and shadows sliders to "
-"improve the quality of a photo."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/edit-adjustments.page:18
-msgid ""
-"When the photo's colors and contrast are to your liking, press OK "
-"to save the changes. Reset will return the image to its original "
-"state. Cancel discards all changes you've made."
-msgstr ""
-
-#. (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 ""
-
-#. (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 ""
-
-#. (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 ""
-
-#. (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 ""
-
-#. (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 ""
-
-#. (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 ""
-
-#. (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 ""
-
-#. (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 ""
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:19
-msgid ""
-"Double-click on a photo to enter full-window mode, then press the Crop"
-"gui> button on the toolbar."
-msgstr ""
-
-#. (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 ""
-
-#. (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 rule of thirds lines."
-msgstr ""
-
-#. (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 ""
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:29
-msgid ""
-"When you're happy with your crop outline, apply it by pressing the "
-"Crop button. Shotwell will display the cropped photo."
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:32
-msgid ""
-"If you change your mind, press the Crop button again and fine-"
-"tune the crop."
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:33
-msgid ""
-"If you press Cancel rather than Apply , Shotwell will "
-"return to the photo's previous crop dimensions."
-msgstr ""
-
-#. (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 rule of thirds helps you to choose a pleasing composition for a "
-"photo."
-msgstr ""
-
-#. (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 ""
-
-#. (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 ""
-
-#. (itstool) path: media/p
-#: C/edit-crop.page:43
-msgid ""
-"Cropping a photo, using the \"rule of thirds\" lines to improve the "
-"composition."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/edit-enhance.page:7
-msgid ""
-"Let Shotwell improve the brightness and contrast of a photo automatically."
-msgstr ""
-
-#. (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 Enhance 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 Adjust button."
-msgstr ""
-
-#. (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 Edit"
-"gui>Preferences and selecting editors from drop-down "
-"menus of installed applications."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/edit-external.page:24
-msgid ""
-"Once your editors have been set, select a photo and choose "
-"Photos Open With External Editor to "
-"open the photo with the external editor. Likewise, if the original photo is "
-"a RAW file, select Photos Open With RAW Editor "
-"guiseq> to edit the RAW file directly with the set RAW editor."
-msgstr ""
-
-#. (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 Shift 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 Shift 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 Photo files."
-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 Red-eye . A circle will appear on the photo."
-msgstr "Pulse en Ojos Rojos . 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 Apply . 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 Close "
-"when finished."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/edit-rotate.page:7
-msgid ""
-"Click the Rotate button, or choose one of the commands in the "
-"Photo menu."
-msgstr ""
-"Pulse el botón Girar , o elija uno de los comandos en el menú "
-"Foto ."
-
-#. (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 Rotate 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 Rotate button. To rotate left, "
-"press and hold the Ctrl key and then click the button. Both "
-"commands are available in the Photos menu too. Alternatively, use "
-"the following keyboard shortcuts:"
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/edit-rotate.page:18
-msgid ""
-"rotate left: Shift Ctrl R or "
-"[ "
-msgstr ""
-"rotar a la izquierda: Mayús Ctrl R "
-"keyseq> o [ "
-
-#. (itstool) path: item/p
-#: C/edit-rotate.page:19
-msgid ""
-"rotate right: Ctrl R or ] "
-msgstr ""
-"rotar a la derecha: Ctrl R or ]"
-"key>"
-
-#. (itstool) path: page/p
-#: C/edit-rotate.page:21
-msgid ""
-"To create a mirror image of a photo, use the Flip Horizontally "
-"command in the Photos menu. To flip an image vertically, use the "
-"Flip Vertically 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 Straighten . The straighten slider will appear. "
-"Alternatively, use the keyboard shortcut Ctrl A"
-"key> ."
-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 OK when finished."
-msgid "Press Straighten when finished."
-msgstr "Pulse Aceptar 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 Events New Event ."
-msgid ""
-"To adjust the date and time of photos, select the photos you would like to "
-"adjust, choose Photos Adjust Date and Time... "
-"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 Eventos Nuevo evento ."
-
-#. (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 "
-"Photos Revert to Original . 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 RAW 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 "
-" RAW 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. Note that some operating "
-"systems may not include all codecs listed here due to legal or licensing "
-"restrictions. "
-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 Ctrl key and click to select individual photos. You "
-"can hold down Shift and click to select a range of photos too."
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/import-camera.page:28
-msgid ""
-"Click either Import Selected or Import All . 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 Last Import 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 File Import From Folder..."
-"gui> 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 Pictures 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 Ctrl while dragging photos in, Shotwell will "
-"copy the photos into your library folder without prompting. Similarly, if "
-"you hold down Ctrl Shift 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 Last Import 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 File Import From F-Spot ."
-msgstr ""
-"Seleccione Archivo Importar desde F-Spot "
-"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 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 importing photos from "
-"your hard disk. If you click File Import From "
-"Folder... , 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 connecting your camera directly to the computer, "
-"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 ""
-"Shotwell Photo "
-"Manager"
-msgstr ""
-"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 Events 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 No Event 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 Events Rename Event... "
-"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 Enter ."
-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 Events New Event ."
-msgstr ""
-"Para crear un evento nuevo, seleccione las fotos que quiere tener en el "
-"evento y pulse Eventos Nuevo evento ."
-
-#. (itstool) path: section/p
-#: C/organize-event.page:39
-msgid ""
-"To merge events, select Events from the sidebar, "
-"then, while holding down Ctrl click on the events you want to "
-"merge in the main window area. Finally, click Events"
-"gui>Merge Events ."
-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 View Sort Events 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 Events 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 Photos"
-"gui>Make Key Photo for Event ."
-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 flag photos. When a photo is flagged, a small "
-"flag icon appears in its upper right corner. You can select the "
-"Flagged 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 Flagged 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 Flag "
-"or Unflag from the context menu. Or use the Ctrl"
-"key>G or / 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 "
-"Photos Set Rating menu."
-msgstr ""
-"Seleccione las fotos y luego escoja una puntuación en el menú "
-"Foto Establecer puntuación 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 1 , "
-"2 , 3 , 4 or 5 to assign a rating. "
-"Or press 9 to mark the photo(s) as rejected or 0 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 View Filter Photos"
-"gui> 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 View"
-"gui>Ratings menu item."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-rating.page:28
-msgid ""
-"You can increase or decrease a photo's rating using the Set "
-"Rating Increase and Set Rating"
-"gui>Decrease commands, or the keyboard shortcuts "
-"< and > ."
-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 Edit Move to "
-"Trash . (You can also press the Delete key.) The "
-"photos will be moved from your library to Shotwell's Trash."
-msgstr ""
-"Seleccione las fotos que quiere quitar y elija Editar"
-"gui>Mover a la papelera . (También puede pulsar la tecla "
-"Supr .) 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 "
-"Edit Remove From Library . 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 View Search Bar checkbox toggles "
-"the display of the search bar. You can also hit Ctrl"
-"key>F or F8 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 Flagged , Rating or Type . The text search "
-"matches your keywords across tag names, photo or video titles and photos' "
-"original filenames. The Flagged , Rating and 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 Edit New Saved "
-"Search... or by hitting Ctrl S "
-"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 + button to add "
-"more rows, and the - 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 OK 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 Tags Add Tags... ."
-msgstr ""
-"Elija Etiquetas Añadir etiquetas... ."
-
-#. (itstool) path: item/p
-#: C/organize-tag.page:29
-msgid "Type Ctrl T ."
-msgstr "Pulse Ctrl T ."
-
-#. (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 Ctrl T or "
-"Tags Add Tags... 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 "
-"Tags Rename Tag \"[name]\"... , by "
-"rightclicking on it and choose Rename... 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 Tags Modify Tags... or "
-"right-click on a photo and select Modify Tags... 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 Tags Remove Tag \"[name]\" from Photos"
-"gui> or right-click on the photos an select Remove Tag "
-"\"[name]\" from Photos ."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-tag.page:58
-msgid ""
-"To delete a tag entirely, select that tag in the sidebar and choose "
-"Tags Delete Tag \"[name]\" or by right-"
-"click and select Delete Tag \"[name]\" ."
-msgstr ""
-"Para eliminar por completo una etiqueta, selecciónela en la barra latera y "
-"elija Etiquetas Eliminar etiqueta «nombre» "
-"guiseq> o púlsela con el botón derecho y elija Eliminar etiqueta "
-"«nombre» ."
-
-#. (itstool) path: page/p
-#: C/organize-tag.page:64
-#, fuzzy
-#| msgid ""
-#| "The Tags 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 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 Etiquetas 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 New ."
-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 "
-"Nuevo ."
-
-#. (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 View Titles 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 "
-#| "Photos Edit Title , or press "
-#| "F2 ."
-msgid ""
-"To change a photo's title, select the photo and click Photos"
-"gui>Edit Title... , or press F2 ."
-msgstr ""
-"Para cambiar el título de una foto, selecciónela y pulse Fotos"
-"gui>Editar título , o pulse F2 ."
-
-#. (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 Directory Structure and Pattern"
-"gui> settings in the Preferences dialog. You may use a "
-"preselected pattern, or choose Custom 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 "
-"Estructura del directorio y Patrón en el cuadro de "
-"diálogo Preferencias . Puede utilizar un patrón preseleccionado, o "
-"escoger Personalizado 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 "Symbol "
-msgstr "Símbolo "
-
-#. (itstool) path: td/p
-#: C/other-files.page:38
-msgid "Meaning "
-msgstr "Significado "
-
-#. (itstool) path: td/p
-#: C/other-files.page:38
-msgid "Example "
-msgstr "Ejemplo "
-
-#. (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 man strftime if you need one that isn't "
-"listed here."
-msgstr ""
-"Existen otros símbolos disponibles, revise el manual de strftime ejecutando "
-"el comando man strftime 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 Pictures "
-"directory in your home directory; you can change its location in in the "
-"Preferences 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 Imágenes en su carpeta local; puede cambiar esta "
-"ubicación en la ventana Preferencias .)"
-
-#. (itstool) path: section/p
-#: C/other-files.page:86
-msgid ""
-"To enable auto-import, check the box Watch library directory for new "
-"files in the Preferences window."
-msgstr ""
-"Para activar la importación automática, marca la opción Vigilar mi "
-"colección en búsqueda de archivos nuevos en la ventana "
-"Preferencias ."
-
-#. (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 Edit Preferences"
-"gui> , and in the Preferences window, check the "
-"Rename imported files to lowercase box."
-msgstr ""
-"Shotwell puede cambiar automáticamente los nombres de las fotos importadas a "
-"minúsculas. Para activar esto, escoja Editar"
-"gui>Preferencias , y en la ventana de Preferencias"
-"gui>, marque la casilla 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 Write tags, titles "
-"and other metadata to photo files in the Preferences "
-"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 Escribir "
-"etiquetas, títulos y otros metadatos a los archivos en el cuadro de "
-"diálogo Preferencias . 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 Remove From Library ."
-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 "
-" import them into Shotwell without"
-"em> copying the photos to your computer, they will show up as missing files "
-"if you then disconnect the removable disk. See "
-"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 importa en Shotwell sin copiarlas al "
-"equipo, se mostrarán como archivos ausentes cuando desconecte el disco "
-"extraíble. Consulte la 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 "
-"~/.shotwell . 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 plugins , 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 Edit"
-"gui>Preferences , and in the Preferences "
-"window, click on the Plugins 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 "
-"Editar Preferencias , y en la ventana "
-"de Preferencias pulse en la pestaña Complementos . 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 http://redmine.yorba.org/projects/shotwell/wiki/"
-"ShotwellArchWritingPlugins"
-msgstr ""
-"La documentación completa sobre cómo desarrollar nuevos complementos está "
-"disponible en http://redmine.yorba.org/projects/shotwell/wiki/"
-"ShotwellArchWritingPlugins"
-
-#. (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 Photos"
-"gui>Developer 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 Applications menu "
-"under Graphics or Photography ."
-msgstr ""
-"Una vez instalado, Shotwell estará disponible en su menú Aplicaciones"
-"gui>, en Gráficos o en Fotografía ."
-
-#. (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 Edit Preferences "
-"guiseq> in any Nautilus (file browser) window and choose the Media"
-"gui> tab. You'll see a dropdown box entitled Photos: 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 File Set as Desktop Background ."
-msgstr ""
-"Para establecer una única foto como fondo del escritorio, seleccione la foto "
-"y escriba Archivo Establecer como fondo del "
-"escritorio ."
-
-#. (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 File"
-"gui>Set as Desktop Slideshow... . 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 File"
-"gui>Export... command or press Shift"
-"key>Ctrl E , 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 Unmodified 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 Sin modificar 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 Current 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 Actual 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 File Print... . For more printing "
-"options, select the Page Setup tab in the Print dialog."
-msgstr ""
-"Pulse Archivo Imprimir... . Para más "
-"opciones de impresión, seleccione la pestaña Configuración de página"
-"gui> en el diálogo Imprimir ."
-
-#. (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 File Print"
-#| "gui> ."
-msgid ""
-"To print a photo, select it and choose File Print..."
-"gui> ."
-msgstr ""
-"Para imprimir una foto, selecciónela y elija Archivo"
-"gui>Imprimir ."
-
-#. (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 File Print , "
-#| "and in the Print dialog, choose the Image Settings "
-#| "tab. In Image Settings , choose one of the multiple-image-per-"
-#| "page options under Autosize ."
-msgid ""
-"Shotwell can also print multiple images in one page; to do this, select "
-"multiple images, choose File Print... , "
-"and in the Print dialog, choose the Image Settings "
-"tab. In Image Settings , choose one of the multiple-image-per-page "
-"options under Autosize ."
-msgstr ""
-"Shotwell puede también imprimir varias imágenes en una página; para hacer "
-"esto, seleccione las imágenes, escoja Archivo"
-"gui>Imprimir y en el cuadro de diálogo Imprimir"
-"gui>, seleccione la pestaña Configuraciones de la imagen . "
-"EnConfiguración de la imagen , escoja una de las opciones "
-"múltiples imágenes por página en Tamaño automático ."
-
-#. (itstool) path: page/p
-#: C/share-print.page:23
-msgid ""
-"If you would like to set formatting, paper size, and orientation options, "
-"choose the Page Setup tab in the Print dialog prior to "
-"printing."
-msgstr ""
-"Si quiere establecer el formato, el tamaño del papel, y la orientación, "
-"seleccione la pestaña Configuración de la página en el cuadro de "
-"diálogo Imprimir 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 File"
-"gui>Send To... , or right-click the photos and choose "
-"Send To... from the context menu. A Send To 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 "
-"escojaArchivo Enviar a... , o pulse con "
-"el botón derecho en las fotos y escoja Enviar a ... 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 View Slideshow or press "
-"F5 ."
-msgstr ""
-"Para ver una presentación de diapositivas en Shotwell, navegue hasta la "
-"colección y elija Ver Presentación o "
-"pulse F5 ."
-
-#. (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 plugins, Shotwell can "
-"publish photos and videos to the following services, each of which requires "
-"an account:"
-msgstr ""
-"Gracias al uso de complementos, 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 " Facebook"
-msgstr " Facebook"
-
-#. (itstool) path: item/p
-#: C/share-upload.page:19
-msgid " Flickr"
-msgstr " Flickr"
-
-#. (itstool) path: item/p
-#: C/share-upload.page:20
-msgid ""
-" Picasa Web Albums and "
-" Google+"
-msgstr ""
-" Álbumes de Picasa Web y "
-" Google+"
-
-#. (itstool) path: item/p
-#: C/share-upload.page:21
-msgid " YouTube (videos only)"
-msgstr " YouTube (sólo vídeos)"
-
-#. (itstool) path: item/p
-#: C/share-upload.page:22
-msgid ""
-" Yandex.Fotki, a photo site "
-"popular in Russia (photos only)"
-msgstr ""
-" Yandex.Fotki, 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 Piwigo photo "
-"gallery software (photos only)"
-msgstr ""
-"Cualquier sitio que ejecute el software de galería de fotos Piwigo (sólo fotos)"
-
-#. (itstool) path: page/p
-#: C/share-upload.page:26
-msgid ""
-"To publish selected photos in a collection, choose Edit"
-"gui>Preferences and click on the Plugins tab "
-"to enable the plugin for the service you want to publish to. Next, choose, "
-"File Publish , press the Publish"
-"gui> toolbar button or use Ctrl P . 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 "
-"Editar Preferencias y pulse en la "
-"pestaña Complementos para activar el complemento del servicio en "
-"el que quiere publicar. A continuación, elija Archivo"
-"gui>Publicar , pulse el botón Publicar en la "
-"barra de herramientas o pulse Ctrl P . "
-"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 (+ and - ) "
-"or by pressing Ctrl 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 (+ y - ) o presionando 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 "
-"Esc ."
-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 Esc ."
-
-#. (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: Ctrl 0 for the full image, "
-"Ctrl 1 for 100% (1 photo pixel = 1 screen pixel), "
-"and Ctrl 2 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 "
-"View Fullscreen or press 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 "
-"Ver Pantalla completa o presione "
-"F11 . 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 View Basic "
-"Information 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 "
-"Ver Información básica ."
-
-#. (itstool) path: page/p
-#: C/view-information.page:16
-msgid ""
-"The floating Extended Information window displays more information about the "
-"selected photo. The View Extended Information "
-"guiseq> command or Ctrl Shift X "
-"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 Last Import 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 Última importación 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 Flagged lists all photos you had previous flagged."
-msgstr ""
-"La opción Marcada lista todas las fotos que ha marcado "
-"anteriormente."
-
-#. (itstool) path: page/p
-#: C/view-sidebar.page:29
-msgid ""
-"The Saved Search allows you to sort your library by many criteria."
-msgstr ""
-"La Búsqueda guardada le permite ordenar su biblioteca bajo "
-"diferentes criterios."
-
-#. (itstool) path: page/p
-#: C/view-sidebar.page:31
-msgid ""
-"The Events 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 Eventos 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 Tags 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 Etiquetas 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"
+# Spanish translation for shotwell.
+# Copyright (C) 2014 shotwell's COPYRIGHT HOLDER
+# This file is distributed under the same license as the shotwell package.
+# FIRST AUTHOR , YEAR.
+# Dámaris Letelier , 2014.
+#
+#
+#
+# Daniel Mustieles , 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 \n"
+"Language-Team: es \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 , YEAR1, YEAR2
+msgctxt "_"
+msgid "translator-credits"
+msgstr ""
+"Marina Prado , 2016\n"
+"Daniel Mustieles , 2014 - 2016\n"
+"Dámaris Letelier , 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 Adjust 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 Ajustes 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 Enhance button adjusts the histogram and shadows sliders to "
+"improve the quality of a photo."
+msgstr ""
+"El botón Mejorar 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 OK "
+"to save the changes. Reset will return the image to its original "
+"state. Cancel discards all changes you've made."
+msgstr ""
+"Si los colores y el contraste de la foto son adecuados, pulse Aceptar"
+"gui> para guardar los cambios. El botón Restablecer devolverá la "
+"imagen a su estado original. El botón Cancelar 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 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 Recortar 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 rule of thirds 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 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 "
+"Crop button. Shotwell will display the cropped photo."
+msgstr ""
+"Cuando esté satisfecho con su recorte, aplíquelo pulsando el botón "
+"Recortar. Shotwell mostrará la foto recortada."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:32
+msgid ""
+"If you change your mind, press the Crop button again and fine-"
+"tune the crop."
+msgstr ""
+"Si cambia de opinión, pulse el botón Recortar de nuevo y ajuste "
+"el recorte."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:33
+msgid ""
+"If you press Cancel rather than Apply , Shotwell will "
+"return to the photo's previous crop dimensions."
+msgstr ""
+"Si pulsa el botón Cancelar en vez del botón Aplicar , "
+"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 rule of thirds helps you to choose a pleasing composition for a "
+"photo."
+msgstr ""
+"La regla de los tercios 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 Enhance 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 Adjust button."
+msgstr ""
+"Pulsar en el botón Mejorar 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 "
+"Ajustar ."
+
+#. (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 Edit"
+"gui>Preferences 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 EditarPreferencias 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 "
+"Photos Open With External Editor to "
+"open the photo with the external editor. Likewise, if the original photo is "
+"a RAW file, select Photos Open With RAW Editor "
+"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 "
+"Fotos Abrir con un editor externo "
+"para abrir la foto con un editor externo. De la misma manera, si la foto "
+"original es un archivo RAW, seleccione Fotos Abrir "
+"con un editor RAW 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 Shift 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 Shift 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 Photo files."
+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 Red-eye . A circle will appear on the photo."
+msgstr "Pulse en Ojos Rojos . 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 Apply . 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 Close "
+"when finished."
+msgstr ""
+
+#. (itstool) path: info/desc
+#: C/edit-rotate.page:7
+msgid ""
+"Click the Rotate button, or choose one of the commands in the "
+"Photo menu."
+msgstr ""
+"Pulse el botón Girar , o elija uno de los comandos en el menú "
+"Foto ."
+
+#. (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 Rotate 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 Rotate button. To rotate left, "
+"press and hold the Ctrl key and then click the button. Both "
+"commands are available in the Photos menu too. Alternatively, use "
+"the following keyboard shortcuts:"
+msgstr ""
+
+#. (itstool) path: item/p
+#: C/edit-rotate.page:18
+msgid ""
+"rotate left: Shift Ctrl R or "
+"[ "
+msgstr ""
+"rotar a la izquierda: Mayús Ctrl R "
+"keyseq> o [ "
+
+#. (itstool) path: item/p
+#: C/edit-rotate.page:19
+msgid ""
+"rotate right: Ctrl R or ] "
+msgstr ""
+"rotar a la derecha: Ctrl R or ]"
+"key>"
+
+#. (itstool) path: page/p
+#: C/edit-rotate.page:21
+msgid ""
+"To create a mirror image of a photo, use the Flip Horizontally "
+"command in the Photos menu. To flip an image vertically, use the "
+"Flip Vertically 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 Straighten . The straighten slider will appear. "
+"Alternatively, use the keyboard shortcut Ctrl A"
+"key> ."
+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 OK when finished."
+msgid "Press Straighten when finished."
+msgstr "Pulse Aceptar 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 Events New Event ."
+msgid ""
+"To adjust the date and time of photos, select the photos you would like to "
+"adjust, choose Photos Adjust Date and Time... "
+"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 Eventos Nuevo evento ."
+
+#. (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 "
+"Photos Revert to Original . 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 RAW 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 "
+" RAW 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. Note that some operating "
+"systems may not include all codecs listed here due to legal or licensing "
+"restrictions. "
+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 Ctrl key and click to select individual photos. You "
+"can hold down Shift and click to select a range of photos too."
+msgstr ""
+
+#. (itstool) path: item/p
+#: C/import-camera.page:28
+msgid ""
+"Click either Import Selected or Import All . 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 Last Import 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 File Import From Folder..."
+"gui> 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 Pictures 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 Ctrl while dragging photos in, Shotwell will "
+"copy the photos into your library folder without prompting. Similarly, if "
+"you hold down Ctrl Shift 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 Last Import 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 File Import From F-Spot ."
+msgstr ""
+"Seleccione Archivo Importar desde F-Spot "
+"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 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 importing photos from "
+"your hard disk. If you click File Import From "
+"Folder... , 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 connecting your camera directly to the computer, "
+"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 ""
+"Shotwell Photo "
+"Manager"
+msgstr ""
+"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 Events 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 No Event 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 Events Rename Event... "
+"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 Enter ."
+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 Events New Event ."
+msgstr ""
+"Para crear un evento nuevo, seleccione las fotos que quiere tener en el "
+"evento y pulse Eventos Nuevo evento ."
+
+#. (itstool) path: section/p
+#: C/organize-event.page:39
+msgid ""
+"To merge events, select Events from the sidebar, "
+"then, while holding down Ctrl click on the events you want to "
+"merge in the main window area. Finally, click Events"
+"gui>Merge Events ."
+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 View Sort Events 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 Events 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 Photos"
+"gui>Make Key Photo for Event ."
+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 flag photos. When a photo is flagged, a small "
+"flag icon appears in its upper right corner. You can select the "
+"Flagged 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 Flagged 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 Flag "
+"or Unflag from the context menu. Or use the Ctrl"
+"key>G or / 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 "
+"Photos Set Rating menu."
+msgstr ""
+"Seleccione las fotos y luego escoja una puntuación en el menú "
+"Foto Establecer puntuación 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 1 , "
+"2 , 3 , 4 or 5 to assign a rating. "
+"Or press 9 to mark the photo(s) as rejected or 0 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 View Filter Photos"
+"gui> 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 View"
+"gui>Ratings menu item."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/organize-rating.page:28
+msgid ""
+"You can increase or decrease a photo's rating using the Set "
+"Rating Increase and Set Rating"
+"gui>Decrease commands, or the keyboard shortcuts "
+"< and > ."
+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 Edit Move to "
+"Trash . (You can also press the Delete key.) The "
+"photos will be moved from your library to Shotwell's Trash."
+msgstr ""
+"Seleccione las fotos que quiere quitar y elija Editar"
+"gui>Mover a la papelera . (También puede pulsar la tecla "
+"Supr .) 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 "
+"Edit Remove From Library . 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 View Search Bar checkbox toggles "
+"the display of the search bar. You can also hit Ctrl"
+"key>F or F8 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 Flagged , Rating or Type . The text search "
+"matches your keywords across tag names, photo or video titles and photos' "
+"original filenames. The Flagged , Rating and 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 Edit New Saved "
+"Search... or by hitting Ctrl S "
+"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 + button to add "
+"more rows, and the - 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 OK 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 Tags Add Tags... ."
+msgstr ""
+"Elija Etiquetas Añadir etiquetas... ."
+
+#. (itstool) path: item/p
+#: C/organize-tag.page:29
+msgid "Type Ctrl T ."
+msgstr "Pulse Ctrl T ."
+
+#. (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 Ctrl T or "
+"Tags Add Tags... 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 "
+"Tags Rename Tag \"[name]\"... , by "
+"rightclicking on it and choose Rename... 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 Tags Modify Tags... or "
+"right-click on a photo and select Modify Tags... 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 Tags Remove Tag \"[name]\" from Photos"
+"gui> or right-click on the photos an select Remove Tag \"[name]"
+"\" from Photos ."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:58
+msgid ""
+"To delete a tag entirely, select that tag in the sidebar and choose "
+"Tags Delete Tag \"[name]\" or by right-"
+"click and select Delete Tag \"[name]\" ."
+msgstr ""
+"Para eliminar por completo una etiqueta, selecciónela en la barra latera y "
+"elija Etiquetas Eliminar etiqueta «nombre» "
+"guiseq> o púlsela con el botón derecho y elija Eliminar etiqueta "
+"«nombre» ."
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:64
+#, fuzzy
+#| msgid ""
+#| "The Tags 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 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 Etiquetas 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 New ."
+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 "
+"Nuevo ."
+
+#. (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 View Titles 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 "
+#| "Photos Edit Title , or press "
+#| "F2 ."
+msgid ""
+"To change a photo's title, select the photo and click Photos"
+"gui>Edit Title... , or press F2 ."
+msgstr ""
+"Para cambiar el título de una foto, selecciónela y pulse Fotos"
+"gui>Editar título , o pulse F2 ."
+
+#. (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 Directory Structure and Pattern"
+"gui> settings in the Preferences dialog. You may use a "
+"preselected pattern, or choose Custom 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 "
+"Estructura del directorio y Patrón en el cuadro de "
+"diálogo Preferencias . Puede utilizar un patrón preseleccionado, o "
+"escoger Personalizado 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 "Symbol "
+msgstr "Símbolo "
+
+#. (itstool) path: td/p
+#: C/other-files.page:38
+msgid "Meaning "
+msgstr "Significado "
+
+#. (itstool) path: td/p
+#: C/other-files.page:38
+msgid "Example "
+msgstr "Ejemplo "
+
+#. (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 man strftime if you need one that isn't "
+"listed here."
+msgstr ""
+"Existen otros símbolos disponibles, revise el manual de strftime ejecutando "
+"el comando man strftime 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 Pictures "
+"directory in your home directory; you can change its location in in the "
+"Preferences 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 Imágenes en su carpeta local; puede cambiar esta "
+"ubicación en la ventana Preferencias .)"
+
+#. (itstool) path: section/p
+#: C/other-files.page:86
+msgid ""
+"To enable auto-import, check the box Watch library directory for new "
+"files in the Preferences window."
+msgstr ""
+"Para activar la importación automática, marca la opción Vigilar mi "
+"colección en búsqueda de archivos nuevos en la ventana "
+"Preferencias ."
+
+#. (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 Edit Preferences"
+"gui> , and in the Preferences window, check the "
+"Rename imported files to lowercase box."
+msgstr ""
+"Shotwell puede cambiar automáticamente los nombres de las fotos importadas a "
+"minúsculas. Para activar esto, escoja Editar"
+"gui>Preferencias , y en la ventana de Preferencias"
+"gui>, marque la casilla 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 Write tags, titles "
+"and other metadata to photo files in the Preferences "
+"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 Escribir "
+"etiquetas, títulos y otros metadatos a los archivos en el cuadro de "
+"diálogo Preferencias . 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 Remove From Library ."
+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 "
+" import them into Shotwell without"
+"em> copying the photos to your computer, they will show up as missing files "
+"if you then disconnect the removable disk. See "
+"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 importa en Shotwell sin copiarlas al "
+"equipo, se mostrarán como archivos ausentes cuando desconecte el disco "
+"extraíble. Consulte la 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 "
+"~/.shotwell . 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 plugins , 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 Edit"
+"gui>Preferences , and in the Preferences "
+"window, click on the Plugins 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 "
+"Editar Preferencias , y en la ventana "
+"de Preferencias pulse en la pestaña Complementos . 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 http://redmine.yorba.org/projects/shotwell/wiki/"
+"ShotwellArchWritingPlugins"
+msgstr ""
+"La documentación completa sobre cómo desarrollar nuevos complementos está "
+"disponible en http://redmine.yorba.org/projects/shotwell/wiki/"
+"ShotwellArchWritingPlugins"
+
+#. (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 Photos"
+"gui>Developer 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 Applications menu "
+"under Graphics or Photography ."
+msgstr ""
+"Una vez instalado, Shotwell estará disponible en su menú Aplicaciones"
+"gui>, en Gráficos o en Fotografía ."
+
+#. (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 Edit Preferences "
+"guiseq> in any Nautilus (file browser) window and choose the Media"
+"gui> tab. You'll see a dropdown box entitled Photos: 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 File Set as Desktop Background ."
+msgstr ""
+"Para establecer una única foto como fondo del escritorio, seleccione la foto "
+"y escriba Archivo Establecer como fondo del "
+"escritorio ."
+
+#. (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 File"
+"gui>Set as Desktop Slideshow... . 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 File"
+"gui>Export... command or press Shift"
+"key>Ctrl E , 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 Unmodified 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 Sin modificar 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 Current 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 Actual 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 File Print... . For more printing "
+"options, select the Page Setup tab in the Print dialog."
+msgstr ""
+"Pulse Archivo Imprimir... . Para más "
+"opciones de impresión, seleccione la pestaña Configuración de página"
+"gui> en el diálogo Imprimir ."
+
+#. (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 File Print"
+#| "gui> ."
+msgid ""
+"To print a photo, select it and choose File Print..."
+"gui> ."
+msgstr ""
+"Para imprimir una foto, selecciónela y elija Archivo"
+"gui>Imprimir ."
+
+#. (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 File Print , "
+#| "and in the Print dialog, choose the Image Settings "
+#| "tab. In Image Settings , choose one of the multiple-image-per-"
+#| "page options under Autosize ."
+msgid ""
+"Shotwell can also print multiple images in one page; to do this, select "
+"multiple images, choose File Print... , "
+"and in the Print dialog, choose the Image Settings "
+"tab. In Image Settings , choose one of the multiple-image-per-page "
+"options under Autosize ."
+msgstr ""
+"Shotwell puede también imprimir varias imágenes en una página; para hacer "
+"esto, seleccione las imágenes, escoja Archivo"
+"gui>Imprimir y en el cuadro de diálogo Imprimir"
+"gui>, seleccione la pestaña Configuraciones de la imagen . "
+"EnConfiguración de la imagen , escoja una de las opciones "
+"múltiples imágenes por página en Tamaño automático ."
+
+#. (itstool) path: page/p
+#: C/share-print.page:23
+msgid ""
+"If you would like to set formatting, paper size, and orientation options, "
+"choose the Page Setup tab in the Print dialog prior to "
+"printing."
+msgstr ""
+"Si quiere establecer el formato, el tamaño del papel, y la orientación, "
+"seleccione la pestaña Configuración de la página en el cuadro de "
+"diálogo Imprimir 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 File"
+"gui>Send To... , or right-click the photos and choose "
+"Send To... from the context menu. A Send To 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 "
+"escojaArchivo Enviar a... , o pulse con "
+"el botón derecho en las fotos y escoja Enviar a ... 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 View Slideshow or press "
+"F5 ."
+msgstr ""
+"Para ver una presentación de diapositivas en Shotwell, navegue hasta la "
+"colección y elija Ver Presentación o "
+"pulse F5 ."
+
+#. (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 plugins, Shotwell can "
+"publish photos and videos to the following services, each of which requires "
+"an account:"
+msgstr ""
+"Gracias al uso de complementos, 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 " Facebook"
+msgstr " Facebook"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:19
+msgid " Flickr"
+msgstr " Flickr"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:20
+msgid ""
+" Picasa Web Albums and "
+" Google+"
+msgstr ""
+" Álbumes de Picasa Web y "
+" Google+"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:21
+msgid " YouTube (videos only)"
+msgstr " YouTube (sólo vídeos)"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:22
+msgid ""
+" Yandex.Fotki, a photo site "
+"popular in Russia (photos only)"
+msgstr ""
+" Yandex.Fotki, 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 Piwigo photo "
+"gallery software (photos only)"
+msgstr ""
+"Cualquier sitio que ejecute el software de galería de fotos Piwigo (sólo fotos)"
+
+#. (itstool) path: page/p
+#: C/share-upload.page:26
+msgid ""
+"To publish selected photos in a collection, choose Edit"
+"gui>Preferences and click on the Plugins tab "
+"to enable the plugin for the service you want to publish to. Next, choose, "
+"File Publish , press the Publish"
+"gui> toolbar button or use Ctrl P . 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 "
+"Editar Preferencias y pulse en la "
+"pestaña Complementos para activar el complemento del servicio en "
+"el que quiere publicar. A continuación, elija Archivo"
+"gui>Publicar , pulse el botón Publicar en la "
+"barra de herramientas o pulse Ctrl P . "
+"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 (+ and - ) "
+"or by pressing Ctrl 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 (+ y - ) o presionando 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 "
+"Esc ."
+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 Esc ."
+
+#. (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: Ctrl 0 for the full image, "
+"Ctrl 1 for 100% (1 photo pixel = 1 screen pixel), "
+"and Ctrl 2 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 "
+"View Fullscreen or press 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 "
+"Ver Pantalla completa o presione "
+"F11 . 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 View Basic "
+"Information 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 "
+"Ver Información básica ."
+
+#. (itstool) path: page/p
+#: C/view-information.page:16
+msgid ""
+"The floating Extended Information window displays more information about the "
+"selected photo. The View Extended Information "
+"guiseq> command or Ctrl Shift X "
+"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 Last Import 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 Última importación 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 Flagged lists all photos you had previous flagged."
+msgstr ""
+"La opción Marcada lista todas las fotos que ha marcado "
+"anteriormente."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:29
+msgid ""
+"The Saved Search allows you to sort your library by many criteria."
+msgstr ""
+"La Búsqueda guardada le permite ordenar su biblioteca bajo "
+"diferentes criterios."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:31
+msgid ""
+"The Events 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 Eventos 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 Tags 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 Etiquetas 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 051dd3e..21a2e27 100644
--- a/help/es/formats.page
+++ b/help/es/formats.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/import-camera.page b/help/es/import-camera.page
index 21a5265..be706ec 100644
--- a/help/es/import-camera.page
+++ b/help/es/import-camera.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/import-f-spot.page b/help/es/import-f-spot.page
index a546323..7c6a257 100644
--- a/help/es/import-f-spot.page
+++ b/help/es/import-f-spot.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/import-file.page b/help/es/import-file.page
index cb1426b..9dc05c2 100644
--- a/help/es/import-file.page
+++ b/help/es/import-file.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/import-memorycard.page b/help/es/import-memorycard.page
index fa2adf5..ac82fe6 100644
--- a/help/es/import-memorycard.page
+++ b/help/es/import-memorycard.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/index.page b/help/es/index.page
index c19a76b..ad593aa 100644
--- a/help/es/index.page
+++ b/help/es/index.page
@@ -17,6 +17,12 @@
philbull@gmail.com
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/organize-event.page b/help/es/organize-event.page
index a4769c0..95ec14a 100644
--- a/help/es/organize-event.page
+++ b/help/es/organize-event.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/organize-flag.page b/help/es/organize-flag.page
index 5e9b810..1d5ca99 100644
--- a/help/es/organize-flag.page
+++ b/help/es/organize-flag.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/organize-rating.page b/help/es/organize-rating.page
index 3f8c84b..19fee4d 100644
--- a/help/es/organize-rating.page
+++ b/help/es/organize-rating.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/organize-remove.page b/help/es/organize-remove.page
index 43055a1..f8d1ff2 100644
--- a/help/es/organize-remove.page
+++ b/help/es/organize-remove.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/organize-search.page b/help/es/organize-search.page
index aba75ba..73ecfca 100644
--- a/help/es/organize-search.page
+++ b/help/es/organize-search.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/organize-tag.page b/help/es/organize-tag.page
index 6987758..2a10d24 100644
--- a/help/es/organize-tag.page
+++ b/help/es/organize-tag.page
@@ -9,6 +9,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/organize-title.page b/help/es/organize-title.page
index 76c3ba3..ede92ca 100644
--- a/help/es/organize-title.page
+++ b/help/es/organize-title.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/other-files.page b/help/es/other-files.page
index 66676ea..d13599e 100644
--- a/help/es/other-files.page
+++ b/help/es/other-files.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/other-missing.page b/help/es/other-missing.page
index 605c668..fb163c0 100644
--- a/help/es/other-missing.page
+++ b/help/es/other-missing.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/other-multiple.page b/help/es/other-multiple.page
index 6df4204..cdca09b 100644
--- a/help/es/other-multiple.page
+++ b/help/es/other-multiple.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/other-plugins.page b/help/es/other-plugins.page
index fb971ea..ce29547 100644
--- a/help/es/other-plugins.page
+++ b/help/es/other-plugins.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/raw.page b/help/es/raw.page
index 7432916..4de6678 100644
--- a/help/es/raw.page
+++ b/help/es/raw.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/running.page b/help/es/running.page
index cba0fde..61bc890 100644
--- a/help/es/running.page
+++ b/help/es/running.page
@@ -9,6 +9,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/share-background.page b/help/es/share-background.page
index 82e3c41..84bacd4 100644
--- a/help/es/share-background.page
+++ b/help/es/share-background.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/share-export.page b/help/es/share-export.page
index 8110de6..da280ca 100644
--- a/help/es/share-export.page
+++ b/help/es/share-export.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/share-print.page b/help/es/share-print.page
index bf86838..cb1fcf3 100644
--- a/help/es/share-print.page
+++ b/help/es/share-print.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/share-send.page b/help/es/share-send.page
index ab62f1c..dac2afa 100644
--- a/help/es/share-send.page
+++ b/help/es/share-send.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/share-slideshow.page b/help/es/share-slideshow.page
index 7d5241c..5118a26 100644
--- a/help/es/share-slideshow.page
+++ b/help/es/share-slideshow.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/share-upload.page b/help/es/share-upload.page
index ec06cd1..076336f 100644
--- a/help/es/share-upload.page
+++ b/help/es/share-upload.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/view-displaying.page b/help/es/view-displaying.page
index 621df7a..02d457b 100644
--- a/help/es/view-displaying.page
+++ b/help/es/view-displaying.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/view-information.page b/help/es/view-information.page
index 36966d6..4bae654 100644
--- a/help/es/view-information.page
+++ b/help/es/view-information.page
@@ -7,6 +7,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/es/view-sidebar.page b/help/es/view-sidebar.page
index 1cd3a9e..c0d5b6f 100644
--- a/help/es/view-sidebar.page
+++ b/help/es/view-sidebar.page
@@ -16,6 +16,12 @@
+
+ Marina Prado
+ mapraro93@hotmail.com
+ 2016
+
+
Daniel Mustieles
daniel.mustieles@gmail.com
diff --git a/help/lv/edit-adjustments.page b/help/lv/edit-adjustments.page
new file mode 100644
index 0000000..1a1a7d1
--- /dev/null
+++ b/help/lv/edit-adjustments.page
@@ -0,0 +1,49 @@
+
+
+
+
+
+ Mainīt fotogrāfijas ekspozīciju, piesātinājumu, toni un ēnas.
+
+
+
+
+ Krāsu labojumi
+
+Poga Pielāgot atver peldošu lodziņu ar histogrammu un slīdņiem, ar ko pielabot fotogrāfijas ekspozīciju, piesātinājumu, toni, temperatūru un ēnas. Histogrammai ir arī slīdņi, ar ko samazināt fotogrāfijas augšējo un apakšējo sliekšņu intensitāti, palielinot vidējā apgabala kontrastu.
+
+Poga Uzlabot pielāgot histogrammas un ēnu slīdņus, lai uzlabotu fotogrāfijas kvalitāti.
+
+Kad fotogrāfijas krāsas un kontrasts atbilst jūsu vēlmēm, spiediet Labi , lai saglabātu izmaiņas. Atiestatīt atgriezīs bildi tās sākotnējā stāvoklī. Atcelt atmetīs visas veiktās izmaiņas.
+
+
+ Ko dara krāsu pielabošana?
+
+ -
+
Ekspozīcija
+ Maina gaišumu, lai izskatītos, ka fotogrāfijas ir eksponētas ilgāku vai īsāku laiku. Ar to var labot pāreksponētas vai nepietiekami eksponētas fotogrāfijas.
+
+ -
+
Piesātinājums
+ Maina, cik spilgtas izskatās krāsas. Ja fotogrāfija izskatās pārāk pelēka vai izbalējusi, mēģiniet palielināt piesātinājumu. Ja krāsas ir pārāk izteiktas, samaziniet to.
+
+ -
+
Tonis
+ Tonē fotogrāfiju ar noteiktu krāsu. Šī iespēja noder, ja fotogrāfija ir uzņemta ne nepareiziem baltās krāsas balansa iestatījumiem, kas rada nedabīgu nokrāsu. Piemēram, fotogrāfijas, kas uzņemtas ārtelpās ar “Tungsten” (volframs) baltās krāsas balansa iestatījumiem, var radīt zilu nokrāsu.
+
+ -
+
Temperatūra
+ Maina, cik “silta” vai “auksta” izskatās bilde. Ar to aukstu un nomācošu ainu var padarīt dzīvīgāku.
+
+ -
+
Ēnas
+ Tas liek tumšākām attēla daļām izskatīties gaišākām. Izmantojiet šo, lai padarītu redzamākas tās detaļas, kuras ir pārāk tumšas vai ir ēnā.
+
+ -
+
Intensitātes slieksnis (slīdņi pie histogrammas)
+ Šie slīdņi maina, cik gaišs ir pats gaišākais punkts un cik tumšs ir pats tumšākais punkts. Tos varat izmantot, lai mainītu attēla kontrastu. Tas īpaši noderēs fotogrāfijām, kas izskatās izbalējušas vai miglainas.
+
+
+
+
+
diff --git a/help/lv/edit-crop.page b/help/lv/edit-crop.page
new file mode 100644
index 0000000..0da633c
--- /dev/null
+++ b/help/lv/edit-crop.page
@@ -0,0 +1,44 @@
+
+
+
+
+
+ Uzlabojiet fotogrāfijas kompozīciju, nogriežot nost tās daļas.
+
+
+
+
+ Kadrēšana
+
+ Lai samazinātu fotogrāfijas laukumu un virzītu skatītāja uzmanību uz mazāku tās daļu, izmantojiet Kadrēšanas rīku. Tas ir pieejams tikai pilna loga vai pilnekrāna režīmos.
+
+
+ -
+
Dubultklikšķiniet uz fotogrāfijas, lai atvērtu to pilna loga režīmā, tad rīkjoslā spiediet pogu Kadrēt .
+
+ -
+
Virs fotogrāfijas parādīsies balta kaste — kadrēšanas taisnstūris. Gaišākā fotogrāfijas daļa attēlo to attēla daļu, kas paliks pāri pēc kadrēšanas.
+
+ -
+
Ja novietosiet kursoru kaste vidū, varēsiet to pārvietot uz citu bildes daļu. Ja vilksiet kastes malu, varēsiet pielāgot tās izmēru. Pārvietojot un pielāgojot kadrēšanas kasti, jūs tajā redzēsiet četras tievas līnijas, līdzīgi kā krustiņu-nullīšu spēles režģi. Tās ir trešdaļu likuma līnijas.
+ Jūs varat arī ierobežot kadrēšanas kasti uz kādu no daudziem biežāk izmantotajiem izmēriem. Izvēlieties izmēru no izkrītošās izvēlnes. Ja piespiedīsiet tai blakus esošo apmešanas pogu, ierobežojuma virziens mainīsies (no ainavas uz portreta orientāciju).
+
+ -
+
Kad izvēlētā kadrēšanas kontūra jūs apmierina, spiediet poguKadrēt . Shotwell attēlos kadrēto fotogrāfiju.
+
+ -
+
Ja pārdomāsiet, atkal spiediet pogu Kadrēt , un pielabojiet.
+ Ja spiedīsiet Atcelt nevis Pielietot , Shotwell atgriezīs fotogrāfiju uz tās iepriekšējo kadrējumu.
+
+
+
+
+ Kas ir trešdaļu likums?
+ Trešdaļu likums jums palīdz izvēlēties patīkamu fotogrāfijas kompozīciju.
+ Iedomājieties ainu, kura ir sadalīta 3×3 režģī ar divām vienādā atstatumā esošām vertikālām un horizontālām līnijām. Vadoties pēc šī likuma, kompozīcija izskatīsies labāk, ja bildes galvenie elementi (horizonts, cilvēks) būs pie kādas no šīm līnijām. Pievērsiet uzmanību tam, kā elementi pāriet no vienas režģa daļas uz citu.
+ Fotogrāfijas kadrēšana, lai tā atbilstu trešdaļu likumam, bieži var uzlabot tās vizuālo pievilcību.
+
+ Fotogrāfijas kadrēšana, izmantojot “trešdaļu likumu” līnijas, lai uzlabotu kompozīciju.
+
+
+
diff --git a/help/lv/edit-date-time.page b/help/lv/edit-date-time.page
new file mode 100644
index 0000000..48428c0
--- /dev/null
+++ b/help/lv/edit-date-time.page
@@ -0,0 +1,19 @@
+
+
+
+
+
+ Mainīt fotogrāfiju datumus un laikus, ja tie ir nepareizi.
+
+
+
+
+ Pielāgot fotogrāfiju datumus un laikus
+
+Lai pielāgotu fotogrāfiju datumu un laiku, izvēlieties fotogrāfijas, izvēlieties Fotogrāfijas Pielāgot datumu un laiku... un iestatiet jaunu datumu un laiku.
+
+Ja maināt datumu un laiku vairākām fotogrāfijām uzreiz, varat to mainīt visām fotogrāfijām par vienādu laika nobīdi, vai arī visām iestatīt vienu un to pašu laiku.
+
+Pēc noklusējuma, datums un laiks tiek mainīts tikai pašā Shotwell. Jūs varat arī mainīt datumu un laiku oriģinālajā datnē, bet to nevar atsaukt, kad iziesiet ārā no Shotwell lietotnes.
+
+
diff --git a/help/lv/edit-enhance.page b/help/lv/edit-enhance.page
new file mode 100644
index 0000000..8ca3e5d
--- /dev/null
+++ b/help/lv/edit-enhance.page
@@ -0,0 +1,16 @@
+
+
+
+
+
+ Ļauj Shotwell automātiski uzlabot fotogrāfiju gaišumu un kontrastu.
+
+
+
+
+
+
+ Automātiskā uzlabošana
+
+ Spiežot pogu Uzlabot , var ātri un automātiski pielabot fotogrāfijas gaišumu un kontrastu. Tas dos pareizi eksponētu fotogrāfiju. Jūs to varat arī izmantot kā sākuma punktu un pēc tam uzlabot attēlu ar pogu Pielāgot .
+
diff --git a/help/lv/edit-external.page b/help/lv/edit-external.page
new file mode 100644
index 0000000..66b3fc5
--- /dev/null
+++ b/help/lv/edit-external.page
@@ -0,0 +1,26 @@
+
+
+
+
+
+ Izmantot citu lietotni fotogrāfijas rediģēšanai.
+
+
+
+
+ Rediģēt fotogrāfijas ar ārēju programmu
+
+ Jūs varat izmantot ārēju redaktoru, lai veiktu papildu izmaiņās fotogrāfijā. Ja ir instalēts, GIMP un UFRaw ir noklusējuma ārējie redaktori attiecīgi fotogrāfijām un jēlajām datnēm. Ja šīs programmas nav instalētas, jums jāizvēlas vēlamie redaktori Rediģēt Iestatījumi un jāizvēlas redaktori no instalēto lietotņu izkrītošajām izvēlnēm.
+
+ Kad redaktors ir iestatīs, izvēlieties fotogrāfiju un izvēlietiesFotogrāfijas Atvērt ar ārēju redaktoru lai atvērtu fotogrāfiju ar ārēju redaktoru. Līdzīgi, ja fotogrāfija ir jēldatne, izvēlieties Fotogrāfijas Atvērt ar RAW redaktoru , lai rediģētu jēldatni ar iestatīto RAW redaktoru.
+
+ Kad beigsiet rediģēt un saglabāsiet datni, Shotwell pamanīs izmaiņas un atjauninās fotogrāfiju. Kad ārējās izmaiņas ir pabeigtas, spiediet taustiņu Shift pilnekrāna logā, lai rādītu sākotnējo fotogrāfiju, nevis ārēji rediģēto.
+
+ Atjaunošana uz oriģinālu dzēsīs ārpusē veiktās izmaiņas.
+
+
+ Ja jūs ārēji rediģējat RAW fotogrāfiju un to saglabājat citā attēlā, piemēram, JPEG vai PNG, Shotwell nevar automātiski noteikt, ka oriģinālā RAW un jaunais attēls ir saistīti.
+
+ Ja vēlaties Shotwell lietotnē strādāt ar iegūto attēlu, jums pašam tā būs jāimportē.
+
+
diff --git a/help/lv/edit-nondestructive.page b/help/lv/edit-nondestructive.page
new file mode 100644
index 0000000..8a3e945
--- /dev/null
+++ b/help/lv/edit-nondestructive.page
@@ -0,0 +1,19 @@
+
+
+
+
+
+ Shotwell ir nedestruktīvs fotogrāfiju redaktors — tas nemaina jūsu sākotnējās fotogrāfijas.
+
+
+
+
+ Kas notiek ar oriģinālu, kad es rediģēju fotogrāfiju?
+
+Shotwell in neiznīcinošs fotogrāfiju redaktors. Tas nemaina jūsu sākotnējās fotogrāfijas. Tas nozīmē, ka, ka kadrējat attēlu vai maināt tā krāsas, fotogrāfijas datne uz diska netiek mainīta. Shotwell Saglabā jūsu veiktās izmaiņas datubāzē un tās vēlāk tiek pielietotas, kad tas ir vajadzīgs. Tas nozīmē,ka varat atsaukt jebkuras izmaiņas, ko veicāt ar fotogrāfiju.
+
+Ja vēlaties redzēt, kā attēls izskatījās pirs izmaiņu veikšanas, spiediet Shift taustiņu. Sākotnējā bilde būs redzama, kamēr vien būs piespiests taustiņš.
+
+Ņemiet vērā, ka Shotwell var ierakstīt metadatus (piemēram, tagus un nosaukumus) fotogrāfiju datnēs. Lai uzzinātu vairāk, skatiet nodaļu Fotogrāfiju datnes.
+
+
diff --git a/help/lv/edit-redeye.page b/help/lv/edit-redeye.page
new file mode 100644
index 0000000..523be5a
--- /dev/null
+++ b/help/lv/edit-redeye.page
@@ -0,0 +1,25 @@
+
+
+
+
+
+ Labojiet fotogrāfijas, kur cilvēkiem ir sarkanas acis dēļ kameras zibspuldzes.
+
+
+
+
+ Sarkano acu noņemšana
+
+ Sarkano acu efekts notiek, kad kameras zibspuldze atspīd no acu zīlītes. Lai šo efektu novērstu fotogrāfijā, izmantojiet sarkano acu rīku.
+
+ -
+
Spiediet Sarkanās acis . Fotogrāfijā parādīsies aplis.
+
+ -
+
Velciet apli virs sarkanās zīlītes, pielāgojiet tā izmēru ar slīdni un spiediet Pielietot . Sarkanums tiks noņemts.
+
+ -
+
Atkārtojiet procesu visām sarkanajām acīm fotogrāfijā. Kad pabeidzat, spiediet Aizvērt .
+
+
+
diff --git a/help/lv/edit-rotate.page b/help/lv/edit-rotate.page
new file mode 100644
index 0000000..d0cedda
--- /dev/null
+++ b/help/lv/edit-rotate.page
@@ -0,0 +1,26 @@
+
+
+
+
+
+ Spiediet pogu Pagriezt , vai izvēlieties vienu no komandām Fotogrāfiju izvēlnē.
+
+
+
+
+ Pagriezt vai apmest fotogrāfiju
+
+ Jūs varat pagriezt fotogrāfijas pa labi vai pa kreisi (pulksteņa rādītāja virzienā vai pretēji) ar pogu Pagriezt , kas ir pieejams rīkjoslā. Jūs varat arī iegūt jebkuras fotogrāfijas spoguļattēlu.
+
+ Lai pagrieztu pa labi, spiediet pogu Pagriezt . Lai pagrieztu pa kreisi, turiet piespiestu Ctrl taustiņu un spiediet pagriešanas pogu. Abas komandas ir pieejamas arī Fotogrāfiju izvēlnē. Varat izmantot arī tastatūras saīsnes:
+
+ pagriezt pa kreisi: Shift Ctrl R vai [
+ pagriezt pa labi: Ctrl R vai ]
+
+ Lai izveidotu fotogrāfijas spoguļattēlu, izmantojiet Apmest horizontāli komandu Fotogrāfiju izvēlnē. Lai apmestu fotogrāfiju vertikāli, izmantojiet Apmest vertikāli komandu tajā pat izvēlnē.
+
+
+ Ja izvēlēsities vairāk kā vienu attēlu, varēsiet pagriezt tos visus uzreiz.
+
+
+
diff --git a/help/lv/edit-straighten.page b/help/lv/edit-straighten.page
new file mode 100644
index 0000000..5d42552
--- /dev/null
+++ b/help/lv/edit-straighten.page
@@ -0,0 +1,27 @@
+
+
+
+
+
+ Iztaisnojiet fotogrāfijas, lai to horizonts izskatītos līdzens.
+
+
+
+
+ Iztaisnot fotogrāfijas
+
+Iztaisnošanas rīks ļauj izlīdzināt un iztaisnot fotogrāfijas. Iztaisnošanas rīks ir pieejams tikai pilna loga un pilnekrāna režīmā.
+
+
+ -
+
Spiediet Iztaisnot . Parādīsies iztaisnošanas slīdnis. Varat izmantot arī tastatūras saīsni Ctrl A .
+
+ -
+
Velciet slīdni, lai iegūtu vēlamo leņķi.
+
+ -
+
Kad pabeigts, spiediet Iztaisnot .
+
+
+
+
diff --git a/help/lv/edit-undo.page b/help/lv/edit-undo.page
new file mode 100644
index 0000000..8d9061d
--- /dev/null
+++ b/help/lv/edit-undo.page
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Atjaunot fotogrāfiju tās sākotnējā, nerediģētā formā.
+
+
+
+
+
+
+ Atsaukt izmaiņas
+
+ Tā kā Shotwell ir nedestruktīvs fotogrāfiju redaktors, jūs varat atsaukt visas izmaiņas, kas ir veiktas ar fotogrāfiju.
+
+ Ja vēlaties redzēt, kā attēls izskatījās pirs izmaiņu veikšanas, spiediet Shift taustiņu. Sākotnējā bilde būs redzama, kamēr vien būs piespiests taustiņš.
+
+ Lai pilnībā atsauktu visas fotogrāfijā veiktās izmaiņas, spiediet Fotogrāfijas Atgriezties pie oriģināla . Vienīgais izņēmums ir laiks un datums, tie netiks atjaunoti.
+
+
diff --git a/help/lv/figures/trash_process.png b/help/lv/figures/trash_process.png
new file mode 100644
index 0000000..82ad150
Binary files /dev/null and b/help/lv/figures/trash_process.png differ
diff --git a/help/lv/formats.page b/help/lv/formats.page
new file mode 100644
index 0000000..3931056
--- /dev/null
+++ b/help/lv/formats.page
@@ -0,0 +1,27 @@
+
+
+
+
+
+ Shotwell atbalsta JPEG, PNG, TIFF, BMP un RAW fotogrāfiju datnes, kā arī video datnes.
+
+
+
+
+ Atbalstītie fotogrāfiju un video formāti
+
+ Shotwell atbalsta JPEG, PNG, TIFF, BMP un RAW fotogrāfiju datnes. Shotwell vēl neatbalsta citus grafikas formātus, piemēram, GIF.
+
+Pašlaik Shotwell jēlattēlu (RAW) formātu atbalsts ir ierobežots. Skatoties jēlattēlu, jūs redzat JPEG datni, kas ir izvilkta no jēlattēla, nevis pašu jēlattēlu. Bez tam, RAW rediģēšanas konveijers nav pilnībā 16 bitu — rediģētās fotogrāfijas var eksportēt tikai kā 8 bitu datnes. Eksportēšanai var izmantot visus atbalstītos formātus (JPEG, PNG, TIFF, BMP).
+
+Lai uzzinātu vairāk par jēlā formāta fotogrāfijām Shotwell lietotnē, skatiet nodaļu par jēlattēliem.
+
+Shotwell atbalsta arī video datnes visos formātos, ko atbalsta GStreamer multimediju bibliotēka sistēmā, uz kuras darbojas Shotwell. Tas parasti iekļauj šos formātus:
+
+Konteineru formāti: Ogg, QuickTime, MP4, AVI.
+Kodeki: Theora, Quicktime, MPEG-4, Motion JPEG. Ņemiet vērā, ka dažas operētājsistēmas var neiekļaut visus šeit uzskaitītos kodekus dēļ juridiskiem vai licenču ierobežojumiem.
+
+
+Shotwell atbalsta gan fotogrāfijas, gan video, bet dokumentācijā vienkāršības labad tiek izmantots termins “fotogrāfijas”. Vairums darbību Shotwell var veikt gan ar fotogrāfijām, gan video, precīzāk, notikumi, atzīmēšana ar karogu, vērtēšana, tagošana un publicēšana darbojas vienlīdz labi ar fotogrāfijām un video.
+
+
diff --git a/help/lv/import-camera.page b/help/lv/import-camera.page
new file mode 100644
index 0000000..86e8800
--- /dev/null
+++ b/help/lv/import-camera.page
@@ -0,0 +1,31 @@
+
+
+
+
+
+ Kopēt fotogrāfijas no ciparu kameras.
+
+
+
+
+ Importēšana no kameras
+
+ Lai importētu fotogrāfijas no ciparu kameras:
+
+
+ -
+
Pievienojiet kameru savam datoram un ieslēdziet to. Shotwell to atpazīs un parādīs sānu joslā.
+
+ -
+
Izvēlieties kameru sānu joslā. Tiks attēloti katras fotogrāfijas priekšskatījums.
+
+ -
+
Ja vēlaties, varat izvēlēties, kuras tieši fotogrāfijas importēt. Lai to izdarītu, turiet piespiestu Ctrl taustiņu un spiediet uz attiecīgajām fotogrāfijām. Varat arī turēt piespiestu Shift taustiņu un spiest uz fotogrāfijām, lai izvēlētos virkni fotogrāfiju uzreiz.
+
+ -
+
Spiediet vai nu Importēt izvēlētās vai Importēt visas . Fotogrāfijas tiks nokopētas no kameras un saglabātas datorā.
+
+
+
+ Kad importēšana ir pabeigta, varat atvērt skatu Pēdējais imports (sānu joslā) un tur būs redzamas visas importētās fotogrāfijas. Notikumu saraksts (arī sānu joslā) arī saturēs jaunās fotogrāfijas, kas ir organizētas pēc datuma.
+
diff --git a/help/lv/import-f-spot.page b/help/lv/import-f-spot.page
new file mode 100644
index 0000000..9145fad
--- /dev/null
+++ b/help/lv/import-f-spot.page
@@ -0,0 +1,19 @@
+
+
+
+
+
+ Shotwell var arī importēt visas jūsu fotogrāfijas un tagus no F-Spot fotogrāfiju pārvaldnieka.
+
+
+
+
+ Importēšana no F-Spot
+
+ Lai importētu esošo fotogrāfiju kolekciju no F-Spot:
+
+ Izvēlieties Datne Importēt no F-Spot .
+ Tagad izvēlieties vai no noklusējuma F-Spot bibliotēku vai citu F-Spot datubāzi. Ja importējat no citas F-Spot datubāzes, izvēlēties direktoriju un datni ar izvēlētāja dialoglodziņu.
+
+ Shotwell importēs jūsu fotogrāfijas ar to tagiem un citu informāciju. Kad importēšana ir pabeigta, varat izvēlēties Pēdējais imports sānu joslā, lai redzētu visas veiksmīgi importētās fotogrāfijas. Notikumu saraksts arī attēlos jaunos ierakstus datumiem, kas atbilst importētajām fotogrāfijām.
+
diff --git a/help/lv/import-file.page b/help/lv/import-file.page
new file mode 100644
index 0000000..460eb63
--- /dev/null
+++ b/help/lv/import-file.page
@@ -0,0 +1,23 @@
+
+
+
+
+
+ Importēt fotogrāfijas, kas jau ir saglabātas datorā.
+
+
+
+
+ Importēt no cietā diska
+
+ Lai importētu datnes no cietā diska uz Shotwell, velciet tās no datņu pārlūka Shotwell logā.
+
+ Varat arī spiest Datne Importēt no mapes... un izvēlieties mapi, kura satur fotogrāfijas, kuras vēlaties importēt.
+
+ Shotwell jums prasīs, vai vēlaties kopēt fotogrāfiju datnes uz jūsu bibliotēkas mapi (parasti tā ir mape Attēli , kas atrodas jūsu mājas direktorijā), vai importējiet tās, nekopējot datnes.
+
+ Ja turat piespiestu Ctrl taustiņu, kamēr velkat fotogrāfijas, Shotwell kopēs jūsu fotogrāfijas bez nejautājot. Līdzīgi, ja velkot turēsiet piespiestus taustiņus Ctrl Shift , Shotwell importēs fotogrāfijas tās nekopējot.
+
+ Kad importēšana ir pabeigta, varat izvēlēties Pēdējais imports sānu joslā, lai redzētu visas veiksmīgi importētās fotogrāfijas. Notikumu saraksts arī attēlos jaunos ierakstus datumiem, kas atbilst importētajām fotogrāfijām.
+
+
diff --git a/help/lv/import-memorycard.page b/help/lv/import-memorycard.page
new file mode 100644
index 0000000..b8cb84c
--- /dev/null
+++ b/help/lv/import-memorycard.page
@@ -0,0 +1,31 @@
+
+
+
+
+
+ Importēt fotogrāfijas no ciparu kameras atmiņas kartes.
+
+
+
+
+ Importēšana no atmiņas kartes
+
+Lai importētu fotogrāfijas no kameras atmiņas kartes:
+
+
+ -
+
Ievietojiet atmiņas karti savā karšu lasītājā. Pārliecinieties, ka lasītājs ir pievienots datoram un ieslēdziet to.
+
+ -
+
Karšu lasītāju un pašu karti datoram vajadzētu atpazīt automātiski.
+
+ -
+
Sekojiet instrukcijām, kā importēt fotogrāfijas no cietā diska. Ja spiedīsiet Datne Importēt no mapes... , atmiņas karte būs redzama kā mape izvēlēs loga sānu joslā.
+
+
+
+Shotwell var importēt fotogrāfijas no jebkuras atmiņas kartes, kas ir savietojama ar jūsu karšu lasītāju.
+
+Ja karte nav automātiski atpazīta, iespējams, ka karšu lasītājs nav atpazīts. Mēģiniet to atvienot un atkal pievienot datoram. Ja tas nepalīdz jums vajadzētu varēt importēt fotogrāfijas, pievienojot datoram pašu kameru.
+
+
diff --git a/help/lv/index.page b/help/lv/index.page
new file mode 100644
index 0000000..70b7d62
--- /dev/null
+++ b/help/lv/index.page
@@ -0,0 +1,47 @@
+
+
+
+
+ Shotwell
+ Shotwell
+
+ Jim Nelson
+ jim@yorba.org
+ Allison Barlow
+ allison@yorba.org
+ Robert Ancell
+ robert.ancell@canonical.com
+ Peter Smith
+ pdo.smith@gmail.com
+ Phil Bull
+ philbull@gmail.com
+
+
+
+
+ Shotwell fotogrāfiju pārvaldnieks
+
+
+ Fotogrāfiju importēšana
+
+
+
+ Fotogrāfiju skatīšana
+
+
+
+ Fotogrāfiju organizēšana
+
+
+
+ Fotogrāfiju rediģēšana
+
+
+
+ Dalīšanās ar fotogrāfijām
+
+
+
+
diff --git a/help/lv/lv.po b/help/lv/lv.po
new file mode 100644
index 0000000..cc8a1e5
--- /dev/null
+++ b/help/lv/lv.po
@@ -0,0 +1,3226 @@
+# Latvian translation for shotwell.
+# Copyright (C) 2016 shotwell's COPYRIGHT HOLDER
+# This file is distributed under the same license as the shotwell package.
+#
+# Rūdolfs Mazurs , 2016.
+msgid ""
+msgstr ""
+"Project-Id-Version: shotwell master\n"
+"POT-Creation-Date: 2016-11-08 07:15+0000\n"
+"PO-Revision-Date: 2016-11-08 23:25+0200\n"
+"Last-Translator: Rūdolfs Mazurs \n"
+"Language-Team: Latvian \n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 :"
+" 2);\n"
+"X-Generator: Lokalize 2.0\n"
+
+#. Put one translator per line, in the form NAME , YEAR1, YEAR2
+msgctxt "_"
+msgid "translator-credits"
+msgstr "Rūdolfs Mazurs "
+
+#. (itstool) path: info/desc
+#: C/edit-adjustments.page:7
+msgid "Change the exposure, saturation, tint, and shadows of a photo."
+msgstr "Mainīt fotogrāfijas ekspozīciju, piesātinājumu, toni un ēnas."
+
+#. (itstool) path: page/title
+#: C/edit-adjustments.page:12
+msgid "Color adjustments"
+msgstr "Krāsu labojumi"
+
+#. (itstool) path: page/p
+#: C/edit-adjustments.page:14
+msgid ""
+"The Adjust 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 ""
+"Poga Pielāgot atver peldošu lodziņu ar histogrammu un slīdņiem, "
+"ar ko pielabot fotogrāfijas ekspozīciju, piesātinājumu, toni, temperatūru un "
+"ēnas. Histogrammai ir arī slīdņi, ar ko samazināt fotogrāfijas augšējo un "
+"apakšējo sliekšņu intensitāti, palielinot vidējā apgabala kontrastu."
+
+#. (itstool) path: page/p
+#: C/edit-adjustments.page:16
+msgid ""
+"The Enhance button adjusts the histogram and shadows sliders to "
+"improve the quality of a photo."
+msgstr ""
+"Poga Uzlabot pielāgot histogrammas un ēnu slīdņus, lai uzlabotu "
+"fotogrāfijas kvalitāti."
+
+#. (itstool) path: page/p
+#: C/edit-adjustments.page:18
+msgid ""
+"When the photo's colors and contrast are to your liking, press OK "
+"to save the changes. Reset will return the image to its original "
+"state. Cancel discards all changes you've made."
+msgstr ""
+"Kad fotogrāfijas krāsas un kontrasts atbilst jūsu vēlmēm, spiediet "
+"Labi , lai saglabātu izmaiņas. Atiestatīt atgriezīs "
+"bildi tās sākotnējā stāvoklī. Atcelt atmetīs visas veiktās "
+"izmaiņas."
+
+#. (itstool) path: section/title
+#: C/edit-adjustments.page:21
+msgid "What do the color adjustments do?"
+msgstr "Ko dara krāsu pielabošana?"
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:24
+msgid "Exposure"
+msgstr "Ekspozīcija"
+
+#. (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 ""
+"Maina gaišumu, lai izskatītos, ka fotogrāfijas ir eksponētas ilgāku vai "
+"īsāku laiku. Ar to var labot pāreksponētas vai nepietiekami eksponētas "
+"fotogrāfijas."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:28
+msgid "Saturation"
+msgstr "Piesātinājums"
+
+#. (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 ""
+"Maina, cik spilgtas izskatās krāsas. Ja fotogrāfija izskatās pārāk pelēka "
+"vai izbalējusi, mēģiniet palielināt piesātinājumu. Ja krāsas ir pārāk "
+"izteiktas, samaziniet to."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:32
+msgid "Tint"
+msgstr "Tonis"
+
+#. (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 ""
+"Tonē fotogrāfiju ar noteiktu krāsu. Šī iespēja noder, ja fotogrāfija ir "
+"uzņemta ne nepareiziem baltās krāsas balansa iestatījumiem, kas rada "
+"nedabīgu nokrāsu. Piemēram, fotogrāfijas, kas uzņemtas ārtelpās ar "
+"“Tungsten” (volframs) baltās krāsas balansa iestatījumiem, var radīt zilu "
+"nokrāsu."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:36
+msgid "Temperature"
+msgstr "Temperatūra"
+
+#. (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 ""
+"Maina, cik “silta” vai “auksta” izskatās bilde. Ar to aukstu un nomācošu "
+"ainu var padarīt dzīvīgāku."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:40
+msgid "Shadows"
+msgstr "Ēnas"
+
+#. (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 ""
+"Tas liek tumšākām attēla daļām izskatīties gaišākām. Izmantojiet šo, lai "
+"padarītu redzamākas tās detaļas, kuras ir pārāk tumšas vai ir ēnā."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:44
+msgid "Intensity Threshold (sliders on the histogram)"
+msgstr "Intensitātes slieksnis (slīdņi pie histogrammas)"
+
+#. (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 ""
+"Šie slīdņi maina, cik gaišs ir pats gaišākais punkts un cik tumšs ir pats "
+"tumšākais punkts. Tos varat izmantot, lai mainītu attēla kontrastu. Tas "
+"īpaši noderēs fotogrāfijām, kas izskatās izbalējušas vai miglainas."
+
+#. (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 "Uzlabojiet fotogrāfijas kompozīciju, nogriežot nost tās daļas."
+
+#. (itstool) path: page/title
+#: C/edit-crop.page:12
+msgid "Cropping"
+msgstr "Kadrēšana"
+
+#. (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 ""
+"Lai samazinātu fotogrāfijas laukumu un virzītu skatītāja uzmanību uz mazāku "
+"tās daļu, izmantojiet Kadrēšanas rīku. Tas ir pieejams tikai pilna loga vai "
+"pilnekrāna režīmos."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:19
+msgid ""
+"Double-click on a photo to enter full-window mode, then press the Crop"
+"gui> button on the toolbar."
+msgstr ""
+"Dubultklikšķiniet uz fotogrāfijas, lai atvērtu to pilna loga režīmā, tad "
+"rīkjoslā spiediet pogu Kadrēt ."
+
+#. (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 ""
+"Virs fotogrāfijas parādīsies balta kaste — kadrēšanas taisnstūris. Gaišākā "
+"fotogrāfijas daļa attēlo to attēla daļu, kas paliks pāri pēc kadrēšanas."
+
+#. (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 rule of thirds lines."
+msgstr ""
+"Ja novietosiet kursoru kaste vidū, varēsiet to pārvietot uz citu bildes "
+"daļu. Ja vilksiet kastes malu, varēsiet pielāgot tās izmēru. Pārvietojot un "
+"pielāgojot kadrēšanas kasti, jūs tajā redzēsiet četras tievas līnijas, "
+"līdzīgi kā krustiņu-nullīšu spēles režģi. Tās ir trešdaļu likuma "
+"līnijas."
+
+#. (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 ""
+"Jūs varat arī ierobežot kadrēšanas kasti uz kādu no daudziem biežāk "
+"izmantotajiem izmēriem. Izvēlieties izmēru no izkrītošās izvēlnes. Ja "
+"piespiedīsiet tai blakus esošo apmešanas pogu, ierobežojuma virziens "
+"mainīsies (no ainavas uz portreta orientāciju)."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:29
+msgid ""
+"When you're happy with your crop outline, apply it by pressing the "
+"Crop button. Shotwell will display the cropped photo."
+msgstr ""
+"Kad izvēlētā kadrēšanas kontūra jūs apmierina, spiediet poguKadrēt"
+"gui>. Shotwell attēlos kadrēto fotogrāfiju."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:32
+msgid ""
+"If you change your mind, press the Crop button again and fine-"
+"tune the crop."
+msgstr "Ja pārdomāsiet, atkal spiediet pogu Kadrēt , un pielabojiet."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:33
+msgid ""
+"If you press Cancel rather than Apply , Shotwell will "
+"return to the photo's previous crop dimensions."
+msgstr ""
+"Ja spiedīsiet Atcelt nevis Pielietot , Shotwell "
+"atgriezīs fotogrāfiju uz tās iepriekšējo kadrējumu."
+
+#. (itstool) path: section/title
+#: C/edit-crop.page:38
+msgid "What is the rule of thirds?"
+msgstr "Kas ir trešdaļu likums?"
+
+#. (itstool) path: section/p
+#: C/edit-crop.page:39
+msgid ""
+"The rule of thirds helps you to choose a pleasing composition for a "
+"photo."
+msgstr ""
+"Trešdaļu likums jums palīdz izvēlēties patīkamu fotogrāfijas "
+"kompozīciju."
+
+#. (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 ""
+"Iedomājieties ainu, kura ir sadalīta 3×3 režģī ar divām vienādā atstatumā "
+"esošām vertikālām un horizontālām līnijām. Vadoties pēc šī likuma, "
+"kompozīcija izskatīsies labāk, ja bildes galvenie elementi (horizonts, "
+"cilvēks) būs pie kādas no šīm līnijām. Pievērsiet uzmanību tam, kā elementi "
+"pāriet no vienas režģa daļas uz citu."
+
+#. (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 ""
+"Fotogrāfijas kadrēšana, lai tā atbilstu trešdaļu likumam, bieži var uzlabot "
+"tās vizuālo pievilcību."
+
+#. (itstool) path: media/p
+#: C/edit-crop.page:43
+msgid ""
+"Cropping a photo, using the \"rule of thirds\" lines to improve the "
+"composition."
+msgstr ""
+"Fotogrāfijas kadrēšana, izmantojot “trešdaļu likumu” līnijas, lai uzlabotu "
+"kompozīciju."
+
+#. (itstool) path: info/desc
+#: C/edit-enhance.page:7
+msgid ""
+"Let Shotwell improve the brightness and contrast of a photo automatically."
+msgstr "Ļauj Shotwell automātiski uzlabot fotogrāfiju gaišumu un kontrastu."
+
+#. (itstool) path: page/title
+#: C/edit-enhance.page:14
+msgid "Auto-enhance"
+msgstr "Automātiskā uzlabošana"
+
+#. (itstool) path: page/p
+#: C/edit-enhance.page:16
+msgid ""
+"Clicking on the Enhance 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 Adjust button."
+msgstr ""
+"Spiežot pogu Uzlabot , var ātri un automātiski pielabot "
+"fotogrāfijas gaišumu un kontrastu. Tas dos pareizi eksponētu fotogrāfiju. "
+"Jūs to varat arī izmantot kā sākuma punktu un pēc tam uzlabot attēlu ar pogu "
+"Pielāgot ."
+
+#. (itstool) path: info/desc
+#: C/edit-external.page:7
+msgid "Use a different program to edit a photo."
+msgstr "Izmantot citu lietotni fotogrāfijas rediģēšanai."
+
+#. (itstool) path: page/title
+#: C/edit-external.page:12
+msgid "Edit photos with an external program"
+msgstr "Rediģēt fotogrāfijas ar ārēju programmu"
+
+#. (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 Edit"
+"gui>Preferences and selecting editors from drop-down "
+"menus of installed applications."
+msgstr ""
+"Jūs varat izmantot ārēju redaktoru, lai veiktu papildu izmaiņās fotogrāfijā. "
+"Ja ir instalēts, GIMP un UFRaw ir noklusējuma ārējie redaktori attiecīgi "
+"fotogrāfijām un jēlajām datnēm. Ja šīs programmas nav instalētas, jums "
+"jāizvēlas vēlamie redaktori Rediģēt Iestatījumi"
+"gui> un jāizvēlas redaktori no instalēto lietotņu izkrītošajām "
+"izvēlnēm."
+
+#. (itstool) path: page/p
+#: C/edit-external.page:24
+msgid ""
+"Once your editors have been set, select a photo and choose "
+"Photos Open With External Editor to "
+"open the photo with the external editor. Likewise, if the original photo is "
+"a RAW file, select Photos Open With RAW Editor "
+"guiseq> to edit the RAW file directly with the set RAW editor."
+msgstr ""
+"Kad redaktors ir iestatīs, izvēlieties fotogrāfiju un "
+"izvēlietiesFotogrāfijas Atvērt ar ārēju redaktoru"
+"gui> lai atvērtu fotogrāfiju ar ārēju redaktoru. Līdzīgi, ja "
+"fotogrāfija ir jēldatne, izvēlieties Fotogrāfijas"
+"gui>Atvērt ar RAW redaktoru , lai rediģētu jēldatni ar "
+"iestatīto RAW redaktoru."
+
+#. (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 Shift key in full-window view to show the original photo "
+"rather than the externally-edited one."
+msgstr ""
+"Kad beigsiet rediģēt un saglabāsiet datni, Shotwell pamanīs izmaiņas un "
+"atjauninās fotogrāfiju. Kad ārējās izmaiņas ir pabeigtas, spiediet taustiņu "
+"Shift pilnekrāna logā, lai rādītu sākotnējo fotogrāfiju, nevis "
+"ārēji rediģēto."
+
+#. (itstool) path: page/p
+#: C/edit-external.page:38
+msgid "Reverting to original will erase any external edits."
+msgstr "Atjaunošana uz oriģinālu dzēsīs ārpusē veiktās izmaiņas."
+
+#. (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 ""
+"Ja jūs ārēji rediģējat RAW fotogrāfiju un to saglabājat citā attēlā, "
+"piemēram, JPEG vai PNG, Shotwell nevar automātiski noteikt, ka oriģinālā RAW "
+"un jaunais attēls ir saistīti."
+
+#. (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 ""
+"Ja vēlaties Shotwell lietotnē strādāt ar iegūto attēlu, jums pašam tā būs "
+"jāimportē."
+
+#. (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 ir nedestruktīvs fotogrāfiju redaktors — tas nemaina jūsu "
+"sākotnējās fotogrāfijas."
+
+#. (itstool) path: page/title
+#: C/edit-nondestructive.page:12
+msgid "What happens to the original when I edit a photo?"
+msgstr "Kas notiek ar oriģinālu, kad es rediģēju fotogrāfiju?"
+
+#. (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 in neiznīcinošs fotogrāfiju redaktors. Tas nemaina jūsu sākotnējās "
+"fotogrāfijas. Tas nozīmē, ka, ka kadrējat attēlu vai maināt tā krāsas, "
+"fotogrāfijas datne uz diska netiek mainīta. Shotwell Saglabā jūsu veiktās "
+"izmaiņas datubāzē un tās vēlāk tiek pielietotas, kad tas ir vajadzīgs. Tas "
+"nozīmē,ka varat atsaukt jebkuras izmaiņas, ko veicāt ar fotogrāfiju."
+
+#. (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 Shift key. The original photo will be displayed as long as "
+"you hold the key down."
+msgstr ""
+"Ja vēlaties redzēt, kā attēls izskatījās pirs izmaiņu veikšanas, spiediet "
+"Shift taustiņu. Sākotnējā bilde būs redzama, kamēr vien būs "
+"piespiests taustiņš."
+
+#. (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 Photo files."
+msgstr ""
+"Ņemiet vērā, ka Shotwell var ierakstīt metadatus (piemēram, tagus un "
+"nosaukumus) fotogrāfiju datnēs. Lai uzzinātu vairāk, skatiet nodaļu Fotogrāfiju datnes."
+
+#. (itstool) path: info/desc
+#: C/edit-redeye.page:7
+msgid ""
+"Correct photos where people have red eyes because of the camera's flash."
+msgstr ""
+"Labojiet fotogrāfijas, kur cilvēkiem ir sarkanas acis dēļ kameras "
+"zibspuldzes."
+
+#. (itstool) path: page/title
+#: C/edit-redeye.page:12
+msgid "Removing red-eye"
+msgstr "Sarkano acu noņemšana"
+
+#. (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 ""
+"Sarkano acu efekts notiek, kad kameras zibspuldze atspīd no acu zīlītes. Lai "
+"šo efektu novērstu fotogrāfijā, izmantojiet sarkano acu rīku."
+
+#. (itstool) path: item/p
+#: C/edit-redeye.page:17
+msgid "Click Red-eye . A circle will appear on the photo."
+msgstr "Spiediet Sarkanās acis . Fotogrāfijā parādīsies aplis."
+
+#. (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 Apply . The redness will be removed."
+msgstr ""
+"Velciet apli virs sarkanās zīlītes, pielāgojiet tā izmēru ar slīdni un "
+"spiediet Pielietot . Sarkanums tiks noņemts."
+
+#. (itstool) path: item/p
+#: C/edit-redeye.page:23
+msgid ""
+"Repeat this process for all red pupils in your photo. Press Close "
+"when finished."
+msgstr ""
+"Atkārtojiet procesu visām sarkanajām acīm fotogrāfijā. Kad pabeidzat, "
+"spiediet Aizvērt ."
+
+#. (itstool) path: info/desc
+#: C/edit-rotate.page:7
+msgid ""
+"Click the Rotate button, or choose one of the commands in the "
+"Photo menu."
+msgstr ""
+"Spiediet pogu Pagriezt , vai izvēlieties vienu no komandām "
+"Fotogrāfiju izvēlnē."
+
+#. (itstool) path: page/title
+#: C/edit-rotate.page:12
+msgid "Rotate or flip a photo"
+msgstr "Pagriezt vai apmest fotogrāfiju"
+
+#. (itstool) path: page/p
+#: C/edit-rotate.page:14
+msgid ""
+"You can rotate your photos left and right (clockwise and counterclockwise) "
+"with the Rotate button on the toolbar of most views. You can also "
+"make a mirror image of any photo."
+msgstr ""
+"Jūs varat pagriezt fotogrāfijas pa labi vai pa kreisi (pulksteņa rādītāja "
+"virzienā vai pretēji) ar pogu Pagriezt , kas ir pieejams rīkjoslā. "
+"Jūs varat arī iegūt jebkuras fotogrāfijas spoguļattēlu."
+
+#. (itstool) path: page/p
+#: C/edit-rotate.page:16
+msgid ""
+"To rotate right, click on the Rotate button. To rotate left, "
+"press and hold the Ctrl key and then click the button. Both "
+"commands are available in the Photos menu too. Alternatively, use "
+"the following keyboard shortcuts:"
+msgstr ""
+"Lai pagrieztu pa labi, spiediet pogu Pagriezt . Lai pagrieztu pa "
+"kreisi, turiet piespiestu Ctrl taustiņu un spiediet pagriešanas "
+"pogu. Abas komandas ir pieejamas arī Fotogrāfiju izvēlnē. Varat "
+"izmantot arī tastatūras saīsnes:"
+
+#. (itstool) path: item/p
+#: C/edit-rotate.page:18
+msgid ""
+"rotate left: Shift Ctrl R or "
+"[ "
+msgstr ""
+"pagriezt pa kreisi: Shift Ctrl R "
+"keyseq> vai [ "
+
+#. (itstool) path: item/p
+#: C/edit-rotate.page:19
+msgid ""
+"rotate right: Ctrl R or ] "
+msgstr ""
+"pagriezt pa labi: Ctrl R vai ]"
+"key>"
+
+#. (itstool) path: page/p
+#: C/edit-rotate.page:21
+msgid ""
+"To create a mirror image of a photo, use the Flip Horizontally "
+"command in the Photos menu. To flip an image vertically, use the "
+"Flip Vertically command in the same menu."
+msgstr ""
+"Lai izveidotu fotogrāfijas spoguļattēlu, izmantojiet Apmest "
+"horizontāli komandu Fotogrāfiju izvēlnē. Lai apmestu "
+"fotogrāfiju vertikāli, izmantojiet Apmest vertikāli komandu tajā "
+"pat izvēlnē."
+
+#. (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 ""
+"Ja izvēlēsities vairāk kā vienu attēlu, varēsiet pagriezt tos visus uzreiz."
+
+#. (itstool) path: info/desc
+#: C/edit-straighten.page:7
+msgid "Straighten a photo so that its horizon appears level."
+msgstr "Iztaisnojiet fotogrāfijas, lai to horizonts izskatītos līdzens."
+
+#. (itstool) path: page/title
+#: C/edit-straighten.page:12
+msgid "Straighten photos"
+msgstr "Iztaisnot fotogrāfijas"
+
+#. (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 ""
+"Iztaisnošanas rīks ļauj izlīdzināt un iztaisnot fotogrāfijas. Iztaisnošanas "
+"rīks ir pieejams tikai pilna loga un pilnekrāna režīmā."
+
+#. (itstool) path: item/p
+#: C/edit-straighten.page:18
+msgid ""
+"Click Straighten . The straighten slider will appear. "
+"Alternatively, use the keyboard shortcut Ctrl A"
+"key> ."
+msgstr ""
+"Spiediet Iztaisnot . Parādīsies iztaisnošanas slīdnis. Varat "
+"izmantot arī tastatūras saīsni Ctrl A ."
+
+#. (itstool) path: item/p
+#: C/edit-straighten.page:21
+msgid "Drag the slider to achieve the desired degree of straightening."
+msgstr "Velciet slīdni, lai iegūtu vēlamo leņķi."
+
+#. (itstool) path: item/p
+#: C/edit-straighten.page:24
+msgid "Press Straighten when finished."
+msgstr "Kad pabeigts, spiediet Iztaisnot ."
+
+#. (itstool) path: info/desc
+#: C/edit-date-time.page:7
+msgid "Change the date and time of photos if those details are incorrect."
+msgstr "Mainīt fotogrāfiju datumus un laikus, ja tie ir nepareizi."
+
+#. (itstool) path: page/title
+#: C/edit-date-time.page:12
+msgid "Adjust the date and time of photos"
+msgstr "Pielāgot fotogrāfiju datumus un laikus"
+
+#. (itstool) path: page/p
+#: C/edit-date-time.page:14
+msgid ""
+"To adjust the date and time of photos, select the photos you would like to "
+"adjust, choose Photos Adjust Date and Time... "
+"guiseq> and select a new date and time."
+msgstr ""
+"Lai pielāgotu fotogrāfiju datumu un laiku, izvēlieties fotogrāfijas, "
+"izvēlieties Fotogrāfijas Pielāgot datumu un laiku..."
+"gui> un iestatiet jaunu datumu un laiku."
+
+#. (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 ""
+"Ja maināt datumu un laiku vairākām fotogrāfijām uzreiz, varat to mainīt "
+"visām fotogrāfijām par vienādu laika nobīdi, vai arī visām iestatīt vienu un "
+"to pašu laiku."
+
+#. (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 ""
+"Pēc noklusējuma, datums un laiks tiek mainīts tikai pašā Shotwell. Jūs varat "
+"arī mainīt datumu un laiku oriģinālajā datnē, bet to nevar atsaukt, kad "
+"iziesiet ārā no Shotwell lietotnes."
+
+#. (itstool) path: info/desc
+#: C/edit-undo.page:7
+msgid "Return a photo to its original, unedited form."
+msgstr "Atjaunot fotogrāfiju tās sākotnējā, nerediģētā formā."
+
+#. (itstool) path: page/title
+#: C/edit-undo.page:14
+msgid "Undoing changes"
+msgstr "Atsaukt izmaiņas"
+
+#. (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 ""
+"Tā kā Shotwell ir nedestruktīvs fotogrāfiju redaktors, jūs varat atsaukt "
+"visas izmaiņas, kas ir veiktas ar fotogrāfiju."
+
+#. (itstool) path: page/p
+#: C/edit-undo.page:20
+msgid ""
+"To completely undo all the changes you've made to a photo, click "
+"Photos Revert to Original . The only "
+"exception is that time and date adjustments will not be reverted."
+msgstr ""
+"Lai pilnībā atsauktu visas fotogrāfijā veiktās izmaiņas, spiediet "
+"Fotogrāfijas Atgriezties pie oriģināla "
+"guiseq>. Vienīgais izņēmums ir laiks un datums, tie netiks atjaunoti."
+
+#. (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 atbalsta JPEG, PNG, TIFF, BMP un RAW fotogrāfiju datnes, kā arī "
+"video datnes."
+
+#. (itstool) path: page/title
+#: C/formats.page:12
+msgid "Supported photo and video formats"
+msgstr "Atbalstītie fotogrāfiju un video formāti"
+
+#. (itstool) path: page/p
+#: C/formats.page:14
+msgid ""
+"Shotwell supports JPEG, PNG, TIFF, BMP and RAW photo files. Shotwell does not yet support other graphics "
+"format such as GIF."
+msgstr ""
+"Shotwell atbalsta JPEG, PNG, TIFF, BMP un RAW fotogrāfiju datnes. Shotwell vēl neatbalsta citus grafikas "
+"formātus, piemēram, 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 ""
+"Pašlaik Shotwell jēlattēlu (RAW) formātu atbalsts ir ierobežots. Skatoties "
+"jēlattēlu, jūs redzat JPEG datni, kas ir izvilkta no jēlattēla, nevis pašu "
+"jēlattēlu. Bez tam, RAW rediģēšanas konveijers nav pilnībā 16 bitu — "
+"rediģētās fotogrāfijas var eksportēt tikai kā 8 bitu datnes. Eksportēšanai "
+"var izmantot visus atbalstītos formātus (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 "
+" RAW section."
+msgstr ""
+"Lai uzzinātu vairāk par jēlā formāta fotogrāfijām Shotwell lietotnē, skatiet "
+"nodaļu par jēlattēliem."
+
+#. (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 atbalsta arī video datnes visos formātos, ko atbalsta GStreamer "
+"multimediju bibliotēka sistēmā, uz kuras darbojas Shotwell. Tas parasti "
+"iekļauj šos formātus:"
+
+#. (itstool) path: item/p
+#: C/formats.page:25
+msgid "Container formats: Ogg, QuickTime, MP4, AVI."
+msgstr "Konteineru formāti: Ogg, QuickTime, MP4, AVI."
+
+#. (itstool) path: item/p
+#: C/formats.page:26
+msgid ""
+"Codecs: Theora, Quicktime, MPEG-4, Motion JPEG. Note that some operating "
+"systems may not include all codecs listed here due to legal or licensing "
+"restrictions. "
+msgstr ""
+"Kodeki: Theora, Quicktime, MPEG-4, Motion JPEG. Ņemiet vērā, ka dažas "
+"operētājsistēmas var neiekļaut visus šeit uzskaitītos kodekus dēļ "
+"juridiskiem vai licenču ierobežojumiem. "
+
+#. (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 atbalsta gan fotogrāfijas, gan video, bet dokumentācijā "
+"vienkāršības labad tiek izmantots termins “fotogrāfijas”. Vairums darbību "
+"Shotwell var veikt gan ar fotogrāfijām, gan video, precīzāk, notikumi, "
+"atzīmēšana ar karogu, vērtēšana, tagošana un publicēšana darbojas vienlīdz "
+"labi ar fotogrāfijām un video."
+
+#. (itstool) path: info/desc
+#: C/import-camera.page:7
+msgid "Copy photos from a digital camera."
+msgstr "Kopēt fotogrāfijas no ciparu kameras."
+
+#. (itstool) path: page/title
+#: C/import-camera.page:12
+msgid "Importing from a camera"
+msgstr "Importēšana no kameras"
+
+#. (itstool) path: page/p
+#: C/import-camera.page:14
+msgid "To import photos from a digital camera:"
+msgstr "Lai importētu fotogrāfijas no ciparu kameras:"
+
+#. (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 ""
+"Pievienojiet kameru savam datoram un ieslēdziet to. Shotwell to atpazīs un "
+"parādīs sānu joslā."
+
+#. (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 ""
+"Izvēlieties kameru sānu joslā. Tiks attēloti katras fotogrāfijas "
+"priekšskatījums."
+
+#. (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 Ctrl key and click to select individual photos. You "
+"can hold down Shift and click to select a range of photos too."
+msgstr ""
+"Ja vēlaties, varat izvēlēties, kuras tieši fotogrāfijas importēt. Lai to "
+"izdarītu, turiet piespiestu Ctrl taustiņu un spiediet uz "
+"attiecīgajām fotogrāfijām. Varat arī turēt piespiestu Shift "
+"taustiņu un spiest uz fotogrāfijām, lai izvēlētos virkni fotogrāfiju uzreiz."
+
+#. (itstool) path: item/p
+#: C/import-camera.page:28
+msgid ""
+"Click either Import Selected or Import All . The photos "
+"will be copied from the camera and saved on your computer."
+msgstr ""
+"Spiediet vai nu Importēt izvēlētās vai Importēt visas . "
+"Fotogrāfijas tiks nokopētas no kameras un saglabātas datorā."
+
+#. (itstool) path: page/p
+#: C/import-camera.page:32
+msgid ""
+"Once the import is complete, you can open the Last Import 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 ""
+"Kad importēšana ir pabeigta, varat atvērt skatu Pēdējais imports "
+"(sānu joslā) un tur būs redzamas visas importētās fotogrāfijas. Notikumu "
+"saraksts (arī sānu joslā) arī saturēs jaunās fotogrāfijas, kas ir "
+"organizētas pēc datuma."
+
+#. (itstool) path: info/desc
+#: C/import-file.page:7
+msgid "Import photos that are already saved on your computer."
+msgstr "Importēt fotogrāfijas, kas jau ir saglabātas datorā."
+
+#. (itstool) path: page/title
+#: C/import-file.page:12
+msgid "Importing from your hard disk"
+msgstr "Importēt no cietā diska"
+
+#. (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 ""
+"Lai importētu datnes no cietā diska uz Shotwell, velciet tās no datņu "
+"pārlūka Shotwell logā."
+
+#. (itstool) path: page/p
+#: C/import-file.page:16
+msgid ""
+"Alternatively, click File Import From Folder..."
+"gui> and select the folder containing the photos you want to import."
+msgstr ""
+"Varat arī spiest Datne Importēt no mapes... "
+"guiseq> un izvēlieties mapi, kura satur fotogrāfijas, kuras vēlaties "
+"importēt."
+
+#. (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 Pictures folder in your home "
+"directory) or to import them in place without copying the files."
+msgstr ""
+"Shotwell jums prasīs, vai vēlaties kopēt fotogrāfiju datnes uz jūsu "
+"bibliotēkas mapi (parasti tā ir mape Attēli , kas atrodas jūsu "
+"mājas direktorijā), vai importējiet tās, nekopējot datnes."
+
+#. (itstool) path: page/p
+#: C/import-file.page:20
+msgid ""
+"If you hold down Ctrl while dragging photos in, Shotwell will "
+"copy the photos into your library folder without prompting. Similarly, if "
+"you hold down Ctrl Shift while "
+"dragging photos in, Shotwell will import the photos without copying them."
+msgstr ""
+"Ja turat piespiestu Ctrl taustiņu, kamēr velkat fotogrāfijas, "
+"Shotwell kopēs jūsu fotogrāfijas bez nejautājot. Līdzīgi, ja velkot turēsiet "
+"piespiestus taustiņus Ctrl Shift , "
+"Shotwell importēs fotogrāfijas tās nekopējot."
+
+#. (itstool) path: page/p
+#: C/import-file.page:22
+msgid ""
+"Once the import is complete, you can select Last Import 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 ""
+"Kad importēšana ir pabeigta, varat izvēlēties Pēdējais imports "
+"sānu joslā, lai redzētu visas veiksmīgi importētās fotogrāfijas. Notikumu "
+"saraksts arī attēlos jaunos ierakstus datumiem, kas atbilst importētajām "
+"fotogrāfijām."
+
+#. (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 var arī importēt visas jūsu fotogrāfijas un tagus no F-Spot "
+"fotogrāfiju pārvaldnieka."
+
+#. (itstool) path: page/title
+#: C/import-f-spot.page:12
+msgid "Importing from F-Spot"
+msgstr "Importēšana no F-Spot"
+
+#. (itstool) path: page/p
+#: C/import-f-spot.page:14
+msgid "To import an existing photo collection from F-Spot:"
+msgstr "Lai importētu esošo fotogrāfiju kolekciju no F-Spot:"
+
+#. (itstool) path: item/p
+#: C/import-f-spot.page:16
+msgid "Select File Import From F-Spot ."
+msgstr ""
+"Izvēlieties Datne Importēt no F-Spot ."
+
+#. (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 ""
+"Tagad izvēlieties vai no noklusējuma F-Spot bibliotēku vai citu F-Spot "
+"datubāzi. Ja importējat no citas F-Spot datubāzes, izvēlēties direktoriju un "
+"datni ar izvēlētāja dialoglodziņu."
+
+#. (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 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 importēs jūsu fotogrāfijas ar to tagiem un citu informāciju. Kad "
+"importēšana ir pabeigta, varat izvēlēties Pēdējais imports sānu "
+"joslā, lai redzētu visas veiksmīgi importētās fotogrāfijas. Notikumu "
+"saraksts arī attēlos jaunos ierakstus datumiem, kas atbilst importētajām "
+"fotogrāfijām."
+
+#. (itstool) path: info/desc
+#: C/import-memorycard.page:7
+msgid "Import photos from a digital camera's memory card."
+msgstr "Importēt fotogrāfijas no ciparu kameras atmiņas kartes."
+
+#. (itstool) path: page/title
+#: C/import-memorycard.page:12
+msgid "Importing from a memory card"
+msgstr "Importēšana no atmiņas kartes"
+
+#. (itstool) path: page/p
+#: C/import-memorycard.page:14
+msgid "To import photos from a camera memory card:"
+msgstr "Lai importētu fotogrāfijas no kameras atmiņas kartes:"
+
+#. (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 ""
+"Ievietojiet atmiņas karti savā karšu lasītājā. Pārliecinieties, ka lasītājs "
+"ir pievienots datoram un ieslēdziet to."
+
+#. (itstool) path: item/p
+#: C/import-memorycard.page:21
+msgid "The card reader and card should be detected automatically."
+msgstr "Karšu lasītāju un pašu karti datoram vajadzētu atpazīt automātiski."
+
+#. (itstool) path: item/p
+#: C/import-memorycard.page:24
+msgid ""
+"Follow the instructions for importing photos from "
+"your hard disk. If you click File Import From "
+"Folder... , the memory card should be visible as a folder in "
+"the side bar of the file selection window."
+msgstr ""
+"Sekojiet instrukcijām, kā importēt fotogrāfijas "
+"no cietā diska. Ja spiedīsiet Datne Importēt "
+"no mapes... , atmiņas karte būs redzama kā mape izvēlēs loga "
+"sānu joslā."
+
+#. (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 var importēt fotogrāfijas no jebkuras atmiņas kartes, kas ir "
+"savietojama ar jūsu karšu lasītāju."
+
+#. (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 connecting your camera directly to the computer, "
+"though."
+msgstr ""
+"Ja karte nav automātiski atpazīta, iespējams, ka karšu lasītājs nav "
+"atpazīts. Mēģiniet to atvienot un atkal pievienot datoram. Ja tas nepalīdz "
+"jums vajadzētu varēt importēt fotogrāfijas, pievienojot datoram pašu kameru."
+
+#. (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 ""
+"Shotwell Photo "
+"Manager"
+msgstr ""
+"Shotwell "
+"fotogrāfiju pārvaldnieks"
+
+#. (itstool) path: section/title
+#: C/index.page:26
+msgid "Importing Photos"
+msgstr "Fotogrāfiju importēšana"
+
+#. (itstool) path: section/title
+#: C/index.page:30
+msgid "Viewing Photos"
+msgstr "Fotogrāfiju skatīšana"
+
+#. (itstool) path: section/title
+#: C/index.page:34
+msgid "Organizing Photos"
+msgstr "Fotogrāfiju organizēšana"
+
+#. (itstool) path: section/title
+#: C/index.page:38
+msgid "Editing Photos"
+msgstr "Fotogrāfiju rediģēšana"
+
+#. (itstool) path: section/title
+#: C/index.page:42
+msgid "Sharing Photos"
+msgstr "Dalīšanās ar fotogrāfijām"
+
+#. (itstool) path: section/title
+#: C/index.page:46
+msgid "Other Features"
+msgstr "Citas iespējas"
+
+#. (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 ""
+"Grupēt kopā fotogrāfijas, kas ir uzņemtas tajā pašā laikā. Uzziniet, kā "
+"pārdēvēt, apvienot un kārtot notikumus."
+
+#. (itstool) path: page/title
+#: C/organize-event.page:12
+msgid "Events"
+msgstr "Notikumi"
+
+#. (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 ""
+"Notikums ir virkne ar fotogrāfijām, kas ir uzņemtas aptuveni vienā laikā. "
+"Importējot fotogrāfijas, Shotwell pārbauda, kad katra fotogrāfija ir "
+"uzņemta. Tad tas sagrupē fotogrāfijas notikumos."
+
+#. (itstool) path: page/p
+#: C/organize-event.page:16
+msgid ""
+"Choose Events 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 ""
+"Izvēlieties Notikumi sānu joslā, lai redzētu fotogrāfijas, kas ir "
+"organizētas pēc datumiem. Ja sānu joslā izvēlēsities mēnesi vai gadu, "
+"galvenajā logā parādīsies saraksts ar notikumiem. Dubultklikšķiniet uz "
+"notikuma, lai redzētu visas fotogrāfijas, kas tika uzņemtas ap to laiku."
+
+#. (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 No Event view accessible from the sidebar. You can still move "
+"the photo to any event you like as described below."
+msgstr ""
+"Ja fotogrāfijā nav iekļauta informācija par datumu un laiku, Shotwell nevar "
+"automātiski to novietot kādā notikumā. Šādā gadījumā fotogrāfija parādīsies "
+"Nav notikuma sadaļā sānu joslā. Jūs vēl aizvien varat pārvietot "
+"šādu fotogrāfiju uz jebkuru notikumu tāpat kā pārējās fotogrāfijas."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:25
+msgid "Renaming events"
+msgstr "Notikumu pārdēvēšana"
+
+#. (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 Events Rename Event... "
+"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 Enter ."
+msgstr ""
+"Lai notikumam piešķirtu nosaukumu, nevis norādīt uz to pēc datuma, "
+"izvēlieties notikumu, spiediet Notikumi Pārdēvēt "
+"notikumu... un ievadiet jauno nosaukumu. Vēl notikumus var "
+"pārdēvēt, dubultklikšķinot uz to nosaukuma sānu joslā, ievadot jauno "
+"nosaukumu un spiežot Enter ."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:31
+msgid "Moving photos between events"
+msgstr "Fotogrāfiju pārvietošana starp notikumiem"
+
+#. (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 ""
+"Lai gan fotogrāfijas sākumā tiek grupētas notikumos pēc to datumiem, jūs "
+"varat pārvietot fotogrāfijas starp notikumiem. Lai to izdarītu, velciet "
+"jebkuru fotogrāfiju uz sānu joslu un nometiet to notikumā."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:37
+msgid "Creating and merging events"
+msgstr "Notikumu izveidošana un apvienošana"
+
+#. (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 Events New Event ."
+msgstr ""
+"Lai izveidotu jaunu notikumu, izvēlieties fotogrāfijas, ko redzēt jaunajā "
+"notikumā un spiediet Notikumi Jauni notikumi "
+"guiseq>."
+
+#. (itstool) path: section/p
+#: C/organize-event.page:39
+msgid ""
+"To merge events, select Events from the sidebar, "
+"then, while holding down Ctrl click on the events you want to "
+"merge in the main window area. Finally, click Events"
+"gui>Merge Events ."
+msgstr ""
+"Lai apvienotu notikumus, izvēlieties Notikumi "
+"sānu joslā, tad, turot piespiestu Ctrl , spiediet uz notikumiem, "
+"kurus vēlaties apvienot galvenā loga laukumā. Visbeidzot, spiediet "
+"Notikumi Apvienot notikumus ."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:43
+msgid "Sorting events"
+msgstr "Notikumu kārtošana"
+
+#. (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 View Sort Events and select "
+"either ascending or descending."
+msgstr ""
+"Notikumi tiek attēloti sānu joslas kokā, organizēti pa notikumiem, pēc "
+"vecākās fotogrāfijas datuma un mēneša. Lai mainītu notikumu kārtošanas "
+"secību, spiediet Skats Kārtot notikumus "
+"guiseq> un izvēlieties kārtot vai nu augoši, vai dilstoši."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:51
+msgid "Change the photo used to represent each event"
+msgstr "Mainīt fotogrāfiju, kas reprezentē katru notikumu"
+
+#. (itstool) path: section/p
+#: C/organize-event.page:53
+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."
+msgstr ""
+"Ja sānu joslā izvēlieties vienumu notikumi , redzēsiet vienu "
+"fotogrāfiju, kas reprezentē katru notikumu. To dēvē par atslēgas fotogrāfiju."
+
+#. (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 Photos"
+"gui>Make Key Photo for Event ."
+msgstr ""
+"Pēc noklusējuma, Shotwell izmanto pirmo fotogrāfiju kā atslēgas fotogrāfiju. "
+"Lai izmantotu citu atslēgas fotogrāfiju, izvēlieties vēlamo fotogrāfiju uz "
+"spiediet Fotogrāfijas Izvēlēties kā atslēgas "
+"fotogrāfiju notikumam ."
+
+#. (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 ""
+"Atzīmēt fotogrāfijas, lai marķētu tās kā īpašas vai darbotos ar tām kā ar "
+"kopu."
+
+#. (itstool) path: page/title
+#: C/organize-flag.page:12
+msgid "Flagging photos"
+msgstr "Fotogrāfiju marķēšana"
+
+#. (itstool) path: page/p
+#: C/organize-flag.page:14
+msgid ""
+"Shotwell lets you flag photos. When a photo is flagged, a small "
+"flag icon appears in its upper right corner. You can select the "
+"Flagged item in the sidebar to see all photos which have been "
+"flagged."
+msgstr ""
+"Shotwell jums ļauj marķēt fotogrāfijas. Kad fotogrāfija ir marķēta, "
+"tas augšējā labajā stūrī parādās maza karodziņa ikona. Jūs varat izvēlēties "
+"vienumu Ar karodziņu sānu joslā, lai redzētu visus marķētos "
+"vienumus."
+
+#. (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 ""
+"Fotogrāfiju marķēšana atzīmē tās kā īpašas. Jūs to varat interpretēt kā vien "
+"vēlaties. Piemēram, varat ar karodziņu atzīmēt visas fotogrāfijas, kurām "
+"jāveic vizuāla pielabošanas, vai visas fotogrāfijas, ar kurām vēlaties "
+"dalīties ar draugu."
+
+#. (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 Flagged view and then upload "
+"all flagged photos to a publishing service."
+msgstr ""
+"Marķēšana ir arī noderīga, jo varat darboties ar visām marķētajām "
+"fotogrāfijām kā ar vienu kopumu. Piemēram, varat izvēlēties Ar "
+"karodziņu skatu un augšupielādēt visas marķētās fotogrāfijas uz "
+"publicēšanas pakalpojumu."
+
+#. (itstool) path: section/title
+#: C/organize-flag.page:27
+msgid "To flag or unflag a photo"
+msgstr "Lai marķētu vai noņemtu marķējumu no fotogrāfijas"
+
+#. (itstool) path: section/p
+#: C/organize-flag.page:28
+msgid ""
+"To flag or unflag a photo, right-click the photo and choose Flag "
+"or Unflag from the context menu. Or use the Ctrl"
+"key>G or / shortcut keys."
+msgstr ""
+"Lai marķētu vai noņemtu marķējumu no fotogrāfijas, spiediet peles labo pogu "
+"uz fotogrāfijas, izvēlieties Marķēt vai Noņemt marķējumu"
+"gui> konteksta izvēlnē. Vai lietojat tastatūras saīsnes Ctrl"
+"key>G vai / ."
+
+#. (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 ""
+"Vērtējiet fotogrāfijas skalā no 1 līdz 5 zvaigznes. Jūs varat noraidīt "
+"sliktās fotogrāfijas, slēpjot tās no skata."
+
+#. (itstool) path: page/title
+#: C/organize-rating.page:12
+msgid "Ratings"
+msgstr "Vērtējumi"
+
+#. (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 ""
+"Jūs varat katrai fotogrāfijai piešķirt vērtējumu no 1 līdz 5 zvaigznēm, vai "
+"arī tās noraidīt, kas pēc noklusējuma šīs bildes paslēps."
+
+#. (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 "Jūs varat novērtēt fotogrāfiju vai to kopumu šādos veidos:"
+
+#. (itstool) path: item/p
+#: C/organize-rating.page:18
+msgid ""
+"Select the photo(s), then choose a rating from the top-level "
+"Photos Set Rating menu."
+msgstr ""
+"Izvēlieties fotogrāfiju(-as), tad izvēlieties vērtējumu no "
+"izvēlnesFotogrāfijas Iestatīt vērtējumu "
+"guiseq>."
+
+#. (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 ""
+"Spiediet labo peles pogu uz fotogrāfijas(-ām) un izvēlieties vērtējumu no "
+"“Iestatīt vērtējumu” konteksta izvēlnes."
+
+#. (itstool) path: item/p
+#: C/organize-rating.page:20
+msgid ""
+"Select the photo(s), then press any of the shortcut keys 1 , "
+"2 , 3 , 4 or 5 to assign a rating. "
+"Or press 9 to mark the photo(s) as rejected or 0 to "
+"clear the rating(s)."
+msgstr ""
+"Izvēlieties fotogrāfiju(-as), tad spiediet kādu no saīsnes taustiņiem "
+"1 , 2 , 3 , 4 vai 5 , lai "
+"piešķirtu vērtējumu. Vai spiediet 9 , lai atzīmētu fotogrāfiju kā "
+"noraidītu, vai 0 , lai noņemtu vērtējumu."
+
+#. (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 View Filter Photos"
+"gui> 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 ""
+"Parasti Shotwell attēlo visas fotogrāfijas, izņemot noraidītās. Jūs varat "
+"iestatīt citu vērtējumu filtru, piemēram, izmantojot Skats"
+"gui>Filtrēt attēlus izvēlni, jūs varat rādīt tikai "
+"attēlus ar vismaz 3 zvaigznēm vērtējumā, vai rādīt visas noraidītās "
+"fotogrāfijas. Shotwell ikona rīkjoslā attēlo aktuālo filtru un to var "
+"izmantot filtru iestatīšanai."
+
+#. (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 View"
+"gui>Ratings menu item."
+msgstr ""
+"Shotwell parasti attēlo katras fotogrāfijas vērtējumu tās apakšējā kreisajā "
+"stūrī. Jūs varat izslēgt vērtējumu attēlošanu, izmantojot "
+"Skats Vērtējumi izvēlni."
+
+#. (itstool) path: page/p
+#: C/organize-rating.page:28
+msgid ""
+"You can increase or decrease a photo's rating using the Set "
+"Rating Increase and Set Rating"
+"gui>Decrease commands, or the keyboard shortcuts "
+"< and > ."
+msgstr ""
+"Jūs varat palielināt vai samazināt fotogrāfijas vērtējumu, izmantojot "
+"komandas Iestatīt vērtējumu Palielināt "
+"un Iestatīt vērtējumu samazināt , vai "
+"ar tastatūras saīsnēm < un > ."
+
+#. (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 "> Tulkots"
+
+#. (itstool) path: info/desc
+#: C/organize-remove.page:7
+msgid ""
+"Remove photos from the library, or delete them from your computer entirely."
+msgstr "Izņemt fotogrāfijas no bibliotēkas vai pavisam izdzēst tās no datora."
+
+#. (itstool) path: page/title
+#: C/organize-remove.page:12
+msgid "Removing and deleting photos"
+msgstr "Fotogrāfiju izņemšana un dzēšana"
+
+#. (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 ""
+"Jūs varat izņemt fotogrāfijas ārā no savas bibliotēkas un jūs varat tās "
+"pavisam izdzēst ārā no cietā diska."
+
+#. (itstool) path: page/media
+#: C/organize-remove.page:15
+msgid "Delete process"
+msgstr "Dzēšanas process"
+
+#. (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 ""
+"Šī diagramma rāda, kā dzēstā fotogrāfija vispirms tiek ievietota Shotwell "
+"miskastē. Ja izdzēsīsiet to ārā no Shotwell miskastes, tā tiks ievietota "
+"datora miskastē. Ja izdzēsīsiet to ārā no tās, fotogrāfija tiks "
+"neatgriezeniski izdzēsta no datora."
+
+#. (itstool) path: section/title
+#: C/organize-remove.page:18
+msgid "Removing photos from the library"
+msgstr "Fotogrāfiju izņemšana no bibliotēkas"
+
+#. (itstool) path: section/p
+#: C/organize-remove.page:19
+msgid ""
+"Select the photos to remove and choose Edit Move to "
+"Trash . (You can also press the Delete key.) The "
+"photos will be moved from your library to Shotwell's Trash."
+msgstr ""
+"Izvēlieties fotogrāfijas, kuras izņemt, izvēlieties Rediģēt"
+"gui>Pārvietot uz miskasti . (Jūs varat arī spiest "
+"taustiņu Dzēst .) Fotogrāfijas tiks pārvietotas no jūsu "
+"bibliotēkas uz Shotwell's miskasti."
+
+#. (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 "
+"Edit Remove From Library . The photo "
+"files will be left in place on disk."
+msgstr ""
+"Ja vēlaties izņemt fotogrāfijas no Shotwell, neizmetot tās miskastē, "
+"izvēlieties izņemamās fotogrāfijas un izvēlieties Rediģēt"
+"gui>Izņemt no bibliotēkas . Fotogrāfiju datnes paliks uz "
+"diska."
+
+#. (itstool) path: section/title
+#: C/organize-remove.page:26
+msgid "Emptying or restoring the trash folder"
+msgstr "Miskastes mapes iztukšošana vai atjaunošana"
+
+#. (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 ""
+"Izvēlieties miskastes ierakstu sānu joslā un Shotwell parādīs visas "
+"fotogrāfijas, kas ir atzīmētas kā izņemamas vai dzēšamas. Miskastes skatā ir "
+"pieejamas šādas komandas:"
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:29
+msgid "Delete"
+msgstr "Dzēst"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:29
+msgid "Delete the selected photos from the trash folder."
+msgstr "Dzēst izvēlētās fotogrāfijas no miskastes mapes."
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:30
+msgid "Restore"
+msgstr "Atjaunot"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:30
+msgid "Restore the selected photos into Shotwell."
+msgstr "Atjaunot izvēlētās fotogrāfijas uz Shotwell."
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:31
+msgid "Empty trash"
+msgstr "Iztukšot miskasti"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:31
+msgid "Delete all photos from the trash folder."
+msgstr "Dzēst visas fotogrāfijas no miskastes mapes."
+
+#. (itstool) path: section/title
+#: C/organize-remove.page:36
+msgid "Deleting or emptying Trash"
+msgstr "Dzēšana vai miskastes iztukšošana"
+
+#. (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 ""
+"Kad dzēšat datnes no miskastes mapes, vai arī iztīrāt miskastes mapi, jums "
+"tiks dotas šādas izvēles:"
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:39
+msgid "Only Remove"
+msgstr "Tikai izņemt"
+
+#. (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 ""
+"Fotogrāfiju izņemšana no bibliotēkas, bet uz datora atstāt fotogrāfijas "
+"turpat, kur tās bija."
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:40
+msgid "Trash file"
+msgstr "Izmest datni"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:40
+msgid "Remove photos from the library and delete them from the computer."
+msgstr "Izņemt fotogrāfijas no bibliotēkas un izdzēst tās no datora."
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:41
+msgid "Cancel"
+msgstr "Atcelt"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:41
+msgid "Do nothing."
+msgstr "Nedarīt neko."
+
+#. (itstool) path: info/desc
+#: C/organize-search.page:7
+msgid "Find photos and videos in your collection by a variety of criteria."
+msgstr "Savā kolekcijā meklēt fotogrāfijas un video pēc dažādiem kritērijiem."
+
+#. (itstool) path: page/title
+#: C/organize-search.page:12
+msgid "Searching"
+msgstr "Meklēšana"
+
+#. (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 ""
+"Shotwell var veikt divu veidu meklēšanu: ar filtru rīkjoslā un ar saglabātu "
+"meklēšanu. Meklēšanas josla jums ļauj ātri meklēt dotajā skatā pēc "
+"noteiktiem kritērijiem. Saglabātās meklēšanas sniedz kompleksākus meklēšanas "
+"kritērijus un paliek sānu joslā starp sesijām."
+
+#. (itstool) path: section/title
+#: C/organize-search.page:21
+msgid "Search bar"
+msgstr "Meklēšanas josla"
+
+#. (itstool) path: section/p
+#: C/organize-search.page:22
+msgid ""
+"The View Search Bar checkbox toggles "
+"the display of the search bar. You can also hit Ctrl"
+"key>F or F8 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 ""
+"Skats Meklēšanas josla izvēles rūtiņa "
+"pārslēdz meklēšanas joslas attēlošanu. Jūs varat arī spiest "
+"Ctrl F vai F8 , lai parādītu "
+"meklēšanas joslu. Šajā joslā jūs varat meklēt, attēlot un slēpt fotogrāfijas "
+"un video pēc to nosaukumiem, tagiem, vērtējumiem un citām opcijām."
+
+#. (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 Flagged , Rating or Type . The text search "
+"matches your keywords across tag names, photo or video titles and photos' "
+"original filenames. The Flagged , Rating and 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 ""
+"Lai sāktu meklēšanu, ievadiet meklēšanas atslēgvārdus teksta laukā, vai "
+"spiediet Ar karodziņu , Vērtējums vai Tips . "
+"Teksta meklēšana salīdzinās jūsu atslēgvārdus ar tagu nosaukumiem, "
+"fotogrāfiju vai video nosaukumiem un fotogrāfiju datņu nosaukumiem. Pogas "
+"Ar karodziņu , Vērtējums and Tips jums "
+"attiecīgi ļauj filtrēt savu kolekciju pēc to marķējuma, zvaigznēm vērtējumā "
+"un pēc tā, vai vienumā ir attēli, video vai kameras jēlās datnes."
+
+#. (itstool) path: section/p
+#: C/organize-search.page:38
+msgid ""
+"Disabling the search bar or exiting Shotwell automatically resets the search "
+"bar."
+msgstr ""
+"Meklēšanas joslas izslēgšana un Shotwell aizvēršana automātiski atstata "
+"meklēšanas joslu."
+
+#. (itstool) path: section/title
+#: C/organize-search.page:44
+msgid "Saved search"
+msgstr "Saglabātie meklējumi"
+
+#. (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 ""
+"Paplašinātā meklēšana saglabājas starp Shotwell sesijām un tiek atjaunināta, "
+"kad fotogrāfijas un video tiek pievienotas vai izņemtas no Shotwell "
+"bibliotēkas."
+
+#. (itstool) path: section/p
+#: C/organize-search.page:50
+msgid ""
+"Create a new saved search with Edit New Saved "
+"Search... or by hitting Ctrl S "
+"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 ""
+"Izveido saglabāto meklēšanu ar Rediģēt Jauna "
+"saglabātā meklēšana... vai spiežot Ctrl"
+"key>S . Dialoglodziņš jums ļauj ievadīt meklējuma "
+"nosaukuu un izvēlēties, vai sekojošajās rindās jāizpildās Kādam, Visiem vai "
+"Nevienam kritērijam."
+
+#. (itstool) path: section/p
+#: C/organize-search.page:56
+msgid ""
+"Each row represents a search criterion. Use the + button to add "
+"more rows, and the - 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 OK button becomes available."
+msgstr ""
+"Katra rinda apzīmē meklēšanas kritēriju. Izmantojiet pogu + , lai "
+"pievienotu vairāk rindu, un pogu - , lai izņemtu attiecīgo rindu. "
+"Kombinētais lodziņš katras rindas kreisajā pusē izvēlas kritērija veidu. "
+"Kritērijam ir jābūt pareizi ievadītām, pirms kļūst pieejama poga Labi"
+"gui>."
+
+#. (itstool) path: info/desc
+#: C/organize-tag.page:7
+msgid "Organize photos by labelling them."
+msgstr "Organizēt fotogrāfijas, piešķirot tām etiķetes."
+
+#. (itstool) path: page/title
+#: C/organize-tag.page:14
+msgid "Tagging photos"
+msgstr "Fotogrāfiju tagošana"
+
+#. (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 ""
+"Jūs varat izvēlētajām fotogrāfijām piešķirt vienu vai vairākus tagus. Tags "
+"var būt viens vai vairāki vārdi, kurus varat saistīt ar šīm fotogrāfijām."
+
+#. (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 ""
+"Lai pievienotu jaunu tagu fotogrāfijām, izvēlieties attiecīgās fotogrāfijas "
+"un veiciet vienu no šīm darbībām:"
+
+#. (itstool) path: item/p
+#: C/organize-tag.page:28
+msgid "Choose Tags Add Tags... ."
+msgstr ""
+"Izvēlieties Tagi Pievienot tagus... ."
+
+#. (itstool) path: item/p
+#: C/organize-tag.page:29
+msgid "Type Ctrl T ."
+msgstr "Spiediet Ctrl T ."
+
+#. (itstool) path: item/p
+#: C/organize-tag.page:30
+msgid "Drag the selected photos and drop them on the desired tag."
+msgstr "Velciet un nometiet izvēlētās fotogrāfijas uz vēlamā taga."
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:33
+msgid ""
+"When you use Ctrl T or "
+"Tags Add Tags... 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 "
+"Tags Rename Tag \"[name]\"... , by "
+"rightclicking on it and choose Rename... or double-click on the "
+"tag in the sidebar."
+msgstr ""
+"Ja izmantojat Ctrl T vai "
+"Tagi Pievienot tagus... , varat "
+"ierakstīt vienu vai vairāku tagu nosaukumus, atdalot tos ar komatiem. Kad "
+"tags ir izveidots, varat to pārdēvēt, izvēloties to tagu sānu joslā un "
+"izvēloties TagiPārdēvēt tagu \"[nosaukums]\"..."
+"gui> , veicot labo klikšķi un izvēloties Pārdēvēt... vai "
+"dubultklikšķinot tagu sānu joslā."
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:44
+msgid ""
+"To change which tags are associated with a particular photo, select that "
+"photo, choose Tags Modify Tags... or "
+"right-click on a photo and select Modify Tags... 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 Tags Remove Tag \"[name]\" from Photos"
+"gui> or right-click on the photos an select Remove Tag "
+"\"[name]\" from Photos ."
+msgstr ""
+"Lai mainītu, kuri tagi ir saistīti ar kurām fotogrāfijām, izvēlieties "
+"attiecīgo fotogrāfiju , izvēlieties Tagi Modificēt "
+"tagus... vai spiediet labo peles pogu uz fotogrāfijas un "
+"izvēlieties Modificēt tagus... un rediģējiet ar komatiem atdalīto "
+"sarakstu. Lai izņemtu tagu no vienas vai vairākām fotogrāfijām, vispirms "
+"izvēlieties attiecīgo tagu sānu joslā, tad izvēlieties fotogrāfijas, ko "
+"vēlaties izņemt un izvēlieties Tagi Izņemt tagu "
+"\"[nosaukums]\" no fotogrāfijām vai spiediet labo peles pogu "
+"uz fotogrāfijām un izvēlieties Izņemt tagu \"[nosaukums]\" no "
+"fotogrāfijām ."
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:58
+msgid ""
+"To delete a tag entirely, select that tag in the sidebar and choose "
+"Tags Delete Tag \"[name]\" or by right-"
+"click and select Delete Tag \"[name]\" ."
+msgstr ""
+"Lai pavisam izdzēstu tagu, izvēlieties to tagu sānu joslā un izvēlieties "
+"Tagi Dzēst tagu \"[nosaukums]\" vai "
+"spiediet labo peles pogu un izvēlieties Dzēst tagu \"[nosaukums]\""
+"gui>."
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:64
+msgid ""
+"When you create a tag, it will appear in the sidebar under the 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 ""
+"Izveidojot tagu, tas parādīsies sānu joslā sadaļā Tagi , kas ir "
+"slēpts, ja nav neviena taga. Fotogrāfijām var būt piesaistīti vairāki tagi. "
+"Sānu joslā, uzspiežot uz taga, redzēsiet visas fotogrāfijas, kurām ir šis "
+"tags."
+
+#. (itstool) path: section/title
+#: C/organize-tag.page:73
+msgid "Hierarchical Tags"
+msgstr "Hierarhiskie tagi"
+
+#. (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 New ."
+msgstr ""
+"Shotwell atbalsta hierarhiskos tagus. Jūs varat pārkārtot tagus, velkot un "
+"nometot tos vienu otrā. Lai izveidotu jaunu apakštagu, spiediet labo peles "
+"pogu uz taga un izvēlieties Jauns ."
+
+#. (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 ""
+"Hierarhiskie tagi jums palīdz kārtot tagu sarakstu tuvāk jūsu domāšanas "
+"veidam; piemēram, jūs varat saglabāt vietu tagus “Kalni” vai “Pludmale” zem "
+"taga “Vietas”, kas var būt zem taga “Vasaras brīvdienas”."
+
+#. (itstool) path: section/p
+#: C/organize-tag.page:89
+msgid "Note that deleting a parent tag will also delete its child tags."
+msgstr "Ņemiet vērā, ka virstaga dzēšana dzēsīs arī tā apakštagus."
+
+#. (itstool) path: info/desc
+#: C/organize-title.page:7
+msgid "Give titles to your photos."
+msgstr "Dodiet nosaukumus savām fotogrāfijām."
+
+#. (itstool) path: page/title
+#: C/organize-title.page:12
+msgid "Titles"
+msgstr "Nosaukumi"
+
+#. (itstool) path: page/p
+#: C/organize-title.page:14
+msgid ""
+"The View Titles checkbox toggles the "
+"display of titles beneath each photo. By default, a photo's title is its "
+"filename."
+msgstr ""
+"Skats Nosaukumi izvēles rūtiņa "
+"pārslēdz nosaukumu rādīšanu zem katras fotogrāfijas. Pēc noklusējuma, "
+"fotogrāfijas nosaukums ir tās datnes nosaukums."
+
+#. (itstool) path: page/p
+#: C/organize-title.page:17
+msgid ""
+"To change a photo's title, select the photo and click Photos"
+"gui>Edit Title... , or press F2 ."
+msgstr ""
+"Lai mainītu fotogrāfijas nosaukumu, izvēlieties fotogrāfiju un spiediet "
+"Fotogrāfijas Rediģēt nosaukumu... , vai "
+"spiediet F2 ."
+
+#. (itstool) path: info/desc
+#: C/other-files.page:7
+msgid "Keep the Shotwell library in sync with photo files on disk."
+msgstr "Saglabāt Shotwell bibliotēku sinhronu ar datnēm diskā."
+
+#. (itstool) path: page/title
+#: C/other-files.page:12
+msgid "Photo files"
+msgstr "Fotogrāfiju datnes"
+
+#. (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 ""
+"Katra fotogrāfija Shotwell bibliotēkā atbilst datnei jūsu cietajā diskā. "
+"Shotwell ir vairākas iespējas, kas palīdz saglabāt sinhroni Shotwell "
+"bibliotēku un datnes diskā."
+
+#. (itstool) path: section/title
+#: C/other-files.page:21
+msgid "Using a custom directory pattern"
+msgstr "Pielāgota direktoriju šablona izmantošana"
+
+#. (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 Directory Structure and Pattern"
+"gui> settings in the Preferences dialog. You may use a "
+"preselected pattern, or choose Custom and type in your own."
+msgstr ""
+"Shotwell jums ļauj norādīt, kā saglabāt direktorijas jūsu bibliotēkā. Jūs to "
+"varat izdarīt, mainot iestatījumus Direktoriju struktūra un "
+"Šablons dialoglodziņā Iestatījumi . Jūs varat izmantot "
+"iepriekš izveidotus šablonus vai izvēlēties Pielāgots un ievadīt "
+"paši savu."
+
+#. (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 ""
+"Pieejamie simboli direktoriju šablonam sākas ar % (procentu zīme). Vērtības, "
+"ko šie simboli veido, ir atkarīgi no lokalizācijas, tāpēc iegūtie rezultāti "
+"uz jūsu datoriem var atšķirties no piemēriem zemāk."
+
+#. (itstool) path: td/p
+#: C/other-files.page:38
+msgid "Symbol "
+msgstr "Simbols "
+
+#. (itstool) path: td/p
+#: C/other-files.page:38
+msgid "Meaning "
+msgstr "Nozīme "
+
+#. (itstool) path: td/p
+#: C/other-files.page:38
+msgid "Example "
+msgstr "Piemērs "
+
+#. (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 "Gads: pilns"
+
+#. (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 "Gads: divi cipari"
+
+#. (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 "Mēneša diena, vienmēr divi cipari"
+
+#. (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 "Dienas nosaukums: pilns"
+
+#. (itstool) path: td/p
+#: C/other-files.page:52
+msgid "Wednesday"
+msgstr "Trešdiena"
+
+#. (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 "Dienas nosaukums: saīsināts"
+
+#. (itstool) path: td/p
+#: C/other-files.page:55
+msgid "Wed"
+msgstr "Tr"
+
+#. (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 "Mēneša numurs, vienmēr divi cipari"
+
+#. (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 "Mēneša nosaukums: saīsināts"
+
+#. (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 "Mēneša nosaukums: pilns"
+
+#. (itstool) path: td/p
+#: C/other-files.page:62
+msgid "February"
+msgstr "Februāris"
+
+#. (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 "Stunda: 12 stundu formāts"
+
+#. (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 "Stunda: 24 stundu formāts"
+
+#. (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 "Minūte"
+
+#. (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 "Sekunde"
+
+#. (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 vai 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 man strftime if you need one that isn't "
+"listed here."
+msgstr ""
+"Ir pieejami vēl vairāki simboli; skatiet strftime rokasgrāmatu, izpildot "
+"komandu man strftime , ja ir vajadzīgs simbols, kas nav šeit "
+"sarakstā."
+
+#. (itstool) path: section/title
+#: C/other-files.page:79
+msgid "Automatically importing photos"
+msgstr "Automātiskā fotogrāfiju importēšana"
+
+#. (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 Pictures "
+"directory in your home directory; you can change its location in in the "
+"Preferences window.)"
+msgstr ""
+"Shotwell var automātiski importēt jaunās fotogrāfijas, kas parādās "
+"bibliotēkas direktorijā. Bibliotēkas direktorija parasti ir Attēli"
+"file> direktorija mājas mapē; jūs varat mainīt tās atrašanās vietu logā "
+"Iestatījumi ."
+
+#. (itstool) path: section/p
+#: C/other-files.page:86
+msgid ""
+"To enable auto-import, check the box Watch library directory for new "
+"files in the Preferences window."
+msgstr ""
+"Lai ieslēgtu automātisko importēšanu, ieķeksējiet lodziņu Sekot līdzi "
+"jaunām datnēm manā bibliotēkā logā Iestatījumi ."
+
+#. (itstool) path: note/p
+#: C/other-files.page:90
+msgid ""
+"Shotwell can also follow symbolic links inside automatically-imported "
+"directories."
+msgstr ""
+"Shotwell var arī sekot simboliskajām saitēm automātiski importētajās "
+"direktorijās."
+
+#. (itstool) path: section/title
+#: C/other-files.page:95
+msgid "Automatically renaming imported photos to lowercase"
+msgstr "Automātiskā importēto fotogrāfiju pārdēvēšana uz mazo burtu reģistru"
+
+#. (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 Edit Preferences"
+"gui> , and in the Preferences window, check the "
+"Rename imported files to lowercase box."
+msgstr ""
+"Shotwell var automātiski mainīt importēto fotogrāfiju datņu nosaukumus uz "
+"mazo burtu reģistru. Lai to ieslēgtu, izvēlieties Rediģēt"
+"gui>Iestatījumi , logā Iestatījumi izvēlieties "
+"kasti Pārdēvēt importētās datnes uz mazajiem burtiem ."
+
+#. (itstool) path: section/title
+#: C/other-files.page:107
+msgid "Writing metadata on the fly"
+msgstr "Metadatu tūlītēja rakstīšana"
+
+#. (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 ""
+"Pēc noklusējuma Shotwell nemaina fotogrāfiju datnes, pat rediģējot "
+"fotogrāfijas vai mainot to tagus vai nosaukumus. Shotwell ieraksta šīs "
+"izmaiņas tikai savā datubāzē."
+
+#. (itstool) path: section/p
+#: C/other-files.page:112
+msgid ""
+"To change this behavior, you can enable the checkbox Write tags, titles "
+"and other metadata to photo files in the Preferences "
+"dialog. When this option is enabled, Shotwell will write the following "
+"metadata to most photo files whenever you change it in Shotwell:"
+msgstr ""
+"Lai mainītu šo uzvedību, varat ieslēgt izvēles rūtiņu Rakstīt tagus, "
+"nosaukumus un citus metadatus fotogrāfiju datnēs dialoglodziņā "
+"Iestatījumi . Kad šī opcija ir ieslēgta, veicot izmaiņas "
+"fotogrāfijā, Shotwell ierakstīs sekojošos metadatus vairumā fotogrāfiju "
+"datēs:"
+
+#. (itstool) path: item/p
+#: C/other-files.page:118
+msgid "titles"
+msgstr "nosaukumi"
+
+#. (itstool) path: item/p
+#: C/other-files.page:119
+msgid "tags"
+msgstr "tagi"
+
+#. (itstool) path: item/p
+#: C/other-files.page:120
+msgid "ratings"
+msgstr "vērtējumi"
+
+#. (itstool) path: item/p
+#: C/other-files.page:121
+msgid "rotation information"
+msgstr "rotācijas informācija"
+
+#. (itstool) path: item/p
+#: C/other-files.page:122
+msgid "time/date"
+msgstr "laiks/datums"
+
+#. (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 saglabā šo informāciju fotogrāfiju datnēs EXIF, IPTC un / vai XMP "
+"formātos. Ņemiet vērā, ka Shotwell fotogrāfiju datnēs var rakstīt tikai "
+"JPEG, PNG un TIFF formātos, bet ne BMP, RAW vai video datnēs."
+
+#. (itstool) path: section/title
+#: C/other-files.page:133
+msgid "Runtime monitoring"
+msgstr "Izpildlaika pārraudzīšana"
+
+#. (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 ""
+"Kamēr Shotwell ir palaists, tas pamana izmaiņas, kas no ārpuses notiek ar "
+"fotogrāfijām. Kad fotogrāfijas datnes mainās, Shotwell pārlasa datni un "
+"atjaunina jūsu fotogrāfijas skatu un metadatus."
+
+#. (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 ""
+"Ņemiet vērā, ka palaižoties Shotwell visās fotogrāfiju datnēs pārbauda, vai "
+"ir izmaiņas, bet pēc palaišanās tikai bibliotēkas direktorijas mape tiek "
+"uzraudzīta reālā laikā. Mēs ceram nākošajos laidienos šo ierobežojumu noņemt."
+
+#. (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 ""
+"Ja Shotwell nevar atrast fotogrāfiju bibliotēkā, tā tiek atzīmēta kā "
+"trūkstoša."
+
+#. (itstool) path: page/title
+#: C/other-missing.page:12
+msgid "Missing photos"
+msgstr "Trūkstošās fotogrāfijas"
+
+#. (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 ""
+"Katru reizi, kad Shotwell tiek palaists, tas skenē jūsu fotogrāfiju "
+"bibliotēku, lai pārliecinātos, ka fotogrāfijas vēl aizvien atrodas uz cietā "
+"diska. Ja Shotwell konstatē, ka kāda fotogrāfija trūkst, tā nebūs redzama "
+"parasto fotogrāfiju, notikumu un tagu skatos, bet tiks parādīta atsevišķā "
+"“Iztrūkstošās datnes” skatā, kas parādīsies sānu joslā."
+
+#. (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 Remove From Library ."
+msgstr ""
+"Ja vairs nevēlaties redzēt trūkstošās fotogrāfijas savā Shotwell kolekcijā "
+"(iespējams, tāpēc, ka esat tās izdzēsis), ejiet uz skatu “Iztrūkstošās "
+"datnes”, izvēlieties fotogrāfijas un spiediet Izņemt no bibliotēkas"
+"gui>."
+
+#. (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 "
+" import them into Shotwell without"
+"em> copying the photos to your computer, they will show up as missing files "
+"if you then disconnect the removable disk. See "
+"to learn how to copy files from removable disks onto your computer."
+msgstr ""
+"Ja jūsu fotogrāfijas ir uz noņemamiem datu nesējiem, piemēram, CD vai USB "
+"zibatmiņām, un esat tās importējis "
+"Shotwell tās nekopējot uz savu datoru, tās parādīsies kā trūkstošas "
+"datnes, ja atvienojāt noņemamo disku. Skatiet , "
+"lai uzzinātu, kā kopēt datnes no noņemamiem diskiem uz savu datoru."
+
+#. (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 ""
+"Ja kāda no trūkstošajām fotogrāfijām atkal kļūs pieejama, Shotwell to "
+"pamanīs nākamajā startēšanās reizē. Šīs fotogrāfijas atkal parādīsies "
+"fotogrāfiju, notikumu un tagu skatos."
+
+#. (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 ""
+"Jūs varat atvērt Shotwell ar citu fotogrāfiju bibliotēku, izmantojot "
+"komandrindu."
+
+#. (itstool) path: page/title
+#: C/other-multiple.page:12
+msgid "Multiple libraries"
+msgstr "Vairākas bibliotēkas"
+
+#. (itstool) path: page/p
+#: C/other-multiple.page:14
+msgid ""
+"Shotwell normally stores its database and photo thumbnails in the directory "
+"~/.shotwell . This directory does not hold photos, but the "
+"database in this directory contains a list of all the photos in the Shotwell "
+"library."
+msgstr ""
+"Shotwell parasti saglabā savu datubāzi un fotogrāfiju sīktēlus direktorijā "
+"~/.shotwell . Šajā direktorijā nav fotogrāfiju, bet tajā esošā "
+"datubāze satur sarakstu ar visām fotogrāfijām Shotwell bibliotēkā."
+
+#. (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 ""
+"Šī iespēja ir domāta lietpratējiem — ir iespējams uzturēt vairākas Shotwell "
+"bibliotēkas, kur katrai no tām ir sava fotogrāfiju kopa. Katrai bibliotēkai "
+"ir vajadzīga sava datubāzes direktorija. Lai palaistu Shotwell ar citu "
+"bibliotēku, norādiet tās datubāzes direktoriju komandrindā šādi:"
+
+#. (itstool) path: page/screen
+#: C/other-multiple.page:18
+#, no-wrap
+msgid ""
+"\n"
+"shotwell -d [library-directory]\n"
+msgstr ""
+"\n"
+"shotwell -d [bibliotēkas-direktorija]\n"
+
+#. (itstool) path: info/desc
+#: C/other-plugins.page:7
+msgid "Extend Shotwell's functionality dynamically."
+msgstr "Dinamiski izvērst Shotwell funkcionalitāti."
+
+#. (itstool) path: page/title
+#: C/other-plugins.page:12
+msgid "Plugins"
+msgstr "Spraudņi"
+
+#. (itstool) path: page/p
+#: C/other-plugins.page:13
+msgid ""
+"Shotwell can be used with plugins , which are companion shared "
+"libraries that can add support for new publishing destinations or new "
+"slideshow transitions."
+msgstr ""
+"Shotwell var lietot ar spraudņiem , kas ir koplietotās bibliotēkas, "
+"kas var pievienot atbalstu jauniem publicēšanas mērķiem vai jaunām "
+"slaidrādes pārejām."
+
+#. (itstool) path: page/p
+#: C/other-plugins.page:18
+msgid ""
+"To see a list of installed plugins, choose Edit"
+"gui>Preferences , and in the Preferences "
+"window, click on the Plugins 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 ""
+"Lai redzētu instalēto spraudņu sarakstu, izvēlieties Rediģēt"
+"gui>Iestatījumi , un logā Iestatījumi spiediet "
+"uz cilni Spraudņi . Tur būs redzami pašlaik instalētie spraudņi un "
+"tiem blakus izvēles rūtiņu. Jūs varat ieslēgt vai izslēgt katru no tiem, "
+"ieķeksējot vai noņemot ķeksi no attiecīgās izvēles rūtiņas."
+
+#. (itstool) path: note/p
+#: C/other-plugins.page:25
+msgid ""
+"Full documentation on how to develop new plugins is available at http://redmine.yorba.org/projects/shotwell/wiki/"
+"ShotwellArchWritingPlugins"
+msgstr ""
+"Pilna informācija par to, kā izstrādāt spraudņus, ir pieejama http://redmine.yorba.org/projects/shotwell/wiki/"
+"ShotwellArchWritingPlugins"
+
+#. (itstool) path: info/desc
+#: C/raw.page:7
+msgid "More about RAW support in Shotwell."
+msgstr "Vairāk par RAW atbalstu Shotwell lietotnē."
+
+#. (itstool) path: page/title
+#: C/raw.page:12
+msgid "RAW support in Shotwell"
+msgstr "RAW atbalsts Shotwell lietotnē"
+
+#. (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 ""
+"Dažas kameras var datus no sensora saglabāt pa tiešo datnē, kas satur "
+"papildu krāsu informāciju; tos parasti dēvē par “RAW” (jēlie) vai “kameras "
+"RAW”, un Shotwell atbalsta arī šīs datnes."
+
+#. (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 ""
+"Tā kā RAW fotogrāfijas nevar attēlot tiešā veidā, tās vispirms ir jāattīsta "
+"— tas ir, tās papildu informācija ir jālasa un jāinterpretē attēlošanai. "
+"Vairums kameru vai nu ieguls JPEG iekšā RAW datnē, vai izveidos gan RAW, gan "
+"JPEG datnes vienam un tam pašam kadram. Otrais risinājums šajā dokumentā "
+"tiks apzīmēts kā RAW+ JPEG. Ja importēsiet RAW+JPEG pāri, Shotwell tos "
+"paturēs sapārotus un bibliotēkā tie parādīsies kā viens vienums."
+
+#. (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 Photos"
+"gui>Developer in the menus."
+msgstr ""
+"Importējot RAW datni, jūs varat izvēlēties vai nu izmantot kameras iekšēji "
+"attīstīto JPEG vai Shotwell attīstīto, izvēlnēs izvēloties "
+"Fotogrāfijas Attīstītājs ."
+
+#. (itstool) path: note/p
+#: C/raw.page:33
+msgid ""
+"Changing between developers will cause all edits made to a photograph to be "
+"discarded."
+msgstr "Attīstītāju mainīšana var atcelt visas fotogrāfijās veiktās izmaiņas."
+
+#. (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 ""
+"Lai publicētu vai lietotu RAW fotogrāfijas vairumā lietotņu, tās vispirms ir "
+"jāeksportē. Shotwell var eksportēt RAW fotogrāfijas JPEG, PNG, TIFF un BMP "
+"formātos. Publicējot tās tiks eksportētas JPEG formātā."
+
+#. (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 ""
+"Atrodiet Shotwell lietotņu izvēlnē, vai arī palaidiet to, pievienojot kameru."
+
+#. (itstool) path: page/title
+#: C/running.page:14
+msgid "Running Shotwell"
+msgstr "Shotwell darbināšana"
+
+#. (itstool) path: page/p
+#: C/running.page:16
+msgid ""
+"Once installed, Shotwell is available in your Applications menu "
+"under Graphics or Photography ."
+msgstr ""
+"Kad Shotwell ir uzinstalēts, tas ir pieejams izvēlnē Lietotnes "
+"zem Grafika vai Fotogrāfija ."
+
+#. (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 Edit Preferences "
+"guiseq> in any Nautilus (file browser) window and choose the Media"
+"gui> tab. You'll see a dropdown box entitled Photos: which lets "
+"you choose Shotwell as your photo handling application."
+msgstr ""
+"Shotwell var tikt palaist automātiski, kad kamera ir pievienota datoram. Lai "
+"pārbaudītu, vai sistēma palaidīs Shotwell, kad ir atklāta kamera, ejiet uz "
+"Rediģēt Iestatījumi jebkurā Nautilus "
+"(datņu pārlūka) logā un izvēlieties cilni Datu nesēji . Tur būs "
+"redzams izkrītošais saraksts ar nosaukumu Fotogrāfijas: , kas ļauj "
+"izvēlēties Shotwell kā lietotni, kas apstrādā fotogrāfijas."
+
+#. (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 ""
+"Shotwell var arī palaist no tās būvēšanas direktorijas, lai gan to iesaka "
+"darīt tikai Shotwell testēšanai vai izstrādāšanai."
+
+#. (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 "Iestatīt darbvirsmas fonā fotogrāfiju vai fotogrāfiju slaidrādi."
+
+#. (itstool) path: page/title
+#: C/share-background.page:12
+msgid "Set a desktop background or slideshow"
+msgstr "Iestatīt darbvirsmas fonu vai slaidrādi"
+
+#. (itstool) path: page/p
+#: C/share-background.page:14
+msgid ""
+"To set a single photo as your desktop background, select the photo and "
+"choose File Set as Desktop Background ."
+msgstr ""
+"Lai iestatītu vienu fotogrāfiju kā fona attēlu, izvēlieties fotogrāfiju un "
+"izvēlieties Datne Iestatīt kā darbvirsmas fonu "
+"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 File"
+"gui>Set as Desktop Slideshow... . 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 ""
+"Jūs varat arī iestatīt fonu kā fotogrāfiju slaidrādi. Lai to izdarītu, "
+"izvēlieties fotogrāfijas slaidrādei un izvēlieties Datne"
+"gui>Iestatīt kā darbvirsmas slaidrādi... . Shotwell "
+"vaicās, cik ilgai ir jābūt slaidrādes aizturei, kas var būt līdz vienai "
+"dienai. Fona slaidrāde strādās arī tad, kad Shotwell nav palaists."
+
+#. (itstool) path: info/desc
+#: C/share-export.page:7
+msgid "Copy photos out of Shotwell so you can put them somewhere else."
+msgstr "Kopēt fotogrāfijas ārā no Shotwell, lai tās varētu novietot kur citur."
+
+#. (itstool) path: page/title
+#: C/share-export.page:12
+msgid "Exporting photos"
+msgstr "Fotogrāfiju eksportēšana"
+
+#. (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 ""
+"Lai eksportētu fotogrāfijas no Shotwell ar vilkšanas-nomešanas metodi, "
+"velciet fotogrāfijas no Shotwell uz datņu pārvaldnieka logu savā darbvirsmā. "
+"Jaunās datnes būs pilna izmēra kopijas fotogrāfijām bibliotēkā."
+
+#. (itstool) path: page/p
+#: C/share-export.page:18
+msgid ""
+"Alternatively, select a set of photos and choose the File"
+"gui>Export... command or press Shift"
+"key>Ctrl E , 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 ""
+"Varat arī izvēlēties noteiktas fotogrāfijas un izvēlēties "
+"Datne Eksportēt... komandu vai spiest "
+"Shift Ctrl E , kas eksportē "
+"fotogrāfijas, ļaujot precizēt foto datņu izmērus un dimensijas. Parādīsies "
+"logs, kas ļauj veikt vairākas izvēles:"
+
+#. (itstool) path: item/p
+#: C/share-export.page:24
+msgid "A format for export."
+msgstr "Formāts, uz kuru eksportēt."
+
+#. (itstool) path: item/p
+#: C/share-export.page:27
+msgid ""
+"Choose Unmodified to export photos in their original format "
+"without any edits made in Shotwell. RAW photos will be exported in their "
+"original RAW format."
+msgstr ""
+"Izvēlieties Nemainīts , lai eksportētu fotogrāfijas to sākotnējā "
+"formātā, bez izmaiņām, kas veiktas ar Shotwell. RAW fotogrāfijas tiks "
+"eksportētas RAW formātā."
+
+#. (itstool) path: item/p
+#: C/share-export.page:29
+msgid ""
+"Choose Current 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 ""
+"Izvēlieties Pašreizējais lai eksportētu fotogrāfijas ar izmaiņām, "
+"kas veiktas Shotwell. RAW fotogrāfijas tiks eksportētas JPEG formātā, ja "
+"esat tās rediģējuši ar Shotwell, citādi tās paliks sākotnējā RAW formātā."
+
+#. (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 ""
+"Jūs varat izvēlēties noteiktu attēlu formātu (JPEG, PNG, TIFF, BMP), ko "
+"izmantot eksportēšanā. Tiks iekļautas visas izmaiņas, kas ir veiktas ar "
+"Shotwell un fotogrāfijas tiks konvertētas uz mērķa formātu."
+
+#. (itstool) path: item/p
+#: C/share-export.page:37
+msgid "The image quality for exporting (Low, Medium, High, or Maximum)."
+msgstr "Attēlu kvalitāte eksportējot (zema, vidēja, augsta vai maksimāla)."
+
+#. (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 ""
+"Mēroga ierobežojums (kas norāda, kā Shotwell izlems samazināt fotogrāfijas) "
+"un vēlamais pikseļu izmērs."
+
+#. (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 ""
+"Opcija, vai vēlaties eksportēt metadatus, piemēram, tagus un vērtējumus. Tas "
+"var palīdzēt saglabāt privātumu, ja jums ir ģeolokācijas tagi vai tādi tagi, "
+"ko citiem nevajadzētu redzēt."
+
+#. (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 ""
+"Ja ir izvēlēts, Shotwell ierakstīs tagus, nosaukumus un citus metadatus "
+"jaunajās datnēs."
+
+#. (itstool) path: info/desc
+#: C/share-print.page:7
+msgid ""
+"Click File Print... . For more printing "
+"options, select the Page Setup tab in the Print dialog."
+msgstr ""
+"Spiediet Datne Drukāt... . Lai piekļūtu "
+"papildu drukāšanas opcijām, dialoglodziņā Drukāt izvēlieties "
+"cilni Lappuses iestatīšana ."
+
+#. (itstool) path: page/title
+#: C/share-print.page:12
+msgid "Printing"
+msgstr "Drukāšana"
+
+#. (itstool) path: page/p
+#: C/share-print.page:14
+msgid ""
+"To print a photo, select it and choose File Print..."
+"gui> ."
+msgstr ""
+"Lai izdrukātu fotogrāfiju, atlasiet to un izvēlieties Datne"
+"gui>Drukāt... ."
+
+#. (itstool) path: page/p
+#: C/share-print.page:16
+msgid ""
+"Shotwell can also print multiple images in one page; to do this, select "
+"multiple images, choose File Print... , "
+"and in the Print dialog, choose the Image Settings "
+"tab. In Image Settings , choose one of the multiple-image-per-page "
+"options under Autosize ."
+msgstr ""
+"Shotwell var arī izdrukāt vairākus attēlus vienā lappusē. Lai to izdarītu, "
+"izvēlieties vairākus attēlus, izvēlieties Datne"
+"gui>Drukāt... , un dialoglodziņā Drukāt "
+"izvēlieties Attēla iestatījumi cilni. Šajā cilnē sadaļā "
+"Automātiskais izmērs izvēlieties kādu no vairāku attēlu "
+"izkārtošanas opcijām."
+
+#. (itstool) path: page/p
+#: C/share-print.page:23
+msgid ""
+"If you would like to set formatting, paper size, and orientation options, "
+"choose the Page Setup tab in the Print dialog prior to "
+"printing."
+msgstr ""
+"Ja vēlaties iestatīt formatējumu, papīra izmēru un orientācijas opcijas, "
+"pirms drukāšanas dialoglodziņā Drukāt izvēlieties "
+"cilniLappuses iestatīšana ."
+
+#. (itstool) path: info/desc
+#: C/share-send.page:7
+msgid "Send photos via email, instant messaging or in other ways."
+msgstr ""
+"Sūtīt fotogrāfijas pa e-pastu, tūlītējo ziņojumapmaiņu vai citos veidos."
+
+#. (itstool) path: page/title
+#: C/share-send.page:12
+msgid "Sending photos"
+msgstr "Fotogrāfiju sūtīšana"
+
+#. (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 var sūtīt fotogrāfijas, izmantojot GNOME darbvirsmas “Sūtīt uz” "
+"mehānismu, kas jums ļauj sūtīt fotogrāfijas caur e-pastu, tūlītējo "
+"ziņojumapmaiņu un citos veidos."
+
+#. (itstool) path: page/p
+#: C/share-send.page:16
+msgid ""
+"To send photos, select them in Shotwell and choose File"
+"gui>Send To... , or right-click the photos and choose "
+"Send To... from the context menu. A Send To 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 ""
+"Lai sūtītu fotogrāfijas, atlasiet tās Shotwell lietotnē un izvēlieties "
+"Datne Sūtīt uz... , vai spiediet labo "
+"peles klikšķi uz fotogrāfijām un izvēlieties Sūtīt uz... "
+"konteksta izvēlnē. Parādīsies dialoglodziņš Sūtīt uz , kas ļauj "
+"izvēlēties datņu sūtīšanas mehānismu (piemēram, e-pasts vai tūlītējā "
+"ziņojumapmaiņa) un gala mērķi. Jūs varat arī izvēlēties sūtīt datnes "
+"saspiestā formātā."
+
+#. (itstool) path: info/desc
+#: C/share-slideshow.page:7
+msgid "Watch a slideshow of your photos."
+msgstr "Skatieties savu fotogrāfiju slaidrādi."
+
+#. (itstool) path: page/title
+#: C/share-slideshow.page:12
+msgid "Slideshows"
+msgstr "Slaidrādes"
+
+#. (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 View Slideshow or press "
+"F5 ."
+msgstr ""
+"Lai Shotwell lietotnē redzētu kādas kolekcijas slaidrādi, ejiet uz kolekciju "
+"un izvēlieties Skats Slaidrāde vai "
+"spiediet F5 ."
+
+#. (itstool) path: page/p
+#: C/share-slideshow.page:16
+msgid "You can change some settings in a running slideshow:"
+msgstr "Aktīvā slaidrādē varat mainīt dažus iestatījumus:"
+
+#. (itstool) path: item/p
+#: C/share-slideshow.page:19
+msgid "The duration how long an image should be shown: 1 - 30 seconds"
+msgstr "Laiku, cik ilgi būs redzams attēls: 1–30 sekundes"
+
+#. (itstool) path: item/p
+#: C/share-slideshow.page:20
+msgid "You can select different transition effects."
+msgstr "Varat izvēlēties dažādus pārejas efektus."
+
+#. (itstool) path: item/p
+#: C/share-slideshow.page:21
+msgid "The time for each transition effect: 0.1 - 1.0 seconds"
+msgstr "Laiks katram pārejas efektam: 0,1–1,0 sekundes"
+
+#. (itstool) path: info/desc
+#: C/share-upload.page:7
+msgid "Publish photos to Facebook, Flickr, Picasa Web Albums, or other sites."
+msgstr ""
+"Publicēt fotogrāfijas Facebook, Flickr, Picasa Web Albums un citās vietnēs."
+
+#. (itstool) path: page/title
+#: C/share-upload.page:12
+msgid "Publishing to the Web"
+msgstr "Publicēšana tīmeklī"
+
+#. (itstool) path: page/p
+#: C/share-upload.page:14
+msgid ""
+"Through the use of plugins, Shotwell can "
+"publish photos and videos to the following services, each of which requires "
+"an account:"
+msgstr ""
+"Izmantojot spraudņus, Shotwell var "
+"publicēt fotogrāfijas un video uz sekojošajiem pakalpojumiem, kur katram ir "
+"nepieciešams konts:"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:18
+msgid " Facebook"
+msgstr " Facebook"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:19
+msgid " Flickr"
+msgstr " Flickr"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:20
+msgid ""
+" Picasa Web Albums and "
+" Google+"
+msgstr ""
+" Picasa Web Albums un Google+"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:21
+msgid " YouTube (videos only)"
+msgstr " YouTube (tikai video)"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:22
+msgid ""
+" Yandex.Fotki, a photo site "
+"popular in Russia (photos only)"
+msgstr ""
+" Yandex.Fotki, Krievijā populāra "
+"fotogrāfiju vietne (tikai fotogrāfijas)"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:23
+msgid ""
+"Any site running the Piwigo photo "
+"gallery software (photos only)"
+msgstr ""
+"Jebkura vietne, kas izmanto Piwigo "
+"fotogrāfiju galerijas programmatūru (tikai fotogrāfijas)"
+
+#. (itstool) path: page/p
+#: C/share-upload.page:26
+msgid ""
+"To publish selected photos in a collection, choose Edit"
+"gui>Preferences and click on the Plugins tab "
+"to enable the plugin for the service you want to publish to. Next, choose, "
+"File Publish , press the Publish"
+"gui> toolbar button or use Ctrl P . You "
+"will see a dialog that lets you select a publishing service. You will then "
+"need to log in or create an account."
+msgstr ""
+"Lai publicētu kolekcijā izvēlētās fotogrāfijas, izvēlieties "
+"Rediģēt Iestatījumi un spiediet cilni "
+"Spraudņi , lai ieslēgtu tā pakalpojuma spraudni, kurā publicēt. "
+"Pēc tam izvēlieties Datne Publicēt , "
+"spiediet rīkjoslas pogu Publicēt vai izmantojiet "
+"Ctrl P . Parādīsies dialoglodziņš, kas "
+"ļauj izvēlēties publicēšanas pakalpojumu. Pēc tam jums vajadzēs ierakstīties "
+"vai izveidot kontu."
+
+#. (itstool) path: page/p
+#: C/share-upload.page:31
+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 ""
+"Lai publicētu Facebook vietnē Shotwell Facebook lietotnei vajag īpašas "
+"atļaujas. Šīs atļaujas ir jādod tikai vienreiz, kad asociējat Shotwell ar "
+"savu Facebook kontu."
+
+#. (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 ""
+"Jūs varēsiet publicēt attēlus ar tām tiesībām, kādas sniedzāt Shotwell "
+"Facebook lietotnei"
+
+#. (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 ""
+"Līdzīgi, publicēšanai Flickr vietnē vajag ierakstīties un ļaut Shotwell "
+"savienojumiem piekļūt jūsu kontam."
+
+#. (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 ""
+"Ja jums ir Google konts, bet vēl neesat izmantojis Picasa Web Albums, jums "
+"vienreiz jāierakstās Picasa, izmantojot pārlūku, pirms varēsiet publicēt "
+"šajā pakalpojumā."
+
+#. (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 ""
+"Uzziniet par dažādiem veidiem, kā skatīt fotogrāfijas — režģī, aizpildot "
+"galveno logu vai aizpildot visu ekrānu."
+
+#. (itstool) path: page/title
+#: C/view-displaying.page:12
+msgid "Photo views"
+msgstr "Fotogrāfiju skati"
+
+#. (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 (+ and - ) "
+"or by pressing Ctrl while moving your mouse scroll wheel."
+msgstr ""
+"Izvēloties kādu kolekciju sānu joslā, Shotwell attēlos visas šīs kolekcijas "
+"fotogrāfijas galvenajā loga daļā. Loga apakšējā labajā pusē ri slīdnis, ar "
+"ko var pielāgot sīktēlu izmēru. Varat sīktēlu izmēru pielāgot arī ar pluss "
+"un mīnuss taustiņiem (+ un - ) vai spiežot Ctrl"
+"key> un kustinot peles riteni."
+
+#. (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 "
+"Esc ."
+msgstr ""
+"Jūs varat arī skatīt fotogrāfijas pilnekrāna režīmā, uz tām "
+"dubultklikšķinot. Šajā režīmā jūs varat pāriet starp fotogrāfijām, "
+"izmantojot bultiņu pogas. Lai atgrieztos kolekcijā, dubultklikšķiniet uz "
+"fotogrāfijas vai spiediet Esc ."
+
+#. (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: Ctrl 0 for the full image, "
+"Ctrl 1 for 100% (1 photo pixel = 1 screen pixel), "
+"and Ctrl 2 for 200% (1 photo pixel = 2x2 screen "
+"pixels)."
+msgstr ""
+"Kad attēls tiek skatīts pilnekrāna režīmā, rīkjoslā esošais slīdnis nosaka"
+" tuvinājumu. Jūs varat panoramēt, sagrābjot un velkot jebkuru vietu"
+" fotogrāfijā. Jūs varat arī mainīt mērogu, izmantojot peles riteni vai"
+" spiežot šīs saīsnes: Ctrl 0 lai redzētu"
+" pilnekrānā, Ctrl 1 100% tuvinājumam (1"
+" fotogrāfijas pikselis = 1 ekrāna pikseli), un Ctrl 2<"
+"/keyseq> 200% tuvinājumam (1 fotogrāfijas pikselis = 2x2 ekrāna pikseļiem)."
+
+#. (itstool) path: page/p
+#: C/view-displaying.page:20
+msgid ""
+"Shotwell offers a fullscreen mode to display photos. Choose "
+"View Fullscreen or press 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 piedāvā iespēju attēlot fotogrāfijas pilnekrāna režīmā. Izvēlieties"
+" Skats Pilnekrāns vai spiediet F11 . Lai redzētu pilnekrāna rīkjoslu, novietojiet peli ekrāna"
+" apakšpusē. Rīkjosla piedāvā pogas, ar kurām var pārvietoties pa kolekciju,"
+" nofiksēt rīkjoslu (lai tā nepazūd, kad pārvietojat peli kur citur), un"
+" pamest pilnekrāna skatu."
+
+#. (itstool) path: section/title
+#: C/view-displaying.page:23
+msgid "Viewing videos"
+msgstr "Video atskaņošana"
+
+#. (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 ""
+"Dubultklikšķinot uz video, Shotwell palaidīs ārējo video atskaņotāju, lai"
+" atskaņotu video. Pašlaik nevar attēlot video Shotwell pilnekrāna režīmā, vai"
+" atskaņot video pašā 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 ""
+"Skatīt sīkāku informāciju par fotogrāfijām, piemēram, kameras ekspozīcijas"
+" režīmu."
+
+#. (itstool) path: page/title
+#: C/view-information.page:12
+msgid "Basic and extended information"
+msgstr "Pamata un paplašinātā informācija"
+
+#. (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 View Basic "
+"Information command."
+msgstr ""
+"Pamatinformācijas rūts parādās sānu joslas apakšpusē un attēlo īsu"
+" kopsavilkumu par izvēlētajām fotogrāfijām. Ja nav izvēlētu fotogrāfiju, tas"
+" attēlo visas kolekcijas kopsavilkumu. Jūs varat pārslēgt šīs rūts"
+" attēlošanu, izmantojot komandu Skats Pamatinformācija "
+
+#. (itstool) path: page/p
+#: C/view-information.page:16
+msgid ""
+"The floating Extended Information window displays more information about the "
+"selected photo. The View Extended Information "
+"guiseq> command or Ctrl Shift X "
+"keyseq> toggles the display of this window."
+msgstr ""
+"Peldošais paplašinātās informācijas logs attēlo vairāk informācijas par"
+" izvēlēto fotogrāfiju. Skats Paplašināta informācija<"
+"/gui> komanda vai Ctrl Shift X pārslēdz šī loga attēlošanu."
+
+#. (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 "Sānjosla loga kreisajā pusē parāda dažādus jūsu bibliotēkas skatus."
+
+#. (itstool) path: page/title
+#: C/view-sidebar.page:21
+msgid "The sidebar"
+msgstr "Sānjosla"
+
+#. (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 ""
+"Sānjosla kreisajā Shotwell loga pusē uzskaita vairākus jūsu bibliotēkas"
+" skatus. Lai gan varat redzēt vienu un to pašu fotogrāfiju dažādos skatos,"
+" cietajā diskā tā tiek saglabāta tikai vienā vietā."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:25
+msgid ""
+"The Last Import 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 ""
+"Skatā Pēdējais imports ir redzamas fotogrāfijas, kas ir importētas"
+" neatkarīgi no tā, vai tās ir importētas no F-Spot, kameras, atmiņas kartes"
+" vai cietā diska."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:27
+msgid "The Flagged lists all photos you had previous flagged."
+msgstr ""
+"Ar karodziņu uzrāda visas fotogrāfijas, kas ir iepriekš atzīmētas"
+" ar karodziņu."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:29
+msgid ""
+"The Saved Search allows you to sort your library by many criteria."
+msgstr ""
+"Saglabātie meklējumi jums ļauj kārtot bibliotēku pēc vairākiem"
+" kritērijiem."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:31
+msgid ""
+"The Events folder lists all events in your library. An event is a "
+"group of photos that were taken at approximately the same time."
+msgstr ""
+"Mapē Notikumi ir atrodami visi notikumi jūsu bibliotēkā. Notikums"
+" ir fotogrāfiju kopums, kas ir uzņemts aptuveni vienā laikā."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:33
+msgid ""
+"The Tags 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 ""
+"Mapē Tagi ir visi tagi, kas ir piešķirti fotogrāfijām."
+" Fotogrāfijām var būt piešķirti vairāki tagi. Sānu joslā spiežot uz taga"
+" nosaukuma, redzēsiet visas fotogrāfijas, kurām ir šie tagi."
+
diff --git a/help/lv/lv.stamp b/help/lv/lv.stamp
new file mode 100644
index 0000000..e69de29
diff --git a/help/lv/organize-event.page b/help/lv/organize-event.page
new file mode 100644
index 0000000..56b9dcd
--- /dev/null
+++ b/help/lv/organize-event.page
@@ -0,0 +1,53 @@
+
+
+
+
+
+ Grupēt kopā fotogrāfijas, kas ir uzņemtas tajā pašā laikā. Uzziniet, kā pārdēvēt, apvienot un kārtot notikumus.
+
+
+
+
+ Notikumi
+
+ Notikums ir virkne ar fotogrāfijām, kas ir uzņemtas aptuveni vienā laikā. Importējot fotogrāfijas, Shotwell pārbauda, kad katra fotogrāfija ir uzņemta. Tad tas sagrupē fotogrāfijas notikumos.
+
+ Izvēlieties Notikumi sānu joslā, lai redzētu fotogrāfijas, kas ir organizētas pēc datumiem. Ja sānu joslā izvēlēsities mēnesi vai gadu, galvenajā logā parādīsies saraksts ar notikumiem. Dubultklikšķiniet uz notikuma, lai redzētu visas fotogrāfijas, kas tika uzņemtas ap to laiku.
+
+ Ja fotogrāfijā nav iekļauta informācija par datumu un laiku, Shotwell nevar automātiski to novietot kādā notikumā. Šādā gadījumā fotogrāfija parādīsies Nav notikuma sadaļā sānu joslā. Jūs vēl aizvien varat pārvietot šādu fotogrāfiju uz jebkuru notikumu tāpat kā pārējās fotogrāfijas.
+
+
+ Notikumu pārdēvēšana
+
+ Lai notikumam piešķirtu nosaukumu, nevis norādīt uz to pēc datuma, izvēlieties notikumu, spiediet Notikumi Pārdēvēt notikumu... un ievadiet jauno nosaukumu. Vēl notikumus var pārdēvēt, dubultklikšķinot uz to nosaukuma sānu joslā, ievadot jauno nosaukumu un spiežot Enter .
+
+
+
+ Fotogrāfiju pārvietošana starp notikumiem
+
+ Lai gan fotogrāfijas sākumā tiek grupētas notikumos pēc to datumiem, jūs varat pārvietot fotogrāfijas starp notikumiem. Lai to izdarītu, velciet jebkuru fotogrāfiju uz sānu joslu un nometiet to notikumā.
+
+
+
+ Notikumu izveidošana un apvienošana
+ Lai izveidotu jaunu notikumu, izvēlieties fotogrāfijas, ko redzēt jaunajā notikumā un spiediet Notikumi Jauni notikumi .
+ Lai apvienotu notikumus, izvēlieties Notikumi sānu joslā, tad, turot piespiestu Ctrl , spiediet uz notikumiem, kurus vēlaties apvienot galvenā loga laukumā. Visbeidzot, spiediet Notikumi Apvienot notikumus .
+
+
+
+ Notikumu kārtošana
+
+ Notikumi tiek attēloti sānu joslas kokā, organizēti pa notikumiem, pēc vecākās fotogrāfijas datuma un mēneša. Lai mainītu notikumu kārtošanas secību, spiediet Skats Kārtot notikumus un izvēlieties kārtot vai nu augoši, vai dilstoši.
+
+
+
+
+ Mainīt fotogrāfiju, kas reprezentē katru notikumu
+
+ Ja sānu joslā izvēlieties vienumu notikumi , redzēsiet vienu fotogrāfiju, kas reprezentē katru notikumu. To dēvē par atslēgas fotogrāfiju.
+
+ Pēc noklusējuma, Shotwell izmanto pirmo fotogrāfiju kā atslēgas fotogrāfiju. Lai izmantotu citu atslēgas fotogrāfiju, izvēlieties vēlamo fotogrāfiju uz spiediet Fotogrāfijas Izvēlēties kā atslēgas fotogrāfiju notikumam .
+
+
+
+
diff --git a/help/lv/organize-flag.page b/help/lv/organize-flag.page
new file mode 100644
index 0000000..29ef2fb
--- /dev/null
+++ b/help/lv/organize-flag.page
@@ -0,0 +1,24 @@
+
+
+
+
+
+ Atzīmēt fotogrāfijas, lai marķētu tās kā īpašas vai darbotos ar tām kā ar kopu.
+
+
+
+
+ Fotogrāfiju marķēšana
+
+ Shotwell jums ļauj marķēt fotogrāfijas. Kad fotogrāfija ir marķēta, tas augšējā labajā stūrī parādās maza karodziņa ikona. Jūs varat izvēlēties vienumu Ar karodziņu sānu joslā, lai redzētu visus marķētos vienumus.
+
+ Fotogrāfiju marķēšana atzīmē tās kā īpašas. Jūs to varat interpretēt kā vien vēlaties. Piemēram, varat ar karodziņu atzīmēt visas fotogrāfijas, kurām jāveic vizuāla pielabošanas, vai visas fotogrāfijas, ar kurām vēlaties dalīties ar draugu.
+
+ Marķēšana ir arī noderīga, jo varat darboties ar visām marķētajām fotogrāfijām kā ar vienu kopumu. Piemēram, varat izvēlēties Ar karodziņu skatu un augšupielādēt visas marķētās fotogrāfijas uz publicēšanas pakalpojumu.
+
+
+ Lai marķētu vai noņemtu marķējumu no fotogrāfijas
+ Lai marķētu vai noņemtu marķējumu no fotogrāfijas, spiediet peles labo pogu uz fotogrāfijas, izvēlieties Marķēt vai Noņemt marķējumu konteksta izvēlnē. Vai lietojat tastatūras saīsnes Ctrl G vai / .
+
+
+
diff --git a/help/lv/organize-rating.page b/help/lv/organize-rating.page
new file mode 100644
index 0000000..9b989f9
--- /dev/null
+++ b/help/lv/organize-rating.page
@@ -0,0 +1,27 @@
+
+
+
+
+
+ Vērtējiet fotogrāfijas skalā no 1 līdz 5 zvaigznes. Jūs varat noraidīt sliktās fotogrāfijas, slēpjot tās no skata.
+
+
+
+
+ Vērtējumi
+Jūs varat katrai fotogrāfijai piešķirt vērtējumu no 1 līdz 5 zvaigznēm, vai arī tās noraidīt, kas pēc noklusējuma šīs bildes paslēps.
+
+Jūs varat novērtēt fotogrāfiju vai to kopumu šādos veidos:
+
+
+Izvēlieties fotogrāfiju(-as), tad izvēlieties vērtējumu no izvēlnesFotogrāfijas Iestatīt vērtējumu .
+Spiediet labo peles pogu uz fotogrāfijas(-ām) un izvēlieties vērtējumu no “Iestatīt vērtējumu” konteksta izvēlnes.
+Izvēlieties fotogrāfiju(-as), tad spiediet kādu no saīsnes taustiņiem 1 , 2 , 3 , 4 vai 5 , lai piešķirtu vērtējumu. Vai spiediet 9 , lai atzīmētu fotogrāfiju kā noraidītu, vai 0 , lai noņemtu vērtējumu.
+
+
+Parasti Shotwell attēlo visas fotogrāfijas, izņemot noraidītās. Jūs varat iestatīt citu vērtējumu filtru, piemēram, izmantojot Skats Filtrēt attēlus izvēlni, jūs varat rādīt tikai attēlus ar vismaz 3 zvaigznēm vērtējumā, vai rādīt visas noraidītās fotogrāfijas. Shotwell ikona rīkjoslā attēlo aktuālo filtru un to var izmantot filtru iestatīšanai.
+
+Shotwell parasti attēlo katras fotogrāfijas vērtējumu tās apakšējā kreisajā stūrī. Jūs varat izslēgt vērtējumu attēlošanu, izmantojot Skats Vērtējumi izvēlni.
+
+Jūs varat palielināt vai samazināt fotogrāfijas vērtējumu, izmantojot komandas Iestatīt vērtējumu Palielināt un Iestatīt vērtējumu samazināt , vai ar tastatūras saīsnēm < un > .
+
diff --git a/help/lv/organize-remove.page b/help/lv/organize-remove.page
new file mode 100644
index 0000000..cba20d5
--- /dev/null
+++ b/help/lv/organize-remove.page
@@ -0,0 +1,42 @@
+
+
+
+
+
+ Izņemt fotogrāfijas no bibliotēkas vai pavisam izdzēst tās no datora.
+
+
+
+
+ Fotogrāfiju izņemšana un dzēšana
+
+ Jūs varat izņemt fotogrāfijas ārā no savas bibliotēkas un jūs varat tās pavisam izdzēst ārā no cietā diska.
+Dzēšanas process
+Šī diagramma rāda, kā dzēstā fotogrāfija vispirms tiek ievietota Shotwell miskastē. Ja izdzēsīsiet to ārā no Shotwell miskastes, tā tiks ievietota datora miskastē. Ja izdzēsīsiet to ārā no tās, fotogrāfija tiks neatgriezeniski izdzēsta no datora.
+
+ Fotogrāfiju izņemšana no bibliotēkas
+ Izvēlieties fotogrāfijas, kuras izņemt, izvēlieties Rediģēt Pārvietot uz miskasti . (Jūs varat arī spiest taustiņu Dzēst .) Fotogrāfijas tiks pārvietotas no jūsu bibliotēkas uz Shotwell's miskasti.
+ Ja vēlaties izņemt fotogrāfijas no Shotwell, neizmetot tās miskastē, izvēlieties izņemamās fotogrāfijas un izvēlieties Rediģēt Izņemt no bibliotēkas . Fotogrāfiju datnes paliks uz diska.
+
+
+
+ Miskastes mapes iztukšošana vai atjaunošana
+ Izvēlieties miskastes ierakstu sānu joslā un Shotwell parādīs visas fotogrāfijas, kas ir atzīmētas kā izņemamas vai dzēšamas. Miskastes skatā ir pieejamas šādas komandas:
+
+ Dzēst Dzēst izvēlētās fotogrāfijas no miskastes mapes.
+ Atjaunot Atjaunot izvēlētās fotogrāfijas uz Shotwell.
+ Iztukšot miskasti Dzēst visas fotogrāfijas no miskastes mapes.
+
+
+
+
+ Dzēšana vai miskastes iztukšošana
+ Kad dzēšat datnes no miskastes mapes, vai arī iztīrāt miskastes mapi, jums tiks dotas šādas izvēles:
+
+ Tikai izņemt Fotogrāfiju izņemšana no bibliotēkas, bet uz datora atstāt fotogrāfijas turpat, kur tās bija.
+ Izmest datni Izņemt fotogrāfijas no bibliotēkas un izdzēst tās no datora.
+ Atcelt Nedarīt neko.
+
+
+
+
diff --git a/help/lv/organize-search.page b/help/lv/organize-search.page
new file mode 100644
index 0000000..df525cf
--- /dev/null
+++ b/help/lv/organize-search.page
@@ -0,0 +1,33 @@
+
+
+
+
+
+ Savā kolekcijā meklēt fotogrāfijas un video pēc dažādiem kritērijiem.
+
+
+
+
+ Meklēšana
+
+ Shotwell var veikt divu veidu meklēšanu: ar filtru rīkjoslā un ar saglabātu meklēšanu. Meklēšanas josla jums ļauj ātri meklēt dotajā skatā pēc noteiktiem kritērijiem. Saglabātās meklēšanas sniedz kompleksākus meklēšanas kritērijus un paliek sānu joslā starp sesijām.
+
+
+ Meklēšanas josla
+ Skats Meklēšanas josla izvēles rūtiņa pārslēdz meklēšanas joslas attēlošanu. Jūs varat arī spiest Ctrl F vai F8 , lai parādītu meklēšanas joslu. Šajā joslā jūs varat meklēt, attēlot un slēpt fotogrāfijas un video pēc to nosaukumiem, tagiem, vērtējumiem un citām opcijām.
+
+ Lai sāktu meklēšanu, ievadiet meklēšanas atslēgvārdus teksta laukā, vai spiediet Ar karodziņu , Vērtējums vai Tips . Teksta meklēšana salīdzinās jūsu atslēgvārdus ar tagu nosaukumiem, fotogrāfiju vai video nosaukumiem un fotogrāfiju datņu nosaukumiem. Pogas Ar karodziņu , Vērtējums and Tips jums attiecīgi ļauj filtrēt savu kolekciju pēc to marķējuma, zvaigznēm vērtējumā un pēc tā, vai vienumā ir attēli, video vai kameras jēlās datnes.
+
+ Meklēšanas joslas izslēgšana un Shotwell aizvēršana automātiski atstata meklēšanas joslu.
+
+
+
+ Saglabātie meklējumi
+ Paplašinātā meklēšana saglabājas starp Shotwell sesijām un tiek atjaunināta, kad fotogrāfijas un video tiek pievienotas vai izņemtas no Shotwell bibliotēkas.
+
+ Izveido saglabāto meklēšanu ar Rediģēt Jauna saglabātā meklēšana... vai spiežot Ctrl S . Dialoglodziņš jums ļauj ievadīt meklējuma nosaukuu un izvēlēties, vai sekojošajās rindās jāizpildās Kādam, Visiem vai Nevienam kritērijam.
+
+ Katra rinda apzīmē meklēšanas kritēriju. Izmantojiet pogu + , lai pievienotu vairāk rindu, un pogu - , lai izņemtu attiecīgo rindu. Kombinētais lodziņš katras rindas kreisajā pusē izvēlas kritērija veidu. Kritērijam ir jābūt pareizi ievadītām, pirms kļūst pieejama poga Labi .
+
+
+
diff --git a/help/lv/organize-tag.page b/help/lv/organize-tag.page
new file mode 100644
index 0000000..6efee62
--- /dev/null
+++ b/help/lv/organize-tag.page
@@ -0,0 +1,50 @@
+
+
+
+
+
+ Organizēt fotogrāfijas, piešķirot tām etiķetes.
+
+
+
+
+
+
+ Fotogrāfiju tagošana
+
+ Jūs varat izvēlētajām fotogrāfijām piešķirt vienu vai vairākus tagus. Tags var būt viens vai vairāki vārdi, kurus varat saistīt ar šīm fotogrāfijām.
+
+ Lai pievienotu jaunu tagu fotogrāfijām, izvēlieties attiecīgās fotogrāfijas un veiciet vienu no šīm darbībām:
+
+
+ Izvēlieties Tagi Pievienot tagus... .
+ Spiediet Ctrl T .
+ Velciet un nometiet izvēlētās fotogrāfijas uz vēlamā taga.
+
+
+
+ When you use Ctrl T or
+ Tags Add Tags... 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
+ Tags Rename Tag "[name]"... ,
+ by rightclicking on it and choose Rename... or
+ double-click on the tag in the sidebar.
+
+
+ Lai mainītu, kuri tagi ir saistīti ar kurām fotogrāfijām, izvēlieties attiecīgo fotogrāfiju , izvēlieties Tagi Modificēt tagus... vai spiediet labo peles pogu uz fotogrāfijas un izvēlieties Modificēt tagus... un rediģējiet ar komatiem atdalīto sarakstu. Lai izņemtu tagu no vienas vai vairākām fotogrāfijām, vispirms izvēlieties attiecīgo tagu sānu joslā, tad izvēlieties fotogrāfijas, ko vēlaties izņemt un izvēlieties Tagi Izņemt tagu "[nosaukums]" no fotogrāfijām vai spiediet labo peles pogu uz fotogrāfijām un izvēlieties Izņemt tagu "[nosaukums]" no fotogrāfijām .
+
+ Lai pavisam izdzēstu tagu, izvēlieties to tagu sānu joslā un izvēlieties Tagi Dzēst tagu "[nosaukums]" vai spiediet labo peles pogu un izvēlieties Dzēst tagu "[nosaukums]" .
+
+ Izveidojot tagu, tas parādīsies sānu joslā sadaļā Tagi , kas ir slēpts, ja nav neviena taga. Fotogrāfijām var būt piesaistīti vairāki tagi. Sānu joslā, uzspiežot uz taga, redzēsiet visas fotogrāfijas, kurām ir šis tags.
+
+
+
diff --git a/help/lv/organize-title.page b/help/lv/organize-title.page
new file mode 100644
index 0000000..42aa752
--- /dev/null
+++ b/help/lv/organize-title.page
@@ -0,0 +1,17 @@
+
+
+
+
+
+ Dodiet nosaukumus savām fotogrāfijām.
+
+
+
+
+ Nosaukumi
+
+Skats Nosaukumi izvēles rūtiņa pārslēdz nosaukumu rādīšanu zem katras fotogrāfijas. Pēc noklusējuma, fotogrāfijas nosaukums ir tās datnes nosaukums.
+
+Lai mainītu fotogrāfijas nosaukumu, izvēlieties fotogrāfiju un spiediet Fotogrāfijas Rediģēt nosaukumu... , vai spiediet F2 .
+
+
diff --git a/help/lv/other-files.page b/help/lv/other-files.page
new file mode 100644
index 0000000..f3d4383
--- /dev/null
+++ b/help/lv/other-files.page
@@ -0,0 +1,100 @@
+
+
+
+
+
+ Saglabāt Shotwell bibliotēku sinhronu ar datnēm diskā.
+
+
+
+
+ Fotogrāfiju datnes
+
+ Katra fotogrāfija Shotwell bibliotēkā atbilst datnei jūsu cietajā diskā. Shotwell ir vairākas iespējas, kas palīdz saglabāt sinhroni Shotwell bibliotēku un datnes diskā.
+
+
+
+ Pielāgota direktoriju šablona izmantošana
+ Shotwell jums ļauj norādīt, kā saglabāt direktorijas jūsu bibliotēkā. Jūs to varat izdarīt, mainot iestatījumus Direktoriju struktūra un Šablons dialoglodziņā Iestatījumi . Jūs varat izmantot iepriekš izveidotus šablonus vai izvēlēties Pielāgots un ievadīt paši savu.
+
+ Pieejamie simboli direktoriju šablonam sākas ar % (procentu zīme). Vērtības, ko šie simboli veido, ir atkarīgi no lokalizācijas, tāpēc iegūtie rezultāti uz jūsu datoriem var atšķirties no piemēriem zemāk.
+
+
+
+
+
Simbols
Nozīme
Piemērs
+
+
+
+
+
%Y
Gads: pilns
2011
+
+
+
%y
Gads: divi cipari
11
+
+
+
%d
Mēneša diena, vienmēr divi cipari
03
+
+
+
%A
Dienas nosaukums: pilns
Trešdiena
+
+
+
%a
Dienas nosaukums: saīsināts
Tr
+
+
+
%m
Mēneša numurs, vienmēr divi cipari
02
+
+
%b
Mēneša nosaukums: saīsināts
Feb
%B
Mēneša nosaukums: pilns
Februāris
%I
Stunda: 12 stundu formāts
05
%H
Stunda: 24 stundu formāts
17
%M
Minūte
16
%S
Sekunde
30
%p
AM vai PM
PM
+
+
+
+ Ir pieejami vēl vairāki simboli; skatiet strftime rokasgrāmatu, izpildot komandu man strftime , ja ir vajadzīgs simbols, kas nav šeit sarakstā.
+
+
+
+ Automātiskā fotogrāfiju importēšana
+
+ Shotwell var automātiski importēt jaunās fotogrāfijas, kas parādās bibliotēkas direktorijā. Bibliotēkas direktorija parasti ir Attēli direktorija mājas mapē; jūs varat mainīt tās atrašanās vietu logā Iestatījumi .
+
+ Lai ieslēgtu automātisko importēšanu, ieķeksējiet lodziņu Sekot līdzi jaunām datnēm manā bibliotēkā logā Iestatījumi .
+
+ Shotwell var arī sekot simboliskajām saitēm automātiski importētajās direktorijās.
+
+
+
+
+ Automātiskā importēto fotogrāfiju pārdēvēšana uz mazo burtu reģistru
+
+ Shotwell var automātiski mainīt importēto fotogrāfiju datņu nosaukumus uz mazo burtu reģistru. Lai to ieslēgtu, izvēlieties Rediģēt Iestatījumi , logā Iestatījumi izvēlieties kasti Pārdēvēt importētās datnes uz mazajiem burtiem .
+
+
+
+
+
+
+ Izpildlaika pārraudzīšana
+
+ Kamēr Shotwell ir palaists, tas pamana izmaiņas, kas no ārpuses notiek ar fotogrāfijām. Kad fotogrāfijas datnes mainās, Shotwell pārlasa datni un atjaunina jūsu fotogrāfijas skatu un metadatus.
+
+ Ņemiet vērā, ka palaižoties Shotwell visās fotogrāfiju datnēs pārbauda, vai ir izmaiņas, bet pēc palaišanās tikai bibliotēkas direktorijas mape tiek uzraudzīta reālā laikā. Mēs ceram nākošajos laidienos šo ierobežojumu noņemt.
+
+
+
+
diff --git a/help/lv/other-missing.page b/help/lv/other-missing.page
new file mode 100644
index 0000000..1a78703
--- /dev/null
+++ b/help/lv/other-missing.page
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Ja Shotwell nevar atrast fotogrāfiju bibliotēkā, tā tiek atzīmēta kā trūkstoša.
+
+
+
+
+ Trūkstošās fotogrāfijas
+
+Katru reizi, kad Shotwell tiek palaists, tas skenē jūsu fotogrāfiju bibliotēku, lai pārliecinātos, ka fotogrāfijas vēl aizvien atrodas uz cietā diska. Ja Shotwell konstatē, ka kāda fotogrāfija trūkst, tā nebūs redzama parasto fotogrāfiju, notikumu un tagu skatos, bet tiks parādīta atsevišķā “Iztrūkstošās datnes” skatā, kas parādīsies sānu joslā.
+
+Ja vairs nevēlaties redzēt trūkstošās fotogrāfijas savā Shotwell kolekcijā (iespējams, tāpēc, ka esat tās izdzēsis), ejiet uz skatu “Iztrūkstošās datnes”, izvēlieties fotogrāfijas un spiediet Izņemt no bibliotēkas .
+
+Ja jūsu fotogrāfijas ir uz noņemamiem datu nesējiem, piemēram, CD vai USB zibatmiņām, un esat tās importējis Shotwell tās nekopējot uz savu datoru, tās parādīsies kā trūkstošas datnes, ja atvienojāt noņemamo disku. Skatiet , lai uzzinātu, kā kopēt datnes no noņemamiem diskiem uz savu datoru.
+
+Ja kāda no trūkstošajām fotogrāfijām atkal kļūs pieejama, Shotwell to pamanīs nākamajā startēšanās reizē. Šīs fotogrāfijas atkal parādīsies fotogrāfiju, notikumu un tagu skatos.
+
+
diff --git a/help/lv/other-multiple.page b/help/lv/other-multiple.page
new file mode 100644
index 0000000..57ac5a1
--- /dev/null
+++ b/help/lv/other-multiple.page
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Jūs varat atvērt Shotwell ar citu fotogrāfiju bibliotēku, izmantojot komandrindu.
+
+
+
+
+ Vairākas bibliotēkas
+
+Shotwell parasti saglabā savu datubāzi un fotogrāfiju sīktēlus direktorijā ~/.shotwell . Šajā direktorijā nav fotogrāfiju, bet tajā esošā datubāze satur sarakstu ar visām fotogrāfijām Shotwell bibliotēkā.
+
+Šī iespēja ir domāta lietpratējiem — ir iespējams uzturēt vairākas Shotwell bibliotēkas, kur katrai no tām ir sava fotogrāfiju kopa. Katrai bibliotēkai ir vajadzīga sava datubāzes direktorija. Lai palaistu Shotwell ar citu bibliotēku, norādiet tās datubāzes direktoriju komandrindā šādi:
+
+
+shotwell -d [bibliotēkas-direktorija]
+
+
+
diff --git a/help/lv/other-plugins.page b/help/lv/other-plugins.page
new file mode 100644
index 0000000..0f10ab3
--- /dev/null
+++ b/help/lv/other-plugins.page
@@ -0,0 +1,18 @@
+
+
+
+
+
+ Dinamiski izvērst Shotwell funkcionalitāti.
+
+
+
+
+ Spraudņi
+ Shotwell var lietot ar spraudņiem , kas ir koplietotās bibliotēkas, kas var pievienot atbalstu jauniem publicēšanas mērķiem vai jaunām slaidrādes pārejām.
+
+ Lai redzētu instalēto spraudņu sarakstu, izvēlieties Rediģēt Iestatījumi , un logā Iestatījumi spiediet uz cilni Spraudņi . Tur būs redzami pašlaik instalētie spraudņi un tiem blakus izvēles rūtiņu. Jūs varat ieslēgt vai izslēgt katru no tiem, ieķeksējot vai noņemot ķeksi no attiecīgās izvēles rūtiņas.
+
+ Pilna informācija par to, kā izstrādāt spraudņus, ir pieejama http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins
+
+
diff --git a/help/lv/raw.page b/help/lv/raw.page
new file mode 100644
index 0000000..fc434a8
--- /dev/null
+++ b/help/lv/raw.page
@@ -0,0 +1,24 @@
+
+
+
+
+
+ Vairāk par RAW atbalstu Shotwell lietotnē.
+
+
+
+
+ RAW atbalsts Shotwell lietotnē
+ Dažas kameras var datus no sensora saglabāt pa tiešo datnē, kas satur papildu krāsu informāciju; tos parasti dēvē par “RAW” (jēlie) vai “kameras RAW”, un Shotwell atbalsta arī šīs datnes.
+
+ Tā kā RAW fotogrāfijas nevar attēlot tiešā veidā, tās vispirms ir jāattīsta — tas ir, tās papildu informācija ir jālasa un jāinterpretē attēlošanai. Vairums kameru vai nu ieguls JPEG iekšā RAW datnē, vai izveidos gan RAW, gan JPEG datnes vienam un tam pašam kadram. Otrais risinājums šajā dokumentā tiks apzīmēts kā RAW+ JPEG. Ja importēsiet RAW+JPEG pāri, Shotwell tos paturēs sapārotus un bibliotēkā tie parādīsies kā viens vienums.
+
+ Importējot RAW datni, jūs varat izvēlēties vai nu izmantot kameras iekšēji attīstīto JPEG vai Shotwell attīstīto, izvēlnēs izvēloties Fotogrāfijas Attīstītājs .
+
+
+ Attīstītāju mainīšana var atcelt visas fotogrāfijās veiktās izmaiņas.
+
+
+ Lai publicētu vai lietotu RAW fotogrāfijas vairumā lietotņu, tās vispirms ir jāeksportē. Shotwell var eksportēt RAW fotogrāfijas JPEG, PNG, TIFF un BMP formātos. Publicējot tās tiks eksportētas JPEG formātā.
+
+
diff --git a/help/lv/running.page b/help/lv/running.page
new file mode 100644
index 0000000..3f52af3
--- /dev/null
+++ b/help/lv/running.page
@@ -0,0 +1,23 @@
+
+
+
+
+
+ Atrodiet Shotwell lietotņu izvēlnē, vai arī palaidiet to, pievienojot kameru.
+
+
+
+
+
+
+ Shotwell darbināšana
+
+Kad Shotwell ir uzinstalēts, tas ir pieejams izvēlnē Lietotnes zem Grafika vai Fotogrāfija .
+
+Shotwell var tikt palaist automātiski, kad kamera ir pievienota datoram. Lai pārbaudītu, vai sistēma palaidīs Shotwell, kad ir atklāta kamera, ejiet uz Rediģēt Iestatījumi jebkurā Nautilus (datņu pārlūka) logā un izvēlieties cilni Datu nesēji . Tur būs redzams izkrītošais saraksts ar nosaukumu Fotogrāfijas: , kas ļauj izvēlēties Shotwell kā lietotni, kas apstrādā fotogrāfijas.
+
+
+ Shotwell var arī palaist no tās būvēšanas direktorijas, lai gan to iesaka darīt tikai Shotwell testēšanai vai izstrādāšanai.
+
+
+
diff --git a/help/lv/share-background.page b/help/lv/share-background.page
new file mode 100644
index 0000000..c5ac640
--- /dev/null
+++ b/help/lv/share-background.page
@@ -0,0 +1,17 @@
+
+
+
+
+
+ Iestatīt darbvirsmas fonā fotogrāfiju vai fotogrāfiju slaidrādi.
+
+
+
+
+ Iestatīt darbvirsmas fonu vai slaidrādi
+
+ Lai iestatītu vienu fotogrāfiju kā fona attēlu, izvēlieties fotogrāfiju un izvēlieties Datne Iestatīt kā darbvirsmas fonu .
+
+ Jūs varat arī iestatīt fonu kā fotogrāfiju slaidrādi. Lai to izdarītu, izvēlieties fotogrāfijas slaidrādei un izvēlieties Datne Iestatīt kā darbvirsmas slaidrādi... . Shotwell vaicās, cik ilgai ir jābūt slaidrādes aizturei, kas var būt līdz vienai dienai. Fona slaidrāde strādās arī tad, kad Shotwell nav palaists.
+
+
diff --git a/help/lv/share-export.page b/help/lv/share-export.page
new file mode 100644
index 0000000..139a0a7
--- /dev/null
+++ b/help/lv/share-export.page
@@ -0,0 +1,32 @@
+
+
+
+
+
+ Kopēt fotogrāfijas ārā no Shotwell, lai tās varētu novietot kur citur.
+
+
+
+
+ Fotogrāfiju eksportēšana
+
+Lai eksportētu fotogrāfijas no Shotwell ar vilkšanas-nomešanas metodi, velciet fotogrāfijas no Shotwell uz datņu pārvaldnieka logu savā darbvirsmā. Jaunās datnes būs pilna izmēra kopijas fotogrāfijām bibliotēkā.
+
+Varat arī izvēlēties noteiktas fotogrāfijas un izvēlēties Datne Eksportēt... komandu vai spiest Shift Ctrl E , kas eksportē fotogrāfijas, ļaujot precizēt foto datņu izmērus un dimensijas. Parādīsies logs, kas ļauj veikt vairākas izvēles:
+
+
+Formāts, uz kuru eksportēt.
+
+Izvēlieties Nemainīts , lai eksportētu fotogrāfijas to sākotnējā formātā, bez izmaiņām, kas veiktas ar Shotwell. RAW fotogrāfijas tiks eksportētas RAW formātā.
+Izvēlieties Pašreizējais lai eksportētu fotogrāfijas ar izmaiņām, kas veiktas Shotwell. RAW fotogrāfijas tiks eksportētas JPEG formātā, ja esat tās rediģējuši ar Shotwell, citādi tās paliks sākotnējā RAW formātā.
+Jūs varat izvēlēties noteiktu attēlu formātu (JPEG, PNG, TIFF, BMP), ko izmantot eksportēšanā. Tiks iekļautas visas izmaiņas, kas ir veiktas ar Shotwell un fotogrāfijas tiks konvertētas uz mērķa formātu.
+
+
+Attēlu kvalitāte eksportējot (zema, vidēja, augsta vai maksimāla).
+Mēroga ierobežojums (kas norāda, kā Shotwell izlems samazināt fotogrāfijas) un vēlamais pikseļu izmērs.
+Opcija, vai vēlaties eksportēt metadatus, piemēram, tagus un vērtējumus. Tas var palīdzēt saglabāt privātumu, ja jums ir ģeolokācijas tagi vai tādi tagi, ko citiem nevajadzētu redzēt.
+
+
+Ja ir izvēlēts, Shotwell ierakstīs tagus, nosaukumus un citus metadatus jaunajās datnēs.
+
+
diff --git a/help/lv/share-print.page b/help/lv/share-print.page
new file mode 100644
index 0000000..bae8538
--- /dev/null
+++ b/help/lv/share-print.page
@@ -0,0 +1,18 @@
+
+
+
+
+
+ Spiediet Datne Drukāt... . Lai piekļūtu papildu drukāšanas opcijām, dialoglodziņā Drukāt izvēlieties cilni Lappuses iestatīšana .
+
+
+
+
+ Drukāšana
+
+ Lai izdrukātu fotogrāfiju, atlasiet to un izvēlieties Datne Drukāt... .
+
+ Shotwell var arī izdrukāt vairākus attēlus vienā lappusē. Lai to izdarītu, izvēlieties vairākus attēlus, izvēlieties Datne Drukāt... , un dialoglodziņā Drukāt izvēlieties Attēla iestatījumi cilni. Šajā cilnē sadaļā Automātiskais izmērs izvēlieties kādu no vairāku attēlu izkārtošanas opcijām.
+
+ Ja vēlaties iestatīt formatējumu, papīra izmēru un orientācijas opcijas, pirms drukāšanas dialoglodziņā Drukāt izvēlieties cilniLappuses iestatīšana .
+
diff --git a/help/lv/share-send.page b/help/lv/share-send.page
new file mode 100644
index 0000000..828e41e
--- /dev/null
+++ b/help/lv/share-send.page
@@ -0,0 +1,16 @@
+
+
+
+
+
+ Sūtīt fotogrāfijas pa e-pastu, tūlītējo ziņojumapmaiņu vai citos veidos.
+
+
+
+
+ Fotogrāfiju sūtīšana
+
+ Shotwell var sūtīt fotogrāfijas, izmantojot GNOME darbvirsmas “Sūtīt uz” mehānismu, kas jums ļauj sūtīt fotogrāfijas caur e-pastu, tūlītējo ziņojumapmaiņu un citos veidos.
+ Lai sūtītu fotogrāfijas, atlasiet tās Shotwell lietotnē un izvēlieties Datne Sūtīt uz... , vai spiediet labo peles klikšķi uz fotogrāfijām un izvēlieties Sūtīt uz... konteksta izvēlnē. Parādīsies dialoglodziņš Sūtīt uz , kas ļauj izvēlēties datņu sūtīšanas mehānismu (piemēram, e-pasts vai tūlītējā ziņojumapmaiņa) un gala mērķi. Jūs varat arī izvēlēties sūtīt datnes saspiestā formātā.
+
+
diff --git a/help/lv/share-slideshow.page b/help/lv/share-slideshow.page
new file mode 100644
index 0000000..ba3a4ce
--- /dev/null
+++ b/help/lv/share-slideshow.page
@@ -0,0 +1,22 @@
+
+
+
+
+
+ Skatieties savu fotogrāfiju slaidrādi.
+
+
+
+
+ Slaidrādes
+
+ Lai Shotwell lietotnē redzētu kādas kolekcijas slaidrādi, ejiet uz kolekciju un izvēlieties Skats Slaidrāde vai spiediet F5 .
+
+ Aktīvā slaidrādē varat mainīt dažus iestatījumus:
+
+
+ Laiku, cik ilgi būs redzams attēls: 1–30 sekundes
+ Varat izvēlēties dažādus pārejas efektus.
+ Laiks katram pārejas efektam: 0,1–1,0 sekundes
+
+
diff --git a/help/lv/share-upload.page b/help/lv/share-upload.page
new file mode 100644
index 0000000..d3977ad
--- /dev/null
+++ b/help/lv/share-upload.page
@@ -0,0 +1,32 @@
+
+
+
+
+
+ Publicēt fotogrāfijas Facebook, Flickr, Picasa Web Albums un citās vietnēs.
+
+
+
+
+ Publicēšana tīmeklī
+
+ Izmantojot spraudņus, Shotwell var publicēt fotogrāfijas un video uz sekojošajiem pakalpojumiem, kur katram ir nepieciešams konts:
+
+
+ Facebook
+ Flickr
+ Picasa Web Albums un Google+
+ YouTube (tikai video)
+ Yandex.Fotki, Krievijā populāra fotogrāfiju vietne (tikai fotogrāfijas)
+ Jebkura vietne, kas izmanto Piwigo fotogrāfiju galerijas programmatūru (tikai fotogrāfijas)
+
+
+ Lai publicētu kolekcijā izvēlētās fotogrāfijas, izvēlieties Rediģēt Iestatījumi un spiediet cilni Spraudņi , lai ieslēgtu tā pakalpojuma spraudni, kurā publicēt. Pēc tam izvēlieties Datne Publicēt , spiediet rīkjoslas pogu Publicēt vai izmantojiet Ctrl P . Parādīsies dialoglodziņš, kas ļauj izvēlēties publicēšanas pakalpojumu. Pēc tam jums vajadzēs ierakstīties vai izveidot kontu.
+
+ Lai publicētu Facebook vietnē Shotwell Facebook lietotnei vajag īpašas atļaujas. Šīs atļaujas ir jādod tikai vienreiz, kad asociējat Shotwell ar savu Facebook kontu.
+ Jūs varēsiet publicēt attēlus ar tām tiesībām, kādas sniedzāt Shotwell Facebook lietotnei
+
+ Līdzīgi, publicēšanai Flickr vietnē vajag ierakstīties un ļaut Shotwell savienojumiem piekļūt jūsu kontam.
+
+ Ja jums ir Google konts, bet vēl neesat izmantojis Picasa Web Albums, jums vienreiz jāierakstās Picasa, izmantojot pārlūku, pirms varēsiet publicēt šajā pakalpojumā.
+
diff --git a/help/lv/view-displaying.page b/help/lv/view-displaying.page
new file mode 100644
index 0000000..b64f52b
--- /dev/null
+++ b/help/lv/view-displaying.page
@@ -0,0 +1,26 @@
+
+
+
+
+
+ Uzziniet par dažādiem veidiem, kā skatīt fotogrāfijas — režģī, aizpildot galveno logu vai aizpildot visu ekrānu.
+
+
+
+
+ Fotogrāfiju skati
+
+Izvēloties kādu kolekciju sānu joslā, Shotwell attēlos visas šīs kolekcijas fotogrāfijas galvenajā loga daļā. Loga apakšējā labajā pusē ri slīdnis, ar ko var pielāgot sīktēlu izmēru. Varat sīktēlu izmēru pielāgot arī ar pluss un mīnuss taustiņiem (+ un - ) vai spiežot Ctrl un kustinot peles riteni.
+
+Jūs varat arī skatīt fotogrāfijas pilnekrāna režīmā, uz tām dubultklikšķinot. Šajā režīmā jūs varat pāriet starp fotogrāfijām, izmantojot bultiņu pogas. Lai atgrieztos kolekcijā, dubultklikšķiniet uz fotogrāfijas vai spiediet Esc .
+
+Kad attēls tiek skatīts pilnekrāna režīmā, rīkjoslā esošais slīdnis nosaka tuvinājumu. Jūs varat panoramēt, sagrābjot un velkot jebkuru vietu fotogrāfijā. Jūs varat arī mainīt mērogu, izmantojot peles riteni vai spiežot šīs saīsnes: Ctrl 0 lai redzētu pilnekrānā, Ctrl 1 100% tuvinājumam (1 fotogrāfijas pikselis = 1 ekrāna pikseli), un Ctrl 2 200% tuvinājumam (1 fotogrāfijas pikselis = 2x2 ekrāna pikseļiem).
+
+Shotwell piedāvā iespēju attēlot fotogrāfijas pilnekrāna režīmā. Izvēlieties Skats Pilnekrāns vai spiediet F11 . Lai redzētu pilnekrāna rīkjoslu, novietojiet peli ekrāna apakšpusē. Rīkjosla piedāvā pogas, ar kurām var pārvietoties pa kolekciju, nofiksēt rīkjoslu (lai tā nepazūd, kad pārvietojat peli kur citur), un pamest pilnekrāna skatu.
+
+
+Video atskaņošana
+Dubultklikšķinot uz video, Shotwell palaidīs ārējo video atskaņotāju, lai atskaņotu video. Pašlaik nevar attēlot video Shotwell pilnekrāna režīmā, vai atskaņot video pašā Shotwell.
+
+
+
diff --git a/help/lv/view-information.page b/help/lv/view-information.page
new file mode 100644
index 0000000..ff77208
--- /dev/null
+++ b/help/lv/view-information.page
@@ -0,0 +1,17 @@
+
+
+
+
+
+ Skatīt sīkāku informāciju par fotogrāfijām, piemēram, kameras ekspozīcijas režīmu.
+
+
+
+
+ Pamata un paplašinātā informācija
+
+Pamatinformācijas rūts parādās sānu joslas apakšpusē un attēlo īsu kopsavilkumu par izvēlētajām fotogrāfijām. Ja nav izvēlētu fotogrāfiju, tas attēlo visas kolekcijas kopsavilkumu. Jūs varat pārslēgt šīs rūts attēlošanu, izmantojot komandu Skats Pamatinformācija
+
+Peldošais paplašinātās informācijas logs attēlo vairāk informācijas par izvēlēto fotogrāfiju. Skats Paplašināta informācija komanda vai Ctrl Shift X pārslēdz šī loga attēlošanu.
+
+
diff --git a/help/lv/view-sidebar.page b/help/lv/view-sidebar.page
new file mode 100644
index 0000000..53dbdc5
--- /dev/null
+++ b/help/lv/view-sidebar.page
@@ -0,0 +1,34 @@
+
+
diff --git a/plugins/common/BuilderPane.c b/plugins/common/BuilderPane.c
new file mode 100644
index 0000000..a278bed
--- /dev/null
+++ b/plugins/common/BuilderPane.c
@@ -0,0 +1,632 @@
+/* BuilderPane.c generated by valac 0.34.2, the Vala compiler
+ * generated from BuilderPane.vala, do not modify */
+
+/* Copyright 2016 Jens Georg
+ *
+ * This software is licensed under the GNU LGPL (version 2.1 or later).
+ * See the COPYING file in this distribution.
+ */
+
+#include
+#include
+#include "shotwell-plugin-dev-1.0.h"
+#include
+#include
+#include
+
+
+#define SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE (shotwell_plugins_common_builder_pane_get_type ())
+#define SHOTWELL_PLUGINS_COMMON_BUILDER_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane))
+#define SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPaneClass))
+#define SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE))
+#define SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE))
+#define SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPaneClass))
+
+typedef struct _ShotwellPluginsCommonBuilderPane ShotwellPluginsCommonBuilderPane;
+typedef struct _ShotwellPluginsCommonBuilderPaneClass ShotwellPluginsCommonBuilderPaneClass;
+typedef struct _ShotwellPluginsCommonBuilderPanePrivate ShotwellPluginsCommonBuilderPanePrivate;
+#define _g_free0(var) (var = (g_free (var), NULL))
+#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
+
+struct _ShotwellPluginsCommonBuilderPane {
+ GObject parent_instance;
+ ShotwellPluginsCommonBuilderPanePrivate * priv;
+};
+
+struct _ShotwellPluginsCommonBuilderPaneClass {
+ GObjectClass parent_class;
+ GtkWidget* (*get_default_widget) (ShotwellPluginsCommonBuilderPane* self);
+ void (*on_pane_installed) (ShotwellPluginsCommonBuilderPane* self);
+ void (*on_pane_uninstalled) (ShotwellPluginsCommonBuilderPane* self);
+};
+
+struct _ShotwellPluginsCommonBuilderPanePrivate {
+ SpitPublishingDialogPaneGeometryOptions _preferred_geometry;
+ gchar* _resource_path;
+ gboolean _connect_signals;
+ gchar* _default_id;
+ GtkBuilder* builder;
+ GtkWidget* content;
+};
+
+
+static gpointer shotwell_plugins_common_builder_pane_parent_class = NULL;
+static SpitPublishingDialogPaneIface* shotwell_plugins_common_builder_pane_spit_publishing_dialog_pane_parent_iface = NULL;
+
+GType shotwell_plugins_common_builder_pane_get_type (void) G_GNUC_CONST;
+#define SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPanePrivate))
+enum {
+ SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_DUMMY_PROPERTY,
+ SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_PREFERRED_GEOMETRY,
+ SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_RESOURCE_PATH,
+ SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_CONNECT_SIGNALS,
+ SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_DEFAULT_ID
+};
+static void shotwell_plugins_common_builder_pane_real_constructed (GObject* base);
+gchar* shotwell_plugins_common_builder_pane_get_resource_path (ShotwellPluginsCommonBuilderPane* self);
+gboolean shotwell_plugins_common_builder_pane_get_connect_signals (ShotwellPluginsCommonBuilderPane* self);
+static SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_builder_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base);
+SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_builder_pane_get_preferred_geometry (ShotwellPluginsCommonBuilderPane* self);
+static GtkWidget* shotwell_plugins_common_builder_pane_real_get_widget (SpitPublishingDialogPane* base);
+GtkBuilder* shotwell_plugins_common_builder_pane_get_builder (ShotwellPluginsCommonBuilderPane* self);
+GtkWidget* shotwell_plugins_common_builder_pane_get_default_widget (ShotwellPluginsCommonBuilderPane* self);
+static GtkWidget* shotwell_plugins_common_builder_pane_real_get_default_widget (ShotwellPluginsCommonBuilderPane* self);
+gchar* shotwell_plugins_common_builder_pane_get_default_id (ShotwellPluginsCommonBuilderPane* self);
+void shotwell_plugins_common_builder_pane_on_pane_installed (ShotwellPluginsCommonBuilderPane* self);
+static void shotwell_plugins_common_builder_pane_real_on_pane_installed (ShotwellPluginsCommonBuilderPane* self);
+void shotwell_plugins_common_builder_pane_on_pane_uninstalled (ShotwellPluginsCommonBuilderPane* self);
+static void shotwell_plugins_common_builder_pane_real_on_pane_uninstalled (ShotwellPluginsCommonBuilderPane* self);
+ShotwellPluginsCommonBuilderPane* shotwell_plugins_common_builder_pane_construct (GType object_type);
+static void shotwell_plugins_common_builder_pane_set_preferred_geometry (ShotwellPluginsCommonBuilderPane* self, SpitPublishingDialogPaneGeometryOptions value);
+static void shotwell_plugins_common_builder_pane_set_resource_path (ShotwellPluginsCommonBuilderPane* self, const gchar* value);
+static void shotwell_plugins_common_builder_pane_set_connect_signals (ShotwellPluginsCommonBuilderPane* self, gboolean value);
+static void shotwell_plugins_common_builder_pane_set_default_id (ShotwellPluginsCommonBuilderPane* self, const gchar* value);
+static void shotwell_plugins_common_builder_pane_finalize (GObject* obj);
+static void _vala_shotwell_plugins_common_builder_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
+static void _vala_shotwell_plugins_common_builder_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
+
+
+static gpointer _g_object_ref0 (gpointer self) {
+#line 32 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return self ? g_object_ref (self) : NULL;
+#line 93 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_real_constructed (GObject* base) {
+ ShotwellPluginsCommonBuilderPane * self;
+ gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+ gchar* _tmp2_ = NULL;
+ gchar* _tmp3_ = NULL;
+ gchar* _tmp4_ = NULL;
+ gchar* _tmp5_ = NULL;
+ GtkBuilder* _tmp6_ = NULL;
+ gboolean _tmp7_ = FALSE;
+ GtkBuilder* _tmp9_ = NULL;
+ GObject* _tmp10_ = NULL;
+ GtkWidget* _tmp11_ = NULL;
+ GtkWidget* _tmp12_ = NULL;
+ GtkContainer* _tmp13_ = NULL;
+ GtkContainer* _tmp14_ = NULL;
+#line 22 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane);
+#line 23 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ G_OBJECT_CLASS (shotwell_plugins_common_builder_pane_parent_class)->constructed (G_TYPE_CHECK_INSTANCE_CAST (self, G_TYPE_OBJECT, GObject));
+#line 25 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = shotwell_plugins_common_builder_pane_get_resource_path (self);
+#line 25 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp1_ = _tmp0_;
+#line 25 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp2_ = _tmp1_;
+#line 25 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_debug ("BuilderPane.vala:25: Adding new builder from path %s", _tmp2_);
+#line 25 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_free0 (_tmp2_);
+#line 27 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp3_ = shotwell_plugins_common_builder_pane_get_resource_path (self);
+#line 27 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp4_ = _tmp3_;
+#line 27 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp5_ = _tmp4_;
+#line 27 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp6_ = gtk_builder_new_from_resource (_tmp5_);
+#line 27 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_object_unref0 (self->priv->builder);
+#line 27 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv->builder = _tmp6_;
+#line 27 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_free0 (_tmp5_);
+#line 28 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp7_ = self->priv->_connect_signals;
+#line 28 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ if (_tmp7_) {
+#line 145 "BuilderPane.c"
+ GtkBuilder* _tmp8_ = NULL;
+#line 29 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp8_ = self->priv->builder;
+#line 29 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ gtk_builder_connect_signals (_tmp8_, NULL);
+#line 151 "BuilderPane.c"
+ }
+#line 32 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp9_ = self->priv->builder;
+#line 32 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp10_ = gtk_builder_get_object (_tmp9_, "content");
+#line 32 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp10_) : NULL);
+#line 32 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_object_unref0 (self->priv->content);
+#line 32 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv->content = _tmp11_;
+#line 35 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp12_ = self->priv->content;
+#line 35 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp13_ = gtk_widget_get_parent (_tmp12_);
+#line 35 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp14_ = _tmp13_;
+#line 35 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ if (_tmp14_ != NULL) {
+#line 171 "BuilderPane.c"
+ GtkWidget* _tmp15_ = NULL;
+ GtkContainer* _tmp16_ = NULL;
+ GtkContainer* _tmp17_ = NULL;
+ GtkWidget* _tmp18_ = NULL;
+#line 36 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp15_ = self->priv->content;
+#line 36 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp16_ = gtk_widget_get_parent (_tmp15_);
+#line 36 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp17_ = _tmp16_;
+#line 36 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp18_ = self->priv->content;
+#line 36 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ gtk_container_remove (_tmp17_, _tmp18_);
+#line 186 "BuilderPane.c"
+ }
+}
+
+
+static SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_builder_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) {
+ ShotwellPluginsCommonBuilderPane * self;
+ SpitPublishingDialogPaneGeometryOptions result = 0;
+ SpitPublishingDialogPaneGeometryOptions _tmp0_ = 0;
+#line 40 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane);
+#line 41 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = self->priv->_preferred_geometry;
+#line 41 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ result = _tmp0_;
+#line 41 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return result;
+#line 203 "BuilderPane.c"
+}
+
+
+static GtkWidget* shotwell_plugins_common_builder_pane_real_get_widget (SpitPublishingDialogPane* base) {
+ ShotwellPluginsCommonBuilderPane * self;
+ GtkWidget* result = NULL;
+ GtkWidget* _tmp0_ = NULL;
+ GtkWidget* _tmp1_ = NULL;
+#line 44 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane);
+#line 45 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = self->priv->content;
+#line 45 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp1_ = _g_object_ref0 (_tmp0_);
+#line 45 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ result = _tmp1_;
+#line 45 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return result;
+#line 222 "BuilderPane.c"
+}
+
+
+GtkBuilder* shotwell_plugins_common_builder_pane_get_builder (ShotwellPluginsCommonBuilderPane* self) {
+ GtkBuilder* result = NULL;
+ GtkBuilder* _tmp0_ = NULL;
+ GtkBuilder* _tmp1_ = NULL;
+#line 48 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self), NULL);
+#line 49 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = self->priv->builder;
+#line 49 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp1_ = _g_object_ref0 (_tmp0_);
+#line 49 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ result = _tmp1_;
+#line 49 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return result;
+#line 240 "BuilderPane.c"
+}
+
+
+static GtkWidget* shotwell_plugins_common_builder_pane_real_get_default_widget (ShotwellPluginsCommonBuilderPane* self) {
+ GtkWidget* result = NULL;
+ GtkBuilder* _tmp0_ = NULL;
+ GtkBuilder* _tmp1_ = NULL;
+ gchar* _tmp2_ = NULL;
+ gchar* _tmp3_ = NULL;
+ gchar* _tmp4_ = NULL;
+ GObject* _tmp5_ = NULL;
+ GtkWidget* _tmp6_ = NULL;
+ GtkWidget* _tmp7_ = NULL;
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = shotwell_plugins_common_builder_pane_get_builder (self);
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp1_ = _tmp0_;
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp2_ = shotwell_plugins_common_builder_pane_get_default_id (self);
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp3_ = _tmp2_;
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp4_ = _tmp3_;
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp5_ = gtk_builder_get_object (_tmp1_, _tmp4_);
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp5_) : NULL);
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp7_ = _tmp6_;
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_free0 (_tmp4_);
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_object_unref0 (_tmp1_);
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ result = _tmp7_;
+#line 53 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return result;
+#line 278 "BuilderPane.c"
+}
+
+
+GtkWidget* shotwell_plugins_common_builder_pane_get_default_widget (ShotwellPluginsCommonBuilderPane* self) {
+#line 52 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self), NULL);
+#line 52 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_GET_CLASS (self)->get_default_widget (self);
+#line 287 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_real_on_pane_installed (ShotwellPluginsCommonBuilderPane* self) {
+}
+
+
+void shotwell_plugins_common_builder_pane_on_pane_installed (ShotwellPluginsCommonBuilderPane* self) {
+#line 56 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self));
+#line 56 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_GET_CLASS (self)->on_pane_installed (self);
+#line 300 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_real_on_pane_uninstalled (ShotwellPluginsCommonBuilderPane* self) {
+}
+
+
+void shotwell_plugins_common_builder_pane_on_pane_uninstalled (ShotwellPluginsCommonBuilderPane* self) {
+#line 58 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self));
+#line 58 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_GET_CLASS (self)->on_pane_uninstalled (self);
+#line 313 "BuilderPane.c"
+}
+
+
+ShotwellPluginsCommonBuilderPane* shotwell_plugins_common_builder_pane_construct (GType object_type) {
+ ShotwellPluginsCommonBuilderPane * self = NULL;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self = (ShotwellPluginsCommonBuilderPane*) g_object_new (object_type, NULL);
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return self;
+#line 323 "BuilderPane.c"
+}
+
+
+SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_builder_pane_get_preferred_geometry (ShotwellPluginsCommonBuilderPane* self) {
+ SpitPublishingDialogPaneGeometryOptions result;
+ SpitPublishingDialogPaneGeometryOptions _tmp0_ = 0;
+#line 11 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self), 0);
+#line 11 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = self->priv->_preferred_geometry;
+#line 11 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ result = _tmp0_;
+#line 11 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return result;
+#line 338 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_set_preferred_geometry (ShotwellPluginsCommonBuilderPane* self, SpitPublishingDialogPaneGeometryOptions value) {
+ SpitPublishingDialogPaneGeometryOptions _tmp0_ = 0;
+#line 11 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self));
+#line 11 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = value;
+#line 11 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv->_preferred_geometry = _tmp0_;
+#line 11 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_object_notify ((GObject *) self, "preferred-geometry");
+#line 352 "BuilderPane.c"
+}
+
+
+gchar* shotwell_plugins_common_builder_pane_get_resource_path (ShotwellPluginsCommonBuilderPane* self) {
+ gchar* result;
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self), NULL);
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = self->priv->_resource_path;
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ result = _tmp1_;
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return result;
+#line 370 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_set_resource_path (ShotwellPluginsCommonBuilderPane* self, const gchar* value) {
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self));
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = value;
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_free0 (self->priv->_resource_path);
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv->_resource_path = _tmp1_;
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_object_notify ((GObject *) self, "resource-path");
+#line 389 "BuilderPane.c"
+}
+
+
+gboolean shotwell_plugins_common_builder_pane_get_connect_signals (ShotwellPluginsCommonBuilderPane* self) {
+ gboolean result;
+ gboolean _tmp0_ = FALSE;
+#line 14 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self), FALSE);
+#line 14 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = self->priv->_connect_signals;
+#line 14 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ result = _tmp0_;
+#line 14 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return result;
+#line 404 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_set_connect_signals (ShotwellPluginsCommonBuilderPane* self, gboolean value) {
+ gboolean _tmp0_ = FALSE;
+#line 14 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self));
+#line 14 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = value;
+#line 14 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv->_connect_signals = _tmp0_;
+#line 14 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_object_notify ((GObject *) self, "connect-signals");
+#line 418 "BuilderPane.c"
+}
+
+
+gchar* shotwell_plugins_common_builder_pane_get_default_id (ShotwellPluginsCommonBuilderPane* self) {
+ gchar* result;
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self), NULL);
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = self->priv->_default_id;
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ result = _tmp1_;
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ return result;
+#line 436 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_set_default_id (ShotwellPluginsCommonBuilderPane* self, const gchar* value) {
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE (self));
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = value;
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_free0 (self->priv->_default_id);
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv->_default_id = _tmp1_;
+#line 16 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_object_notify ((GObject *) self, "default-id");
+#line 455 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_class_init (ShotwellPluginsCommonBuilderPaneClass * klass) {
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ shotwell_plugins_common_builder_pane_parent_class = g_type_class_peek_parent (klass);
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_type_class_add_private (klass, sizeof (ShotwellPluginsCommonBuilderPanePrivate));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ ((GObjectClass *) klass)->constructed = shotwell_plugins_common_builder_pane_real_constructed;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ ((ShotwellPluginsCommonBuilderPaneClass *) klass)->get_default_widget = shotwell_plugins_common_builder_pane_real_get_default_widget;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ ((ShotwellPluginsCommonBuilderPaneClass *) klass)->on_pane_installed = shotwell_plugins_common_builder_pane_real_on_pane_installed;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ ((ShotwellPluginsCommonBuilderPaneClass *) klass)->on_pane_uninstalled = shotwell_plugins_common_builder_pane_real_on_pane_uninstalled;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ G_OBJECT_CLASS (klass)->get_property = _vala_shotwell_plugins_common_builder_pane_get_property;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ G_OBJECT_CLASS (klass)->set_property = _vala_shotwell_plugins_common_builder_pane_set_property;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ G_OBJECT_CLASS (klass)->finalize = shotwell_plugins_common_builder_pane_finalize;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_PREFERRED_GEOMETRY, g_param_spec_enum ("preferred-geometry", "preferred-geometry", "preferred-geometry", SPIT_PUBLISHING_DIALOG_PANE_TYPE_GEOMETRY_OPTIONS, SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_RESOURCE_PATH, g_param_spec_string ("resource-path", "resource-path", "resource-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_CONNECT_SIGNALS, g_param_spec_boolean ("connect-signals", "connect-signals", "connect-signals", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_DEFAULT_ID, g_param_spec_string ("default-id", "default-id", "default-id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 486 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) {
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ shotwell_plugins_common_builder_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface);
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_builder_pane_real_get_preferred_geometry;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_builder_pane_real_get_widget;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_builder_pane_on_pane_installed;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_builder_pane_on_pane_uninstalled;
+#line 501 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_instance_init (ShotwellPluginsCommonBuilderPane * self) {
+ gchar* _tmp0_ = NULL;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv = SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_GET_PRIVATE (self);
+#line 10 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv->_preferred_geometry = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
+#line 14 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv->_connect_signals = FALSE;
+#line 15 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _tmp0_ = g_strdup ("default");
+#line 15 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self->priv->_default_id = _tmp0_;
+#line 517 "BuilderPane.c"
+}
+
+
+static void shotwell_plugins_common_builder_pane_finalize (GObject* obj) {
+ ShotwellPluginsCommonBuilderPane * self;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (obj, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane);
+#line 13 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_free0 (self->priv->_resource_path);
+#line 15 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_free0 (self->priv->_default_id);
+#line 19 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_object_unref0 (self->priv->builder);
+#line 20 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ _g_object_unref0 (self->priv->content);
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ G_OBJECT_CLASS (shotwell_plugins_common_builder_pane_parent_class)->finalize (obj);
+#line 535 "BuilderPane.c"
+}
+
+
+GType shotwell_plugins_common_builder_pane_get_type (void) {
+ static volatile gsize shotwell_plugins_common_builder_pane_type_id__volatile = 0;
+ if (g_once_init_enter (&shotwell_plugins_common_builder_pane_type_id__volatile)) {
+ static const GTypeInfo g_define_type_info = { sizeof (ShotwellPluginsCommonBuilderPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) shotwell_plugins_common_builder_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ShotwellPluginsCommonBuilderPane), 0, (GInstanceInitFunc) shotwell_plugins_common_builder_pane_instance_init, NULL };
+ static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) shotwell_plugins_common_builder_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
+ GType shotwell_plugins_common_builder_pane_type_id;
+ shotwell_plugins_common_builder_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "ShotwellPluginsCommonBuilderPane", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
+ g_type_add_interface_static (shotwell_plugins_common_builder_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info);
+ g_once_init_leave (&shotwell_plugins_common_builder_pane_type_id__volatile, shotwell_plugins_common_builder_pane_type_id);
+ }
+ return shotwell_plugins_common_builder_pane_type_id__volatile;
+}
+
+
+static void _vala_shotwell_plugins_common_builder_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
+ ShotwellPluginsCommonBuilderPane * self;
+ self = G_TYPE_CHECK_INSTANCE_CAST (object, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane);
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ switch (property_id) {
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ case SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_PREFERRED_GEOMETRY:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_value_set_enum (value, shotwell_plugins_common_builder_pane_get_preferred_geometry (self));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ case SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_RESOURCE_PATH:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_value_take_string (value, shotwell_plugins_common_builder_pane_get_resource_path (self));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ case SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_CONNECT_SIGNALS:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_value_set_boolean (value, shotwell_plugins_common_builder_pane_get_connect_signals (self));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ case SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_DEFAULT_ID:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ g_value_take_string (value, shotwell_plugins_common_builder_pane_get_default_id (self));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 582 "BuilderPane.c"
+ default:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 588 "BuilderPane.c"
+ }
+}
+
+
+static void _vala_shotwell_plugins_common_builder_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
+ ShotwellPluginsCommonBuilderPane * self;
+ self = G_TYPE_CHECK_INSTANCE_CAST (object, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane);
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ switch (property_id) {
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ case SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_PREFERRED_GEOMETRY:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ shotwell_plugins_common_builder_pane_set_preferred_geometry (self, g_value_get_enum (value));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ case SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_RESOURCE_PATH:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ shotwell_plugins_common_builder_pane_set_resource_path (self, g_value_get_string (value));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ case SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_CONNECT_SIGNALS:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ shotwell_plugins_common_builder_pane_set_connect_signals (self, g_value_get_boolean (value));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ case SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_DEFAULT_ID:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ shotwell_plugins_common_builder_pane_set_default_id (self, g_value_get_string (value));
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 622 "BuilderPane.c"
+ default:
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+#line 9 "/home/jens/Source/shotwell/plugins/common/BuilderPane.vala"
+ break;
+#line 628 "BuilderPane.c"
+ }
+}
+
+
+
diff --git a/plugins/common/BuilderPane.vala b/plugins/common/BuilderPane.vala
new file mode 100644
index 0000000..72b4b6f
--- /dev/null
+++ b/plugins/common/BuilderPane.vala
@@ -0,0 +1,60 @@
+/* Copyright 2016 Jens Georg
+ *
+ * This software is licensed under the GNU LGPL (version 2.1 or later).
+ * See the COPYING file in this distribution.
+ */
+using Spit.Publishing;
+
+namespace Shotwell.Plugins.Common {
+ public abstract class BuilderPane : Spit.Publishing.DialogPane, Object {
+ public DialogPane.GeometryOptions preferred_geometry {
+ get; construct; default = DialogPane.GeometryOptions.NONE;
+ }
+ public string resource_path { owned get; construct; }
+ public bool connect_signals { get; construct; default = false; }
+ public string default_id {
+ owned get; construct; default = "default";
+ }
+
+ private Gtk.Builder builder;
+ private Gtk.Widget content;
+
+ public override void constructed () {
+ base.constructed ();
+
+ debug ("Adding new builder from path %s", resource_path);
+
+ this.builder = new Gtk.Builder.from_resource (resource_path);
+ if (this.connect_signals) {
+ this.builder.connect_signals (null);
+ }
+
+ this.content = this.builder.get_object ("content") as Gtk.Widget;
+
+ // Just to be sure, if we still use old-style Builder files
+ if (this.content.parent != null) {
+ this.content.parent.remove (this.content);
+ }
+ }
+
+ public DialogPane.GeometryOptions get_preferred_geometry () {
+ return this.preferred_geometry;
+ }
+
+ public Gtk.Widget get_widget () {
+ return this.content;
+ }
+
+ public Gtk.Builder get_builder () {
+ return this.builder;
+ }
+
+ public virtual Gtk.Widget get_default_widget () {
+ return this.get_builder ().get_object (this.default_id) as Gtk.Widget;
+ }
+
+ public virtual void on_pane_installed () {}
+
+ public virtual void on_pane_uninstalled () {}
+ }
+}
diff --git a/plugins/common/RESTSupport.c b/plugins/common/RESTSupport.c
index 81fbf20..719d0a4 100644
--- a/plugins/common/RESTSupport.c
+++ b/plugins/common/RESTSupport.c
@@ -578,6 +578,7 @@ static void _g_free0_ (gpointer var);
void publishing_rest_support_upload_transaction_set_binary_disposition_table (PublishingRESTSupportUploadTransaction* self, GHashTable* new_disp_table);
static void publishing_rest_support_upload_transaction_real_execute (PublishingRESTSupportTransaction* base, GError** error);
static void _vala_SoupMultipart_free (SoupMultipart* self);
+static guint8* _vala_array_dup2 (guint8* self, int length);
static void _vala_SoupBuffer_free (SoupBuffer* self);
static void publishing_rest_support_upload_transaction_finalize (PublishingRESTSupportTransaction* obj);
gpointer publishing_rest_support_xml_document_ref (gpointer instance);
@@ -611,7 +612,7 @@ enum {
PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_DUMMY_PROPERTY
};
PublishingRESTSupportBatchUploader* publishing_rest_support_batch_uploader_construct (GType object_type, PublishingRESTSupportSession* session, SpitPublishingPublishable** publishables, int publishables_length1);
-static SpitPublishingPublishable** _vala_array_dup2 (SpitPublishingPublishable** self, int length);
+static SpitPublishingPublishable** _vala_array_dup3 (SpitPublishingPublishable** self, int length);
static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSupportBatchUploader* self);
PublishingRESTSupportTransaction* publishing_rest_support_batch_uploader_create_transaction (PublishingRESTSupportBatchUploader* self, SpitPublishingPublishable* publishable);
static void publishing_rest_support_batch_uploader_on_chunk_transmitted (PublishingRESTSupportBatchUploader* self, gint bytes_written_so_far, gint total_bytes);
@@ -777,13 +778,13 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
if (result_length1) {
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
-#line 780 "RESTSupport.c"
+#line 781 "RESTSupport.c"
}
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp4_;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 786 "RESTSupport.c"
+#line 787 "RESTSupport.c"
}
@@ -845,7 +846,7 @@ gchar* publishing_rest_support_hmac_sha1 (const gchar* key, const gchar* message
_g_hmac_unref0 (mac);
#line 22 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 848 "RESTSupport.c"
+#line 849 "RESTSupport.c"
}
@@ -877,7 +878,7 @@ PublishingRESTSupportSession* publishing_rest_support_session_construct (GType o
g_object_set (_tmp3_, "ssl-use-system-ca-file", TRUE, NULL);
#line 34 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 880 "RESTSupport.c"
+#line 881 "RESTSupport.c"
}
@@ -891,7 +892,7 @@ void publishing_rest_support_session_notify_wire_message_unqueued (PublishingRES
_tmp0_ = message;
#line 41 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_emit_by_name (self, "wire-message-unqueued", _tmp0_);
-#line 894 "RESTSupport.c"
+#line 895 "RESTSupport.c"
}
@@ -900,7 +901,7 @@ void publishing_rest_support_session_notify_authenticated (PublishingRESTSupport
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (self));
#line 45 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_emit_by_name (self, "authenticated");
-#line 903 "RESTSupport.c"
+#line 904 "RESTSupport.c"
}
@@ -912,7 +913,7 @@ void publishing_rest_support_session_notify_authentication_failed (PublishingRES
_tmp0_ = err;
#line 49 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_emit_by_name (self, "authentication-failed", _tmp0_);
-#line 915 "RESTSupport.c"
+#line 916 "RESTSupport.c"
}
@@ -921,7 +922,7 @@ static gboolean publishing_rest_support_session_real_is_authenticated (Publishin
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_session_is_authenticated'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 52 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return FALSE;
-#line 924 "RESTSupport.c"
+#line 925 "RESTSupport.c"
}
@@ -930,7 +931,7 @@ gboolean publishing_rest_support_session_is_authenticated (PublishingRESTSupport
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_SESSION (self), FALSE);
#line 52 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return PUBLISHING_REST_SUPPORT_SESSION_GET_CLASS (self)->is_authenticated (self);
-#line 933 "RESTSupport.c"
+#line 934 "RESTSupport.c"
}
@@ -948,7 +949,7 @@ gchar* publishing_rest_support_session_get_endpoint_url (PublishingRESTSupportSe
result = _tmp1_;
#line 55 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 951 "RESTSupport.c"
+#line 952 "RESTSupport.c"
}
@@ -962,7 +963,7 @@ void publishing_rest_support_session_stop_transactions (PublishingRESTSupportSes
_tmp0_ = self->priv->soup_session;
#line 60 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
soup_session_abort (_tmp0_);
-#line 965 "RESTSupport.c"
+#line 966 "RESTSupport.c"
}
@@ -977,14 +978,14 @@ gboolean publishing_rest_support_session_are_transactions_stopped (PublishingRES
result = _tmp0_;
#line 64 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 980 "RESTSupport.c"
+#line 981 "RESTSupport.c"
}
static void _publishing_rest_support_session_notify_wire_message_unqueued_soup_session_request_unqueued (SoupSession* _sender, SoupMessage* msg, gpointer self) {
#line 71 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_session_notify_wire_message_unqueued ((PublishingRESTSupportSession*) self, msg);
-#line 987 "RESTSupport.c"
+#line 988 "RESTSupport.c"
}
@@ -1005,7 +1006,7 @@ void publishing_rest_support_session_send_wire_message (PublishingRESTSupportSes
if (_tmp0_) {
#line 69 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 1008 "RESTSupport.c"
+#line 1009 "RESTSupport.c"
}
#line 71 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp1_ = self->priv->soup_session;
@@ -1023,7 +1024,7 @@ void publishing_rest_support_session_send_wire_message (PublishingRESTSupportSes
g_signal_parse_name ("request-unqueued", soup_session_get_type (), &_tmp5_, NULL, FALSE);
#line 74 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _publishing_rest_support_session_notify_wire_message_unqueued_soup_session_request_unqueued, self);
-#line 1026 "RESTSupport.c"
+#line 1027 "RESTSupport.c"
}
@@ -1040,14 +1041,14 @@ void publishing_rest_support_session_set_insecure (PublishingRESTSupportSession*
_tmp1_ = self->priv->soup_session;
#line 79 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_object_set (_tmp1_, "ssl-strict", FALSE, NULL);
-#line 1043 "RESTSupport.c"
+#line 1044 "RESTSupport.c"
}
static void publishing_rest_support_value_session_init (GValue* value) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 1050 "RESTSupport.c"
+#line 1051 "RESTSupport.c"
}
@@ -1056,7 +1057,7 @@ static void publishing_rest_support_value_session_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_session_unref (value->data[0].v_pointer);
-#line 1059 "RESTSupport.c"
+#line 1060 "RESTSupport.c"
}
}
@@ -1066,11 +1067,11 @@ static void publishing_rest_support_value_session_copy_value (const GValue* src_
if (src_value->data[0].v_pointer) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = publishing_rest_support_session_ref (src_value->data[0].v_pointer);
-#line 1069 "RESTSupport.c"
+#line 1070 "RESTSupport.c"
} else {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1073 "RESTSupport.c"
+#line 1074 "RESTSupport.c"
}
}
@@ -1078,37 +1079,37 @@ static void publishing_rest_support_value_session_copy_value (const GValue* src_
static gpointer publishing_rest_support_value_session_peek_pointer (const GValue* value) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 1081 "RESTSupport.c"
+#line 1082 "RESTSupport.c"
}
static gchar* publishing_rest_support_value_session_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (collect_values[0].v_pointer) {
-#line 1088 "RESTSupport.c"
+#line 1089 "RESTSupport.c"
PublishingRESTSupportSession* object;
object = collect_values[0].v_pointer;
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (object->parent_instance.g_class == NULL) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1095 "RESTSupport.c"
+#line 1096 "RESTSupport.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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 1099 "RESTSupport.c"
+#line 1100 "RESTSupport.c"
}
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = publishing_rest_support_session_ref (object);
-#line 1103 "RESTSupport.c"
+#line 1104 "RESTSupport.c"
} else {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 1107 "RESTSupport.c"
+#line 1108 "RESTSupport.c"
}
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 1111 "RESTSupport.c"
+#line 1112 "RESTSupport.c"
}
@@ -1119,25 +1120,25 @@ static gchar* publishing_rest_support_value_session_lcopy_value (const GValue* v
if (!object_p) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1122 "RESTSupport.c"
+#line 1123 "RESTSupport.c"
}
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!value->data[0].v_pointer) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = NULL;
-#line 1128 "RESTSupport.c"
+#line 1129 "RESTSupport.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = value->data[0].v_pointer;
-#line 1132 "RESTSupport.c"
+#line 1133 "RESTSupport.c"
} else {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = publishing_rest_support_session_ref (value->data[0].v_pointer);
-#line 1136 "RESTSupport.c"
+#line 1137 "RESTSupport.c"
}
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 1140 "RESTSupport.c"
+#line 1141 "RESTSupport.c"
}
@@ -1151,7 +1152,7 @@ GParamSpec* publishing_rest_support_param_spec_session (const gchar* name, const
G_PARAM_SPEC (spec)->value_type = object_type;
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return G_PARAM_SPEC (spec);
-#line 1154 "RESTSupport.c"
+#line 1155 "RESTSupport.c"
}
@@ -1160,7 +1161,7 @@ gpointer publishing_rest_support_value_get_session (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_SESSION), NULL);
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 1163 "RESTSupport.c"
+#line 1164 "RESTSupport.c"
}
@@ -1180,17 +1181,17 @@ void publishing_rest_support_value_set_session (GValue* value, gpointer v_object
value->data[0].v_pointer = v_object;
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_session_ref (value->data[0].v_pointer);
-#line 1183 "RESTSupport.c"
+#line 1184 "RESTSupport.c"
} else {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 1187 "RESTSupport.c"
+#line 1188 "RESTSupport.c"
}
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_session_unref (old);
-#line 1193 "RESTSupport.c"
+#line 1194 "RESTSupport.c"
}
}
@@ -1209,17 +1210,17 @@ void publishing_rest_support_value_take_session (GValue* value, gpointer v_objec
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = v_object;
-#line 1212 "RESTSupport.c"
+#line 1213 "RESTSupport.c"
} else {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 1216 "RESTSupport.c"
+#line 1217 "RESTSupport.c"
}
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_session_unref (old);
-#line 1222 "RESTSupport.c"
+#line 1223 "RESTSupport.c"
}
}
@@ -1239,7 +1240,7 @@ static void publishing_rest_support_session_class_init (PublishingRESTSupportSes
g_signal_new ("authenticated", PUBLISHING_REST_SUPPORT_TYPE_SESSION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_new ("authentication_failed", PUBLISHING_REST_SUPPORT_TYPE_SESSION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
-#line 1242 "RESTSupport.c"
+#line 1243 "RESTSupport.c"
}
@@ -1254,7 +1255,7 @@ static void publishing_rest_support_session_instance_init (PublishingRESTSupport
self->priv->transactions_stopped = FALSE;
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->ref_count = 1;
-#line 1257 "RESTSupport.c"
+#line 1258 "RESTSupport.c"
}
@@ -1268,7 +1269,7 @@ static void publishing_rest_support_session_finalize (PublishingRESTSupportSessi
_g_free0 (self->priv->endpoint_url);
#line 27 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_object_unref0 (self->priv->soup_session);
-#line 1271 "RESTSupport.c"
+#line 1272 "RESTSupport.c"
}
@@ -1293,7 +1294,7 @@ gpointer publishing_rest_support_session_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return instance;
-#line 1296 "RESTSupport.c"
+#line 1297 "RESTSupport.c"
}
@@ -1306,7 +1307,7 @@ void publishing_rest_support_session_unref (gpointer instance) {
PUBLISHING_REST_SUPPORT_SESSION_GET_CLASS (self)->finalize (self);
#line 25 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1309 "RESTSupport.c"
+#line 1310 "RESTSupport.c"
}
}
@@ -1317,7 +1318,7 @@ gchar* publishing_rest_support_http_method_to_string (PublishingRESTSupportHttpM
switch (self) {
#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
case PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET:
-#line 1320 "RESTSupport.c"
+#line 1321 "RESTSupport.c"
{
gchar* _tmp0_ = NULL;
#line 91 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -1326,11 +1327,11 @@ gchar* publishing_rest_support_http_method_to_string (PublishingRESTSupportHttpM
result = _tmp0_;
#line 91 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1329 "RESTSupport.c"
+#line 1330 "RESTSupport.c"
}
#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
case PUBLISHING_REST_SUPPORT_HTTP_METHOD_PUT:
-#line 1333 "RESTSupport.c"
+#line 1334 "RESTSupport.c"
{
gchar* _tmp1_ = NULL;
#line 94 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -1339,11 +1340,11 @@ gchar* publishing_rest_support_http_method_to_string (PublishingRESTSupportHttpM
result = _tmp1_;
#line 94 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1342 "RESTSupport.c"
+#line 1343 "RESTSupport.c"
}
#line 89 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
case PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST:
-#line 1346 "RESTSupport.c"
+#line 1347 "RESTSupport.c"
{
gchar* _tmp2_ = NULL;
#line 97 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -1352,13 +1353,13 @@ gchar* publishing_rest_support_http_method_to_string (PublishingRESTSupportHttpM
result = _tmp2_;
#line 97 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1355 "RESTSupport.c"
+#line 1356 "RESTSupport.c"
}
default:
{
#line 100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_error ("RESTSupport.vala:100: unrecognized HTTP method enumeration value");
-#line 1361 "RESTSupport.c"
+#line 1362 "RESTSupport.c"
}
}
}
@@ -1377,7 +1378,7 @@ PublishingRESTSupportHttpMethod publishing_rest_support_http_method_from_string
result = PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET;
#line 106 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1380 "RESTSupport.c"
+#line 1381 "RESTSupport.c"
} else {
const gchar* _tmp1_ = NULL;
#line 107 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -1388,7 +1389,7 @@ PublishingRESTSupportHttpMethod publishing_rest_support_http_method_from_string
result = PUBLISHING_REST_SUPPORT_HTTP_METHOD_PUT;
#line 108 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1391 "RESTSupport.c"
+#line 1392 "RESTSupport.c"
} else {
const gchar* _tmp2_ = NULL;
#line 109 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -1399,14 +1400,14 @@ PublishingRESTSupportHttpMethod publishing_rest_support_http_method_from_string
result = PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST;
#line 110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1402 "RESTSupport.c"
+#line 1403 "RESTSupport.c"
} else {
const gchar* _tmp3_ = NULL;
#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp3_ = str;
#line 112 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_error ("RESTSupport.vala:112: unrecognized HTTP method name: %s", _tmp3_);
-#line 1409 "RESTSupport.c"
+#line 1410 "RESTSupport.c"
}
}
}
@@ -1455,14 +1456,14 @@ PublishingRESTSupportArgument* publishing_rest_support_argument_construct (GType
self->value = _tmp3_;
#line 121 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 1458 "RESTSupport.c"
+#line 1459 "RESTSupport.c"
}
PublishingRESTSupportArgument* publishing_rest_support_argument_new (const gchar* key, const gchar* value) {
#line 121 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_argument_construct (PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT, key, value);
-#line 1465 "RESTSupport.c"
+#line 1466 "RESTSupport.c"
}
@@ -1494,7 +1495,7 @@ gint publishing_rest_support_argument_compare (PublishingRESTSupportArgument* ar
result = _tmp5_;
#line 127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1497 "RESTSupport.c"
+#line 1498 "RESTSupport.c"
}
@@ -1503,14 +1504,14 @@ static gint _publishing_rest_support_argument_compare_gcompare_data_func (gconst
result = publishing_rest_support_argument_compare ((PublishingRESTSupportArgument*) a, (PublishingRESTSupportArgument*) b);
#line 131 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1506 "RESTSupport.c"
+#line 1507 "RESTSupport.c"
}
static gpointer _publishing_rest_support_argument_ref0 (gpointer self) {
#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self ? publishing_rest_support_argument_ref (self) : NULL;
-#line 1513 "RESTSupport.c"
+#line 1514 "RESTSupport.c"
}
@@ -1533,7 +1534,7 @@ PublishingRESTSupportArgument** publishing_rest_support_argument_sort (Publishin
_tmp1_ = inputArray;
#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp1__length1 = inputArray_length1;
-#line 1536 "RESTSupport.c"
+#line 1537 "RESTSupport.c"
{
PublishingRESTSupportArgument** arg_collection = NULL;
gint arg_collection_length1 = 0;
@@ -1545,14 +1546,14 @@ PublishingRESTSupportArgument** publishing_rest_support_argument_sort (Publishin
arg_collection_length1 = _tmp1__length1;
#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
for (arg_it = 0; arg_it < _tmp1__length1; arg_it = arg_it + 1) {
-#line 1548 "RESTSupport.c"
+#line 1549 "RESTSupport.c"
PublishingRESTSupportArgument* _tmp2_ = NULL;
PublishingRESTSupportArgument* arg = NULL;
#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_ = _publishing_rest_support_argument_ref0 (arg_collection[arg_it]);
#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
arg = _tmp2_;
-#line 1555 "RESTSupport.c"
+#line 1556 "RESTSupport.c"
{
GeeTreeSet* _tmp3_ = NULL;
PublishingRESTSupportArgument* _tmp4_ = NULL;
@@ -1564,7 +1565,7 @@ PublishingRESTSupportArgument** publishing_rest_support_argument_sort (Publishin
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp4_);
#line 133 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_publishing_rest_support_argument_unref0 (arg);
-#line 1567 "RESTSupport.c"
+#line 1568 "RESTSupport.c"
}
}
}
@@ -1580,7 +1581,7 @@ PublishingRESTSupportArgument** publishing_rest_support_argument_sort (Publishin
if (result_length1) {
#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*result_length1 = _tmp8__length1;
-#line 1583 "RESTSupport.c"
+#line 1584 "RESTSupport.c"
}
#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
result = _tmp8_;
@@ -1588,7 +1589,7 @@ PublishingRESTSupportArgument** publishing_rest_support_argument_sort (Publishin
_g_object_unref0 (sorted_args);
#line 136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1591 "RESTSupport.c"
+#line 1592 "RESTSupport.c"
}
@@ -1609,14 +1610,14 @@ gchar* publishing_rest_support_argument_to_string (PublishingRESTSupportArgument
result = _tmp2_;
#line 140 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 1612 "RESTSupport.c"
+#line 1613 "RESTSupport.c"
}
static void publishing_rest_support_value_argument_init (GValue* value) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 1619 "RESTSupport.c"
+#line 1620 "RESTSupport.c"
}
@@ -1625,7 +1626,7 @@ static void publishing_rest_support_value_argument_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_argument_unref (value->data[0].v_pointer);
-#line 1628 "RESTSupport.c"
+#line 1629 "RESTSupport.c"
}
}
@@ -1635,11 +1636,11 @@ static void publishing_rest_support_value_argument_copy_value (const GValue* src
if (src_value->data[0].v_pointer) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = publishing_rest_support_argument_ref (src_value->data[0].v_pointer);
-#line 1638 "RESTSupport.c"
+#line 1639 "RESTSupport.c"
} else {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1642 "RESTSupport.c"
+#line 1643 "RESTSupport.c"
}
}
@@ -1647,37 +1648,37 @@ static void publishing_rest_support_value_argument_copy_value (const GValue* src
static gpointer publishing_rest_support_value_argument_peek_pointer (const GValue* value) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 1650 "RESTSupport.c"
+#line 1651 "RESTSupport.c"
}
static gchar* publishing_rest_support_value_argument_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (collect_values[0].v_pointer) {
-#line 1657 "RESTSupport.c"
+#line 1658 "RESTSupport.c"
PublishingRESTSupportArgument* object;
object = collect_values[0].v_pointer;
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (object->parent_instance.g_class == NULL) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1664 "RESTSupport.c"
+#line 1665 "RESTSupport.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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 1668 "RESTSupport.c"
+#line 1669 "RESTSupport.c"
}
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = publishing_rest_support_argument_ref (object);
-#line 1672 "RESTSupport.c"
+#line 1673 "RESTSupport.c"
} else {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 1676 "RESTSupport.c"
+#line 1677 "RESTSupport.c"
}
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 1680 "RESTSupport.c"
+#line 1681 "RESTSupport.c"
}
@@ -1688,25 +1689,25 @@ static gchar* publishing_rest_support_value_argument_lcopy_value (const GValue*
if (!object_p) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1691 "RESTSupport.c"
+#line 1692 "RESTSupport.c"
}
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!value->data[0].v_pointer) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = NULL;
-#line 1697 "RESTSupport.c"
+#line 1698 "RESTSupport.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = value->data[0].v_pointer;
-#line 1701 "RESTSupport.c"
+#line 1702 "RESTSupport.c"
} else {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = publishing_rest_support_argument_ref (value->data[0].v_pointer);
-#line 1705 "RESTSupport.c"
+#line 1706 "RESTSupport.c"
}
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 1709 "RESTSupport.c"
+#line 1710 "RESTSupport.c"
}
@@ -1720,7 +1721,7 @@ GParamSpec* publishing_rest_support_param_spec_argument (const gchar* name, cons
G_PARAM_SPEC (spec)->value_type = object_type;
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return G_PARAM_SPEC (spec);
-#line 1723 "RESTSupport.c"
+#line 1724 "RESTSupport.c"
}
@@ -1729,7 +1730,7 @@ gpointer publishing_rest_support_value_get_argument (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_ARGUMENT), NULL);
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 1732 "RESTSupport.c"
+#line 1733 "RESTSupport.c"
}
@@ -1749,17 +1750,17 @@ void publishing_rest_support_value_set_argument (GValue* value, gpointer v_objec
value->data[0].v_pointer = v_object;
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_argument_ref (value->data[0].v_pointer);
-#line 1752 "RESTSupport.c"
+#line 1753 "RESTSupport.c"
} else {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 1756 "RESTSupport.c"
+#line 1757 "RESTSupport.c"
}
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_argument_unref (old);
-#line 1762 "RESTSupport.c"
+#line 1763 "RESTSupport.c"
}
}
@@ -1778,17 +1779,17 @@ void publishing_rest_support_value_take_argument (GValue* value, gpointer v_obje
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = v_object;
-#line 1781 "RESTSupport.c"
+#line 1782 "RESTSupport.c"
} else {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 1785 "RESTSupport.c"
+#line 1786 "RESTSupport.c"
}
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_argument_unref (old);
-#line 1791 "RESTSupport.c"
+#line 1792 "RESTSupport.c"
}
}
@@ -1798,14 +1799,14 @@ static void publishing_rest_support_argument_class_init (PublishingRESTSupportAr
publishing_rest_support_argument_parent_class = g_type_class_peek_parent (klass);
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
((PublishingRESTSupportArgumentClass *) klass)->finalize = publishing_rest_support_argument_finalize;
-#line 1801 "RESTSupport.c"
+#line 1802 "RESTSupport.c"
}
static void publishing_rest_support_argument_instance_init (PublishingRESTSupportArgument * self) {
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->ref_count = 1;
-#line 1808 "RESTSupport.c"
+#line 1809 "RESTSupport.c"
}
@@ -1819,7 +1820,7 @@ static void publishing_rest_support_argument_finalize (PublishingRESTSupportArgu
_g_free0 (self->key);
#line 119 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (self->value);
-#line 1822 "RESTSupport.c"
+#line 1823 "RESTSupport.c"
}
@@ -1844,7 +1845,7 @@ gpointer publishing_rest_support_argument_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return instance;
-#line 1847 "RESTSupport.c"
+#line 1848 "RESTSupport.c"
}
@@ -1857,7 +1858,7 @@ void publishing_rest_support_argument_unref (gpointer instance) {
PUBLISHING_REST_SUPPORT_ARGUMENT_GET_CLASS (self)->finalize (self);
#line 117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1860 "RESTSupport.c"
+#line 1861 "RESTSupport.c"
}
}
@@ -1865,7 +1866,7 @@ void publishing_rest_support_argument_unref (gpointer instance) {
static void _publishing_rest_support_transaction_on_wrote_body_data_soup_message_wrote_body_data (SoupMessage* _sender, SoupBuffer* chunk, gpointer self) {
#line 166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_transaction_on_wrote_body_data ((PublishingRESTSupportTransaction*) self, chunk);
-#line 1868 "RESTSupport.c"
+#line 1869 "RESTSupport.c"
}
@@ -1929,14 +1930,14 @@ PublishingRESTSupportTransaction* publishing_rest_support_transaction_construct
g_signal_connect (_tmp11_, "wrote-body-data", (GCallback) _publishing_rest_support_transaction_on_wrote_body_data_soup_message_wrote_body_data, self);
#line 158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 1932 "RESTSupport.c"
+#line 1933 "RESTSupport.c"
}
PublishingRESTSupportTransaction* publishing_rest_support_transaction_new (PublishingRESTSupportSession* parent_session, PublishingRESTSupportHttpMethod method) {
#line 158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_transaction_construct (PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, parent_session, method);
-#line 1939 "RESTSupport.c"
+#line 1940 "RESTSupport.c"
}
@@ -1986,14 +1987,14 @@ PublishingRESTSupportTransaction* publishing_rest_support_transaction_construct_
_g_free0 (_tmp5_);
#line 169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 1989 "RESTSupport.c"
+#line 1990 "RESTSupport.c"
}
PublishingRESTSupportTransaction* publishing_rest_support_transaction_new_with_endpoint_url (PublishingRESTSupportSession* parent_session, const gchar* endpoint_url, PublishingRESTSupportHttpMethod method) {
#line 169 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_transaction_construct_with_endpoint_url (PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, parent_session, endpoint_url, method);
-#line 1996 "RESTSupport.c"
+#line 1997 "RESTSupport.c"
}
@@ -2027,14 +2028,14 @@ static void publishing_rest_support_transaction_on_wrote_body_data (PublishingRE
_tmp6_ = _tmp5_->length;
#line 178 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_emit_by_name (self, "chunk-transmitted", _tmp3_, (gint) _tmp6_);
-#line 2030 "RESTSupport.c"
+#line 2031 "RESTSupport.c"
}
static gpointer _g_error_copy0 (gpointer self) {
#line 190 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self ? g_error_copy (self) : NULL;
-#line 2037 "RESTSupport.c"
+#line 2038 "RESTSupport.c"
}
@@ -2054,7 +2055,7 @@ static void publishing_rest_support_transaction_on_message_unqueued (PublishingR
if (_tmp0_ != _tmp1_) {
#line 183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2057 "RESTSupport.c"
+#line 2058 "RESTSupport.c"
}
{
SoupMessage* _tmp2_ = NULL;
@@ -2066,7 +2067,7 @@ static void publishing_rest_support_transaction_on_message_unqueued (PublishingR
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 2069 "RESTSupport.c"
+#line 2070 "RESTSupport.c"
goto __catch0_spit_publishing_publishing_error;
}
#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2075,7 +2076,7 @@ static void publishing_rest_support_transaction_on_message_unqueued (PublishingR
g_clear_error (&_inner_error_);
#line 186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2078 "RESTSupport.c"
+#line 2079 "RESTSupport.c"
}
}
goto __finally0;
@@ -2116,7 +2117,7 @@ static void publishing_rest_support_transaction_on_message_unqueued (PublishingR
self->priv->err = _tmp8_;
#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_error_free0 (err);
-#line 2119 "RESTSupport.c"
+#line 2120 "RESTSupport.c"
}
__finally0:
#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2127,7 +2128,7 @@ static void publishing_rest_support_transaction_on_message_unqueued (PublishingR
g_clear_error (&_inner_error_);
#line 185 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2130 "RESTSupport.c"
+#line 2131 "RESTSupport.c"
}
}
@@ -2135,7 +2136,7 @@ static void publishing_rest_support_transaction_on_message_unqueued (PublishingR
static gpointer _g_object_ref0 (gpointer self) {
#line 197 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self ? g_object_ref (self) : NULL;
-#line 2138 "RESTSupport.c"
+#line 2139 "RESTSupport.c"
}
@@ -2186,7 +2187,7 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
_tmp5_ = tls_errors;
#line 200 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if ((_tmp5_ & G_TLS_CERTIFICATE_BAD_IDENTITY) == G_TLS_CERTIFICATE_BAD_IDENTITY) {
-#line 2189 "RESTSupport.c"
+#line 2190 "RESTSupport.c"
GeeArrayList* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
#line 202 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2196,13 +2197,13 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
"bsite.");
#line 202 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp7_);
-#line 2198 "RESTSupport.c"
+#line 2199 "RESTSupport.c"
}
#line 205 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp8_ = tls_errors;
#line 205 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if ((_tmp8_ & G_TLS_CERTIFICATE_EXPIRED) == G_TLS_CERTIFICATE_EXPIRED) {
-#line 2204 "RESTSupport.c"
+#line 2205 "RESTSupport.c"
GeeArrayList* _tmp9_ = NULL;
const gchar* _tmp10_ = NULL;
#line 207 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2212,13 +2213,13 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
" your computer’s calendar.");
#line 207 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp10_);
-#line 2213 "RESTSupport.c"
+#line 2214 "RESTSupport.c"
}
#line 210 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp11_ = tls_errors;
#line 210 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if ((_tmp11_ & G_TLS_CERTIFICATE_UNKNOWN_CA) == G_TLS_CERTIFICATE_UNKNOWN_CA) {
-#line 2219 "RESTSupport.c"
+#line 2220 "RESTSupport.c"
GeeArrayList* _tmp12_ = NULL;
const gchar* _tmp13_ = NULL;
#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2228,13 +2229,13 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
"on.");
#line 212 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp13_);
-#line 2228 "RESTSupport.c"
+#line 2229 "RESTSupport.c"
}
#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp14_ = tls_errors;
#line 215 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if ((_tmp14_ & G_TLS_CERTIFICATE_GENERIC_ERROR) == G_TLS_CERTIFICATE_GENERIC_ERROR) {
-#line 2234 "RESTSupport.c"
+#line 2235 "RESTSupport.c"
GeeArrayList* _tmp15_ = NULL;
const gchar* _tmp16_ = NULL;
#line 217 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2244,13 +2245,13 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
"upted.");
#line 217 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp16_);
-#line 2243 "RESTSupport.c"
+#line 2244 "RESTSupport.c"
}
#line 220 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp17_ = tls_errors;
#line 220 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if ((_tmp17_ & G_TLS_CERTIFICATE_REVOKED) == G_TLS_CERTIFICATE_REVOKED) {
-#line 2249 "RESTSupport.c"
+#line 2250 "RESTSupport.c"
GeeArrayList* _tmp18_ = NULL;
const gchar* _tmp19_ = NULL;
#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2260,13 +2261,13 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
"zation that issued it.");
#line 222 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp19_);
-#line 2258 "RESTSupport.c"
+#line 2259 "RESTSupport.c"
}
#line 225 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp20_ = tls_errors;
#line 225 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if ((_tmp20_ & G_TLS_CERTIFICATE_INSECURE) == G_TLS_CERTIFICATE_INSECURE) {
-#line 2264 "RESTSupport.c"
+#line 2265 "RESTSupport.c"
GeeArrayList* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2276,13 +2277,13 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
" weak encryption.");
#line 227 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp22_);
-#line 2273 "RESTSupport.c"
+#line 2274 "RESTSupport.c"
}
#line 230 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp23_ = tls_errors;
#line 230 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if ((_tmp23_ & G_TLS_CERTIFICATE_NOT_ACTIVATED) == G_TLS_CERTIFICATE_NOT_ACTIVATED) {
-#line 2279 "RESTSupport.c"
+#line 2280 "RESTSupport.c"
GeeArrayList* _tmp24_ = NULL;
const gchar* _tmp25_ = NULL;
#line 232 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2292,7 +2293,7 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
"the date on your computer’s calendar.");
#line 232 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp25_);
-#line 2288 "RESTSupport.c"
+#line 2289 "RESTSupport.c"
}
#line 235 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp26_ = g_string_new ("");
@@ -2306,7 +2307,7 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
_tmp29_ = _tmp28_;
#line 236 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp29_ == 1) {
-#line 2302 "RESTSupport.c"
+#line 2303 "RESTSupport.c"
GString* _tmp30_ = NULL;
GeeArrayList* _tmp31_ = NULL;
gpointer _tmp32_ = NULL;
@@ -2323,7 +2324,7 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
g_string_append (_tmp30_, _tmp33_);
#line 237 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (_tmp33_);
-#line 2319 "RESTSupport.c"
+#line 2320 "RESTSupport.c"
} else {
{
GeeArrayList* _entry_list = NULL;
@@ -2352,7 +2353,7 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
_entry_index = -1;
#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
while (TRUE) {
-#line 2348 "RESTSupport.c"
+#line 2349 "RESTSupport.c"
gint _tmp39_ = 0;
gint _tmp40_ = 0;
gint _tmp41_ = 0;
@@ -2374,7 +2375,7 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
if (!(_tmp40_ < _tmp41_)) {
#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
break;
-#line 2370 "RESTSupport.c"
+#line 2371 "RESTSupport.c"
}
#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp42_ = _entry_list;
@@ -2392,11 +2393,11 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
g_string_append_printf (_tmp45_, "%s\n", _tmp46_);
#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (entry);
-#line 2388 "RESTSupport.c"
+#line 2389 "RESTSupport.c"
}
#line 239 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_object_unref0 (_entry_list);
-#line 2392 "RESTSupport.c"
+#line 2393 "RESTSupport.c"
}
}
#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2415,15 +2416,15 @@ gchar* publishing_rest_support_transaction_detailed_error_from_tls_flags (Publis
if (cert) {
#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*cert = _vala_cert;
-#line 2411 "RESTSupport.c"
+#line 2412 "RESTSupport.c"
} else {
#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_object_unref0 (_vala_cert);
-#line 2415 "RESTSupport.c"
+#line 2416 "RESTSupport.c"
}
#line 244 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 2419 "RESTSupport.c"
+#line 2420 "RESTSupport.c"
}
@@ -2453,17 +2454,17 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
case SOUP_STATUS_OK:
#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
case SOUP_STATUS_CREATED:
-#line 2449 "RESTSupport.c"
+#line 2450 "RESTSupport.c"
{
#line 252 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
break;
-#line 2453 "RESTSupport.c"
+#line 2454 "RESTSupport.c"
}
#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
case SOUP_STATUS_CANT_RESOLVE:
#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
case SOUP_STATUS_CANT_RESOLVE_PROXY:
-#line 2459 "RESTSupport.c"
+#line 2460 "RESTSupport.c"
{
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
@@ -2496,7 +2497,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_propagate_error (error, _inner_error_);
#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2492 "RESTSupport.c"
+#line 2493 "RESTSupport.c"
} else {
#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -2504,14 +2505,14 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_clear_error (&_inner_error_);
#line 256 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2500 "RESTSupport.c"
+#line 2501 "RESTSupport.c"
}
}
#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
case SOUP_STATUS_CANT_CONNECT:
#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
case SOUP_STATUS_CANT_CONNECT_PROXY:
-#line 2507 "RESTSupport.c"
+#line 2508 "RESTSupport.c"
{
gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
@@ -2544,7 +2545,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_propagate_error (error, _inner_error_);
#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2540 "RESTSupport.c"
+#line 2541 "RESTSupport.c"
} else {
#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -2552,12 +2553,12 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_clear_error (&_inner_error_);
#line 261 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2548 "RESTSupport.c"
+#line 2549 "RESTSupport.c"
}
}
#line 248 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
case SOUP_STATUS_SSL_FAILED:
-#line 2553 "RESTSupport.c"
+#line 2554 "RESTSupport.c"
{
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
@@ -2581,7 +2582,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_propagate_error (error, _inner_error_);
#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2577 "RESTSupport.c"
+#line 2578 "RESTSupport.c"
} else {
#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -2589,7 +2590,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_clear_error (&_inner_error_);
#line 264 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2585 "RESTSupport.c"
+#line 2586 "RESTSupport.c"
}
}
default:
@@ -2605,7 +2606,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
_tmp23_ = _tmp22_;
#line 269 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp23_ >= ((guint) 100)) {
-#line 2601 "RESTSupport.c"
+#line 2602 "RESTSupport.c"
gchar* _tmp24_ = NULL;
gchar* _tmp25_ = NULL;
SoupMessage* _tmp26_ = NULL;
@@ -2651,7 +2652,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_propagate_error (error, _inner_error_);
#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2647 "RESTSupport.c"
+#line 2648 "RESTSupport.c"
} else {
#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -2659,7 +2660,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_clear_error (&_inner_error_);
#line 270 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2655 "RESTSupport.c"
+#line 2656 "RESTSupport.c"
}
} else {
gchar* _tmp35_ = NULL;
@@ -2693,7 +2694,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_propagate_error (error, _inner_error_);
#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2689 "RESTSupport.c"
+#line 2690 "RESTSupport.c"
} else {
#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -2701,7 +2702,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_clear_error (&_inner_error_);
#line 273 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2697 "RESTSupport.c"
+#line 2698 "RESTSupport.c"
}
}
}
@@ -2718,7 +2719,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
if (_tmp45_ == NULL) {
#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp42_ = TRUE;
-#line 2714 "RESTSupport.c"
+#line 2715 "RESTSupport.c"
} else {
SoupMessage* _tmp46_ = NULL;
SoupMessageBody* _tmp47_ = NULL;
@@ -2734,11 +2735,11 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
_tmp48__length1 = (gint) _tmp47_->length;
#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp42_ = _tmp48__length1 == 0;
-#line 2730 "RESTSupport.c"
+#line 2731 "RESTSupport.c"
}
#line 279 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp42_) {
-#line 2734 "RESTSupport.c"
+#line 2735 "RESTSupport.c"
gchar* _tmp49_ = NULL;
gchar* _tmp50_ = NULL;
GError* _tmp51_ = NULL;
@@ -2761,7 +2762,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_propagate_error (error, _inner_error_);
#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2757 "RESTSupport.c"
+#line 2758 "RESTSupport.c"
} else {
#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -2769,7 +2770,7 @@ void publishing_rest_support_transaction_check_response (PublishingRESTSupportTr
g_clear_error (&_inner_error_);
#line 280 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2765 "RESTSupport.c"
+#line 2766 "RESTSupport.c"
}
}
}
@@ -2782,17 +2783,17 @@ static PublishingRESTSupportArgument** _vala_array_dup1 (PublishingRESTSupportAr
result = g_new0 (PublishingRESTSupportArgument*, length + 1);
#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
for (i = 0; i < length; i++) {
-#line 2778 "RESTSupport.c"
+#line 2779 "RESTSupport.c"
PublishingRESTSupportArgument* _tmp0_ = NULL;
#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0_ = _publishing_rest_support_argument_ref0 (self[i]);
#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
result[i] = _tmp0_;
-#line 2784 "RESTSupport.c"
+#line 2785 "RESTSupport.c"
}
#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 2788 "RESTSupport.c"
+#line 2789 "RESTSupport.c"
}
@@ -2822,13 +2823,13 @@ PublishingRESTSupportArgument** publishing_rest_support_transaction_get_argument
if (result_length1) {
#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*result_length1 = _tmp2__length1;
-#line 2818 "RESTSupport.c"
+#line 2819 "RESTSupport.c"
}
#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
result = _tmp2_;
#line 285 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 2824 "RESTSupport.c"
+#line 2825 "RESTSupport.c"
}
@@ -2868,13 +2869,13 @@ PublishingRESTSupportArgument** publishing_rest_support_transaction_get_sorted_a
if (result_length1) {
#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*result_length1 = _tmp6__length1;
-#line 2864 "RESTSupport.c"
+#line 2865 "RESTSupport.c"
}
#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
result = _tmp6_;
#line 289 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 2870 "RESTSupport.c"
+#line 2871 "RESTSupport.c"
}
@@ -2886,14 +2887,14 @@ void publishing_rest_support_transaction_set_is_executed (PublishingRESTSupportT
_tmp0_ = is_executed;
#line 293 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->priv->is_executed = _tmp0_;
-#line 2882 "RESTSupport.c"
+#line 2883 "RESTSupport.c"
}
static void _publishing_rest_support_transaction_on_message_unqueued_publishing_rest_support_session_wire_message_unqueued (PublishingRESTSupportSession* _sender, SoupMessage* message, gpointer self) {
#line 297 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_transaction_on_message_unqueued ((PublishingRESTSupportTransaction*) self, message);
-#line 2889 "RESTSupport.c"
+#line 2890 "RESTSupport.c"
}
@@ -2941,23 +2942,23 @@ void publishing_rest_support_transaction_send (PublishingRESTSupportTransaction*
_tmp8_ = self->priv->err;
#line 304 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp8_ != NULL) {
-#line 2937 "RESTSupport.c"
+#line 2938 "RESTSupport.c"
GError* _tmp9_ = NULL;
#line 305 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp9_ = self->priv->err;
#line 305 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_emit_by_name (self, "network-error", _tmp9_);
-#line 2943 "RESTSupport.c"
+#line 2944 "RESTSupport.c"
} else {
#line 307 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_emit_by_name (self, "completed");
-#line 2947 "RESTSupport.c"
+#line 2948 "RESTSupport.c"
}
#line 309 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp10_ = self->priv->err;
#line 309 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp10_ != NULL) {
-#line 2953 "RESTSupport.c"
+#line 2954 "RESTSupport.c"
GError* _tmp11_ = NULL;
GError* _tmp12_ = NULL;
#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -2972,7 +2973,7 @@ void publishing_rest_support_transaction_send (PublishingRESTSupportTransaction*
g_propagate_error (error, _inner_error_);
#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2968 "RESTSupport.c"
+#line 2969 "RESTSupport.c"
} else {
#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -2980,7 +2981,7 @@ void publishing_rest_support_transaction_send (PublishingRESTSupportTransaction*
g_clear_error (&_inner_error_);
#line 310 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 2976 "RESTSupport.c"
+#line 2977 "RESTSupport.c"
}
}
}
@@ -3014,7 +3015,7 @@ PublishingRESTSupportHttpMethod publishing_rest_support_transaction_get_method (
result = _tmp5_;
#line 314 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 3010 "RESTSupport.c"
+#line 3011 "RESTSupport.c"
}
@@ -3037,7 +3038,7 @@ static void publishing_rest_support_transaction_real_add_header (PublishingRESTS
_tmp3_ = value;
#line 318 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
soup_message_headers_append (_tmp1_, _tmp2_, _tmp3_);
-#line 3033 "RESTSupport.c"
+#line 3034 "RESTSupport.c"
}
@@ -3046,7 +3047,7 @@ void publishing_rest_support_transaction_add_header (PublishingRESTSupportTransa
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self));
#line 317 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
PUBLISHING_REST_SUPPORT_TRANSACTION_GET_CLASS (self)->add_header (self, key, value);
-#line 3042 "RESTSupport.c"
+#line 3043 "RESTSupport.c"
}
@@ -3080,19 +3081,19 @@ void publishing_rest_support_transaction_set_custom_payload (PublishingRESTSuppo
self->priv->use_custom_payload = FALSE;
#line 335 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 3076 "RESTSupport.c"
+#line 3077 "RESTSupport.c"
}
#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp3_ = payload_length;
#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp3_ > ((gulong) 0)) {
-#line 3082 "RESTSupport.c"
+#line 3083 "RESTSupport.c"
gulong _tmp4_ = 0UL;
#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp4_ = payload_length;
#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_ = _tmp4_;
-#line 3088 "RESTSupport.c"
+#line 3089 "RESTSupport.c"
} else {
const gchar* _tmp5_ = NULL;
gint _tmp6_ = 0;
@@ -3105,7 +3106,7 @@ void publishing_rest_support_transaction_set_custom_payload (PublishingRESTSuppo
_tmp7_ = _tmp6_;
#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_ = (gulong) _tmp7_;
-#line 3101 "RESTSupport.c"
+#line 3102 "RESTSupport.c"
}
#line 338 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
length = _tmp2_;
@@ -3127,7 +3128,7 @@ void publishing_rest_support_transaction_set_custom_payload (PublishingRESTSuppo
soup_message_set_request (_tmp8_, _tmp9_, SOUP_MEMORY_COPY, _tmp12_ + 0, (gsize) (((gint) _tmp13_) - 0));
#line 341 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->priv->use_custom_payload = TRUE;
-#line 3123 "RESTSupport.c"
+#line 3124 "RESTSupport.c"
}
@@ -3146,7 +3147,7 @@ void publishing_rest_support_transaction_set_message (PublishingRESTSupportTrans
_g_object_unref0 (self->priv->message);
#line 350 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->priv->message = _tmp1_;
-#line 3142 "RESTSupport.c"
+#line 3143 "RESTSupport.c"
}
@@ -3161,7 +3162,7 @@ gboolean publishing_rest_support_transaction_get_is_executed (PublishingRESTSupp
result = _tmp0_;
#line 354 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 3157 "RESTSupport.c"
+#line 3158 "RESTSupport.c"
}
@@ -3187,14 +3188,14 @@ guint publishing_rest_support_transaction_get_status_code (PublishingRESTSupport
result = _tmp3_;
#line 359 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 3183 "RESTSupport.c"
+#line 3184 "RESTSupport.c"
}
static void _vala_SoupURI_free (SoupURI* self) {
#line 393 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_boxed_free (soup_uri_get_type (), self);
-#line 3190 "RESTSupport.c"
+#line 3191 "RESTSupport.c"
}
@@ -3224,7 +3225,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
g_propagate_error (error, _inner_error_);
#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 3220 "RESTSupport.c"
+#line 3221 "RESTSupport.c"
} else {
#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -3232,18 +3233,18 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
g_clear_error (&_inner_error_);
#line 368 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 3228 "RESTSupport.c"
+#line 3229 "RESTSupport.c"
}
}
#line 370 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 3233 "RESTSupport.c"
+#line 3234 "RESTSupport.c"
}
#line 374 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp1_ = publishing_rest_support_transaction_get_method (self);
#line 374 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp1_ == PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST) {
-#line 3239 "RESTSupport.c"
+#line 3240 "RESTSupport.c"
PublishingRESTSupportArgument** _tmp2_ = NULL;
gint _tmp2__length1 = 0;
#line 375 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -3252,25 +3253,25 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
_tmp2__length1 = self->priv->arguments_length1;
#line 375 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_vala_assert (_tmp2__length1 > 0, "arguments.length > 0");
-#line 3248 "RESTSupport.c"
+#line 3249 "RESTSupport.c"
}
#line 378 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp3_ = g_strdup ("");
#line 378 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
formdata_string = _tmp3_;
-#line 3254 "RESTSupport.c"
+#line 3255 "RESTSupport.c"
{
gint i = 0;
#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
i = 0;
-#line 3259 "RESTSupport.c"
+#line 3260 "RESTSupport.c"
{
gboolean _tmp4_ = FALSE;
#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp4_ = TRUE;
#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
while (TRUE) {
-#line 3266 "RESTSupport.c"
+#line 3267 "RESTSupport.c"
gint _tmp6_ = 0;
PublishingRESTSupportArgument** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
@@ -3287,13 +3288,13 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
gint _tmp16__length1 = 0;
#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!_tmp4_) {
-#line 3283 "RESTSupport.c"
+#line 3284 "RESTSupport.c"
gint _tmp5_ = 0;
#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = i;
#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
i = _tmp5_ + 1;
-#line 3289 "RESTSupport.c"
+#line 3290 "RESTSupport.c"
}
#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp4_ = FALSE;
@@ -3307,7 +3308,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
if (!(_tmp6_ < _tmp7__length1)) {
#line 379 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
break;
-#line 3303 "RESTSupport.c"
+#line 3304 "RESTSupport.c"
}
#line 380 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp8_ = formdata_string;
@@ -3339,7 +3340,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
_tmp16__length1 = self->priv->arguments_length1;
#line 381 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp15_ < (_tmp16__length1 - 1)) {
-#line 3335 "RESTSupport.c"
+#line 3336 "RESTSupport.c"
const gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
#line 382 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -3350,7 +3351,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
_g_free0 (formdata_string);
#line 382 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
formdata_string = _tmp18_;
-#line 3346 "RESTSupport.c"
+#line 3347 "RESTSupport.c"
}
}
}
@@ -3363,7 +3364,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
_tmp20_ = publishing_rest_support_transaction_get_method (self);
#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp20_ == PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET) {
-#line 3359 "RESTSupport.c"
+#line 3360 "RESTSupport.c"
PublishingRESTSupportArgument** _tmp21_ = NULL;
gint _tmp21__length1 = 0;
#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -3372,15 +3373,15 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
_tmp21__length1 = self->priv->arguments_length1;
#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp19_ = _tmp21__length1 > 0;
-#line 3368 "RESTSupport.c"
+#line 3369 "RESTSupport.c"
} else {
#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp19_ = FALSE;
-#line 3372 "RESTSupport.c"
+#line 3373 "RESTSupport.c"
}
#line 390 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp19_) {
-#line 3376 "RESTSupport.c"
+#line 3377 "RESTSupport.c"
SoupMessage* _tmp22_ = NULL;
SoupURI* _tmp23_ = NULL;
gchar* _tmp24_ = NULL;
@@ -3436,7 +3437,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
soup_message_set_uri (_tmp31_, _tmp34_);
#line 393 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
__vala_SoupURI_free0 (_tmp34_);
-#line 3432 "RESTSupport.c"
+#line 3433 "RESTSupport.c"
} else {
SoupMessage* _tmp35_ = NULL;
const gchar* _tmp36_ = NULL;
@@ -3456,11 +3457,11 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
_tmp38__length1 = _tmp37__length1;
#line 395 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
soup_message_set_request (_tmp35_, "application/x-www-form-urlencoded", SOUP_MEMORY_COPY, _tmp38_, (gsize) _tmp38__length1);
-#line 3452 "RESTSupport.c"
+#line 3453 "RESTSupport.c"
}
#line 399 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->priv->is_executed = TRUE;
-#line 3456 "RESTSupport.c"
+#line 3457 "RESTSupport.c"
{
SoupMessage* _tmp39_ = NULL;
SoupURI* _tmp40_ = NULL;
@@ -3482,7 +3483,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
publishing_rest_support_transaction_send (self, &_inner_error_);
#line 403 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3478 "RESTSupport.c"
+#line 3479 "RESTSupport.c"
goto __finally1;
}
}
@@ -3493,7 +3494,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
_tmp43_ = old_url;
#line 406 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp43_ != NULL) {
-#line 3489 "RESTSupport.c"
+#line 3490 "RESTSupport.c"
SoupMessage* _tmp44_ = NULL;
const gchar* _tmp45_ = NULL;
SoupURI* _tmp46_ = NULL;
@@ -3510,7 +3511,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
soup_message_set_uri (_tmp44_, _tmp47_);
#line 407 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
__vala_SoupURI_free0 (_tmp47_);
-#line 3506 "RESTSupport.c"
+#line 3507 "RESTSupport.c"
}
}
#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -3527,7 +3528,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
_g_free0 (formdata_string);
#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 3523 "RESTSupport.c"
+#line 3524 "RESTSupport.c"
} else {
#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (url_with_query);
@@ -3541,7 +3542,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
g_clear_error (&_inner_error_);
#line 401 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 3537 "RESTSupport.c"
+#line 3538 "RESTSupport.c"
}
}
#line 362 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -3550,7 +3551,7 @@ static void publishing_rest_support_transaction_real_execute (PublishingRESTSupp
_g_free0 (old_url);
#line 362 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (formdata_string);
-#line 3546 "RESTSupport.c"
+#line 3547 "RESTSupport.c"
}
@@ -3559,7 +3560,7 @@ void publishing_rest_support_transaction_execute (PublishingRESTSupportTransacti
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (self));
#line 362 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
PUBLISHING_REST_SUPPORT_TRANSACTION_GET_CLASS (self)->execute (self, error);
-#line 3555 "RESTSupport.c"
+#line 3556 "RESTSupport.c"
}
@@ -3591,7 +3592,7 @@ gchar* publishing_rest_support_transaction_get_response (PublishingRESTSupportTr
result = _tmp4_;
#line 413 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 3587 "RESTSupport.c"
+#line 3588 "RESTSupport.c"
}
@@ -3614,7 +3615,7 @@ SoupMessageHeaders* publishing_rest_support_transaction_get_response_headers (Pu
result = _tmp2_;
#line 418 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 3610 "RESTSupport.c"
+#line 3611 "RESTSupport.c"
}
@@ -3637,7 +3638,7 @@ SoupMessage* publishing_rest_support_transaction_get_message (PublishingRESTSupp
result = _tmp2_;
#line 423 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 3633 "RESTSupport.c"
+#line 3634 "RESTSupport.c"
}
@@ -3648,13 +3649,13 @@ static void _vala_array_add1 (PublishingRESTSupportArgument*** array, int* lengt
*size = (*size) ? (2 * (*size)) : 4;
#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*array = g_renew (PublishingRESTSupportArgument*, *array, (*size) + 1);
-#line 3644 "RESTSupport.c"
+#line 3645 "RESTSupport.c"
}
#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
(*array)[(*length)++] = value;
#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
(*array)[*length] = NULL;
-#line 3650 "RESTSupport.c"
+#line 3651 "RESTSupport.c"
}
@@ -3682,7 +3683,7 @@ void publishing_rest_support_transaction_add_argument (PublishingRESTSupportTran
_tmp3_ = publishing_rest_support_argument_new (_tmp1_, _tmp2_);
#line 427 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_vala_array_add1 (&self->priv->arguments, &self->priv->arguments_length1, &self->priv->_arguments_size_, _tmp3_);
-#line 3678 "RESTSupport.c"
+#line 3679 "RESTSupport.c"
}
@@ -3696,7 +3697,7 @@ gchar* publishing_rest_support_transaction_get_endpoint_url (PublishingRESTSuppo
_tmp1_ = self->priv->endpoint_url;
#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp1_ != NULL) {
-#line 3692 "RESTSupport.c"
+#line 3693 "RESTSupport.c"
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -3707,7 +3708,7 @@ gchar* publishing_rest_support_transaction_get_endpoint_url (PublishingRESTSuppo
_g_free0 (_tmp0_);
#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0_ = _tmp3_;
-#line 3703 "RESTSupport.c"
+#line 3704 "RESTSupport.c"
} else {
PublishingRESTSupportSession* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
@@ -3719,20 +3720,20 @@ gchar* publishing_rest_support_transaction_get_endpoint_url (PublishingRESTSuppo
_g_free0 (_tmp0_);
#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0_ = _tmp5_;
-#line 3715 "RESTSupport.c"
+#line 3716 "RESTSupport.c"
}
#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
result = _tmp0_;
#line 431 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 3721 "RESTSupport.c"
+#line 3722 "RESTSupport.c"
}
static gpointer _publishing_rest_support_session_ref0 (gpointer self) {
#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self ? publishing_rest_support_session_ref (self) : NULL;
-#line 3728 "RESTSupport.c"
+#line 3729 "RESTSupport.c"
}
@@ -3750,7 +3751,7 @@ PublishingRESTSupportSession* publishing_rest_support_transaction_get_parent_ses
result = _tmp1_;
#line 435 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 3746 "RESTSupport.c"
+#line 3747 "RESTSupport.c"
}
@@ -3769,26 +3770,26 @@ static void g_cclosure_user_marshal_VOID__INT_INT (GClosure * closure, GValue *
data1 = closure->data;
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
data2 = param_values->data[0].v_pointer;
-#line 3765 "RESTSupport.c"
+#line 3766 "RESTSupport.c"
} else {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
data1 = param_values->data[0].v_pointer;
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
data2 = closure->data;
-#line 3771 "RESTSupport.c"
+#line 3772 "RESTSupport.c"
}
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
callback = (GMarshalFunc_VOID__INT_INT) (marshal_data ? marshal_data : cc->callback);
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
callback (data1, g_value_get_int (param_values + 1), g_value_get_int (param_values + 2), data2);
-#line 3777 "RESTSupport.c"
+#line 3778 "RESTSupport.c"
}
static void publishing_rest_support_value_transaction_init (GValue* value) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 3784 "RESTSupport.c"
+#line 3785 "RESTSupport.c"
}
@@ -3797,7 +3798,7 @@ static void publishing_rest_support_value_transaction_free_value (GValue* value)
if (value->data[0].v_pointer) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_transaction_unref (value->data[0].v_pointer);
-#line 3793 "RESTSupport.c"
+#line 3794 "RESTSupport.c"
}
}
@@ -3807,11 +3808,11 @@ static void publishing_rest_support_value_transaction_copy_value (const GValue*
if (src_value->data[0].v_pointer) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = publishing_rest_support_transaction_ref (src_value->data[0].v_pointer);
-#line 3803 "RESTSupport.c"
+#line 3804 "RESTSupport.c"
} else {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = NULL;
-#line 3807 "RESTSupport.c"
+#line 3808 "RESTSupport.c"
}
}
@@ -3819,37 +3820,37 @@ static void publishing_rest_support_value_transaction_copy_value (const GValue*
static gpointer publishing_rest_support_value_transaction_peek_pointer (const GValue* value) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 3815 "RESTSupport.c"
+#line 3816 "RESTSupport.c"
}
static gchar* publishing_rest_support_value_transaction_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (collect_values[0].v_pointer) {
-#line 3822 "RESTSupport.c"
+#line 3823 "RESTSupport.c"
PublishingRESTSupportTransaction* object;
object = collect_values[0].v_pointer;
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (object->parent_instance.g_class == NULL) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 3829 "RESTSupport.c"
+#line 3830 "RESTSupport.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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 3833 "RESTSupport.c"
+#line 3834 "RESTSupport.c"
}
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = publishing_rest_support_transaction_ref (object);
-#line 3837 "RESTSupport.c"
+#line 3838 "RESTSupport.c"
} else {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 3841 "RESTSupport.c"
+#line 3842 "RESTSupport.c"
}
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 3845 "RESTSupport.c"
+#line 3846 "RESTSupport.c"
}
@@ -3860,25 +3861,25 @@ static gchar* publishing_rest_support_value_transaction_lcopy_value (const GValu
if (!object_p) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 3856 "RESTSupport.c"
+#line 3857 "RESTSupport.c"
}
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!value->data[0].v_pointer) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = NULL;
-#line 3862 "RESTSupport.c"
+#line 3863 "RESTSupport.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = value->data[0].v_pointer;
-#line 3866 "RESTSupport.c"
+#line 3867 "RESTSupport.c"
} else {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = publishing_rest_support_transaction_ref (value->data[0].v_pointer);
-#line 3870 "RESTSupport.c"
+#line 3871 "RESTSupport.c"
}
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 3874 "RESTSupport.c"
+#line 3875 "RESTSupport.c"
}
@@ -3892,7 +3893,7 @@ GParamSpec* publishing_rest_support_param_spec_transaction (const gchar* name, c
G_PARAM_SPEC (spec)->value_type = object_type;
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return G_PARAM_SPEC (spec);
-#line 3888 "RESTSupport.c"
+#line 3889 "RESTSupport.c"
}
@@ -3901,7 +3902,7 @@ gpointer publishing_rest_support_value_get_transaction (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION), NULL);
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 3897 "RESTSupport.c"
+#line 3898 "RESTSupport.c"
}
@@ -3921,17 +3922,17 @@ void publishing_rest_support_value_set_transaction (GValue* value, gpointer v_ob
value->data[0].v_pointer = v_object;
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_transaction_ref (value->data[0].v_pointer);
-#line 3917 "RESTSupport.c"
+#line 3918 "RESTSupport.c"
} else {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 3921 "RESTSupport.c"
+#line 3922 "RESTSupport.c"
}
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_transaction_unref (old);
-#line 3927 "RESTSupport.c"
+#line 3928 "RESTSupport.c"
}
}
@@ -3950,17 +3951,17 @@ void publishing_rest_support_value_take_transaction (GValue* value, gpointer v_o
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = v_object;
-#line 3946 "RESTSupport.c"
+#line 3947 "RESTSupport.c"
} else {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 3950 "RESTSupport.c"
+#line 3951 "RESTSupport.c"
}
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_transaction_unref (old);
-#line 3956 "RESTSupport.c"
+#line 3957 "RESTSupport.c"
}
}
@@ -3982,7 +3983,7 @@ static void publishing_rest_support_transaction_class_init (PublishingRESTSuppor
g_signal_new ("network_error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_new ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 3978 "RESTSupport.c"
+#line 3979 "RESTSupport.c"
}
@@ -4003,7 +4004,7 @@ static void publishing_rest_support_transaction_instance_init (PublishingRESTSup
self->priv->endpoint_url = NULL;
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->ref_count = 1;
-#line 3999 "RESTSupport.c"
+#line 4000 "RESTSupport.c"
}
@@ -4021,7 +4022,7 @@ static void publishing_rest_support_transaction_finalize (PublishingRESTSupportT
_g_error_free0 (self->priv->err);
#line 151 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (self->priv->endpoint_url);
-#line 4017 "RESTSupport.c"
+#line 4018 "RESTSupport.c"
}
@@ -4046,7 +4047,7 @@ gpointer publishing_rest_support_transaction_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return instance;
-#line 4042 "RESTSupport.c"
+#line 4043 "RESTSupport.c"
}
@@ -4059,7 +4060,7 @@ void publishing_rest_support_transaction_unref (gpointer instance) {
PUBLISHING_REST_SUPPORT_TRANSACTION_GET_CLASS (self)->finalize (self);
#line 144 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 4055 "RESTSupport.c"
+#line 4056 "RESTSupport.c"
}
}
@@ -4114,14 +4115,14 @@ PublishingRESTSupportUploadTransaction* publishing_rest_support_upload_transacti
self->message_headers = _tmp7_;
#line 445 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 4110 "RESTSupport.c"
+#line 4111 "RESTSupport.c"
}
PublishingRESTSupportUploadTransaction* publishing_rest_support_upload_transaction_new (PublishingRESTSupportSession* session, SpitPublishingPublishable* publishable) {
#line 445 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_upload_transaction_construct (PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, session, publishable);
-#line 4117 "RESTSupport.c"
+#line 4118 "RESTSupport.c"
}
@@ -4180,14 +4181,14 @@ PublishingRESTSupportUploadTransaction* publishing_rest_support_upload_transacti
self->message_headers = _tmp8_;
#line 455 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 4176 "RESTSupport.c"
+#line 4177 "RESTSupport.c"
}
PublishingRESTSupportUploadTransaction* publishing_rest_support_upload_transaction_new_with_endpoint_url (PublishingRESTSupportSession* session, SpitPublishingPublishable* publishable, const gchar* endpoint_url) {
#line 455 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_upload_transaction_construct_with_endpoint_url (PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, session, publishable, endpoint_url);
-#line 4183 "RESTSupport.c"
+#line 4184 "RESTSupport.c"
}
@@ -4210,7 +4211,7 @@ static void publishing_rest_support_upload_transaction_real_add_header (Publishi
_tmp2_ = value;
#line 467 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_, _tmp2_);
-#line 4206 "RESTSupport.c"
+#line 4207 "RESTSupport.c"
}
@@ -4221,7 +4222,7 @@ static gchar* publishing_rest_support_upload_transaction_media_type_to_mime_type
_tmp0_ = media_type;
#line 471 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp0_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) {
-#line 4217 "RESTSupport.c"
+#line 4218 "RESTSupport.c"
gchar* _tmp1_ = NULL;
#line 472 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp1_ = g_strdup ("image/jpeg");
@@ -4229,14 +4230,14 @@ static gchar* publishing_rest_support_upload_transaction_media_type_to_mime_type
result = _tmp1_;
#line 472 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 4225 "RESTSupport.c"
+#line 4226 "RESTSupport.c"
} else {
SpitPublishingPublisherMediaType _tmp2_ = 0;
#line 473 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_ = media_type;
#line 473 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp2_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
-#line 4232 "RESTSupport.c"
+#line 4233 "RESTSupport.c"
gchar* _tmp3_ = NULL;
#line 474 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp3_ = g_strdup ("video/mpeg");
@@ -4244,7 +4245,7 @@ static gchar* publishing_rest_support_upload_transaction_media_type_to_mime_type
result = _tmp3_;
#line 474 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 4240 "RESTSupport.c"
+#line 4241 "RESTSupport.c"
} else {
SpitPublishingPublisherMediaType _tmp4_ = 0;
GEnumValue* _tmp5_;
@@ -4254,7 +4255,7 @@ static gchar* publishing_rest_support_upload_transaction_media_type_to_mime_type
_tmp5_ = g_enum_get_value (g_type_class_ref (SPIT_PUBLISHING_PUBLISHER_TYPE_MEDIA_TYPE), _tmp4_);
#line 476 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_error ("RESTSupport.vala:476: UploadTransaction: unknown media type %s.", (_tmp5_ != NULL) ? _tmp5_->value_name : NULL);
-#line 4250 "RESTSupport.c"
+#line 4251 "RESTSupport.c"
}
}
}
@@ -4263,7 +4264,7 @@ static gchar* publishing_rest_support_upload_transaction_media_type_to_mime_type
static void _g_free0_ (gpointer var) {
#line 480 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
var = (g_free (var), NULL);
-#line 4259 "RESTSupport.c"
+#line 4260 "RESTSupport.c"
}
@@ -4314,14 +4315,14 @@ static GHashTable* publishing_rest_support_upload_transaction_create_default_bin
result = _result_;
#line 486 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 4310 "RESTSupport.c"
+#line 4311 "RESTSupport.c"
}
static gpointer _g_hash_table_ref0 (gpointer self) {
#line 490 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self ? g_hash_table_ref (self) : NULL;
-#line 4317 "RESTSupport.c"
+#line 4318 "RESTSupport.c"
}
@@ -4340,21 +4341,28 @@ void publishing_rest_support_upload_transaction_set_binary_disposition_table (Pu
_g_hash_table_unref0 (self->binary_disposition_table);
#line 490 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->binary_disposition_table = _tmp1_;
-#line 4336 "RESTSupport.c"
+#line 4337 "RESTSupport.c"
}
static void _vala_SoupMultipart_free (SoupMultipart* self) {
#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_boxed_free (soup_multipart_get_type (), self);
-#line 4343 "RESTSupport.c"
+#line 4344 "RESTSupport.c"
+}
+
+
+static guint8* _vala_array_dup2 (guint8* self, int length) {
+#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
+ return g_memdup (self, length * sizeof (guint8));
+#line 4351 "RESTSupport.c"
}
static void _vala_SoupBuffer_free (SoupBuffer* self) {
#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_boxed_free (soup_buffer_get_type (), self);
-#line 4350 "RESTSupport.c"
+#line 4358 "RESTSupport.c"
}
@@ -4382,7 +4390,8 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
gint _tmp23__length1 = 0;
guint8* _tmp24_ = NULL;
gint _tmp24__length1 = 0;
- gsize _tmp25_ = 0UL;
+ guint8* _tmp25_ = NULL;
+ gint _tmp25__length1 = 0;
SoupBuffer* _tmp26_ = NULL;
SoupMultipart* _tmp27_ = NULL;
SpitPublishingPublishable* _tmp28_ = NULL;
@@ -4438,7 +4447,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
_tmp4_ = request_arguments;
#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp4__length1 = request_arguments_length1;
-#line 4434 "RESTSupport.c"
+#line 4443 "RESTSupport.c"
{
PublishingRESTSupportArgument** arg_collection = NULL;
gint arg_collection_length1 = 0;
@@ -4450,14 +4459,14 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
arg_collection_length1 = _tmp4__length1;
#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
for (arg_it = 0; arg_it < _tmp4__length1; arg_it = arg_it + 1) {
-#line 4446 "RESTSupport.c"
+#line 4455 "RESTSupport.c"
PublishingRESTSupportArgument* _tmp5_ = NULL;
PublishingRESTSupportArgument* arg = NULL;
#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = _publishing_rest_support_argument_ref0 (arg_collection[arg_it]);
#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
arg = _tmp5_;
-#line 4453 "RESTSupport.c"
+#line 4462 "RESTSupport.c"
{
SoupMultipart* _tmp6_ = NULL;
PublishingRESTSupportArgument* _tmp7_ = NULL;
@@ -4478,7 +4487,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
soup_multipart_append_form_string (_tmp6_, _tmp8_, _tmp10_);
#line 499 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_publishing_rest_support_argument_unref0 (arg);
-#line 4474 "RESTSupport.c"
+#line 4483 "RESTSupport.c"
}
}
}
@@ -4516,7 +4525,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_inner_error_->domain == G_FILE_ERROR) {
-#line 4512 "RESTSupport.c"
+#line 4521 "RESTSupport.c"
goto __catch2_g_file_error;
}
#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -4531,7 +4540,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
g_clear_error (&_inner_error_);
#line 505 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 4527 "RESTSupport.c"
+#line 4536 "RESTSupport.c"
}
}
goto __finally2;
@@ -4552,7 +4561,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
_inner_error_ = _tmp19_;
#line 508 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_error_free0 (e);
-#line 4548 "RESTSupport.c"
+#line 4557 "RESTSupport.c"
goto __finally2;
}
__finally2:
@@ -4570,7 +4579,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 4566 "RESTSupport.c"
+#line 4575 "RESTSupport.c"
} else {
#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (payload);
@@ -4584,7 +4593,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
g_clear_error (&_inner_error_);
#line 504 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 4580 "RESTSupport.c"
+#line 4589 "RESTSupport.c"
}
}
#line 512 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -4602,9 +4611,11 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp24__length1 = _tmp23__length1;
#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
- _tmp25_ = payload_length;
+ _tmp25_ = (_tmp24_ != NULL) ? _vala_array_dup2 (_tmp24_, _tmp24__length1) : ((gpointer) _tmp24_);
#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
- _tmp26_ = soup_buffer_new (SOUP_MEMORY_COPY, _tmp24_ + 0, ((gint) _tmp25_) - 0);
+ _tmp25__length1 = _tmp24__length1;
+#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
+ _tmp26_ = soup_buffer_new_take (_tmp25_, _tmp25__length1);
#line 514 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
bindable_data = _tmp26_;
#line 515 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -4673,7 +4684,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
cont = _tmp49_;
#line 528 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
while (TRUE) {
-#line 4669 "RESTSupport.c"
+#line 4680 "RESTSupport.c"
gboolean _tmp50_ = FALSE;
SoupMessage* _tmp51_ = NULL;
SoupMessageHeaders* _tmp52_ = NULL;
@@ -4691,7 +4702,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
if (!_tmp50_) {
#line 528 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
break;
-#line 4687 "RESTSupport.c"
+#line 4698 "RESTSupport.c"
}
#line 529 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp51_ = outbound_message;
@@ -4721,7 +4732,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
_tmp60_ = gee_map_iterator_next (_tmp59_);
#line 530 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
cont = _tmp60_;
-#line 4717 "RESTSupport.c"
+#line 4728 "RESTSupport.c"
}
#line 532 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp61_ = outbound_message;
@@ -4751,7 +4762,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 4747 "RESTSupport.c"
+#line 4758 "RESTSupport.c"
} else {
#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_object_unref0 (i);
@@ -4771,7 +4782,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
g_clear_error (&_inner_error_);
#line 535 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 4767 "RESTSupport.c"
+#line 4778 "RESTSupport.c"
}
}
#line 493 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -4786,7 +4797,7 @@ static void publishing_rest_support_upload_transaction_real_execute (PublishingR
__vala_SoupMultipart_free0 (message_parts);
#line 493 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
-#line 4782 "RESTSupport.c"
+#line 4793 "RESTSupport.c"
}
@@ -4799,7 +4810,7 @@ static void publishing_rest_support_upload_transaction_class_init (PublishingRES
((PublishingRESTSupportTransactionClass *) klass)->add_header = publishing_rest_support_upload_transaction_real_add_header;
#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
((PublishingRESTSupportTransactionClass *) klass)->execute = publishing_rest_support_upload_transaction_real_execute;
-#line 4795 "RESTSupport.c"
+#line 4806 "RESTSupport.c"
}
@@ -4810,7 +4821,7 @@ static void publishing_rest_support_upload_transaction_instance_init (Publishing
self->publishable = NULL;
#line 443 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->message_headers = NULL;
-#line 4806 "RESTSupport.c"
+#line 4817 "RESTSupport.c"
}
@@ -4828,7 +4839,7 @@ static void publishing_rest_support_upload_transaction_finalize (PublishingRESTS
_g_object_unref0 (self->message_headers);
#line 439 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_rest_support_upload_transaction_parent_class)->finalize (obj);
-#line 4824 "RESTSupport.c"
+#line 4835 "RESTSupport.c"
}
@@ -4855,14 +4866,14 @@ static PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_co
self->priv->document = _tmp0_;
#line 547 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 4851 "RESTSupport.c"
+#line 4862 "RESTSupport.c"
}
static PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_new (xmlDoc* doc) {
#line 547 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_xml_document_construct (PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT, doc);
-#line 4858 "RESTSupport.c"
+#line 4869 "RESTSupport.c"
}
@@ -4880,7 +4891,7 @@ xmlNode* publishing_rest_support_xml_document_get_root_node (PublishingRESTSuppo
result = _tmp1_;
#line 556 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 4876 "RESTSupport.c"
+#line 4887 "RESTSupport.c"
}
@@ -4902,21 +4913,21 @@ xmlNode* publishing_rest_support_xml_document_get_named_child (PublishingRESTSup
_tmp1_ = _tmp0_->children;
#line 561 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
doc_node_iter = _tmp1_;
-#line 4898 "RESTSupport.c"
+#line 4909 "RESTSupport.c"
{
gboolean _tmp2_ = FALSE;
#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_ = TRUE;
#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
while (TRUE) {
-#line 4905 "RESTSupport.c"
+#line 4916 "RESTSupport.c"
xmlNode* _tmp5_ = NULL;
xmlNode* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!_tmp2_) {
-#line 4912 "RESTSupport.c"
+#line 4923 "RESTSupport.c"
xmlNode* _tmp3_ = NULL;
xmlNode* _tmp4_ = NULL;
#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -4925,7 +4936,7 @@ xmlNode* publishing_rest_support_xml_document_get_named_child (PublishingRESTSup
_tmp4_ = _tmp3_->next;
#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
doc_node_iter = _tmp4_;
-#line 4921 "RESTSupport.c"
+#line 4932 "RESTSupport.c"
}
#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_ = FALSE;
@@ -4935,7 +4946,7 @@ xmlNode* publishing_rest_support_xml_document_get_named_child (PublishingRESTSup
if (!(_tmp5_ != NULL)) {
#line 563 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
break;
-#line 4931 "RESTSupport.c"
+#line 4942 "RESTSupport.c"
}
#line 564 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp6_ = doc_node_iter;
@@ -4945,7 +4956,7 @@ xmlNode* publishing_rest_support_xml_document_get_named_child (PublishingRESTSup
_tmp8_ = child_name;
#line 564 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (g_strcmp0 (_tmp7_, _tmp8_) == 0) {
-#line 4941 "RESTSupport.c"
+#line 4952 "RESTSupport.c"
xmlNode* _tmp9_ = NULL;
#line 565 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp9_ = doc_node_iter;
@@ -4953,7 +4964,7 @@ xmlNode* publishing_rest_support_xml_document_get_named_child (PublishingRESTSup
result = _tmp9_;
#line 565 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 4949 "RESTSupport.c"
+#line 4960 "RESTSupport.c"
}
}
}
@@ -4969,7 +4980,7 @@ xmlNode* publishing_rest_support_xml_document_get_named_child (PublishingRESTSup
g_propagate_error (error, _inner_error_);
#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 4965 "RESTSupport.c"
+#line 4976 "RESTSupport.c"
} else {
#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -4977,7 +4988,7 @@ xmlNode* publishing_rest_support_xml_document_get_named_child (PublishingRESTSup
g_clear_error (&_inner_error_);
#line 568 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 4973 "RESTSupport.c"
+#line 4984 "RESTSupport.c"
}
}
@@ -5006,7 +5017,7 @@ gchar* publishing_rest_support_xml_document_get_property_value (PublishingRESTSu
_tmp3_ = value_string;
#line 575 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp3_ == NULL) {
-#line 5002 "RESTSupport.c"
+#line 5013 "RESTSupport.c"
const gchar* _tmp4_ = NULL;
xmlNode* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
@@ -5029,7 +5040,7 @@ gchar* publishing_rest_support_xml_document_get_property_value (PublishingRESTSu
_g_free0 (value_string);
#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5025 "RESTSupport.c"
+#line 5036 "RESTSupport.c"
} else {
#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (value_string);
@@ -5039,14 +5050,14 @@ gchar* publishing_rest_support_xml_document_get_property_value (PublishingRESTSu
g_clear_error (&_inner_error_);
#line 576 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5035 "RESTSupport.c"
+#line 5046 "RESTSupport.c"
}
}
#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
result = value_string;
#line 579 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 5042 "RESTSupport.c"
+#line 5053 "RESTSupport.c"
}
@@ -5069,7 +5080,7 @@ static gchar* string_chug (const gchar* self) {
result = _result_;
#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 5065 "RESTSupport.c"
+#line 5076 "RESTSupport.c"
}
@@ -5092,7 +5103,7 @@ static gchar* string_chomp (const gchar* self) {
result = _result_;
#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 5088 "RESTSupport.c"
+#line 5099 "RESTSupport.c"
}
@@ -5133,7 +5144,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
if (_tmp1_ == NULL) {
#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0_ = TRUE;
-#line 5129 "RESTSupport.c"
+#line 5140 "RESTSupport.c"
} else {
const gchar* _tmp2_ = NULL;
gint _tmp3_ = 0;
@@ -5146,11 +5157,11 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
_tmp4_ = _tmp3_;
#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0_ = _tmp4_ == 0;
-#line 5142 "RESTSupport.c"
+#line 5153 "RESTSupport.c"
}
#line 584 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp0_) {
-#line 5146 "RESTSupport.c"
+#line 5157 "RESTSupport.c"
GError* _tmp5_ = NULL;
#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Empty XML string");
@@ -5162,7 +5173,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
g_propagate_error (error, _inner_error_);
#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5158 "RESTSupport.c"
+#line 5169 "RESTSupport.c"
} else {
#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -5170,7 +5181,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
g_clear_error (&_inner_error_);
#line 585 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5166 "RESTSupport.c"
+#line 5177 "RESTSupport.c"
}
}
#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -5195,7 +5206,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
if (_tmp13_) {
#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp6_ = TRUE;
-#line 5191 "RESTSupport.c"
+#line 5202 "RESTSupport.c"
} else {
const gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
@@ -5221,11 +5232,11 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
_g_free0 (_tmp18_);
#line 589 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (_tmp16_);
-#line 5217 "RESTSupport.c"
+#line 5228 "RESTSupport.c"
}
#line 588 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp6_) {
-#line 5221 "RESTSupport.c"
+#line 5232 "RESTSupport.c"
GError* _tmp20_ = NULL;
#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp20_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Unable to parse XML " "document");
@@ -5237,7 +5248,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
g_propagate_error (error, _inner_error_);
#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5233 "RESTSupport.c"
+#line 5244 "RESTSupport.c"
} else {
#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -5245,7 +5256,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
g_clear_error (&_inner_error_);
#line 591 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5241 "RESTSupport.c"
+#line 5252 "RESTSupport.c"
}
}
#line 597 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -5264,7 +5275,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
_tmp26_ = doc;
#line 599 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp26_ == NULL) {
-#line 5260 "RESTSupport.c"
+#line 5271 "RESTSupport.c"
GError* _tmp27_ = NULL;
#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp27_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Unable to parse XML " "document");
@@ -5276,7 +5287,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
g_propagate_error (error, _inner_error_);
#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5272 "RESTSupport.c"
+#line 5283 "RESTSupport.c"
} else {
#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -5284,7 +5295,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
g_clear_error (&_inner_error_);
#line 600 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5280 "RESTSupport.c"
+#line 5291 "RESTSupport.c"
}
}
#line 605 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -5293,7 +5304,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
_tmp29_ = _tmp28_->children;
#line 605 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp29_ == NULL) {
-#line 5289 "RESTSupport.c"
+#line 5300 "RESTSupport.c"
GError* _tmp30_ = NULL;
#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp30_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, "Unable to parse XML " "document");
@@ -5305,7 +5316,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
g_propagate_error (error, _inner_error_);
#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5301 "RESTSupport.c"
+#line 5312 "RESTSupport.c"
} else {
#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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);
@@ -5313,7 +5324,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
g_clear_error (&_inner_error_);
#line 606 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5309 "RESTSupport.c"
+#line 5320 "RESTSupport.c"
}
}
#line 610 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -5336,7 +5347,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
_tmp36_ = _result_;
#line 613 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp36_ != NULL) {
-#line 5332 "RESTSupport.c"
+#line 5343 "RESTSupport.c"
const gchar* _tmp37_ = NULL;
GError* _tmp38_ = NULL;
#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -5355,7 +5366,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
_publishing_rest_support_xml_document_unref0 (rest_doc);
#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5351 "RESTSupport.c"
+#line 5362 "RESTSupport.c"
} else {
#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (_result_);
@@ -5367,7 +5378,7 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
g_clear_error (&_inner_error_);
#line 614 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5363 "RESTSupport.c"
+#line 5374 "RESTSupport.c"
}
}
#line 616 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -5376,14 +5387,14 @@ PublishingRESTSupportXmlDocument* publishing_rest_support_xml_document_parse_str
_g_free0 (_result_);
#line 616 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 5372 "RESTSupport.c"
+#line 5383 "RESTSupport.c"
}
static void publishing_rest_support_value_xml_document_init (GValue* value) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 5379 "RESTSupport.c"
+#line 5390 "RESTSupport.c"
}
@@ -5392,7 +5403,7 @@ static void publishing_rest_support_value_xml_document_free_value (GValue* value
if (value->data[0].v_pointer) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_xml_document_unref (value->data[0].v_pointer);
-#line 5388 "RESTSupport.c"
+#line 5399 "RESTSupport.c"
}
}
@@ -5402,11 +5413,11 @@ static void publishing_rest_support_value_xml_document_copy_value (const GValue*
if (src_value->data[0].v_pointer) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = publishing_rest_support_xml_document_ref (src_value->data[0].v_pointer);
-#line 5398 "RESTSupport.c"
+#line 5409 "RESTSupport.c"
} else {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = NULL;
-#line 5402 "RESTSupport.c"
+#line 5413 "RESTSupport.c"
}
}
@@ -5414,37 +5425,37 @@ static void publishing_rest_support_value_xml_document_copy_value (const GValue*
static gpointer publishing_rest_support_value_xml_document_peek_pointer (const GValue* value) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 5410 "RESTSupport.c"
+#line 5421 "RESTSupport.c"
}
static gchar* publishing_rest_support_value_xml_document_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (collect_values[0].v_pointer) {
-#line 5417 "RESTSupport.c"
+#line 5428 "RESTSupport.c"
PublishingRESTSupportXmlDocument* object;
object = collect_values[0].v_pointer;
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (object->parent_instance.g_class == NULL) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 5424 "RESTSupport.c"
+#line 5435 "RESTSupport.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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 5428 "RESTSupport.c"
+#line 5439 "RESTSupport.c"
}
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = publishing_rest_support_xml_document_ref (object);
-#line 5432 "RESTSupport.c"
+#line 5443 "RESTSupport.c"
} else {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 5436 "RESTSupport.c"
+#line 5447 "RESTSupport.c"
}
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5440 "RESTSupport.c"
+#line 5451 "RESTSupport.c"
}
@@ -5455,25 +5466,25 @@ static gchar* publishing_rest_support_value_xml_document_lcopy_value (const GVal
if (!object_p) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 5451 "RESTSupport.c"
+#line 5462 "RESTSupport.c"
}
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!value->data[0].v_pointer) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = NULL;
-#line 5457 "RESTSupport.c"
+#line 5468 "RESTSupport.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = value->data[0].v_pointer;
-#line 5461 "RESTSupport.c"
+#line 5472 "RESTSupport.c"
} else {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = publishing_rest_support_xml_document_ref (value->data[0].v_pointer);
-#line 5465 "RESTSupport.c"
+#line 5476 "RESTSupport.c"
}
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 5469 "RESTSupport.c"
+#line 5480 "RESTSupport.c"
}
@@ -5487,7 +5498,7 @@ GParamSpec* publishing_rest_support_param_spec_xml_document (const gchar* name,
G_PARAM_SPEC (spec)->value_type = object_type;
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return G_PARAM_SPEC (spec);
-#line 5483 "RESTSupport.c"
+#line 5494 "RESTSupport.c"
}
@@ -5496,7 +5507,7 @@ gpointer publishing_rest_support_value_get_xml_document (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_XML_DOCUMENT), NULL);
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 5492 "RESTSupport.c"
+#line 5503 "RESTSupport.c"
}
@@ -5516,17 +5527,17 @@ void publishing_rest_support_value_set_xml_document (GValue* value, gpointer v_o
value->data[0].v_pointer = v_object;
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_xml_document_ref (value->data[0].v_pointer);
-#line 5512 "RESTSupport.c"
+#line 5523 "RESTSupport.c"
} else {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 5516 "RESTSupport.c"
+#line 5527 "RESTSupport.c"
}
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_xml_document_unref (old);
-#line 5522 "RESTSupport.c"
+#line 5533 "RESTSupport.c"
}
}
@@ -5545,17 +5556,17 @@ void publishing_rest_support_value_take_xml_document (GValue* value, gpointer v_
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = v_object;
-#line 5541 "RESTSupport.c"
+#line 5552 "RESTSupport.c"
} else {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 5545 "RESTSupport.c"
+#line 5556 "RESTSupport.c"
}
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_xml_document_unref (old);
-#line 5551 "RESTSupport.c"
+#line 5562 "RESTSupport.c"
}
}
@@ -5567,7 +5578,7 @@ static void publishing_rest_support_xml_document_class_init (PublishingRESTSuppo
((PublishingRESTSupportXmlDocumentClass *) klass)->finalize = publishing_rest_support_xml_document_finalize;
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_type_class_add_private (klass, sizeof (PublishingRESTSupportXmlDocumentPrivate));
-#line 5563 "RESTSupport.c"
+#line 5574 "RESTSupport.c"
}
@@ -5576,7 +5587,7 @@ static void publishing_rest_support_xml_document_instance_init (PublishingRESTSu
self->priv = PUBLISHING_REST_SUPPORT_XML_DOCUMENT_GET_PRIVATE (self);
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->ref_count = 1;
-#line 5572 "RESTSupport.c"
+#line 5583 "RESTSupport.c"
}
@@ -5591,7 +5602,7 @@ static void publishing_rest_support_xml_document_finalize (PublishingRESTSupport
_tmp0_ = self->priv->document;
#line 552 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
xmlFreeDoc (_tmp0_);
-#line 5587 "RESTSupport.c"
+#line 5598 "RESTSupport.c"
}
@@ -5616,7 +5627,7 @@ gpointer publishing_rest_support_xml_document_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return instance;
-#line 5612 "RESTSupport.c"
+#line 5623 "RESTSupport.c"
}
@@ -5629,7 +5640,7 @@ void publishing_rest_support_xml_document_unref (gpointer instance) {
PUBLISHING_REST_SUPPORT_XML_DOCUMENT_GET_CLASS (self)->finalize (self);
#line 539 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 5625 "RESTSupport.c"
+#line 5636 "RESTSupport.c"
}
}
@@ -5658,7 +5669,7 @@ gchar* publishing_rest_support_decimal_entity_encode (const gchar* source) {
current_char = _tmp2_;
#line 628 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
while (TRUE) {
-#line 5654 "RESTSupport.c"
+#line 5665 "RESTSupport.c"
gint current_char_value = 0;
const gchar* _tmp3_ = NULL;
gunichar _tmp4_ = 0U;
@@ -5682,55 +5693,55 @@ gchar* publishing_rest_support_decimal_entity_encode (const gchar* source) {
if (_tmp5_ < 1) {
#line 633 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
break;
-#line 5678 "RESTSupport.c"
+#line 5689 "RESTSupport.c"
}
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp9_ = current_char_value;
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp9_ < 128) {
-#line 5684 "RESTSupport.c"
+#line 5695 "RESTSupport.c"
gint _tmp10_ = 0;
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp10_ = current_char_value;
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp8_ = _tmp10_ != ((gint) '&');
-#line 5690 "RESTSupport.c"
+#line 5701 "RESTSupport.c"
} else {
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp8_ = FALSE;
-#line 5694 "RESTSupport.c"
+#line 5705 "RESTSupport.c"
}
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp8_) {
-#line 5698 "RESTSupport.c"
+#line 5709 "RESTSupport.c"
gint _tmp11_ = 0;
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp11_ = current_char_value;
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp7_ = _tmp11_ != ((gint) '<');
-#line 5704 "RESTSupport.c"
+#line 5715 "RESTSupport.c"
} else {
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp7_ = FALSE;
-#line 5708 "RESTSupport.c"
+#line 5719 "RESTSupport.c"
}
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp7_) {
-#line 5712 "RESTSupport.c"
+#line 5723 "RESTSupport.c"
gint _tmp12_ = 0;
#line 638 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp12_ = current_char_value;
#line 638 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp6_ = _tmp12_ != ((gint) '>');
-#line 5718 "RESTSupport.c"
+#line 5729 "RESTSupport.c"
} else {
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp6_ = FALSE;
-#line 5722 "RESTSupport.c"
+#line 5733 "RESTSupport.c"
}
#line 637 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp6_) {
-#line 5726 "RESTSupport.c"
+#line 5737 "RESTSupport.c"
GString* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
gunichar _tmp15_ = 0U;
@@ -5742,7 +5753,7 @@ gchar* publishing_rest_support_decimal_entity_encode (const gchar* source) {
_tmp15_ = g_utf8_get_char_validated (_tmp14_, (gssize) -1);
#line 639 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_string_append_unichar (_tmp13_, _tmp15_);
-#line 5738 "RESTSupport.c"
+#line 5749 "RESTSupport.c"
} else {
GString* _tmp16_ = NULL;
gint _tmp17_ = 0;
@@ -5760,7 +5771,7 @@ gchar* publishing_rest_support_decimal_entity_encode (const gchar* source) {
g_string_append (_tmp16_, _tmp19_);
#line 641 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (_tmp19_);
-#line 5756 "RESTSupport.c"
+#line 5767 "RESTSupport.c"
}
#line 643 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp20_ = current_char;
@@ -5772,7 +5783,7 @@ gchar* publishing_rest_support_decimal_entity_encode (const gchar* source) {
_g_free0 (current_char);
#line 643 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
current_char = _tmp22_;
-#line 5768 "RESTSupport.c"
+#line 5779 "RESTSupport.c"
}
#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp23_ = encoded_str_builder;
@@ -5788,28 +5799,28 @@ gchar* publishing_rest_support_decimal_entity_encode (const gchar* source) {
_g_string_free0 (encoded_str_builder);
#line 646 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 5784 "RESTSupport.c"
+#line 5795 "RESTSupport.c"
}
-static SpitPublishingPublishable** _vala_array_dup2 (SpitPublishingPublishable** self, int length) {
+static SpitPublishingPublishable** _vala_array_dup3 (SpitPublishingPublishable** self, int length) {
SpitPublishingPublishable** result;
int i;
#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
result = g_new0 (SpitPublishingPublishable*, length + 1);
#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
for (i = 0; i < length; i++) {
-#line 5795 "RESTSupport.c"
+#line 5806 "RESTSupport.c"
SpitPublishingPublishable* _tmp0_ = NULL;
#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0_ = _g_object_ref0 (self[i]);
#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
result[i] = _tmp0_;
-#line 5801 "RESTSupport.c"
+#line 5812 "RESTSupport.c"
}
#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 5805 "RESTSupport.c"
+#line 5816 "RESTSupport.c"
}
@@ -5830,7 +5841,7 @@ PublishingRESTSupportBatchUploader* publishing_rest_support_batch_uploader_const
#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0__length1 = publishables_length1;
#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
- _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup2 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
+ _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup3 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp1__length1 = _tmp0__length1;
#line 659 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -5851,14 +5862,14 @@ PublishingRESTSupportBatchUploader* publishing_rest_support_batch_uploader_const
self->priv->session = _tmp3_;
#line 658 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 5847 "RESTSupport.c"
+#line 5858 "RESTSupport.c"
}
static void _publishing_rest_support_batch_uploader_on_chunk_transmitted_publishing_rest_support_transaction_chunk_transmitted (PublishingRESTSupportTransaction* _sender, gint bytes_written_so_far, gint total_bytes, gpointer self) {
#line 681 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_batch_uploader_on_chunk_transmitted ((PublishingRESTSupportBatchUploader*) self, bytes_written_so_far, total_bytes);
-#line 5854 "RESTSupport.c"
+#line 5865 "RESTSupport.c"
}
@@ -5878,7 +5889,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
_tmp0_ = self->priv->publishables;
#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0__length1 = self->priv->publishables_length1;
-#line 5874 "RESTSupport.c"
+#line 5885 "RESTSupport.c"
{
SpitPublishingPublishable** publishable_collection = NULL;
gint publishable_collection_length1 = 0;
@@ -5890,14 +5901,14 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
publishable_collection_length1 = _tmp0__length1;
#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
for (publishable_it = 0; publishable_it < _tmp0__length1; publishable_it = publishable_it + 1) {
-#line 5886 "RESTSupport.c"
+#line 5897 "RESTSupport.c"
SpitPublishingPublishable* _tmp1_ = NULL;
SpitPublishingPublishable* publishable = NULL;
#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp1_ = _g_object_ref0 (publishable_collection[publishable_it]);
#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishable = _tmp1_;
-#line 5893 "RESTSupport.c"
+#line 5904 "RESTSupport.c"
{
GFile* file = NULL;
SpitPublishingPublishable* _tmp2_ = NULL;
@@ -5930,7 +5941,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
_tmp4_ = file;
#line 670 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp4_ == NULL) {
-#line 5926 "RESTSupport.c"
+#line 5937 "RESTSupport.c"
gint _tmp5_ = 0;
#line 671 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = self->priv->current_file;
@@ -5942,7 +5953,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
_g_object_unref0 (publishable);
#line 672 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
continue;
-#line 5938 "RESTSupport.c"
+#line 5949 "RESTSupport.c"
}
#line 675 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp6_ = self->priv->current_file;
@@ -5958,7 +5969,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
_tmp8__target = self->priv->status_updated_target;
#line 676 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp8_ != NULL) {
-#line 5954 "RESTSupport.c"
+#line 5965 "RESTSupport.c"
SpitPublishingProgressCallback _tmp9_ = NULL;
void* _tmp9__target = NULL;
gint _tmp10_ = 0;
@@ -5973,7 +5984,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
_tmp11_ = fraction_complete;
#line 677 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp9_ (_tmp10_ + 1, _tmp11_, _tmp9__target);
-#line 5969 "RESTSupport.c"
+#line 5980 "RESTSupport.c"
}
#line 679 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp12_ = self->priv->publishables;
@@ -5991,7 +6002,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
_tmp16_ = txn;
#line 681 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_connect (_tmp16_, "chunk-transmitted", (GCallback) _publishing_rest_support_batch_uploader_on_chunk_transmitted_publishing_rest_support_transaction_chunk_transmitted, self);
-#line 5987 "RESTSupport.c"
+#line 5998 "RESTSupport.c"
{
PublishingRESTSupportTransaction* _tmp17_ = NULL;
#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -6002,7 +6013,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 5998 "RESTSupport.c"
+#line 6009 "RESTSupport.c"
goto __catch3_spit_publishing_publishing_error;
}
#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -6017,7 +6028,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
g_clear_error (&_inner_error_);
#line 684 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 6013 "RESTSupport.c"
+#line 6024 "RESTSupport.c"
}
}
goto __finally3;
@@ -6037,7 +6048,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
stop = TRUE;
#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_error_free0 (err);
-#line 6033 "RESTSupport.c"
+#line 6044 "RESTSupport.c"
}
__finally3:
#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -6054,7 +6065,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
g_clear_error (&_inner_error_);
#line 683 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 6050 "RESTSupport.c"
+#line 6061 "RESTSupport.c"
}
#line 690 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp19_ = txn;
@@ -6074,7 +6085,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
_g_object_unref0 (publishable);
#line 693 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
break;
-#line 6070 "RESTSupport.c"
+#line 6081 "RESTSupport.c"
}
#line 695 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp22_ = self->priv->current_file;
@@ -6086,7 +6097,7 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
_g_object_unref0 (file);
#line 666 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_object_unref0 (publishable);
-#line 6082 "RESTSupport.c"
+#line 6093 "RESTSupport.c"
}
}
}
@@ -6094,13 +6105,13 @@ static void publishing_rest_support_batch_uploader_send_files (PublishingRESTSup
_tmp23_ = stop;
#line 698 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!_tmp23_) {
-#line 6090 "RESTSupport.c"
+#line 6101 "RESTSupport.c"
gint _tmp24_ = 0;
#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp24_ = self->priv->current_file;
#line 699 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_emit_by_name (self, "upload-complete", _tmp24_);
-#line 6096 "RESTSupport.c"
+#line 6107 "RESTSupport.c"
}
}
@@ -6149,7 +6160,7 @@ static void publishing_rest_support_batch_uploader_on_chunk_transmitted (Publish
_tmp7__target = self->priv->status_updated_target;
#line 708 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp7_ != NULL) {
-#line 6145 "RESTSupport.c"
+#line 6156 "RESTSupport.c"
SpitPublishingProgressCallback _tmp8_ = NULL;
void* _tmp8__target = NULL;
gint _tmp9_ = 0;
@@ -6164,7 +6175,7 @@ static void publishing_rest_support_batch_uploader_on_chunk_transmitted (Publish
_tmp10_ = fraction_complete;
#line 709 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp8_ (_tmp9_ + 1, _tmp10_, _tmp8__target);
-#line 6160 "RESTSupport.c"
+#line 6171 "RESTSupport.c"
}
}
@@ -6183,7 +6194,7 @@ PublishingRESTSupportSession* publishing_rest_support_batch_uploader_get_session
result = _tmp1_;
#line 713 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 6179 "RESTSupport.c"
+#line 6190 "RESTSupport.c"
}
@@ -6210,7 +6221,7 @@ SpitPublishingPublishable* publishing_rest_support_batch_uploader_get_current_pu
result = _tmp3_;
#line 717 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 6206 "RESTSupport.c"
+#line 6217 "RESTSupport.c"
}
@@ -6219,7 +6230,7 @@ static PublishingRESTSupportTransaction* publishing_rest_support_batch_uploader_
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_batch_uploader_create_transaction'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 720 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 6215 "RESTSupport.c"
+#line 6226 "RESTSupport.c"
}
@@ -6228,7 +6239,7 @@ PublishingRESTSupportTransaction* publishing_rest_support_batch_uploader_create_
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (self), NULL);
#line 720 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_GET_CLASS (self)->create_transaction (self, publishable);
-#line 6224 "RESTSupport.c"
+#line 6235 "RESTSupport.c"
}
@@ -6255,7 +6266,7 @@ void publishing_rest_support_batch_uploader_upload (PublishingRESTSupportBatchUp
if (_tmp1__length1 > 0) {
#line 726 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_batch_uploader_send_files (self);
-#line 6251 "RESTSupport.c"
+#line 6262 "RESTSupport.c"
}
}
@@ -6263,7 +6274,7 @@ void publishing_rest_support_batch_uploader_upload (PublishingRESTSupportBatchUp
static void publishing_rest_support_value_batch_uploader_init (GValue* value) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 6259 "RESTSupport.c"
+#line 6270 "RESTSupport.c"
}
@@ -6272,7 +6283,7 @@ static void publishing_rest_support_value_batch_uploader_free_value (GValue* val
if (value->data[0].v_pointer) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_batch_uploader_unref (value->data[0].v_pointer);
-#line 6268 "RESTSupport.c"
+#line 6279 "RESTSupport.c"
}
}
@@ -6282,11 +6293,11 @@ static void publishing_rest_support_value_batch_uploader_copy_value (const GValu
if (src_value->data[0].v_pointer) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = publishing_rest_support_batch_uploader_ref (src_value->data[0].v_pointer);
-#line 6278 "RESTSupport.c"
+#line 6289 "RESTSupport.c"
} else {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
dest_value->data[0].v_pointer = NULL;
-#line 6282 "RESTSupport.c"
+#line 6293 "RESTSupport.c"
}
}
@@ -6294,37 +6305,37 @@ static void publishing_rest_support_value_batch_uploader_copy_value (const GValu
static gpointer publishing_rest_support_value_batch_uploader_peek_pointer (const GValue* value) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 6290 "RESTSupport.c"
+#line 6301 "RESTSupport.c"
}
static gchar* publishing_rest_support_value_batch_uploader_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (collect_values[0].v_pointer) {
-#line 6297 "RESTSupport.c"
+#line 6308 "RESTSupport.c"
PublishingRESTSupportBatchUploader* object;
object = collect_values[0].v_pointer;
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (object->parent_instance.g_class == NULL) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 6304 "RESTSupport.c"
+#line 6315 "RESTSupport.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.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 6308 "RESTSupport.c"
+#line 6319 "RESTSupport.c"
}
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = publishing_rest_support_batch_uploader_ref (object);
-#line 6312 "RESTSupport.c"
+#line 6323 "RESTSupport.c"
} else {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 6316 "RESTSupport.c"
+#line 6327 "RESTSupport.c"
}
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 6320 "RESTSupport.c"
+#line 6331 "RESTSupport.c"
}
@@ -6335,25 +6346,25 @@ static gchar* publishing_rest_support_value_batch_uploader_lcopy_value (const GV
if (!object_p) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 6331 "RESTSupport.c"
+#line 6342 "RESTSupport.c"
}
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!value->data[0].v_pointer) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = NULL;
-#line 6337 "RESTSupport.c"
+#line 6348 "RESTSupport.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = value->data[0].v_pointer;
-#line 6341 "RESTSupport.c"
+#line 6352 "RESTSupport.c"
} else {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
*object_p = publishing_rest_support_batch_uploader_ref (value->data[0].v_pointer);
-#line 6345 "RESTSupport.c"
+#line 6356 "RESTSupport.c"
}
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 6349 "RESTSupport.c"
+#line 6360 "RESTSupport.c"
}
@@ -6367,7 +6378,7 @@ GParamSpec* publishing_rest_support_param_spec_batch_uploader (const gchar* name
G_PARAM_SPEC (spec)->value_type = object_type;
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return G_PARAM_SPEC (spec);
-#line 6363 "RESTSupport.c"
+#line 6374 "RESTSupport.c"
}
@@ -6376,7 +6387,7 @@ gpointer publishing_rest_support_value_get_batch_uploader (const GValue* value)
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER), NULL);
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return value->data[0].v_pointer;
-#line 6372 "RESTSupport.c"
+#line 6383 "RESTSupport.c"
}
@@ -6396,17 +6407,17 @@ void publishing_rest_support_value_set_batch_uploader (GValue* value, gpointer v
value->data[0].v_pointer = v_object;
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_batch_uploader_ref (value->data[0].v_pointer);
-#line 6392 "RESTSupport.c"
+#line 6403 "RESTSupport.c"
} else {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 6396 "RESTSupport.c"
+#line 6407 "RESTSupport.c"
}
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_batch_uploader_unref (old);
-#line 6402 "RESTSupport.c"
+#line 6413 "RESTSupport.c"
}
}
@@ -6425,17 +6436,17 @@ void publishing_rest_support_value_take_batch_uploader (GValue* value, gpointer
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = v_object;
-#line 6421 "RESTSupport.c"
+#line 6432 "RESTSupport.c"
} else {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
value->data[0].v_pointer = NULL;
-#line 6425 "RESTSupport.c"
+#line 6436 "RESTSupport.c"
}
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (old) {
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_batch_uploader_unref (old);
-#line 6431 "RESTSupport.c"
+#line 6442 "RESTSupport.c"
}
}
@@ -6453,7 +6464,7 @@ static void publishing_rest_support_batch_uploader_class_init (PublishingRESTSup
g_signal_new ("upload_complete", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_new ("upload_error", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
-#line 6449 "RESTSupport.c"
+#line 6460 "RESTSupport.c"
}
@@ -6474,7 +6485,7 @@ static void publishing_rest_support_batch_uploader_instance_init (PublishingREST
self->priv->status_updated = NULL;
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->ref_count = 1;
-#line 6470 "RESTSupport.c"
+#line 6481 "RESTSupport.c"
}
@@ -6488,7 +6499,7 @@ static void publishing_rest_support_batch_uploader_finalize (PublishingRESTSuppo
self->priv->publishables = (_vala_array_free (self->priv->publishables, self->priv->publishables_length1, (GDestroyNotify) g_object_unref), NULL);
#line 652 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_publishing_rest_support_session_unref0 (self->priv->session);
-#line 6484 "RESTSupport.c"
+#line 6495 "RESTSupport.c"
}
@@ -6513,7 +6524,7 @@ gpointer publishing_rest_support_batch_uploader_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return instance;
-#line 6509 "RESTSupport.c"
+#line 6520 "RESTSupport.c"
}
@@ -6526,7 +6537,7 @@ void publishing_rest_support_batch_uploader_unref (gpointer instance) {
PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_GET_CLASS (self)->finalize (self);
#line 649 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 6522 "RESTSupport.c"
+#line 6533 "RESTSupport.c"
}
}
@@ -6545,7 +6556,7 @@ static gunichar string_get_char (const gchar* self, glong index) {
result = _tmp1_;
#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 6541 "RESTSupport.c"
+#line 6552 "RESTSupport.c"
}
@@ -6571,7 +6582,7 @@ gchar* publishing_rest_support_asciify_string (const gchar* s) {
_tmp2_ = g_string_new ("");
#line 736 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
b = _tmp2_;
-#line 6567 "RESTSupport.c"
+#line 6578 "RESTSupport.c"
{
const gchar* u = NULL;
const gchar* _tmp3_ = NULL;
@@ -6579,14 +6590,14 @@ gchar* publishing_rest_support_asciify_string (const gchar* s) {
_tmp3_ = t;
#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
u = _tmp3_;
-#line 6575 "RESTSupport.c"
+#line 6586 "RESTSupport.c"
{
gboolean _tmp4_ = FALSE;
#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp4_ = TRUE;
#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
while (TRUE) {
-#line 6582 "RESTSupport.c"
+#line 6593 "RESTSupport.c"
const gchar* _tmp7_ = NULL;
gunichar _tmp8_ = 0U;
gunichar c = 0U;
@@ -6595,7 +6606,7 @@ gchar* publishing_rest_support_asciify_string (const gchar* s) {
gunichar _tmp11_ = 0U;
#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!_tmp4_) {
-#line 6591 "RESTSupport.c"
+#line 6602 "RESTSupport.c"
const gchar* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -6604,7 +6615,7 @@ gchar* publishing_rest_support_asciify_string (const gchar* s) {
_tmp6_ = g_utf8_next_char (_tmp5_);
#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
u = _tmp6_;
-#line 6600 "RESTSupport.c"
+#line 6611 "RESTSupport.c"
}
#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp4_ = FALSE;
@@ -6616,7 +6627,7 @@ gchar* publishing_rest_support_asciify_string (const gchar* s) {
if (!(_tmp8_ != ((gunichar) 0))) {
#line 737 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
break;
-#line 6612 "RESTSupport.c"
+#line 6623 "RESTSupport.c"
}
#line 738 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp9_ = u;
@@ -6628,7 +6639,7 @@ gchar* publishing_rest_support_asciify_string (const gchar* s) {
_tmp11_ = c;
#line 739 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (((gint) _tmp11_) < 128) {
-#line 6624 "RESTSupport.c"
+#line 6635 "RESTSupport.c"
GString* _tmp12_ = NULL;
gunichar _tmp13_ = 0U;
#line 740 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -6637,7 +6648,7 @@ gchar* publishing_rest_support_asciify_string (const gchar* s) {
_tmp13_ = c;
#line 740 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_string_append_unichar (_tmp12_, _tmp13_);
-#line 6633 "RESTSupport.c"
+#line 6644 "RESTSupport.c"
}
}
}
@@ -6656,7 +6667,7 @@ gchar* publishing_rest_support_asciify_string (const gchar* s) {
_g_free0 (t);
#line 743 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 6652 "RESTSupport.c"
+#line 6663 "RESTSupport.c"
}
@@ -6665,7 +6676,7 @@ static gchar* publishing_rest_support_google_session_real_get_user_name (Publish
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_session_get_user_name'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 747 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 6661 "RESTSupport.c"
+#line 6672 "RESTSupport.c"
}
@@ -6674,7 +6685,7 @@ gchar* publishing_rest_support_google_session_get_user_name (PublishingRESTSuppo
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (self), NULL);
#line 747 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return PUBLISHING_REST_SUPPORT_GOOGLE_SESSION_GET_CLASS (self)->get_user_name (self);
-#line 6670 "RESTSupport.c"
+#line 6681 "RESTSupport.c"
}
@@ -6683,7 +6694,7 @@ static gchar* publishing_rest_support_google_session_real_get_access_token (Publ
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_session_get_access_token'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 6679 "RESTSupport.c"
+#line 6690 "RESTSupport.c"
}
@@ -6692,7 +6703,7 @@ gchar* publishing_rest_support_google_session_get_access_token (PublishingRESTSu
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (self), NULL);
#line 748 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return PUBLISHING_REST_SUPPORT_GOOGLE_SESSION_GET_CLASS (self)->get_access_token (self);
-#line 6688 "RESTSupport.c"
+#line 6699 "RESTSupport.c"
}
@@ -6701,7 +6712,7 @@ static gchar* publishing_rest_support_google_session_real_get_refresh_token (Pub
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_session_get_refresh_token'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 749 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return NULL;
-#line 6697 "RESTSupport.c"
+#line 6708 "RESTSupport.c"
}
@@ -6710,7 +6721,7 @@ gchar* publishing_rest_support_google_session_get_refresh_token (PublishingRESTS
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (self), NULL);
#line 749 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return PUBLISHING_REST_SUPPORT_GOOGLE_SESSION_GET_CLASS (self)->get_refresh_token (self);
-#line 6706 "RESTSupport.c"
+#line 6717 "RESTSupport.c"
}
@@ -6719,7 +6730,7 @@ static void publishing_rest_support_google_session_real_deauthenticate (Publishi
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_session_deauthenticate'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 6715 "RESTSupport.c"
+#line 6726 "RESTSupport.c"
}
@@ -6728,7 +6739,7 @@ void publishing_rest_support_google_session_deauthenticate (PublishingRESTSuppor
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (self));
#line 750 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
PUBLISHING_REST_SUPPORT_GOOGLE_SESSION_GET_CLASS (self)->deauthenticate (self);
-#line 6724 "RESTSupport.c"
+#line 6735 "RESTSupport.c"
}
@@ -6738,7 +6749,7 @@ PublishingRESTSupportGoogleSession* publishing_rest_support_google_session_const
self = (PublishingRESTSupportGoogleSession*) publishing_rest_support_session_construct (object_type, NULL);
#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 6734 "RESTSupport.c"
+#line 6745 "RESTSupport.c"
}
@@ -6753,7 +6764,7 @@ static void publishing_rest_support_google_session_class_init (PublishingRESTSup
((PublishingRESTSupportGoogleSessionClass *) klass)->get_refresh_token = publishing_rest_support_google_session_real_get_refresh_token;
#line 746 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
((PublishingRESTSupportGoogleSessionClass *) klass)->deauthenticate = publishing_rest_support_google_session_real_deauthenticate;
-#line 6749 "RESTSupport.c"
+#line 6760 "RESTSupport.c"
}
@@ -6816,14 +6827,14 @@ PublishingRESTSupportGooglePublisher* publishing_rest_support_google_publisher_c
self->priv->web_auth_pane = NULL;
#line 880 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 6812 "RESTSupport.c"
+#line 6823 "RESTSupport.c"
}
static void _publishing_rest_support_google_publisher_on_web_auth_pane_authorized_publishing_rest_support_google_publisher_web_authentication_pane_authorized (PublishingRESTSupportGooglePublisherWebAuthenticationPane* _sender, const gchar* auth_code, gpointer self) {
#line 890 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_on_web_auth_pane_authorized ((PublishingRESTSupportGooglePublisher*) self, auth_code);
-#line 6819 "RESTSupport.c"
+#line 6830 "RESTSupport.c"
}
@@ -6857,27 +6868,27 @@ static void publishing_rest_support_google_publisher_on_web_auth_pane_authorized
if (!_tmp4_) {
#line 895 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 6852 "RESTSupport.c"
+#line 6863 "RESTSupport.c"
}
#line 897 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = auth_code;
#line 897 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_do_get_access_tokens (self, _tmp5_);
-#line 6858 "RESTSupport.c"
+#line 6869 "RESTSupport.c"
}
static void _publishing_rest_support_google_publisher_on_get_access_tokens_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 901 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_on_get_access_tokens_complete ((PublishingRESTSupportGooglePublisher*) self, _sender);
-#line 6865 "RESTSupport.c"
+#line 6876 "RESTSupport.c"
}
static void _publishing_rest_support_google_publisher_on_get_access_tokens_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 902 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_on_get_access_tokens_error ((PublishingRESTSupportGooglePublisher*) self, _sender, err);
-#line 6872 "RESTSupport.c"
+#line 6883 "RESTSupport.c"
}
@@ -6915,7 +6926,7 @@ static void publishing_rest_support_google_publisher_on_get_access_tokens_comple
if (!_tmp4_) {
#line 908 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 6909 "RESTSupport.c"
+#line 6920 "RESTSupport.c"
}
#line 910 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = txn;
@@ -6927,7 +6938,7 @@ static void publishing_rest_support_google_publisher_on_get_access_tokens_comple
publishing_rest_support_google_publisher_do_extract_tokens (self, _tmp7_);
#line 910 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (_tmp7_);
-#line 6921 "RESTSupport.c"
+#line 6932 "RESTSupport.c"
}
@@ -6975,7 +6986,7 @@ static void publishing_rest_support_google_publisher_on_get_access_tokens_error
if (!_tmp7_) {
#line 922 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 6968 "RESTSupport.c"
+#line 6979 "RESTSupport.c"
}
#line 924 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp8_ = self->priv->host;
@@ -6983,21 +6994,21 @@ static void publishing_rest_support_google_publisher_on_get_access_tokens_error
_tmp9_ = err;
#line 924 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
spit_publishing_plugin_host_post_error (_tmp8_, _tmp9_);
-#line 6976 "RESTSupport.c"
+#line 6987 "RESTSupport.c"
}
static void _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_completed_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 929 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_on_refresh_access_token_transaction_completed ((PublishingRESTSupportGooglePublisher*) self, _sender);
-#line 6983 "RESTSupport.c"
+#line 6994 "RESTSupport.c"
}
static void _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 930 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_on_refresh_access_token_transaction_error ((PublishingRESTSupportGooglePublisher*) self, _sender, err);
-#line 6990 "RESTSupport.c"
+#line 7001 "RESTSupport.c"
}
@@ -7037,7 +7048,7 @@ static void publishing_rest_support_google_publisher_on_refresh_access_token_tra
if (!_tmp4_) {
#line 935 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7029 "RESTSupport.c"
+#line 7040 "RESTSupport.c"
}
#line 937 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = self->priv->session;
@@ -7047,7 +7058,7 @@ static void publishing_rest_support_google_publisher_on_refresh_access_token_tra
if (_tmp6_) {
#line 938 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7039 "RESTSupport.c"
+#line 7050 "RESTSupport.c"
}
#line 940 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp7_ = txn;
@@ -7059,7 +7070,7 @@ static void publishing_rest_support_google_publisher_on_refresh_access_token_tra
publishing_rest_support_google_publisher_do_extract_tokens (self, _tmp9_);
#line 940 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (_tmp9_);
-#line 7051 "RESTSupport.c"
+#line 7062 "RESTSupport.c"
}
@@ -7100,7 +7111,7 @@ static void publishing_rest_support_google_publisher_on_refresh_access_token_tra
if (!_tmp4_) {
#line 951 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7091 "RESTSupport.c"
+#line 7102 "RESTSupport.c"
}
#line 953 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = self->priv->session;
@@ -7110,7 +7121,7 @@ static void publishing_rest_support_google_publisher_on_refresh_access_token_tra
if (_tmp6_) {
#line 954 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7101 "RESTSupport.c"
+#line 7112 "RESTSupport.c"
}
#line 958 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp7_ = txn;
@@ -7122,7 +7133,7 @@ static void publishing_rest_support_google_publisher_on_refresh_access_token_tra
publishing_rest_support_google_publisher_do_logout (self);
#line 960 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7113 "RESTSupport.c"
+#line 7124 "RESTSupport.c"
}
#line 963 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp9_ = self->priv->host;
@@ -7130,7 +7141,7 @@ static void publishing_rest_support_google_publisher_on_refresh_access_token_tra
_tmp10_ = err;
#line 963 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
spit_publishing_plugin_host_post_error (_tmp9_, _tmp10_);
-#line 7121 "RESTSupport.c"
+#line 7132 "RESTSupport.c"
}
@@ -7155,7 +7166,7 @@ static void publishing_rest_support_google_publisher_on_refresh_token_available
if (!_tmp1_) {
#line 970 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7145 "RESTSupport.c"
+#line 7156 "RESTSupport.c"
}
#line 972 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_ = self->priv->session;
@@ -7167,7 +7178,7 @@ static void publishing_rest_support_google_publisher_on_refresh_token_available
_g_free0 (_tmp2_->refresh_token);
#line 972 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_->refresh_token = _tmp4_;
-#line 7157 "RESTSupport.c"
+#line 7168 "RESTSupport.c"
}
@@ -7192,7 +7203,7 @@ static void publishing_rest_support_google_publisher_on_access_token_available (
if (!_tmp1_) {
#line 979 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7181 "RESTSupport.c"
+#line 7192 "RESTSupport.c"
}
#line 981 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_ = self->priv->session;
@@ -7206,21 +7217,21 @@ static void publishing_rest_support_google_publisher_on_access_token_available (
_tmp2_->access_token = _tmp4_;
#line 983 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_do_fetch_username (self);
-#line 7195 "RESTSupport.c"
+#line 7206 "RESTSupport.c"
}
static void _publishing_rest_support_google_publisher_on_fetch_username_transaction_completed_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 987 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_on_fetch_username_transaction_completed ((PublishingRESTSupportGooglePublisher*) self, _sender);
-#line 7202 "RESTSupport.c"
+#line 7213 "RESTSupport.c"
}
static void _publishing_rest_support_google_publisher_on_fetch_username_transaction_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 988 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_on_fetch_username_transaction_error ((PublishingRESTSupportGooglePublisher*) self, _sender, err);
-#line 7209 "RESTSupport.c"
+#line 7220 "RESTSupport.c"
}
@@ -7258,7 +7269,7 @@ static void publishing_rest_support_google_publisher_on_fetch_username_transacti
if (!_tmp4_) {
#line 993 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7246 "RESTSupport.c"
+#line 7257 "RESTSupport.c"
}
#line 995 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = txn;
@@ -7270,7 +7281,7 @@ static void publishing_rest_support_google_publisher_on_fetch_username_transacti
publishing_rest_support_google_publisher_do_extract_username (self, _tmp7_);
#line 995 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (_tmp7_);
-#line 7258 "RESTSupport.c"
+#line 7269 "RESTSupport.c"
}
@@ -7307,7 +7318,7 @@ static void publishing_rest_support_google_publisher_on_fetch_username_transacti
if (!_tmp4_) {
#line 1006 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7294 "RESTSupport.c"
+#line 7305 "RESTSupport.c"
}
#line 1008 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp5_ = self->priv->host;
@@ -7315,7 +7326,7 @@ static void publishing_rest_support_google_publisher_on_fetch_username_transacti
_tmp6_ = err;
#line 1008 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
spit_publishing_plugin_host_post_error (_tmp5_, _tmp6_);
-#line 7302 "RESTSupport.c"
+#line 7313 "RESTSupport.c"
}
@@ -7349,7 +7360,7 @@ static void publishing_rest_support_google_publisher_do_get_access_tokens (Publi
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (tokens_txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_rest_support_google_publisher_on_get_access_tokens_complete_publishing_rest_support_transaction_completed, self, 0);
#line 1018 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (tokens_txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_rest_support_google_publisher_on_get_access_tokens_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 7335 "RESTSupport.c"
+#line 7346 "RESTSupport.c"
{
#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (tokens_txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
@@ -7357,7 +7368,7 @@ static void publishing_rest_support_google_publisher_do_get_access_tokens (Publi
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 7343 "RESTSupport.c"
+#line 7354 "RESTSupport.c"
goto __catch4_spit_publishing_publishing_error;
}
#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -7368,7 +7379,7 @@ static void publishing_rest_support_google_publisher_do_get_access_tokens (Publi
g_clear_error (&_inner_error_);
#line 1021 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7354 "RESTSupport.c"
+#line 7365 "RESTSupport.c"
}
}
goto __finally4;
@@ -7389,7 +7400,7 @@ static void publishing_rest_support_google_publisher_do_get_access_tokens (Publi
spit_publishing_plugin_host_post_error (_tmp4_, _tmp5_);
#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_error_free0 (err);
-#line 7375 "RESTSupport.c"
+#line 7386 "RESTSupport.c"
}
__finally4:
#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -7402,11 +7413,11 @@ static void publishing_rest_support_google_publisher_do_get_access_tokens (Publi
g_clear_error (&_inner_error_);
#line 1020 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7388 "RESTSupport.c"
+#line 7399 "RESTSupport.c"
}
#line 1011 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_publishing_rest_support_transaction_unref0 (tokens_txn);
-#line 7392 "RESTSupport.c"
+#line 7403 "RESTSupport.c"
}
@@ -7546,7 +7557,7 @@ static void publishing_rest_support_google_publisher_do_hosted_web_authenticatio
spit_publishing_plugin_host_install_dialog_pane (_tmp29_, G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
#line 1027 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (user_authorization_url);
-#line 7531 "RESTSupport.c"
+#line 7542 "RESTSupport.c"
}
@@ -7575,7 +7586,7 @@ static void publishing_rest_support_google_publisher_do_exchange_refresh_token_f
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_completed_publishing_rest_support_transaction_completed, self, 0);
#line 1055 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_rest_support_google_publisher_on_refresh_access_token_transaction_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 7559 "RESTSupport.c"
+#line 7570 "RESTSupport.c"
{
#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
@@ -7583,7 +7594,7 @@ static void publishing_rest_support_google_publisher_do_exchange_refresh_token_f
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 7567 "RESTSupport.c"
+#line 7578 "RESTSupport.c"
goto __catch5_spit_publishing_publishing_error;
}
#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -7594,7 +7605,7 @@ static void publishing_rest_support_google_publisher_do_exchange_refresh_token_f
g_clear_error (&_inner_error_);
#line 1058 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7578 "RESTSupport.c"
+#line 7589 "RESTSupport.c"
}
}
goto __finally5;
@@ -7615,7 +7626,7 @@ static void publishing_rest_support_google_publisher_do_exchange_refresh_token_f
spit_publishing_plugin_host_post_error (_tmp3_, _tmp4_);
#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_error_free0 (err);
-#line 7599 "RESTSupport.c"
+#line 7610 "RESTSupport.c"
}
__finally5:
#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -7628,18 +7639,18 @@ static void publishing_rest_support_google_publisher_do_exchange_refresh_token_f
g_clear_error (&_inner_error_);
#line 1057 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7612 "RESTSupport.c"
+#line 7623 "RESTSupport.c"
}
#line 1047 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_publishing_rest_support_transaction_unref0 (txn);
-#line 7616 "RESTSupport.c"
+#line 7627 "RESTSupport.c"
}
static gpointer _json_object_ref0 (gpointer self) {
#line 1077 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self ? json_object_ref (self) : NULL;
-#line 7623 "RESTSupport.c"
+#line 7634 "RESTSupport.c"
}
@@ -7670,7 +7681,7 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
_tmp0_ = json_parser_new ();
#line 1067 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
parser = _tmp0_;
-#line 7653 "RESTSupport.c"
+#line 7664 "RESTSupport.c"
{
JsonParser* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
@@ -7682,7 +7693,7 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
json_parser_load_from_data (_tmp1_, _tmp2_, (gssize) -1, &_inner_error_);
#line 1070 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7665 "RESTSupport.c"
+#line 7676 "RESTSupport.c"
goto __catch6_g_error;
}
}
@@ -7727,7 +7738,7 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
_g_object_unref0 (parser);
#line 1074 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7710 "RESTSupport.c"
+#line 7721 "RESTSupport.c"
}
__finally6:
#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -7740,7 +7751,7 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
g_clear_error (&_inner_error_);
#line 1069 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7723 "RESTSupport.c"
+#line 7734 "RESTSupport.c"
}
#line 1077 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp10_ = parser;
@@ -7758,7 +7769,7 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
_tmp16_ = json_object_has_member (_tmp15_, "access_token");
#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (!_tmp16_) {
-#line 7741 "RESTSupport.c"
+#line 7752 "RESTSupport.c"
JsonObject* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -7767,15 +7778,15 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
_tmp18_ = json_object_has_member (_tmp17_, "refresh_token");
#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp14_ = !_tmp18_;
-#line 7750 "RESTSupport.c"
+#line 7761 "RESTSupport.c"
} else {
#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp14_ = FALSE;
-#line 7754 "RESTSupport.c"
+#line 7765 "RESTSupport.c"
}
#line 1079 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp14_) {
-#line 7758 "RESTSupport.c"
+#line 7769 "RESTSupport.c"
SpitPublishingPluginHost* _tmp19_ = NULL;
GError* _tmp20_ = NULL;
GError* _tmp21_ = NULL;
@@ -7795,7 +7806,7 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
_g_object_unref0 (parser);
#line 1082 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7778 "RESTSupport.c"
+#line 7789 "RESTSupport.c"
}
#line 1085 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp22_ = response_obj;
@@ -7803,7 +7814,7 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
_tmp23_ = json_object_has_member (_tmp22_, "refresh_token");
#line 1085 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp23_) {
-#line 7786 "RESTSupport.c"
+#line 7797 "RESTSupport.c"
gchar* refresh_token = NULL;
JsonObject* _tmp24_ = NULL;
const gchar* _tmp25_ = NULL;
@@ -7821,17 +7832,17 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
_tmp27_ = refresh_token;
#line 1088 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (g_strcmp0 (_tmp27_, "") != 0) {
-#line 7804 "RESTSupport.c"
+#line 7815 "RESTSupport.c"
const gchar* _tmp28_ = NULL;
#line 1089 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp28_ = refresh_token;
#line 1089 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_on_refresh_token_available (self, _tmp28_);
-#line 7810 "RESTSupport.c"
+#line 7821 "RESTSupport.c"
}
#line 1085 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (refresh_token);
-#line 7814 "RESTSupport.c"
+#line 7825 "RESTSupport.c"
}
#line 1092 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp29_ = response_obj;
@@ -7839,7 +7850,7 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
_tmp30_ = json_object_has_member (_tmp29_, "access_token");
#line 1092 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp30_) {
-#line 7822 "RESTSupport.c"
+#line 7833 "RESTSupport.c"
gchar* access_token = NULL;
JsonObject* _tmp31_ = NULL;
const gchar* _tmp32_ = NULL;
@@ -7857,23 +7868,23 @@ static void publishing_rest_support_google_publisher_do_extract_tokens (Publishi
_tmp34_ = access_token;
#line 1095 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (g_strcmp0 (_tmp34_, "") != 0) {
-#line 7840 "RESTSupport.c"
+#line 7851 "RESTSupport.c"
const gchar* _tmp35_ = NULL;
#line 1096 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp35_ = access_token;
#line 1096 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_on_access_token_available (self, _tmp35_);
-#line 7846 "RESTSupport.c"
+#line 7857 "RESTSupport.c"
}
#line 1092 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (access_token);
-#line 7850 "RESTSupport.c"
+#line 7861 "RESTSupport.c"
}
#line 1064 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_json_object_unref0 (response_obj);
#line 1064 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_object_unref0 (parser);
-#line 7856 "RESTSupport.c"
+#line 7867 "RESTSupport.c"
}
@@ -7907,13 +7918,13 @@ static void publishing_rest_support_google_publisher_do_fetch_username (Publishi
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_rest_support_google_publisher_on_fetch_username_transaction_completed_publishing_rest_support_transaction_completed, self, 0);
#line 1108 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_rest_support_google_publisher_on_fetch_username_transaction_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 7889 "RESTSupport.c"
+#line 7900 "RESTSupport.c"
{
#line 1111 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
#line 1111 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7895 "RESTSupport.c"
+#line 7906 "RESTSupport.c"
goto __catch7_g_error;
}
}
@@ -7935,7 +7946,7 @@ static void publishing_rest_support_google_publisher_do_fetch_username (Publishi
spit_publishing_plugin_host_post_error (_tmp4_, _tmp5_);
#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_error_free0 (err);
-#line 7917 "RESTSupport.c"
+#line 7928 "RESTSupport.c"
}
__finally7:
#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -7948,11 +7959,11 @@ static void publishing_rest_support_google_publisher_do_fetch_username (Publishi
g_clear_error (&_inner_error_);
#line 1110 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 7930 "RESTSupport.c"
+#line 7941 "RESTSupport.c"
}
#line 1100 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_publishing_rest_support_transaction_unref0 (txn);
-#line 7934 "RESTSupport.c"
+#line 7945 "RESTSupport.c"
}
@@ -7982,7 +7993,7 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
_tmp0_ = json_parser_new ();
#line 1120 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
parser = _tmp0_;
-#line 7963 "RESTSupport.c"
+#line 7974 "RESTSupport.c"
{
JsonParser* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
@@ -7994,7 +8005,7 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
json_parser_load_from_data (_tmp1_, _tmp2_, (gssize) -1, &_inner_error_);
#line 1123 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7975 "RESTSupport.c"
+#line 7986 "RESTSupport.c"
goto __catch8_g_error;
}
}
@@ -8039,7 +8050,7 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
_g_object_unref0 (parser);
#line 1127 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 8020 "RESTSupport.c"
+#line 8031 "RESTSupport.c"
}
__finally8:
#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -8052,7 +8063,7 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
g_clear_error (&_inner_error_);
#line 1122 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 8033 "RESTSupport.c"
+#line 8044 "RESTSupport.c"
}
#line 1130 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp10_ = parser;
@@ -8070,7 +8081,7 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
_tmp15_ = json_object_has_member (_tmp14_, "name");
#line 1132 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp15_) {
-#line 8051 "RESTSupport.c"
+#line 8062 "RESTSupport.c"
gchar* username = NULL;
JsonObject* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
@@ -8088,7 +8099,7 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
_tmp19_ = username;
#line 1135 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (g_strcmp0 (_tmp19_, "") != 0) {
-#line 8069 "RESTSupport.c"
+#line 8080 "RESTSupport.c"
PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp20_ = NULL;
const gchar* _tmp21_ = NULL;
gchar* _tmp22_ = NULL;
@@ -8102,11 +8113,11 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
_g_free0 (_tmp20_->user_name);
#line 1136 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp20_->user_name = _tmp22_;
-#line 8083 "RESTSupport.c"
+#line 8094 "RESTSupport.c"
}
#line 1132 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (username);
-#line 8087 "RESTSupport.c"
+#line 8098 "RESTSupport.c"
}
#line 1139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp23_ = response_obj;
@@ -8114,7 +8125,7 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
_tmp24_ = json_object_has_member (_tmp23_, "access_token");
#line 1139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp24_) {
-#line 8095 "RESTSupport.c"
+#line 8106 "RESTSupport.c"
gchar* access_token = NULL;
JsonObject* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
@@ -8132,7 +8143,7 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
_tmp28_ = access_token;
#line 1142 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (g_strcmp0 (_tmp28_, "") != 0) {
-#line 8113 "RESTSupport.c"
+#line 8124 "RESTSupport.c"
PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp29_ = NULL;
const gchar* _tmp30_ = NULL;
gchar* _tmp31_ = NULL;
@@ -8146,11 +8157,11 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
_g_free0 (_tmp29_->access_token);
#line 1143 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp29_->access_token = _tmp31_;
-#line 8127 "RESTSupport.c"
+#line 8138 "RESTSupport.c"
}
#line 1139 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (access_token);
-#line 8131 "RESTSupport.c"
+#line 8142 "RESTSupport.c"
}
#line 1148 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp32_ = self->priv->session;
@@ -8164,7 +8175,7 @@ static void publishing_rest_support_google_publisher_do_extract_username (Publis
_json_object_unref0 (response_obj);
#line 1117 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_object_unref0 (parser);
-#line 8145 "RESTSupport.c"
+#line 8156 "RESTSupport.c"
}
@@ -8179,7 +8190,7 @@ SpitPublishingPluginHost* publishing_rest_support_google_publisher_get_host (Pub
result = _tmp0_;
#line 1154 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 8160 "RESTSupport.c"
+#line 8171 "RESTSupport.c"
}
@@ -8197,7 +8208,7 @@ PublishingRESTSupportGoogleSession* publishing_rest_support_google_publisher_get
result = _tmp1_;
#line 1158 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 8178 "RESTSupport.c"
+#line 8189 "RESTSupport.c"
}
@@ -8210,21 +8221,21 @@ void publishing_rest_support_google_publisher_start_oauth_flow (PublishingRESTSu
_tmp1_ = refresh_token;
#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp1_ != NULL) {
-#line 8191 "RESTSupport.c"
+#line 8202 "RESTSupport.c"
const gchar* _tmp2_ = NULL;
#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp2_ = refresh_token;
#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0_ = g_strcmp0 (_tmp2_, "") != 0;
-#line 8197 "RESTSupport.c"
+#line 8208 "RESTSupport.c"
} else {
#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp0_ = FALSE;
-#line 8201 "RESTSupport.c"
+#line 8212 "RESTSupport.c"
}
#line 1162 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp0_) {
-#line 8205 "RESTSupport.c"
+#line 8216 "RESTSupport.c"
PublishingRESTSupportGooglePublisherGoogleSessionImpl* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
@@ -8240,14 +8251,14 @@ void publishing_rest_support_google_publisher_start_oauth_flow (PublishingRESTSu
_tmp3_->refresh_token = _tmp5_;
#line 1164 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_do_exchange_refresh_token_for_access_token (self);
-#line 8221 "RESTSupport.c"
+#line 8232 "RESTSupport.c"
} else {
gboolean _tmp6_ = FALSE;
#line 1166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp6_ = publishing_rest_support_google_publisher_web_authentication_pane_is_cache_dirty ();
#line 1166 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp6_) {
-#line 8228 "RESTSupport.c"
+#line 8239 "RESTSupport.c"
SpitPublishingPluginHost* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
#line 1167 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
@@ -8262,11 +8273,11 @@ void publishing_rest_support_google_publisher_start_oauth_flow (PublishingRESTSu
spit_publishing_plugin_host_install_static_message_pane (_tmp7_, _tmp8_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
#line 1168 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 8239 "RESTSupport.c"
+#line 8250 "RESTSupport.c"
}
#line 1171 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_do_hosted_web_authentication (self);
-#line 8243 "RESTSupport.c"
+#line 8254 "RESTSupport.c"
}
}
@@ -8276,7 +8287,7 @@ static void publishing_rest_support_google_publisher_real_on_login_flow_complete
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_on_login_flow_complete'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 1175 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 8253 "RESTSupport.c"
+#line 8264 "RESTSupport.c"
}
@@ -8285,7 +8296,7 @@ void publishing_rest_support_google_publisher_on_login_flow_complete (Publishing
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self));
#line 1175 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->on_login_flow_complete (self);
-#line 8262 "RESTSupport.c"
+#line 8273 "RESTSupport.c"
}
@@ -8294,7 +8305,7 @@ static void publishing_rest_support_google_publisher_real_do_logout (PublishingR
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_do_logout'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 1177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 8271 "RESTSupport.c"
+#line 8282 "RESTSupport.c"
}
@@ -8303,7 +8314,7 @@ void publishing_rest_support_google_publisher_do_logout (PublishingRESTSupportGo
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self));
#line 1177 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->do_logout (self);
-#line 8280 "RESTSupport.c"
+#line 8291 "RESTSupport.c"
}
@@ -8312,7 +8323,7 @@ static gboolean publishing_rest_support_google_publisher_real_is_running (Publis
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_is_running'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 1179 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return FALSE;
-#line 8289 "RESTSupport.c"
+#line 8300 "RESTSupport.c"
}
@@ -8321,7 +8332,7 @@ gboolean publishing_rest_support_google_publisher_is_running (PublishingRESTSupp
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self), FALSE);
#line 1179 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->is_running (self);
-#line 8298 "RESTSupport.c"
+#line 8309 "RESTSupport.c"
}
@@ -8330,7 +8341,7 @@ static void publishing_rest_support_google_publisher_real_start (PublishingRESTS
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_start'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 1181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 8307 "RESTSupport.c"
+#line 8318 "RESTSupport.c"
}
@@ -8339,7 +8350,7 @@ void publishing_rest_support_google_publisher_start (PublishingRESTSupportGoogle
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self));
#line 1181 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->start (self);
-#line 8316 "RESTSupport.c"
+#line 8327 "RESTSupport.c"
}
@@ -8348,7 +8359,7 @@ static void publishing_rest_support_google_publisher_real_stop (PublishingRESTSu
g_critical ("Type `%s' does not implement abstract method `publishing_rest_support_google_publisher_stop'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 1183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 8325 "RESTSupport.c"
+#line 8336 "RESTSupport.c"
}
@@ -8357,7 +8368,7 @@ void publishing_rest_support_google_publisher_stop (PublishingRESTSupportGoogleP
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_PUBLISHER (self));
#line 1183 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_CLASS (self)->stop (self);
-#line 8334 "RESTSupport.c"
+#line 8345 "RESTSupport.c"
}
@@ -8376,7 +8387,7 @@ static SpitPublishingService* publishing_rest_support_google_publisher_real_get_
result = _tmp1_;
#line 1186 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 8353 "RESTSupport.c"
+#line 8364 "RESTSupport.c"
}
@@ -8398,14 +8409,14 @@ static PublishingRESTSupportGooglePublisherGoogleSessionImpl* publishing_rest_su
self->refresh_token = NULL;
#line 762 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 8375 "RESTSupport.c"
+#line 8386 "RESTSupport.c"
}
static PublishingRESTSupportGooglePublisherGoogleSessionImpl* publishing_rest_support_google_publisher_google_session_impl_new (void) {
#line 762 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_google_publisher_google_session_impl_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GOOGLE_SESSION_IMPL);
-#line 8382 "RESTSupport.c"
+#line 8393 "RESTSupport.c"
}
@@ -8421,7 +8432,7 @@ static gboolean publishing_rest_support_google_publisher_google_session_impl_rea
result = _tmp0_ != NULL;
#line 769 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 8398 "RESTSupport.c"
+#line 8409 "RESTSupport.c"
}
@@ -8445,7 +8456,7 @@ static gchar* publishing_rest_support_google_publisher_google_session_impl_real_
result = _tmp2_;
#line 774 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 8422 "RESTSupport.c"
+#line 8433 "RESTSupport.c"
}
@@ -8469,7 +8480,7 @@ static gchar* publishing_rest_support_google_publisher_google_session_impl_real_
result = _tmp2_;
#line 779 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 8446 "RESTSupport.c"
+#line 8457 "RESTSupport.c"
}
@@ -8493,7 +8504,7 @@ static gchar* publishing_rest_support_google_publisher_google_session_impl_real_
result = _tmp2_;
#line 784 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 8470 "RESTSupport.c"
+#line 8481 "RESTSupport.c"
}
@@ -8513,7 +8524,7 @@ static void publishing_rest_support_google_publisher_google_session_impl_real_de
_g_free0 (self->refresh_token);
#line 790 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->refresh_token = NULL;
-#line 8490 "RESTSupport.c"
+#line 8501 "RESTSupport.c"
}
@@ -8532,7 +8543,7 @@ static void publishing_rest_support_google_publisher_google_session_impl_class_i
((PublishingRESTSupportGoogleSessionClass *) klass)->get_refresh_token = publishing_rest_support_google_publisher_google_session_impl_real_get_refresh_token;
#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
((PublishingRESTSupportGoogleSessionClass *) klass)->deauthenticate = publishing_rest_support_google_publisher_google_session_impl_real_deauthenticate;
-#line 8509 "RESTSupport.c"
+#line 8520 "RESTSupport.c"
}
@@ -8552,7 +8563,7 @@ static void publishing_rest_support_google_publisher_google_session_impl_finaliz
_g_free0 (self->refresh_token);
#line 757 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_rest_support_google_publisher_google_session_impl_parent_class)->finalize (obj);
-#line 8529 "RESTSupport.c"
+#line 8540 "RESTSupport.c"
}
@@ -8579,14 +8590,14 @@ static PublishingRESTSupportGooglePublisherWebAuthenticationPane* publishing_res
self = (PublishingRESTSupportGooglePublisherWebAuthenticationPane*) g_object_new (object_type, "login-uri", _tmp0_, NULL);
#line 799 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 8556 "RESTSupport.c"
+#line 8567 "RESTSupport.c"
}
static PublishingRESTSupportGooglePublisherWebAuthenticationPane* publishing_rest_support_google_publisher_web_authentication_pane_new (const gchar* auth_sequence_start_url) {
#line 799 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_google_publisher_web_authentication_pane_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, auth_sequence_start_url);
-#line 8563 "RESTSupport.c"
+#line 8574 "RESTSupport.c"
}
@@ -8599,7 +8610,7 @@ static gboolean publishing_rest_support_google_publisher_web_authentication_pane
result = _tmp0_;
#line 804 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return result;
-#line 8576 "RESTSupport.c"
+#line 8587 "RESTSupport.c"
}
@@ -8626,7 +8637,7 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_
_tmp3_ = _result_;
#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 8603 "RESTSupport.c"
+#line 8614 "RESTSupport.c"
gchar* _tmp4_ = NULL;
#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
@@ -8634,13 +8645,13 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_
result = (gint) (_tmp4_ - ((gchar*) self));
#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 8611 "RESTSupport.c"
+#line 8622 "RESTSupport.c"
} else {
#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = -1;
#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 8617 "RESTSupport.c"
+#line 8628 "RESTSupport.c"
}
}
@@ -8664,7 +8675,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
_tmp3_ = end;
#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
-#line 8641 "RESTSupport.c"
+#line 8652 "RESTSupport.c"
glong _tmp4_ = 0L;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
@@ -8672,7 +8683,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
result = _tmp4_;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 8649 "RESTSupport.c"
+#line 8660 "RESTSupport.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
@@ -8684,7 +8695,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
result = (glong) (_tmp5_ - _tmp6_);
#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 8661 "RESTSupport.c"
+#line 8672 "RESTSupport.c"
}
}
@@ -8708,21 +8719,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp1_ = offset;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
-#line 8685 "RESTSupport.c"
+#line 8696 "RESTSupport.c"
glong _tmp2_ = 0L;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = len;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
-#line 8691 "RESTSupport.c"
+#line 8702 "RESTSupport.c"
} else {
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
-#line 8695 "RESTSupport.c"
+#line 8706 "RESTSupport.c"
}
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 8699 "RESTSupport.c"
+#line 8710 "RESTSupport.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
@@ -8734,7 +8745,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = _tmp5_;
-#line 8711 "RESTSupport.c"
+#line 8722 "RESTSupport.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
@@ -8744,13 +8755,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp7_ = _tmp6_;
#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
-#line 8721 "RESTSupport.c"
+#line 8732 "RESTSupport.c"
}
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp8_ = offset;
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
-#line 8727 "RESTSupport.c"
+#line 8738 "RESTSupport.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
@@ -8764,7 +8775,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp11_ = offset;
#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
-#line 8741 "RESTSupport.c"
+#line 8752 "RESTSupport.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
@@ -8774,13 +8785,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp13_ = string_length;
#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
-#line 8751 "RESTSupport.c"
+#line 8762 "RESTSupport.c"
}
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp14_ = len;
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
-#line 8757 "RESTSupport.c"
+#line 8768 "RESTSupport.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -8789,7 +8800,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp16_ = offset;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
-#line 8766 "RESTSupport.c"
+#line 8777 "RESTSupport.c"
}
#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp17_ = offset;
@@ -8809,7 +8820,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
result = _tmp22_;
#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 8786 "RESTSupport.c"
+#line 8797 "RESTSupport.c"
}
@@ -8845,7 +8856,7 @@ static void publishing_rest_support_google_publisher_web_authentication_pane_rea
_tmp6_ = string_index_of (_tmp5_, "state=connect", 0);
#line 809 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
if (_tmp6_ > 0) {
-#line 8822 "RESTSupport.c"
+#line 8833 "RESTSupport.c"
gint auth_code_field_start = 0;
const gchar* _tmp7_ = NULL;
gint _tmp8_ = 0;
@@ -8869,7 +8880,7 @@ static void publishing_rest_support_google_publisher_web_authentication_pane_rea
_g_free0 (page_title);
#line 812 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return;
-#line 8846 "RESTSupport.c"
+#line 8857 "RESTSupport.c"
}
#line 814 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_tmp10_ = page_title;
@@ -8887,11 +8898,11 @@ static void publishing_rest_support_google_publisher_web_authentication_pane_rea
g_signal_emit_by_name (self, "authorized", _tmp13_);
#line 809 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (auth_code);
-#line 8864 "RESTSupport.c"
+#line 8875 "RESTSupport.c"
}
#line 807 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
_g_free0 (page_title);
-#line 8868 "RESTSupport.c"
+#line 8879 "RESTSupport.c"
}
@@ -8904,7 +8915,7 @@ static void publishing_rest_support_google_publisher_web_authentication_pane_cla
G_OBJECT_CLASS (klass)->finalize = publishing_rest_support_google_publisher_web_authentication_pane_finalize;
#line 794 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
g_signal_new ("authorized", PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
-#line 8881 "RESTSupport.c"
+#line 8892 "RESTSupport.c"
}
@@ -8918,7 +8929,7 @@ static void publishing_rest_support_google_publisher_web_authentication_pane_fin
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_WEB_AUTHENTICATION_PANE, PublishingRESTSupportGooglePublisherWebAuthenticationPane);
#line 794 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
G_OBJECT_CLASS (publishing_rest_support_google_publisher_web_authentication_pane_parent_class)->finalize (obj);
-#line 8895 "RESTSupport.c"
+#line 8906 "RESTSupport.c"
}
@@ -8960,21 +8971,21 @@ static PublishingRESTSupportGooglePublisherGetAccessTokensTransaction* publishin
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "grant_type", "authorization_code");
#line 827 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 8937 "RESTSupport.c"
+#line 8948 "RESTSupport.c"
}
static PublishingRESTSupportGooglePublisherGetAccessTokensTransaction* publishing_rest_support_google_publisher_get_access_tokens_transaction_new (PublishingRESTSupportSession* session, const gchar* auth_code) {
#line 827 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_google_publisher_get_access_tokens_transaction_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_GET_ACCESS_TOKENS_TRANSACTION, session, auth_code);
-#line 8944 "RESTSupport.c"
+#line 8955 "RESTSupport.c"
}
static void publishing_rest_support_google_publisher_get_access_tokens_transaction_class_init (PublishingRESTSupportGooglePublisherGetAccessTokensTransactionClass * klass) {
#line 824 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_get_access_tokens_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 8951 "RESTSupport.c"
+#line 8962 "RESTSupport.c"
}
@@ -9024,21 +9035,21 @@ static PublishingRESTSupportGooglePublisherRefreshAccessTokenTransaction* publis
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "grant_type", "refresh_token");
#line 841 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 9001 "RESTSupport.c"
+#line 9012 "RESTSupport.c"
}
static PublishingRESTSupportGooglePublisherRefreshAccessTokenTransaction* publishing_rest_support_google_publisher_refresh_access_token_transaction_new (PublishingRESTSupportSession* session) {
#line 841 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_google_publisher_refresh_access_token_transaction_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_REFRESH_ACCESS_TOKEN_TRANSACTION, session);
-#line 9008 "RESTSupport.c"
+#line 9019 "RESTSupport.c"
}
static void publishing_rest_support_google_publisher_refresh_access_token_transaction_class_init (PublishingRESTSupportGooglePublisherRefreshAccessTokenTransactionClass * klass) {
#line 838 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_refresh_access_token_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 9015 "RESTSupport.c"
+#line 9026 "RESTSupport.c"
}
@@ -9077,14 +9088,14 @@ static PublishingRESTSupportGooglePublisherAuthenticatedTransaction* publishing_
self = (PublishingRESTSupportGooglePublisherAuthenticatedTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp2_);
#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 9054 "RESTSupport.c"
+#line 9065 "RESTSupport.c"
}
static PublishingRESTSupportGooglePublisherAuthenticatedTransaction* publishing_rest_support_google_publisher_authenticated_transaction_new_with_endpoint_url (PublishingRESTSupportGoogleSession* session, const gchar* endpoint_url, PublishingRESTSupportHttpMethod method) {
#line 852 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_google_publisher_authenticated_transaction_construct_with_endpoint_url (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_AUTHENTICATED_TRANSACTION, session, endpoint_url, method);
-#line 9061 "RESTSupport.c"
+#line 9072 "RESTSupport.c"
}
@@ -9136,21 +9147,21 @@ PublishingRESTSupportGooglePublisherAuthenticatedTransaction* publishing_rest_su
_g_free0 (_tmp7_);
#line 857 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 9113 "RESTSupport.c"
+#line 9124 "RESTSupport.c"
}
PublishingRESTSupportGooglePublisherAuthenticatedTransaction* publishing_rest_support_google_publisher_authenticated_transaction_new (PublishingRESTSupportGoogleSession* session, const gchar* endpoint_url, PublishingRESTSupportHttpMethod method) {
#line 857 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_google_publisher_authenticated_transaction_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_AUTHENTICATED_TRANSACTION, session, endpoint_url, method);
-#line 9120 "RESTSupport.c"
+#line 9131 "RESTSupport.c"
}
static void publishing_rest_support_google_publisher_authenticated_transaction_class_init (PublishingRESTSupportGooglePublisherAuthenticatedTransactionClass * klass) {
#line 851 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_authenticated_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 9127 "RESTSupport.c"
+#line 9138 "RESTSupport.c"
}
@@ -9181,21 +9192,21 @@ static PublishingRESTSupportGooglePublisherUsernameFetchTransaction* publishing_
self = (PublishingRESTSupportGooglePublisherUsernameFetchTransaction*) publishing_rest_support_google_publisher_authenticated_transaction_construct (object_type, _tmp0_, PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_USERNAME_FETCH_TRANSACTION_ENDPOINT_URL, PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET);
#line 869 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return self;
-#line 9158 "RESTSupport.c"
+#line 9169 "RESTSupport.c"
}
static PublishingRESTSupportGooglePublisherUsernameFetchTransaction* publishing_rest_support_google_publisher_username_fetch_transaction_new (PublishingRESTSupportGoogleSession* session) {
#line 869 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
return publishing_rest_support_google_publisher_username_fetch_transaction_construct (PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_TYPE_USERNAME_FETCH_TRANSACTION, session);
-#line 9165 "RESTSupport.c"
+#line 9176 "RESTSupport.c"
}
static void publishing_rest_support_google_publisher_username_fetch_transaction_class_init (PublishingRESTSupportGooglePublisherUsernameFetchTransactionClass * klass) {
#line 866 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
publishing_rest_support_google_publisher_username_fetch_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 9172 "RESTSupport.c"
+#line 9183 "RESTSupport.c"
}
@@ -9232,7 +9243,7 @@ static void publishing_rest_support_google_publisher_class_init (PublishingRESTS
((PublishingRESTSupportGooglePublisherClass *) klass)->stop = publishing_rest_support_google_publisher_real_stop;
#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_rest_support_google_publisher_finalize;
-#line 9209 "RESTSupport.c"
+#line 9220 "RESTSupport.c"
}
@@ -9247,14 +9258,14 @@ static void publishing_rest_support_google_publisher_spit_publishing_publisher_i
iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_rest_support_google_publisher_stop;
#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
iface->get_service = (SpitPublishingService* (*)(SpitPublishingPublisher*)) publishing_rest_support_google_publisher_real_get_service;
-#line 9224 "RESTSupport.c"
+#line 9235 "RESTSupport.c"
}
static void publishing_rest_support_google_publisher_instance_init (PublishingRESTSupportGooglePublisher * self) {
#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
self->priv = PUBLISHING_REST_SUPPORT_GOOGLE_PUBLISHER_GET_PRIVATE (self);
-#line 9231 "RESTSupport.c"
+#line 9242 "RESTSupport.c"
}
@@ -9270,7 +9281,7 @@ static void publishing_rest_support_google_publisher_finalize (GObject* obj) {
_g_object_unref0 (self->priv->web_auth_pane);
#line 753 "/home/jens/Source/shotwell/plugins/common/RESTSupport.vala"
G_OBJECT_CLASS (publishing_rest_support_google_publisher_parent_class)->finalize (obj);
-#line 9247 "RESTSupport.c"
+#line 9258 "RESTSupport.c"
}
diff --git a/plugins/common/RESTSupport.vala b/plugins/common/RESTSupport.vala
index 1a9052b..b76bead 100644
--- a/plugins/common/RESTSupport.vala
+++ b/plugins/common/RESTSupport.vala
@@ -246,21 +246,21 @@ public class Transaction {
protected void check_response(Soup.Message message) throws Spit.Publishing.PublishingError {
switch (message.status_code) {
- case Soup.KnownStatusCode.OK:
- case Soup.KnownStatusCode.CREATED: // HTTP code 201 (CREATED) signals that a new
- // resource was created in response to a PUT or POST
+ case Soup.Status.OK:
+ case Soup.Status.CREATED: // HTTP code 201 (CREATED) signals that a new
+ // resource was created in response to a PUT or POST
break;
- case Soup.KnownStatusCode.CANT_RESOLVE:
- case Soup.KnownStatusCode.CANT_RESOLVE_PROXY:
+ case Soup.Status.CANT_RESOLVE:
+ case Soup.Status.CANT_RESOLVE_PROXY:
throw new Spit.Publishing.PublishingError.NO_ANSWER("Unable to resolve %s (error code %u)",
get_endpoint_url(), message.status_code);
- case Soup.KnownStatusCode.CANT_CONNECT:
- case Soup.KnownStatusCode.CANT_CONNECT_PROXY:
+ case Soup.Status.CANT_CONNECT:
+ case Soup.Status.CANT_CONNECT_PROXY:
throw new Spit.Publishing.PublishingError.NO_ANSWER("Unable to connect to %s (error code %u)",
get_endpoint_url(), message.status_code);
- case Soup.KnownStatusCode.SSL_FAILED:
+ case Soup.Status.SSL_FAILED:
throw new Spit.Publishing.PublishingError.SSL_FAILED ("Unable to connect to %s: Secure connection failed",
get_endpoint_url ());
@@ -511,7 +511,7 @@ public class UploadTransaction : Transaction {
int payload_part_num = message_parts.get_length();
- Soup.Buffer bindable_data = new Soup.Buffer(Soup.MemoryUse.COPY, payload.data[0:payload_length]);
+ Soup.Buffer bindable_data = new Soup.Buffer.take (payload.data);
message_parts.append_form_file("", publishable.get_serialized_file().get_path(), mime_type,
bindable_data);
diff --git a/plugins/common/WebAuthenticationPane.c b/plugins/common/WebAuthenticationPane.c
index 27f4f44..372350f 100644
--- a/plugins/common/WebAuthenticationPane.c
+++ b/plugins/common/WebAuthenticationPane.c
@@ -13,8 +13,8 @@
#include
#include
#include
-#include
#include
+#include
#define SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE (shotwell_plugins_common_web_authentication_pane_get_type ())
@@ -44,7 +44,6 @@ struct _ShotwellPluginsCommonWebAuthenticationPanePrivate {
SpitPublishingDialogPaneGeometryOptions _preferred_geometry;
gchar* _login_uri;
WebKitWebView* webview;
- GtkBox* pane_widget;
};
@@ -82,28 +81,28 @@ static void _vala_shotwell_plugins_common_web_authentication_pane_set_property (
static void _shotwell_plugins_common_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed (WebKitWebView* _sender, WebKitLoadEvent load_event, gpointer self) {
-#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 24 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
shotwell_plugins_common_web_authentication_pane_on_page_load_changed ((ShotwellPluginsCommonWebAuthenticationPane*) self, load_event);
-#line 88 "WebAuthenticationPane.c"
+#line 87 "WebAuthenticationPane.c"
}
static gboolean __lambda4_ (ShotwellPluginsCommonWebAuthenticationPane* self) {
gboolean result = FALSE;
-#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
result = FALSE;
-#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return result;
-#line 98 "WebAuthenticationPane.c"
+#line 97 "WebAuthenticationPane.c"
}
static gboolean ___lambda4__webkit_web_view_context_menu (WebKitWebView* _sender, WebKitContextMenu* context_menu, GdkEvent* event, WebKitHitTestResult* hit_test_result, gpointer self) {
gboolean result;
result = __lambda4_ ((ShotwellPluginsCommonWebAuthenticationPane*) self);
-#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return result;
-#line 107 "WebAuthenticationPane.c"
+#line 106 "WebAuthenticationPane.c"
}
@@ -114,81 +113,64 @@ static void shotwell_plugins_common_web_authentication_pane_real_constructed (GO
WebKitSettings* _tmp2_ = NULL;
WebKitWebView* _tmp3_ = NULL;
WebKitWebView* _tmp4_ = NULL;
- GtkBox* _tmp5_ = NULL;
- GtkBox* _tmp6_ = NULL;
- WebKitWebView* _tmp7_ = NULL;
-#line 19 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 18 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane);
-#line 20 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 19 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
G_OBJECT_CLASS (shotwell_plugins_common_web_authentication_pane_parent_class)->constructed (G_TYPE_CHECK_INSTANCE_CAST (self, G_TYPE_OBJECT, GObject));
-#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 21 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp0_ = (WebKitWebView*) webkit_web_view_new ();
-#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 21 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_object_ref_sink (_tmp0_);
-#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 21 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_g_object_unref0 (self->priv->webview);
-#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 21 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
self->priv->webview = _tmp0_;
-#line 23 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp1_ = self->priv->webview;
-#line 23 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp2_ = webkit_web_view_get_settings (_tmp1_);
-#line 23 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 22 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
webkit_settings_set_enable_plugins (_tmp2_, FALSE);
-#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 24 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp3_ = self->priv->webview;
-#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 24 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_signal_connect_object (_tmp3_, "load-changed", (GCallback) _shotwell_plugins_common_web_authentication_pane_on_page_load_changed_webkit_web_view_load_changed, self, 0);
-#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp4_ = self->priv->webview;
-#line 26 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 25 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_signal_connect_object (_tmp4_, "context-menu", (GCallback) ___lambda4__webkit_web_view_context_menu, self, 0);
-#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- _tmp5_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- g_object_ref_sink (_tmp5_);
-#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- _g_object_unref0 (self->priv->pane_widget);
-#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- self->priv->pane_widget = _tmp5_;
-#line 29 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- _tmp6_ = self->priv->pane_widget;
-#line 29 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- _tmp7_ = self->priv->webview;
-#line 29 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- gtk_box_pack_start (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
-#line 161 "WebAuthenticationPane.c"
+#line 143 "WebAuthenticationPane.c"
}
static void shotwell_plugins_common_web_authentication_pane_real_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* self) {
-#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_critical ("Type `%s' does not implement abstract method `shotwell_plugins_common_web_authentication_pane_on_page_load'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return;
-#line 170 "WebAuthenticationPane.c"
+#line 152 "WebAuthenticationPane.c"
}
void shotwell_plugins_common_web_authentication_pane_on_page_load (ShotwellPluginsCommonWebAuthenticationPane* self) {
-#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self));
-#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 28 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_GET_CLASS (self)->on_page_load (self);
-#line 179 "WebAuthenticationPane.c"
+#line 161 "WebAuthenticationPane.c"
}
static gpointer _g_object_ref0 (gpointer self) {
-#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 31 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return self ? g_object_ref (self) : NULL;
-#line 186 "WebAuthenticationPane.c"
+#line 168 "WebAuthenticationPane.c"
}
void shotwell_plugins_common_web_authentication_pane_set_cursor (ShotwellPluginsCommonWebAuthenticationPane* self, GdkCursorType type) {
GdkWindow* window = NULL;
- GtkBox* _tmp0_ = NULL;
+ WebKitWebView* _tmp0_ = NULL;
GdkWindow* _tmp1_ = NULL;
GdkWindow* _tmp2_ = NULL;
GdkDisplay* display = NULL;
@@ -197,77 +179,77 @@ void shotwell_plugins_common_web_authentication_pane_set_cursor (ShotwellPlugins
GdkCursor* cursor = NULL;
GdkCursorType _tmp5_ = 0;
GdkCursor* _tmp6_ = NULL;
-#line 34 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 30 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self));
-#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- _tmp0_ = self->priv->pane_widget;
-#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 31 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+ _tmp0_ = self->priv->webview;
+#line 31 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 31 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 35 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 31 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
window = _tmp2_;
-#line 36 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp3_ = gdk_window_get_display (window);
-#line 36 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
-#line 36 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 32 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
display = _tmp4_;
-#line 37 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 33 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp5_ = type;
-#line 37 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 33 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp6_ = gdk_cursor_new_for_display (display, _tmp5_);
-#line 37 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 33 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
cursor = _tmp6_;
-#line 38 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- gdk_window_set_cursor (window, cursor);
#line 34 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+ gdk_window_set_cursor (window, cursor);
+#line 30 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_g_object_unref0 (cursor);
-#line 34 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 30 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_g_object_unref0 (display);
-#line 34 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 30 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_g_object_unref0 (window);
-#line 231 "WebAuthenticationPane.c"
+#line 213 "WebAuthenticationPane.c"
}
static void shotwell_plugins_common_web_authentication_pane_on_page_load_changed (ShotwellPluginsCommonWebAuthenticationPane* self, WebKitLoadEvent load_event) {
WebKitLoadEvent _tmp0_ = 0;
-#line 41 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 37 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_return_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self));
-#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 38 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp0_ = load_event;
-#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 38 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
switch (_tmp0_) {
-#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 38 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
case WEBKIT_LOAD_STARTED:
-#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 38 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
case WEBKIT_LOAD_REDIRECTED:
-#line 247 "WebAuthenticationPane.c"
+#line 229 "WebAuthenticationPane.c"
{
-#line 45 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 41 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
shotwell_plugins_common_web_authentication_pane_set_cursor (self, GDK_WATCH);
-#line 46 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
break;
-#line 253 "WebAuthenticationPane.c"
+#line 235 "WebAuthenticationPane.c"
}
-#line 42 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 38 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
case WEBKIT_LOAD_FINISHED:
-#line 257 "WebAuthenticationPane.c"
+#line 239 "WebAuthenticationPane.c"
{
-#line 48 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 44 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
shotwell_plugins_common_web_authentication_pane_set_cursor (self, GDK_LEFT_PTR);
-#line 49 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 45 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
shotwell_plugins_common_web_authentication_pane_on_page_load (self);
-#line 50 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 46 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
break;
-#line 265 "WebAuthenticationPane.c"
+#line 247 "WebAuthenticationPane.c"
}
default:
{
-#line 52 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 48 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
break;
-#line 271 "WebAuthenticationPane.c"
+#line 253 "WebAuthenticationPane.c"
}
}
}
@@ -277,17 +259,17 @@ WebKitWebView* shotwell_plugins_common_web_authentication_pane_get_view (Shotwel
WebKitWebView* result = NULL;
WebKitWebView* _tmp0_ = NULL;
WebKitWebView* _tmp1_ = NULL;
-#line 56 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 52 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_return_val_if_fail (SHOTWELL_PLUGINS_COMMON_IS_WEB_AUTHENTICATION_PANE (self), NULL);
-#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 53 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp0_ = self->priv->webview;
-#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 53 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 53 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
result = _tmp1_;
-#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 53 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return result;
-#line 291 "WebAuthenticationPane.c"
+#line 273 "WebAuthenticationPane.c"
}
@@ -295,34 +277,34 @@ static SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_web_authe
ShotwellPluginsCommonWebAuthenticationPane * self;
SpitPublishingDialogPaneGeometryOptions result = 0;
SpitPublishingDialogPaneGeometryOptions _tmp0_ = 0;
-#line 60 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 56 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane);
-#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp0_ = self->priv->_preferred_geometry;
-#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
result = _tmp0_;
-#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 57 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return result;
-#line 307 "WebAuthenticationPane.c"
+#line 289 "WebAuthenticationPane.c"
}
static GtkWidget* shotwell_plugins_common_web_authentication_pane_real_get_widget (SpitPublishingDialogPane* base) {
ShotwellPluginsCommonWebAuthenticationPane * self;
GtkWidget* result = NULL;
- GtkBox* _tmp0_ = NULL;
+ WebKitWebView* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 64 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 60 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane);
-#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- _tmp0_ = self->priv->pane_widget;
-#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+ _tmp0_ = self->priv->webview;
+#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
result = _tmp1_;
-#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 61 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return result;
-#line 326 "WebAuthenticationPane.c"
+#line 308 "WebAuthenticationPane.c"
}
@@ -333,33 +315,33 @@ static void shotwell_plugins_common_web_authentication_pane_real_on_pane_install
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 68 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 64 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane);
-#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp0_ = shotwell_plugins_common_web_authentication_pane_get_view (self);
-#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp1_ = _tmp0_;
-#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp2_ = shotwell_plugins_common_web_authentication_pane_get_login_uri (self);
-#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp3_ = _tmp2_;
-#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_tmp4_ = _tmp3_;
-#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
webkit_web_view_load_uri (_tmp1_, _tmp4_);
-#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_g_free0 (_tmp4_);
-#line 69 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 65 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_g_object_unref0 (_tmp1_);
-#line 355 "WebAuthenticationPane.c"
+#line 337 "WebAuthenticationPane.c"
}
static void shotwell_plugins_common_web_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) {
ShotwellPluginsCommonWebAuthenticationPane * self;
-#line 72 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
+#line 68 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane);
-#line 363 "WebAuthenticationPane.c"
+#line 345 "WebAuthenticationPane.c"
}
@@ -369,7 +351,7 @@ ShotwellPluginsCommonWebAuthenticationPane* shotwell_plugins_common_web_authenti
self = (ShotwellPluginsCommonWebAuthenticationPane*) g_object_new (object_type, NULL);
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return self;
-#line 373 "WebAuthenticationPane.c"
+#line 355 "WebAuthenticationPane.c"
}
@@ -384,7 +366,7 @@ SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_web_authenticati
result = _tmp0_;
#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return result;
-#line 388 "WebAuthenticationPane.c"
+#line 370 "WebAuthenticationPane.c"
}
@@ -398,7 +380,7 @@ static void shotwell_plugins_common_web_authentication_pane_set_preferred_geomet
self->priv->_preferred_geometry = _tmp0_;
#line 11 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_object_notify ((GObject *) self, "preferred-geometry");
-#line 402 "WebAuthenticationPane.c"
+#line 384 "WebAuthenticationPane.c"
}
@@ -416,7 +398,7 @@ gchar* shotwell_plugins_common_web_authentication_pane_get_login_uri (ShotwellPl
result = _tmp1_;
#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
return result;
-#line 420 "WebAuthenticationPane.c"
+#line 402 "WebAuthenticationPane.c"
}
@@ -435,7 +417,7 @@ static void shotwell_plugins_common_web_authentication_pane_set_login_uri (Shotw
self->priv->_login_uri = _tmp1_;
#line 14 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_object_notify ((GObject *) self, "login-uri");
-#line 439 "WebAuthenticationPane.c"
+#line 421 "WebAuthenticationPane.c"
}
@@ -458,7 +440,7 @@ static void shotwell_plugins_common_web_authentication_pane_class_init (Shotwell
g_object_class_install_property (G_OBJECT_CLASS (klass), SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_PREFERRED_GEOMETRY, g_param_spec_enum ("preferred-geometry", "preferred-geometry", "preferred-geometry", SPIT_PUBLISHING_DIALOG_PANE_TYPE_GEOMETRY_OPTIONS, SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
g_object_class_install_property (G_OBJECT_CLASS (klass), SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_LOGIN_URI, g_param_spec_string ("login-uri", "login-uri", "login-uri", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
-#line 462 "WebAuthenticationPane.c"
+#line 444 "WebAuthenticationPane.c"
}
@@ -473,7 +455,7 @@ static void shotwell_plugins_common_web_authentication_pane_spit_publishing_dial
iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_web_authentication_pane_real_on_pane_installed;
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) shotwell_plugins_common_web_authentication_pane_real_on_pane_uninstalled;
-#line 477 "WebAuthenticationPane.c"
+#line 459 "WebAuthenticationPane.c"
}
@@ -482,7 +464,7 @@ static void shotwell_plugins_common_web_authentication_pane_instance_init (Shotw
self->priv = SHOTWELL_PLUGINS_COMMON_WEB_AUTHENTICATION_PANE_GET_PRIVATE (self);
#line 10 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
self->priv->_preferred_geometry = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
-#line 486 "WebAuthenticationPane.c"
+#line 468 "WebAuthenticationPane.c"
}
@@ -494,11 +476,9 @@ static void shotwell_plugins_common_web_authentication_pane_finalize (GObject* o
_g_free0 (self->priv->_login_uri);
#line 16 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
_g_object_unref0 (self->priv->webview);
-#line 17 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
- _g_object_unref0 (self->priv->pane_widget);
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
G_OBJECT_CLASS (shotwell_plugins_common_web_authentication_pane_parent_class)->finalize (obj);
-#line 502 "WebAuthenticationPane.c"
+#line 482 "WebAuthenticationPane.c"
}
@@ -533,13 +513,13 @@ static void _vala_shotwell_plugins_common_web_authentication_pane_get_property (
g_value_take_string (value, shotwell_plugins_common_web_authentication_pane_get_login_uri (self));
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
break;
-#line 537 "WebAuthenticationPane.c"
+#line 517 "WebAuthenticationPane.c"
default:
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
break;
-#line 543 "WebAuthenticationPane.c"
+#line 523 "WebAuthenticationPane.c"
}
}
@@ -561,13 +541,13 @@ static void _vala_shotwell_plugins_common_web_authentication_pane_set_property (
shotwell_plugins_common_web_authentication_pane_set_login_uri (self, g_value_get_string (value));
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
break;
-#line 565 "WebAuthenticationPane.c"
+#line 545 "WebAuthenticationPane.c"
default:
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 9 "/home/jens/Source/shotwell/plugins/common/WebAuthenticationPane.vala"
break;
-#line 571 "WebAuthenticationPane.c"
+#line 551 "WebAuthenticationPane.c"
}
}
diff --git a/plugins/common/WebAuthenticationPane.vala b/plugins/common/WebAuthenticationPane.vala
index 0a77cf6..c537748 100644
--- a/plugins/common/WebAuthenticationPane.vala
+++ b/plugins/common/WebAuthenticationPane.vala
@@ -14,7 +14,6 @@ namespace Shotwell.Plugins.Common {
public string login_uri { owned get; construct; }
private WebKit.WebView webview;
- private Gtk.Box pane_widget;
public override void constructed () {
base.constructed ();
@@ -24,15 +23,12 @@ namespace Shotwell.Plugins.Common {
this.webview.load_changed.connect (this.on_page_load_changed);
this.webview.context_menu.connect ( () => { return false; });
-
- this.pane_widget = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
- this.pane_widget.pack_start (this.webview, true, true, 0);
}
public abstract void on_page_load ();
protected void set_cursor (Gdk.CursorType type) {
- var window = pane_widget.get_window ();
+ var window = webview.get_window ();
var display = window.get_display ();
var cursor = new Gdk.Cursor.for_display (display, type);
window.set_cursor (cursor);
@@ -62,7 +58,7 @@ namespace Shotwell.Plugins.Common {
}
public Gtk.Widget get_widget() {
- return pane_widget;
+ return this.webview;
}
public void on_pane_installed () {
diff --git a/plugins/shotwell-plugin-common.h b/plugins/shotwell-plugin-common.h
index a9d1ed8..a5285c0 100644
--- a/plugins/shotwell-plugin-common.h
+++ b/plugins/shotwell-plugin-common.h
@@ -16,6 +16,7 @@
#include
#include
#include
+#include
G_BEGIN_DECLS
@@ -132,6 +133,17 @@ typedef struct _ShotwellPluginsCommonWebAuthenticationPane ShotwellPluginsCommon
typedef struct _ShotwellPluginsCommonWebAuthenticationPaneClass ShotwellPluginsCommonWebAuthenticationPaneClass;
typedef struct _ShotwellPluginsCommonWebAuthenticationPanePrivate ShotwellPluginsCommonWebAuthenticationPanePrivate;
+#define SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE (shotwell_plugins_common_builder_pane_get_type ())
+#define SHOTWELL_PLUGINS_COMMON_BUILDER_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane))
+#define SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPaneClass))
+#define SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE))
+#define SHOTWELL_PLUGINS_COMMON_IS_BUILDER_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE))
+#define SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPaneClass))
+
+typedef struct _ShotwellPluginsCommonBuilderPane ShotwellPluginsCommonBuilderPane;
+typedef struct _ShotwellPluginsCommonBuilderPaneClass ShotwellPluginsCommonBuilderPaneClass;
+typedef struct _ShotwellPluginsCommonBuilderPanePrivate ShotwellPluginsCommonBuilderPanePrivate;
+
struct _PublishingRESTSupportSession {
GTypeInstance parent_instance;
volatile int ref_count;
@@ -259,6 +271,18 @@ struct _ShotwellPluginsCommonWebAuthenticationPaneClass {
void (*on_page_load) (ShotwellPluginsCommonWebAuthenticationPane* self);
};
+struct _ShotwellPluginsCommonBuilderPane {
+ GObject parent_instance;
+ ShotwellPluginsCommonBuilderPanePrivate * priv;
+};
+
+struct _ShotwellPluginsCommonBuilderPaneClass {
+ GObjectClass parent_class;
+ GtkWidget* (*get_default_widget) (ShotwellPluginsCommonBuilderPane* self);
+ void (*on_pane_installed) (ShotwellPluginsCommonBuilderPane* self);
+ void (*on_pane_uninstalled) (ShotwellPluginsCommonBuilderPane* self);
+};
+
gchar* publishing_rest_support_hmac_sha1 (const gchar* key, const gchar* message);
gpointer publishing_rest_support_session_ref (gpointer instance);
@@ -407,6 +431,16 @@ WebKitWebView* shotwell_plugins_common_web_authentication_pane_get_view (Shotwel
ShotwellPluginsCommonWebAuthenticationPane* shotwell_plugins_common_web_authentication_pane_construct (GType object_type);
SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_web_authentication_pane_get_preferred_geometry (ShotwellPluginsCommonWebAuthenticationPane* self);
gchar* shotwell_plugins_common_web_authentication_pane_get_login_uri (ShotwellPluginsCommonWebAuthenticationPane* self);
+GType shotwell_plugins_common_builder_pane_get_type (void) G_GNUC_CONST;
+GtkBuilder* shotwell_plugins_common_builder_pane_get_builder (ShotwellPluginsCommonBuilderPane* self);
+GtkWidget* shotwell_plugins_common_builder_pane_get_default_widget (ShotwellPluginsCommonBuilderPane* self);
+void shotwell_plugins_common_builder_pane_on_pane_installed (ShotwellPluginsCommonBuilderPane* self);
+void shotwell_plugins_common_builder_pane_on_pane_uninstalled (ShotwellPluginsCommonBuilderPane* self);
+ShotwellPluginsCommonBuilderPane* shotwell_plugins_common_builder_pane_construct (GType object_type);
+SpitPublishingDialogPaneGeometryOptions shotwell_plugins_common_builder_pane_get_preferred_geometry (ShotwellPluginsCommonBuilderPane* self);
+gchar* shotwell_plugins_common_builder_pane_get_resource_path (ShotwellPluginsCommonBuilderPane* self);
+gboolean shotwell_plugins_common_builder_pane_get_connect_signals (ShotwellPluginsCommonBuilderPane* self);
+gchar* shotwell_plugins_common_builder_pane_get_default_id (ShotwellPluginsCommonBuilderPane* self);
G_END_DECLS
diff --git a/plugins/shotwell-plugin-common.vapi b/plugins/shotwell-plugin-common.vapi
index 0aed09c..b5367a4 100644
--- a/plugins/shotwell-plugin-common.vapi
+++ b/plugins/shotwell-plugin-common.vapi
@@ -142,6 +142,19 @@ namespace Resources {
namespace Shotwell {
namespace Plugins {
namespace Common {
+ [CCode (cheader_filename = "shotwell-plugin-common.h")]
+ public abstract class BuilderPane : Spit.Publishing.DialogPane, GLib.Object {
+ public BuilderPane ();
+ public override void constructed ();
+ public Gtk.Builder get_builder ();
+ public virtual Gtk.Widget get_default_widget ();
+ public virtual void on_pane_installed ();
+ public virtual void on_pane_uninstalled ();
+ public bool connect_signals { get; construct; }
+ public string default_id { owned get; construct; }
+ public Spit.Publishing.DialogPane.GeometryOptions preferred_geometry { get; construct; }
+ public string resource_path { owned get; construct; }
+ }
[CCode (cheader_filename = "shotwell-plugin-common.h")]
public abstract class WebAuthenticationPane : Spit.Publishing.DialogPane, GLib.Object {
public WebAuthenticationPane ();
diff --git a/plugins/shotwell-publishing-extras/RajcePublishing.c b/plugins/shotwell-publishing-extras/RajcePublishing.c
index c9311da..f7a1674 100644
--- a/plugins/shotwell-publishing-extras/RajcePublishing.c
+++ b/plugins/shotwell-publishing-extras/RajcePublishing.c
@@ -6387,10 +6387,10 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
GtkBuilder* _tmp1_ = NULL;
GtkBuilder* _tmp2_ = NULL;
GtkBuilder* _tmp3_ = NULL;
- GtkAlignment* align = NULL;
+ GtkBox* content = NULL;
GtkBuilder* _tmp4_ = NULL;
GObject* _tmp5_ = NULL;
- GtkAlignment* _tmp6_ = NULL;
+ GtkBox* _tmp6_ = NULL;
GtkLabel* message_label = NULL;
GtkBuilder* _tmp7_ = NULL;
GObject* _tmp8_ = NULL;
@@ -6438,12 +6438,16 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
GtkEntry* _tmp57_ = NULL;
GtkEntry* _tmp58_ = NULL;
GtkButton* _tmp59_ = NULL;
- GtkAlignment* _tmp60_ = NULL;
- GtkBox* _tmp61_ = NULL;
- PublishingRajceRajcePublisher* _tmp62_ = NULL;
- SpitPublishingPluginHost* _tmp63_ = NULL;
- SpitPublishingPluginHost* _tmp64_ = NULL;
- GtkButton* _tmp65_ = NULL;
+ GtkBox* _tmp60_ = NULL;
+ GtkContainer* _tmp61_ = NULL;
+ GtkContainer* _tmp62_ = NULL;
+ GtkBox* _tmp63_ = NULL;
+ GtkBox* _tmp64_ = NULL;
+ GtkBox* _tmp65_ = NULL;
+ PublishingRajceRajcePublisher* _tmp66_ = NULL;
+ SpitPublishingPluginHost* _tmp67_ = NULL;
+ SpitPublishingPluginHost* _tmp68_ = NULL;
+ GtkButton* _tmp69_ = NULL;
#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = gtk_builder_new ();
#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
@@ -6456,7 +6460,7 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
gtk_builder_add_from_resource (_tmp2_, PLUGIN_RESOURCE_PATH "/rajce_authentication_pane.ui", &_inner_error_);
#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 6456 "RajcePublishing.c"
+#line 6460 "RajcePublishing.c"
goto __catch29_g_error;
}
#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
@@ -6466,11 +6470,11 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = self->priv->builder;
#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp5_ = gtk_builder_get_object (_tmp4_, "alignment");
+ _tmp5_ = gtk_builder_get_object (_tmp4_, "content");
#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_alignment_get_type ()) ? ((GtkAlignment*) _tmp5_) : NULL);
+ _tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_box_get_type ()) ? ((GtkBox*) _tmp5_) : NULL);
#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- align = _tmp6_;
+ content = _tmp6_;
#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = self->priv->builder;
#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
@@ -6485,7 +6489,7 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
switch (_tmp10_) {
#line 857 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
case PUBLISHING_RAJCE_AUTHENTICATION_PANE_MODE_INTRO:
-#line 6485 "RajcePublishing.c"
+#line 6489 "RajcePublishing.c"
{
GtkLabel* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
@@ -6497,11 +6501,11 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
gtk_label_set_text (_tmp11_, _tmp12_);
#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
break;
-#line 6497 "RajcePublishing.c"
+#line 6501 "RajcePublishing.c"
}
#line 857 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
case PUBLISHING_RAJCE_AUTHENTICATION_PANE_MODE_FAILED_RETRY_USER:
-#line 6501 "RajcePublishing.c"
+#line 6505 "RajcePublishing.c"
{
GtkLabel* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
@@ -6524,12 +6528,12 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
_g_free0 (_tmp17_);
#line 866 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
break;
-#line 6524 "RajcePublishing.c"
+#line 6528 "RajcePublishing.c"
}
default:
#line 857 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
break;
-#line 6529 "RajcePublishing.c"
+#line 6533 "RajcePublishing.c"
}
#line 868 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp18_ = self->priv->builder;
@@ -6551,7 +6555,7 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
_tmp23_ = persistent_username;
#line 870 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp23_ != NULL) {
-#line 6551 "RajcePublishing.c"
+#line 6555 "RajcePublishing.c"
GtkEntry* _tmp24_ = NULL;
const gchar* _tmp25_ = NULL;
#line 872 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
@@ -6560,7 +6564,7 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
_tmp25_ = persistent_username;
#line 872 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_entry_set_text (_tmp24_, _tmp25_);
-#line 6560 "RajcePublishing.c"
+#line 6564 "RajcePublishing.c"
}
#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp26_ = self->priv->builder;
@@ -6582,7 +6586,7 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
_tmp31_ = persistent_token;
#line 876 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp31_ != NULL) {
-#line 6582 "RajcePublishing.c"
+#line 6586 "RajcePublishing.c"
GtkEntry* _tmp32_ = NULL;
const gchar* _tmp33_ = NULL;
#line 878 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
@@ -6593,11 +6597,11 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
gtk_entry_set_text (_tmp32_, _tmp33_);
#line 879 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->crypt = FALSE;
-#line 6593 "RajcePublishing.c"
+#line 6597 "RajcePublishing.c"
} else {
#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->crypt = TRUE;
-#line 6597 "RajcePublishing.c"
+#line 6601 "RajcePublishing.c"
}
#line 885 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp34_ = self->priv->builder;
@@ -6680,23 +6684,33 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_connect_object (_tmp59_, "clicked", (GCallback) _publishing_rajce_authentication_pane_on_login_button_clicked_gtk_button_clicked, self, 0);
#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp60_ = align;
+ _tmp60_ = content;
#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp61_ = self->priv->pane_widget;
+ _tmp61_ = gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget));
#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_reparent (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget), G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_widget_get_type (), GtkWidget));
-#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp62_ = publisher;
-#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp63_ = publishing_rajce_rajce_publisher_get_host (_tmp62_);
-#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp64_ = _tmp63_;
+ _tmp62_ = _tmp61_;
+#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _tmp63_ = content;
+#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_container_remove (_tmp62_, G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, gtk_widget_get_type (), GtkWidget));
#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp65_ = self->priv->login_button;
+ _tmp64_ = self->priv->pane_widget;
#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- spit_publishing_plugin_host_set_dialog_default_widget (_tmp64_, G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_widget_get_type (), GtkWidget));
+ _tmp65_ = content;
#line 901 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (_tmp64_);
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_widget_get_type (), GtkWidget));
+#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _tmp66_ = publisher;
+#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _tmp67_ = publishing_rajce_rajce_publisher_get_host (_tmp66_);
+#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _tmp68_ = _tmp67_;
+#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _tmp69_ = self->priv->login_button;
+#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ spit_publishing_plugin_host_set_dialog_default_widget (_tmp68_, G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_widget_get_type (), GtkWidget));
+#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_object_unref0 (_tmp68_);
#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (label3);
#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
@@ -6708,28 +6722,28 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (message_label);
#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (align);
-#line 6709 "RajcePublishing.c"
+ _g_object_unref0 (content);
+#line 6723 "RajcePublishing.c"
}
goto __finally29;
__catch29_g_error:
{
GError* e = NULL;
- GError* _tmp66_ = NULL;
- const gchar* _tmp67_ = NULL;
+ GError* _tmp70_ = NULL;
+ const gchar* _tmp71_ = NULL;
#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
e = _inner_error_;
#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_inner_error_ = NULL;
-#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp66_ = e;
-#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp67_ = _tmp66_->message;
-#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_warning ("RajcePublishing.vala:905: Could not load UI: %s", _tmp67_);
+#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _tmp70_ = e;
+#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _tmp71_ = _tmp70_->message;
+#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_warning ("RajcePublishing.vala:906: Could not load UI: %s", _tmp71_);
#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_error_free0 (e);
-#line 6729 "RajcePublishing.c"
+#line 6743 "RajcePublishing.c"
}
__finally29:
#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
@@ -6740,18 +6754,18 @@ PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_construc
g_clear_error (&_inner_error_);
#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 6740 "RajcePublishing.c"
+#line 6754 "RajcePublishing.c"
}
#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 6744 "RajcePublishing.c"
+#line 6758 "RajcePublishing.c"
}
PublishingRajceAuthenticationPane* publishing_rajce_authentication_pane_new (PublishingRajceRajcePublisher* publisher, PublishingRajceAuthenticationPaneMode mode) {
#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_authentication_pane_construct (PUBLISHING_RAJCE_TYPE_AUTHENTICATION_PANE, publisher, mode);
-#line 6751 "RajcePublishing.c"
+#line 6765 "RajcePublishing.c"
}
@@ -6759,17 +6773,17 @@ GtkWidget* publishing_rajce_authentication_pane_get_default_widget (PublishingRa
GtkWidget* result = NULL;
GtkButton* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 909 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_AUTHENTICATION_PANE (self), NULL);
-#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->login_button;
-#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp1_;
-#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 6769 "RajcePublishing.c"
+#line 6783 "RajcePublishing.c"
}
@@ -6784,68 +6798,68 @@ static void publishing_rajce_authentication_pane_on_login_button_clicked (Publis
const gchar* _tmp8_ = NULL;
GtkCheckButton* _tmp9_ = NULL;
gboolean _tmp10_ = FALSE;
-#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_AUTHENTICATION_PANE (self));
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->password_entry;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = gtk_entry_get_text (_tmp0_);
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- token = _tmp2_;
#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ token = _tmp2_;
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = self->priv->crypt;
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp3_) {
-#line 6798 "RajcePublishing.c"
+#line 6812 "RajcePublishing.c"
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = token;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = g_compute_checksum_for_string (G_CHECKSUM_MD5, _tmp4_, (gsize) -1);
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (token);
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
token = _tmp5_;
-#line 6809 "RajcePublishing.c"
+#line 6823 "RajcePublishing.c"
}
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = self->priv->username_entry;
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = gtk_entry_get_text (_tmp6_);
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = token;
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = self->priv->remember_checkbutton;
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_emit_by_name (self, "login", _tmp7_, _tmp8_, _tmp10_);
-#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (token);
-#line 6825 "RajcePublishing.c"
+#line 6839 "RajcePublishing.c"
}
static void publishing_rajce_authentication_pane_on_user_changed (PublishingRajceAuthenticationPane* self) {
-#line 924 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_AUTHENTICATION_PANE (self));
-#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_authentication_pane_update_login_button_sensitivity (self);
-#line 6834 "RajcePublishing.c"
+#line 6848 "RajcePublishing.c"
}
static void publishing_rajce_authentication_pane_on_password_changed (PublishingRajceAuthenticationPane* self) {
-#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_AUTHENTICATION_PANE (self));
-#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->crypt = TRUE;
#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->crypt = TRUE;
+#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_authentication_pane_update_login_button_sensitivity (self);
-#line 6845 "RajcePublishing.c"
+#line 6859 "RajcePublishing.c"
}
@@ -6855,39 +6869,39 @@ static void publishing_rajce_authentication_pane_update_login_button_sensitivity
guint _tmp2_ = 0U;
guint _tmp3_ = 0U;
GtkButton* _tmp7_ = NULL;
-#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_AUTHENTICATION_PANE (self));
-#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = self->priv->username_entry;
-#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = gtk_entry_get_text_length (_tmp1_);
-#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = _tmp2_;
-#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp3_ > ((guint) 0)) {
-#line 6865 "RajcePublishing.c"
+#line 6879 "RajcePublishing.c"
GtkEntry* _tmp4_ = NULL;
guint _tmp5_ = 0U;
guint _tmp6_ = 0U;
-#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = self->priv->password_entry;
-#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = gtk_entry_get_text_length (_tmp4_);
-#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = _tmp5_;
-#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = _tmp6_ > ((guint) 0);
-#line 6877 "RajcePublishing.c"
+#line 6891 "RajcePublishing.c"
} else {
-#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = FALSE;
-#line 6881 "RajcePublishing.c"
+#line 6895 "RajcePublishing.c"
}
-#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = self->priv->login_button;
-#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), _tmp0_);
-#line 6887 "RajcePublishing.c"
+#line 6901 "RajcePublishing.c"
}
@@ -6896,30 +6910,30 @@ static GtkWidget* publishing_rajce_authentication_pane_real_get_widget (SpitPubl
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_RAJCE_TYPE_AUTHENTICATION_PANE, PublishingRajceAuthenticationPane);
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->pane_widget;
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp1_;
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 6906 "RajcePublishing.c"
+#line 6920 "RajcePublishing.c"
}
static SpitPublishingDialogPaneGeometryOptions publishing_rajce_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) {
PublishingRajceAuthenticationPane * self;
SpitPublishingDialogPaneGeometryOptions result = 0;
-#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_RAJCE_TYPE_AUTHENTICATION_PANE, PublishingRajceAuthenticationPane);
-#line 948 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
-#line 948 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 6919 "RajcePublishing.c"
+#line 6933 "RajcePublishing.c"
}
@@ -6928,31 +6942,31 @@ static void publishing_rajce_authentication_pane_real_on_pane_installed (SpitPub
GtkEntry* _tmp0_ = NULL;
GtkEntry* _tmp1_ = NULL;
GtkButton* _tmp2_ = NULL;
-#line 951 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_RAJCE_TYPE_AUTHENTICATION_PANE, PublishingRajceAuthenticationPane);
-#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->username_entry;
-#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
+#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = self->priv->password_entry;
-#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_entry_set_activates_default (_tmp1_, TRUE);
#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_entry_set_activates_default (_tmp1_, TRUE);
+#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = self->priv->login_button;
-#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_authentication_pane_update_login_button_sensitivity (self);
-#line 6944 "RajcePublishing.c"
+#line 6958 "RajcePublishing.c"
}
static void publishing_rajce_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) {
PublishingRajceAuthenticationPane * self;
-#line 958 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 959 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_RAJCE_TYPE_AUTHENTICATION_PANE, PublishingRajceAuthenticationPane);
-#line 6952 "RajcePublishing.c"
+#line 6966 "RajcePublishing.c"
}
@@ -6971,19 +6985,19 @@ static void g_cclosure_user_marshal_VOID__STRING_STRING_BOOLEAN (GClosure * clos
data1 = closure->data;
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
data2 = param_values->data[0].v_pointer;
-#line 6971 "RajcePublishing.c"
+#line 6985 "RajcePublishing.c"
} else {
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
data1 = param_values->data[0].v_pointer;
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
data2 = closure->data;
-#line 6977 "RajcePublishing.c"
+#line 6991 "RajcePublishing.c"
}
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
callback = (GMarshalFunc_VOID__STRING_STRING_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), g_value_get_boolean (param_values + 3), data2);
-#line 6983 "RajcePublishing.c"
+#line 6997 "RajcePublishing.c"
}
@@ -7012,7 +7026,7 @@ static void publishing_rajce_authentication_pane_class_init (PublishingRajceAuth
_tmp3_ = g_strdup (_tmp2_);
#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_authentication_pane_FAILED_RETRY_USER_MESSAGE = _tmp3_;
-#line 7012 "RajcePublishing.c"
+#line 7026 "RajcePublishing.c"
}
@@ -7027,7 +7041,7 @@ static void publishing_rajce_authentication_pane_spit_publishing_dialog_pane_int
iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_rajce_authentication_pane_real_on_pane_installed;
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_rajce_authentication_pane_real_on_pane_uninstalled;
-#line 7027 "RajcePublishing.c"
+#line 7041 "RajcePublishing.c"
}
@@ -7038,7 +7052,7 @@ static void publishing_rajce_authentication_pane_instance_init (PublishingRajceA
self->priv->pane_widget = NULL;
#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->crypt = TRUE;
-#line 7038 "RajcePublishing.c"
+#line 7052 "RajcePublishing.c"
}
@@ -7060,7 +7074,7 @@ static void publishing_rajce_authentication_pane_finalize (GObject* obj) {
_g_object_unref0 (self->priv->login_button);
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
G_OBJECT_CLASS (publishing_rajce_authentication_pane_parent_class)->finalize (obj);
-#line 7060 "RajcePublishing.c"
+#line 7074 "RajcePublishing.c"
}
@@ -7083,65 +7097,65 @@ GType publishing_rajce_authentication_pane_get_type (void) {
static gpointer _publishing_rajce_album_ref0 (gpointer self) {
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self ? publishing_rajce_album_ref (self) : NULL;
-#line 7085 "RajcePublishing.c"
+#line 7099 "RajcePublishing.c"
}
static PublishingRajceAlbum** _vala_array_dup5 (PublishingRajceAlbum** self, int length) {
PublishingRajceAlbum** result;
int i;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = g_new0 (PublishingRajceAlbum*, length + 1);
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
for (i = 0; i < length; i++) {
-#line 7096 "RajcePublishing.c"
+#line 7110 "RajcePublishing.c"
PublishingRajceAlbum* _tmp0_ = NULL;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = _publishing_rajce_album_ref0 (self[i]);
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result[i] = _tmp0_;
-#line 7102 "RajcePublishing.c"
+#line 7116 "RajcePublishing.c"
}
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 7106 "RajcePublishing.c"
+#line 7120 "RajcePublishing.c"
}
static void _publishing_rajce_publishing_options_pane_on_use_existing_radio_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_on_use_existing_radio_clicked ((PublishingRajcePublishingOptionsPane*) self);
-#line 7113 "RajcePublishing.c"
+#line 7127 "RajcePublishing.c"
}
static void _publishing_rajce_publishing_options_pane_on_create_new_radio_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_on_create_new_radio_clicked ((PublishingRajcePublishingOptionsPane*) self);
-#line 7120 "RajcePublishing.c"
+#line 7134 "RajcePublishing.c"
}
static void _publishing_rajce_publishing_options_pane_on_new_album_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
-#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_on_new_album_entry_changed ((PublishingRajcePublishingOptionsPane*) self);
-#line 7127 "RajcePublishing.c"
+#line 7141 "RajcePublishing.c"
}
static void _publishing_rajce_publishing_options_pane_on_logout_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_on_logout_clicked ((PublishingRajcePublishingOptionsPane*) self);
-#line 7134 "RajcePublishing.c"
+#line 7148 "RajcePublishing.c"
}
static void _publishing_rajce_publishing_options_pane_on_publish_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_on_publish_clicked ((PublishingRajcePublishingOptionsPane*) self);
-#line 7141 "RajcePublishing.c"
+#line 7155 "RajcePublishing.c"
}
@@ -7157,53 +7171,53 @@ PublishingRajcePublishingOptionsPane* publishing_rajce_publishing_options_pane_c
PublishingRajceRajcePublisher* _tmp5_ = NULL;
GtkBox* _tmp6_ = NULL;
GError * _inner_error_ = NULL;
-#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_RAJCE_PUBLISHER (publisher), NULL);
-#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (username != NULL, NULL);
-#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = (PublishingRajcePublishingOptionsPane*) g_object_new (object_type, NULL);
-#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = username;
-#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->username);
-#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->username = _tmp1_;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->username = _tmp1_;
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = albums;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2__length1 = albums_length1;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = (_tmp2_ != NULL) ? _vala_array_dup5 (_tmp2_, _tmp2__length1) : ((gpointer) _tmp2_);
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3__length1 = _tmp2__length1;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->albums = (_vala_array_free (self->priv->albums, self->priv->albums_length1, (GDestroyNotify) publishing_rajce_album_unref), NULL);
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->albums = _tmp3_;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->albums_length1 = _tmp3__length1;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->_albums_size_ = self->priv->albums_length1;
#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->_albums_size_ = self->priv->albums_length1;
+#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = publisher;
-#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->publisher);
-#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->publisher = _tmp5_;
#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->publisher = _tmp5_;
+#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_object_ref_sink (_tmp6_);
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->pane_widget);
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->pane_widget = _tmp6_;
-#line 7203 "RajcePublishing.c"
+#line 7217 "RajcePublishing.c"
{
GtkBuilder* _tmp7_ = NULL;
GtkBuilder* _tmp8_ = NULL;
@@ -7271,228 +7285,228 @@ PublishingRajcePublishingOptionsPane* publishing_rajce_publishing_options_pane_c
GtkEntry* _tmp70_ = NULL;
GtkButton* _tmp71_ = NULL;
GtkButton* _tmp72_ = NULL;
-#line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = gtk_builder_new ();
-#line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->builder);
-#line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->builder = _tmp7_;
#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->builder = _tmp7_;
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = self->priv->builder;
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_builder_add_from_resource (_tmp8_, PLUGIN_RESOURCE_PATH "/rajce_publishing_options_pane.ui", &_inner_error_);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7283 "RajcePublishing.c"
+#line 7297 "RajcePublishing.c"
goto __catch30_g_error;
}
-#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = self->priv->builder;
-#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_builder_connect_signals (_tmp9_, NULL);
-#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = self->priv->builder;
-#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp11_ = gtk_builder_get_object (_tmp10_, "rajce_pane_widget");
-#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp12_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_box_get_type (), GtkBox));
-#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->pane_widget);
-#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->pane_widget = _tmp12_;
#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->pane_widget = _tmp12_;
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp13_ = self->priv->builder;
-#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp14_ = gtk_builder_get_object (_tmp13_, "login_identity_label");
-#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_label_get_type (), GtkLabel));
-#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->login_identity_label);
-#line 998 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->login_identity_label = _tmp15_;
#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->login_identity_label = _tmp15_;
+#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp16_ = self->priv->builder;
-#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp17_ = gtk_builder_get_object (_tmp16_, "publish_to_label");
-#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp18_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_label_get_type (), GtkLabel));
-#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->publish_to_label);
-#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->publish_to_label = _tmp18_;
#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->publish_to_label = _tmp18_;
+#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp19_ = self->priv->builder;
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp20_ = gtk_builder_get_object (_tmp19_, "use_existing_radio");
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp21_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_radio_button_get_type (), GtkRadioButton));
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->use_existing_radio);
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->use_existing_radio = _tmp21_;
#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->use_existing_radio = _tmp21_;
+#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp22_ = self->priv->builder;
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp23_ = gtk_builder_get_object (_tmp22_, "existing_albums_combo");
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_combo_box_text_get_type (), GtkComboBoxText));
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->existing_albums_combo);
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->existing_albums_combo = _tmp24_;
#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->existing_albums_combo = _tmp24_;
+#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp25_ = self->priv->builder;
-#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp26_ = gtk_builder_get_object (_tmp25_, "create_new_radio");
-#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp27_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_radio_button_get_type (), GtkRadioButton));
-#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->create_new_radio);
-#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->create_new_radio = _tmp27_;
#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->create_new_radio = _tmp27_;
+#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp28_ = self->priv->builder;
-#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp29_ = gtk_builder_get_object (_tmp28_, "new_album_entry");
-#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp30_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_entry_get_type (), GtkEntry));
-#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->new_album_entry);
-#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->new_album_entry = _tmp30_;
#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->new_album_entry = _tmp30_;
+#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp31_ = self->priv->builder;
-#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp32_ = gtk_builder_get_object (_tmp31_, "hide_check");
-#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp33_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_check_button_get_type (), GtkCheckButton));
-#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->hide_check);
-#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->hide_check = _tmp33_;
#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->hide_check = _tmp33_;
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp34_ = self->priv->hide_check;
-#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp35_ = _ ("_Hide album");
-#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_button_get_type (), GtkButton), _tmp35_);
#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_button_get_type (), GtkButton), _tmp35_);
+#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp36_ = self->priv->builder;
-#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp37_ = gtk_builder_get_object (_tmp36_, "show_check");
-#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp38_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_check_button_get_type (), GtkCheckButton));
-#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->show_check);
-#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->show_check = _tmp38_;
#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->show_check = _tmp38_;
+#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp39_ = self->priv->builder;
-#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp40_ = gtk_builder_get_object (_tmp39_, "publish_button");
-#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp41_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_button_get_type (), GtkButton));
-#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->publish_button);
-#line 1007 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->publish_button = _tmp41_;
#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->publish_button = _tmp41_;
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp42_ = self->priv->builder;
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp43_ = gtk_builder_get_object (_tmp42_, "logout_button");
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp44_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_button_get_type (), GtkButton));
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->logout_button);
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->logout_button = _tmp44_;
-#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp45_ = self->priv->hide_check;
-#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp46_ = publisher;
-#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp47_ = publishing_rajce_rajce_publisher_get_hide_album (_tmp46_);
-#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp47_);
#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp47_);
+#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp48_ = self->priv->show_check;
-#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp49_ = publisher;
-#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp50_ = publishing_rajce_rajce_publisher_get_show_album (_tmp49_);
-#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp50_);
#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp50_);
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp51_ = self->priv->login_identity_label;
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp52_ = _ ("You are logged into Rajce as %s.");
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp53_ = username;
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp54_ = g_strdup_printf (_tmp52_, _tmp53_);
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp55_ = _tmp54_;
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_label_set_label (_tmp51_, _tmp55_);
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp55_);
#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp55_);
+#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp56_ = self->priv->publish_to_label;
-#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp57_ = _ ("Photos will appear in:");
-#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_label_set_label (_tmp56_, _tmp57_);
#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_label_set_label (_tmp56_, _tmp57_);
+#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp58_ = self->priv->use_existing_radio;
-#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp59_ = _ ("An _existing album:");
-#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_button_get_type (), GtkButton), _tmp59_);
-#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _tmp60_ = self->priv->create_new_radio;
#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_button_get_type (), GtkButton), _tmp59_);
+#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _tmp60_ = self->priv->create_new_radio;
+#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp61_ = _ ("A _new album named:");
-#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_button_get_type (), GtkButton), _tmp61_);
#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_button_get_type (), GtkButton), _tmp61_);
+#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp62_ = self->priv->show_check;
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp63_ = _ ("Open target _album in browser");
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_button_get_type (), GtkButton), _tmp63_);
#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_button_get_type (), GtkButton), _tmp63_);
+#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp64_ = self->priv->publish_button;
-#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp65_ = _ ("_Publish");
-#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_button_set_label (_tmp64_, _tmp65_);
#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_button_set_label (_tmp64_, _tmp65_);
+#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp66_ = self->priv->logout_button;
-#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp67_ = _ ("_Logout");
-#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_button_set_label (_tmp66_, _tmp67_);
-#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp68_ = self->priv->use_existing_radio;
-#line 1020 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_rajce_publishing_options_pane_on_use_existing_radio_clicked_gtk_button_clicked, self, 0);
#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_rajce_publishing_options_pane_on_use_existing_radio_clicked_gtk_button_clicked, self, 0);
+#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp69_ = self->priv->create_new_radio;
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_rajce_publishing_options_pane_on_create_new_radio_clicked_gtk_button_clicked, self, 0);
#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_rajce_publishing_options_pane_on_create_new_radio_clicked_gtk_button_clicked, self, 0);
+#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp70_ = self->priv->new_album_entry;
-#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_rajce_publishing_options_pane_on_new_album_entry_changed_gtk_editable_changed, self, 0);
#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_rajce_publishing_options_pane_on_new_album_entry_changed_gtk_editable_changed, self, 0);
+#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp71_ = self->priv->logout_button;
-#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_signal_connect_object (_tmp71_, "clicked", (GCallback) _publishing_rajce_publishing_options_pane_on_logout_clicked_gtk_button_clicked, self, 0);
#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_signal_connect_object (_tmp71_, "clicked", (GCallback) _publishing_rajce_publishing_options_pane_on_logout_clicked_gtk_button_clicked, self, 0);
+#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp72_ = self->priv->publish_button;
-#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_connect_object (_tmp72_, "clicked", (GCallback) _publishing_rajce_publishing_options_pane_on_publish_clicked_gtk_button_clicked, self, 0);
-#line 7492 "RajcePublishing.c"
+#line 7506 "RajcePublishing.c"
}
goto __finally30;
__catch30_g_error:
@@ -7500,41 +7514,41 @@ PublishingRajcePublishingOptionsPane* publishing_rajce_publishing_options_pane_c
GError* e = NULL;
GError* _tmp73_ = NULL;
const gchar* _tmp74_ = NULL;
-#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
e = _inner_error_;
-#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_inner_error_ = NULL;
-#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp73_ = e;
-#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp74_ = _tmp73_->message;
-#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_warning ("RajcePublishing.vala:1028: Could not load UI: %s", _tmp74_);
-#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_warning ("RajcePublishing.vala:1029: Could not load UI: %s", _tmp74_);
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_error_free0 (e);
-#line 7512 "RajcePublishing.c"
+#line 7526 "RajcePublishing.c"
}
__finally30:
-#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.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 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_clear_error (&_inner_error_);
-#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 7523 "RajcePublishing.c"
+#line 7537 "RajcePublishing.c"
}
-#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 7527 "RajcePublishing.c"
+#line 7541 "RajcePublishing.c"
}
PublishingRajcePublishingOptionsPane* publishing_rajce_publishing_options_pane_new (PublishingRajceRajcePublisher* publisher, const gchar* username, PublishingRajceAlbum** albums, int albums_length1) {
-#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_publishing_options_pane_construct (PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, publisher, username, albums, albums_length1);
-#line 7534 "RajcePublishing.c"
+#line 7548 "RajcePublishing.c"
}
@@ -7546,27 +7560,27 @@ static void publishing_rajce_publishing_options_pane_on_publish_clicked (Publish
gboolean _tmp3_ = FALSE;
GtkRadioButton* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->show_check;
-#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- show_album = _tmp1_;
#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ show_album = _tmp1_;
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = self->priv->publisher;
-#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = show_album;
-#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_rajce_publisher_set_show_album (_tmp2_, _tmp3_);
#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_rajce_publisher_set_show_album (_tmp2_, _tmp3_);
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = self->priv->create_new_radio;
-#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp5_) {
-#line 7566 "RajcePublishing.c"
+#line 7580 "RajcePublishing.c"
gchar* album_name = NULL;
GtkEntry* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
@@ -7580,41 +7594,41 @@ static void publishing_rajce_publishing_options_pane_on_publish_clicked (Publish
gboolean _tmp14_ = FALSE;
PublishingRajcePublishingParameters* _tmp15_ = NULL;
PublishingRajcePublishingParameters* _tmp16_ = NULL;
-#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = self->priv->new_album_entry;
-#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = gtk_entry_get_text (_tmp6_);
-#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = g_strdup (_tmp7_);
-#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- album_name = _tmp8_;
#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ album_name = _tmp8_;
+#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = self->priv->hide_check;
-#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- hide_album = _tmp10_;
#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ hide_album = _tmp10_;
+#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp11_ = self->priv->publisher;
-#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp12_ = hide_album;
-#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_rajce_publisher_set_hide_album (_tmp11_, _tmp12_);
#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_rajce_publisher_set_hide_album (_tmp11_, _tmp12_);
+#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp13_ = album_name;
-#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp14_ = hide_album;
-#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp15_ = publishing_rajce_publishing_parameters_new_to_new_album (_tmp13_, _tmp14_);
-#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp16_ = _tmp15_;
-#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_emit_by_name (self, "publish", _tmp16_);
-#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_publishing_parameters_unref0 (_tmp16_);
-#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (album_name);
-#line 7614 "RajcePublishing.c"
+#line 7628 "RajcePublishing.c"
} else {
gint id = 0;
PublishingRajceAlbum** _tmp17_ = NULL;
@@ -7635,51 +7649,51 @@ static void publishing_rajce_publishing_options_pane_on_publish_clicked (Publish
gint _tmp29_ = 0;
PublishingRajcePublishingParameters* _tmp30_ = NULL;
PublishingRajcePublishingParameters* _tmp31_ = NULL;
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp17_ = self->priv->albums;
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp17__length1 = self->priv->albums_length1;
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp18_ = self->priv->existing_albums_combo;
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp19_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp20_ = _tmp17_[_tmp19_];
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp21_ = _tmp20_->id;
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- id = _tmp21_;
#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ id = _tmp21_;
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp22_ = self->priv->albums;
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp22__length1 = self->priv->albums_length1;
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp23_ = self->priv->existing_albums_combo;
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp24_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp25_ = _tmp22_[_tmp24_];
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp26_ = _tmp25_->albumName;
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp27_ = g_strdup (_tmp26_);
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- album_name = _tmp27_;
#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ album_name = _tmp27_;
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp28_ = album_name;
-#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp29_ = id;
-#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp30_ = publishing_rajce_publishing_parameters_new_to_existing_album (_tmp28_, _tmp29_);
-#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp31_ = _tmp30_;
-#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_emit_by_name (self, "publish", _tmp31_);
-#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_publishing_parameters_unref0 (_tmp31_);
-#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (album_name);
-#line 7679 "RajcePublishing.c"
+#line 7693 "RajcePublishing.c"
}
}
@@ -7689,27 +7703,27 @@ static void publishing_rajce_publishing_options_pane_on_use_existing_radio_click
GtkEntry* _tmp1_ = NULL;
GtkComboBoxText* _tmp2_ = NULL;
GtkCheckButton* _tmp3_ = NULL;
-#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1055 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->existing_albums_combo;
-#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 1055 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = self->priv->new_album_entry;
-#line 1055 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = self->priv->existing_albums_combo;
-#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_publishing_options_pane_update_publish_button_sensitivity (self);
+ gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_publishing_options_pane_update_publish_button_sensitivity (self);
+#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = self->priv->hide_check;
-#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 7709 "RajcePublishing.c"
+#line 7723 "RajcePublishing.c"
}
@@ -7718,36 +7732,36 @@ static void publishing_rajce_publishing_options_pane_on_create_new_radio_clicked
GtkComboBoxText* _tmp1_ = NULL;
GtkEntry* _tmp2_ = NULL;
GtkCheckButton* _tmp3_ = NULL;
-#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1062 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->new_album_entry;
-#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = self->priv->existing_albums_combo;
-#line 1064 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = self->priv->new_album_entry;
-#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_publishing_options_pane_update_publish_button_sensitivity (self);
+ gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_publishing_options_pane_update_publish_button_sensitivity (self);
+#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = self->priv->hide_check;
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 7738 "RajcePublishing.c"
+#line 7752 "RajcePublishing.c"
}
static void publishing_rajce_publishing_options_pane_on_logout_clicked (PublishingRajcePublishingOptionsPane* self) {
-#line 1070 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1071 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_emit_by_name (self, "logout");
-#line 7747 "RajcePublishing.c"
+#line 7761 "RajcePublishing.c"
}
@@ -7770,7 +7784,7 @@ static gchar* string_strip (const gchar* self) {
result = _result_;
#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 7770 "RajcePublishing.c"
+#line 7784 "RajcePublishing.c"
}
@@ -7785,58 +7799,58 @@ static void publishing_rajce_publishing_options_pane_update_publish_button_sensi
gchar* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
GtkButton* _tmp10_ = NULL;
-#line 1074 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->new_album_entry;
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = gtk_entry_get_text (_tmp0_);
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- album_name = _tmp2_;
#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ album_name = _tmp2_;
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = album_name;
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = string_strip (_tmp4_);
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = _tmp5_;
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = g_strcmp0 (_tmp6_, "") != 0;
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (_tmp6_);
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp7_) {
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = TRUE;
-#line 7809 "RajcePublishing.c"
+#line 7823 "RajcePublishing.c"
} else {
GtkRadioButton* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = self->priv->create_new_radio;
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = !_tmp9_;
-#line 7819 "RajcePublishing.c"
+#line 7833 "RajcePublishing.c"
}
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = self->priv->publish_button;
-#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), _tmp3_);
-#line 1074 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (album_name);
-#line 7827 "RajcePublishing.c"
+#line 7841 "RajcePublishing.c"
}
static void publishing_rajce_publishing_options_pane_on_new_album_entry_changed (PublishingRajcePublishingOptionsPane* self) {
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_update_publish_button_sensitivity (self);
-#line 7836 "RajcePublishing.c"
+#line 7850 "RajcePublishing.c"
}
@@ -7844,21 +7858,21 @@ void publishing_rajce_publishing_options_pane_installed (PublishingRajcePublishi
PublishingRajceAlbum** _tmp9_ = NULL;
gint _tmp9__length1 = 0;
GtkRadioButton* _tmp15_ = NULL;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 7846 "RajcePublishing.c"
+#line 7860 "RajcePublishing.c"
{
gint i = 0;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
i = 0;
-#line 7851 "RajcePublishing.c"
+#line 7865 "RajcePublishing.c"
{
gboolean _tmp0_ = FALSE;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = TRUE;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
while (TRUE) {
-#line 7858 "RajcePublishing.c"
+#line 7872 "RajcePublishing.c"
gint _tmp2_ = 0;
PublishingRajceAlbum** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
@@ -7868,114 +7882,114 @@ void publishing_rajce_publishing_options_pane_installed (PublishingRajcePublishi
gint _tmp6_ = 0;
PublishingRajceAlbum* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (!_tmp0_) {
-#line 7870 "RajcePublishing.c"
+#line 7884 "RajcePublishing.c"
gint _tmp1_ = 0;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = i;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
i = _tmp1_ + 1;
-#line 7876 "RajcePublishing.c"
+#line 7890 "RajcePublishing.c"
}
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = FALSE;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = i;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = self->priv->albums;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3__length1 = self->priv->albums_length1;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (!(_tmp2_ < _tmp3__length1)) {
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
break;
-#line 7890 "RajcePublishing.c"
+#line 7904 "RajcePublishing.c"
}
-#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = self->priv->existing_albums_combo;
-#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = self->priv->albums;
-#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5__length1 = self->priv->albums_length1;
-#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = i;
-#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = _tmp5_[_tmp6_];
-#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = _tmp7_->albumName;
-#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_combo_box_text_append_text (_tmp4_, _tmp8_);
-#line 7906 "RajcePublishing.c"
+#line 7920 "RajcePublishing.c"
}
}
}
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = self->priv->albums;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9__length1 = self->priv->albums_length1;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp9__length1 == 0) {
-#line 7916 "RajcePublishing.c"
+#line 7930 "RajcePublishing.c"
GtkComboBoxText* _tmp10_ = NULL;
GtkRadioButton* _tmp11_ = NULL;
-#line 1092 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = self->priv->existing_albums_combo;
-#line 1092 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 1094 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp11_ = self->priv->use_existing_radio;
-#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1094 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 7927 "RajcePublishing.c"
+#line 7941 "RajcePublishing.c"
} else {
GtkComboBoxText* _tmp12_ = NULL;
GtkComboBoxText* _tmp13_ = NULL;
GtkRadioButton* _tmp14_ = NULL;
-#line 1097 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1098 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp12_ = self->priv->existing_albums_combo;
-#line 1097 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_combo_box_get_type (), GtkComboBox), 0);
#line 1098 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_combo_box_get_type (), GtkComboBox), 0);
+#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp13_ = self->priv->existing_albums_combo;
-#line 1098 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp14_ = self->priv->use_existing_radio;
-#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 7944 "RajcePublishing.c"
+#line 7958 "RajcePublishing.c"
}
-#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp15_ = self->priv->create_new_radio;
-#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
+#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_on_create_new_radio_clicked (self);
-#line 7952 "RajcePublishing.c"
+#line 7966 "RajcePublishing.c"
}
void publishing_rajce_publishing_options_pane_notify_publish (PublishingRajcePublishingOptionsPane* self, PublishingRajcePublishingParameters* parameters) {
PublishingRajcePublishingParameters* _tmp0_ = NULL;
-#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_PARAMETERS (parameters));
-#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = parameters;
-#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_emit_by_name (self, "publish", _tmp0_);
-#line 7966 "RajcePublishing.c"
+#line 7980 "RajcePublishing.c"
}
void publishing_rajce_publishing_options_pane_notify_logout (PublishingRajcePublishingOptionsPane* self) {
-#line 1110 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_emit_by_name (self, "logout");
-#line 7975 "RajcePublishing.c"
+#line 7989 "RajcePublishing.c"
}
@@ -7983,17 +7997,17 @@ GtkWidget* publishing_rajce_publishing_options_pane_get_default_widget (Publishi
GtkWidget* result = NULL;
GtkButton* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_OPTIONS_PANE (self), NULL);
-#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1118 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->logout_button;
-#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1118 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1118 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp1_;
-#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1118 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 7993 "RajcePublishing.c"
+#line 8007 "RajcePublishing.c"
}
@@ -8002,58 +8016,58 @@ static GtkWidget* publishing_rajce_publishing_options_pane_real_get_widget (Spit
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 1119 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, PublishingRajcePublishingOptionsPane);
-#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->pane_widget;
-#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp1_;
-#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 8012 "RajcePublishing.c"
+#line 8026 "RajcePublishing.c"
}
static SpitPublishingDialogPaneGeometryOptions publishing_rajce_publishing_options_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) {
PublishingRajcePublishingOptionsPane * self;
SpitPublishingDialogPaneGeometryOptions result = 0;
-#line 1124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, PublishingRajcePublishingOptionsPane);
-#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
-#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 8025 "RajcePublishing.c"
+#line 8039 "RajcePublishing.c"
}
static void _publishing_rajce_publishing_options_pane_notify_publish_publishing_rajce_publishing_options_pane_publish (PublishingRajcePublishingOptionsPane* _sender, PublishingRajcePublishingParameters* parameters, gpointer self) {
-#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_notify_publish ((PublishingRajcePublishingOptionsPane*) self, parameters);
-#line 8032 "RajcePublishing.c"
+#line 8046 "RajcePublishing.c"
}
static void _publishing_rajce_publishing_options_pane_notify_logout_publishing_rajce_publishing_options_pane_logout (PublishingRajcePublishingOptionsPane* _sender, gpointer self) {
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_notify_logout ((PublishingRajcePublishingOptionsPane*) self);
-#line 8039 "RajcePublishing.c"
+#line 8053 "RajcePublishing.c"
}
static void publishing_rajce_publishing_options_pane_real_on_pane_installed (SpitPublishingDialogPane* base) {
PublishingRajcePublishingOptionsPane * self;
-#line 1129 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, PublishingRajcePublishingOptionsPane);
-#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_publishing_options_pane_installed (self);
#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_signal_connect_object (self, "publish", (GCallback) _publishing_rajce_publishing_options_pane_notify_publish_publishing_rajce_publishing_options_pane_publish, self, 0);
+ publishing_rajce_publishing_options_pane_installed (self);
#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_signal_connect_object (self, "publish", (GCallback) _publishing_rajce_publishing_options_pane_notify_publish_publishing_rajce_publishing_options_pane_publish, self, 0);
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_connect_object (self, "logout", (GCallback) _publishing_rajce_publishing_options_pane_notify_logout_publishing_rajce_publishing_options_pane_logout, self, 0);
-#line 8053 "RajcePublishing.c"
+#line 8067 "RajcePublishing.c"
}
@@ -8061,17 +8075,17 @@ static void publishing_rajce_publishing_options_pane_real_on_pane_uninstalled (S
PublishingRajcePublishingOptionsPane * self;
guint _tmp0_ = 0U;
guint _tmp1_ = 0U;
-#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, PublishingRajcePublishingOptionsPane);
-#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_parse_name ("publish", PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp0_, NULL, FALSE);
-#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp0_, 0, NULL, (GCallback) _publishing_rajce_publishing_options_pane_notify_publish_publishing_rajce_publishing_options_pane_publish, self);
#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp0_, 0, NULL, (GCallback) _publishing_rajce_publishing_options_pane_notify_publish_publishing_rajce_publishing_options_pane_publish, self);
+#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_parse_name ("logout", PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp1_, NULL, FALSE);
-#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_rajce_publishing_options_pane_notify_logout_publishing_rajce_publishing_options_pane_logout, self);
-#line 8071 "RajcePublishing.c"
+#line 8085 "RajcePublishing.c"
}
@@ -8082,128 +8096,128 @@ static void g_cclosure_user_marshal_VOID__PUBLISHING_RAJCE_PUBLISHING_PARAMETERS
register gpointer data1;
register gpointer data2;
cc = (GCClosure *) closure;
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (n_param_values == 2);
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (G_CCLOSURE_SWAP_DATA (closure)) {
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
data1 = closure->data;
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
data2 = param_values->data[0].v_pointer;
-#line 8090 "RajcePublishing.c"
+#line 8104 "RajcePublishing.c"
} else {
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
data1 = param_values->data[0].v_pointer;
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
data2 = closure->data;
-#line 8096 "RajcePublishing.c"
+#line 8110 "RajcePublishing.c"
}
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
callback = (GMarshalFunc_VOID__PUBLISHING_RAJCE_PUBLISHING_PARAMETERS) (marshal_data ? marshal_data : cc->callback);
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
callback (data1, publishing_rajce_value_get_publishing_parameters (param_values + 1), data2);
-#line 8102 "RajcePublishing.c"
+#line 8116 "RajcePublishing.c"
}
static void publishing_rajce_publishing_options_pane_class_init (PublishingRajcePublishingOptionsPaneClass * klass) {
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_parent_class = g_type_class_peek_parent (klass);
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingRajcePublishingOptionsPanePrivate));
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_rajce_publishing_options_pane_finalize;
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_new ("publish", PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__PUBLISHING_RAJCE_PUBLISHING_PARAMETERS, G_TYPE_NONE, 1, PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS);
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_new ("logout", PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 8117 "RajcePublishing.c"
+#line 8131 "RajcePublishing.c"
}
static void publishing_rajce_publishing_options_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) {
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface);
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_rajce_publishing_options_pane_real_get_widget;
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_rajce_publishing_options_pane_real_get_preferred_geometry;
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_rajce_publishing_options_pane_real_on_pane_installed;
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_rajce_publishing_options_pane_real_on_pane_uninstalled;
-#line 8132 "RajcePublishing.c"
+#line 8146 "RajcePublishing.c"
}
static void publishing_rajce_publishing_options_pane_instance_init (PublishingRajcePublishingOptionsPane * self) {
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv = PUBLISHING_RAJCE_PUBLISHING_OPTIONS_PANE_GET_PRIVATE (self);
-#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->builder = NULL;
#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->pane_widget = NULL;
+ self->priv->builder = NULL;
#line 970 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->login_identity_label = NULL;
+ self->priv->pane_widget = NULL;
#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->publish_to_label = NULL;
+ self->priv->login_identity_label = NULL;
#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->use_existing_radio = NULL;
+ self->priv->publish_to_label = NULL;
#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->existing_albums_combo = NULL;
+ self->priv->use_existing_radio = NULL;
#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->create_new_radio = NULL;
+ self->priv->existing_albums_combo = NULL;
#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->new_album_entry = NULL;
+ self->priv->create_new_radio = NULL;
#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->hide_check = NULL;
+ self->priv->new_album_entry = NULL;
#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->show_check = NULL;
+ self->priv->hide_check = NULL;
#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->publish_button = NULL;
+ self->priv->show_check = NULL;
#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->publish_button = NULL;
+#line 980 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->logout_button = NULL;
-#line 8163 "RajcePublishing.c"
+#line 8177 "RajcePublishing.c"
}
static void publishing_rajce_publishing_options_pane_finalize (GObject* obj) {
PublishingRajcePublishingOptionsPane * self;
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_RAJCE_TYPE_PUBLISHING_OPTIONS_PANE, PublishingRajcePublishingOptionsPane);
-#line 964 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->publisher);
#line 965 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->albums = (_vala_array_free (self->priv->albums, self->priv->albums_length1, (GDestroyNotify) publishing_rajce_album_unref), NULL);
+ _g_object_unref0 (self->priv->publisher);
#line 966 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->albums = (_vala_array_free (self->priv->albums, self->priv->albums_length1, (GDestroyNotify) publishing_rajce_album_unref), NULL);
+#line 967 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->username);
-#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->builder);
#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->pane_widget);
+ _g_object_unref0 (self->priv->builder);
#line 970 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->login_identity_label);
+ _g_object_unref0 (self->priv->pane_widget);
#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->publish_to_label);
+ _g_object_unref0 (self->priv->login_identity_label);
#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->use_existing_radio);
+ _g_object_unref0 (self->priv->publish_to_label);
#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->existing_albums_combo);
+ _g_object_unref0 (self->priv->use_existing_radio);
#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->create_new_radio);
+ _g_object_unref0 (self->priv->existing_albums_combo);
#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->new_album_entry);
+ _g_object_unref0 (self->priv->create_new_radio);
#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->hide_check);
+ _g_object_unref0 (self->priv->new_album_entry);
#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->show_check);
+ _g_object_unref0 (self->priv->hide_check);
#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_object_unref0 (self->priv->publish_button);
+ _g_object_unref0 (self->priv->show_check);
#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_object_unref0 (self->priv->publish_button);
+#line 980 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (self->priv->logout_button);
-#line 962 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
G_OBJECT_CLASS (publishing_rajce_publishing_options_pane_parent_class)->finalize (obj);
-#line 8203 "RajcePublishing.c"
+#line 8217 "RajcePublishing.c"
}
@@ -8223,18 +8237,18 @@ GType publishing_rajce_publishing_options_pane_get_type (void) {
static PublishingRajcePublishingParameters* publishing_rajce_publishing_parameters_construct (GType object_type) {
PublishingRajcePublishingParameters* self = NULL;
-#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1150 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = (PublishingRajcePublishingParameters*) g_type_create_instance (object_type);
-#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1150 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 8227 "RajcePublishing.c"
+#line 8241 "RajcePublishing.c"
}
static PublishingRajcePublishingParameters* publishing_rajce_publishing_parameters_new (void) {
-#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1150 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_publishing_parameters_construct (PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS);
-#line 8234 "RajcePublishing.c"
+#line 8248 "RajcePublishing.c"
}
@@ -8246,44 +8260,44 @@ PublishingRajcePublishingParameters* publishing_rajce_publishing_parameters_cons
gboolean* _tmp3_ = NULL;
gint _tmp4_ = 0;
gint* _tmp5_ = NULL;
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (album_name != NULL, NULL);
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = (PublishingRajcePublishingParameters*) g_type_create_instance (object_type);
-#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = album_name;
-#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->album_name);
-#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->album_name = _tmp1_;
#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->album_name = _tmp1_;
+#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = album_hidden;
-#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = __bool_dup0 (&_tmp2_);
-#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->album_hidden);
-#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->album_hidden = _tmp3_;
#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->album_hidden = _tmp3_;
+#line 1157 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = 0;
-#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1157 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = __int_dup0 (&_tmp4_);
-#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1157 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->album_id);
-#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1157 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->album_id = _tmp5_;
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 8276 "RajcePublishing.c"
+#line 8290 "RajcePublishing.c"
}
PublishingRajcePublishingParameters* publishing_rajce_publishing_parameters_new_to_new_album (const gchar* album_name, gboolean album_hidden) {
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1153 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_publishing_parameters_construct_to_new_album (PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS, album_name, album_hidden);
-#line 8283 "RajcePublishing.c"
+#line 8297 "RajcePublishing.c"
}
@@ -8293,252 +8307,252 @@ PublishingRajcePublishingParameters* publishing_rajce_publishing_parameters_cons
gchar* _tmp1_ = NULL;
gint _tmp2_ = 0;
gint* _tmp3_ = NULL;
-#line 1158 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (album_name != NULL, NULL);
-#line 1158 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = (PublishingRajcePublishingParameters*) g_type_create_instance (object_type);
-#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = album_name;
-#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->album_name);
-#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->album_name = _tmp1_;
#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->album_name = _tmp1_;
+#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->album_hidden);
-#line 1161 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->album_hidden = NULL;
#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->album_hidden = NULL;
+#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = album_id;
-#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = __int_dup0 (&_tmp2_);
-#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->album_id);
-#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->album_id = _tmp3_;
-#line 1158 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 8319 "RajcePublishing.c"
+#line 8333 "RajcePublishing.c"
}
PublishingRajcePublishingParameters* publishing_rajce_publishing_parameters_new_to_existing_album (const gchar* album_name, gint album_id) {
-#line 1158 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_publishing_parameters_construct_to_existing_album (PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS, album_name, album_id);
-#line 8326 "RajcePublishing.c"
+#line 8340 "RajcePublishing.c"
}
static void publishing_rajce_value_publishing_parameters_init (GValue* value) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 8333 "RajcePublishing.c"
+#line 8347 "RajcePublishing.c"
}
static void publishing_rajce_value_publishing_parameters_free_value (GValue* value) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (value->data[0].v_pointer) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_parameters_unref (value->data[0].v_pointer);
-#line 8342 "RajcePublishing.c"
+#line 8356 "RajcePublishing.c"
}
}
static void publishing_rajce_value_publishing_parameters_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (src_value->data[0].v_pointer) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
dest_value->data[0].v_pointer = publishing_rajce_publishing_parameters_ref (src_value->data[0].v_pointer);
-#line 8352 "RajcePublishing.c"
+#line 8366 "RajcePublishing.c"
} else {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 8356 "RajcePublishing.c"
+#line 8370 "RajcePublishing.c"
}
}
static gpointer publishing_rajce_value_publishing_parameters_peek_pointer (const GValue* value) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return value->data[0].v_pointer;
-#line 8364 "RajcePublishing.c"
+#line 8378 "RajcePublishing.c"
}
static gchar* publishing_rajce_value_publishing_parameters_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (collect_values[0].v_pointer) {
-#line 8371 "RajcePublishing.c"
+#line 8385 "RajcePublishing.c"
PublishingRajcePublishingParameters* object;
object = collect_values[0].v_pointer;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (object->parent_instance.g_class == NULL) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 8378 "RajcePublishing.c"
+#line 8392 "RajcePublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.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 8382 "RajcePublishing.c"
+#line 8396 "RajcePublishing.c"
}
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = publishing_rajce_publishing_parameters_ref (object);
-#line 8386 "RajcePublishing.c"
+#line 8400 "RajcePublishing.c"
} else {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 8390 "RajcePublishing.c"
+#line 8404 "RajcePublishing.c"
}
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 8394 "RajcePublishing.c"
+#line 8408 "RajcePublishing.c"
}
static gchar* publishing_rajce_value_publishing_parameters_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PublishingRajcePublishingParameters** object_p;
object_p = collect_values[0].v_pointer;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (!object_p) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 8405 "RajcePublishing.c"
+#line 8419 "RajcePublishing.c"
}
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (!value->data[0].v_pointer) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*object_p = NULL;
-#line 8411 "RajcePublishing.c"
+#line 8425 "RajcePublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 8415 "RajcePublishing.c"
+#line 8429 "RajcePublishing.c"
} else {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*object_p = publishing_rajce_publishing_parameters_ref (value->data[0].v_pointer);
-#line 8419 "RajcePublishing.c"
+#line 8433 "RajcePublishing.c"
}
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 8423 "RajcePublishing.c"
+#line 8437 "RajcePublishing.c"
}
GParamSpec* publishing_rajce_param_spec_publishing_parameters (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
PublishingRajceParamSpecPublishingParameters* spec;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS), NULL);
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return G_PARAM_SPEC (spec);
-#line 8437 "RajcePublishing.c"
+#line 8451 "RajcePublishing.c"
}
gpointer publishing_rajce_value_get_publishing_parameters (const GValue* value) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS), NULL);
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return value->data[0].v_pointer;
-#line 8446 "RajcePublishing.c"
+#line 8460 "RajcePublishing.c"
}
void publishing_rajce_value_set_publishing_parameters (GValue* value, gpointer v_object) {
PublishingRajcePublishingParameters* old;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS));
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
old = value->data[0].v_pointer;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (v_object) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS));
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = v_object;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_parameters_ref (value->data[0].v_pointer);
-#line 8466 "RajcePublishing.c"
+#line 8480 "RajcePublishing.c"
} else {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 8470 "RajcePublishing.c"
+#line 8484 "RajcePublishing.c"
}
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (old) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_parameters_unref (old);
-#line 8476 "RajcePublishing.c"
+#line 8490 "RajcePublishing.c"
}
}
void publishing_rajce_value_take_publishing_parameters (GValue* value, gpointer v_object) {
PublishingRajcePublishingParameters* old;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS));
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
old = value->data[0].v_pointer;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (v_object) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS));
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = v_object;
-#line 8495 "RajcePublishing.c"
+#line 8509 "RajcePublishing.c"
} else {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 8499 "RajcePublishing.c"
+#line 8513 "RajcePublishing.c"
}
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (old) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_parameters_unref (old);
-#line 8505 "RajcePublishing.c"
+#line 8519 "RajcePublishing.c"
}
}
static void publishing_rajce_publishing_parameters_class_init (PublishingRajcePublishingParametersClass * klass) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_publishing_parameters_parent_class = g_type_class_peek_parent (klass);
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
((PublishingRajcePublishingParametersClass *) klass)->finalize = publishing_rajce_publishing_parameters_finalize;
-#line 8515 "RajcePublishing.c"
+#line 8529 "RajcePublishing.c"
}
static void publishing_rajce_publishing_parameters_instance_init (PublishingRajcePublishingParameters * self) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->ref_count = 1;
-#line 8522 "RajcePublishing.c"
+#line 8536 "RajcePublishing.c"
}
static void publishing_rajce_publishing_parameters_finalize (PublishingRajcePublishingParameters* obj) {
PublishingRajcePublishingParameters * self;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_RAJCE_TYPE_PUBLISHING_PARAMETERS, PublishingRajcePublishingParameters);
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_handlers_destroy (self);
-#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->album_name);
#line 1146 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->album_hidden);
+ _g_free0 (self->album_name);
#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (self->album_hidden);
+#line 1148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->album_id);
-#line 8538 "RajcePublishing.c"
+#line 8552 "RajcePublishing.c"
}
@@ -8559,42 +8573,42 @@ GType publishing_rajce_publishing_parameters_get_type (void) {
gpointer publishing_rajce_publishing_parameters_ref (gpointer instance) {
PublishingRajcePublishingParameters* self;
self = instance;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_atomic_int_inc (&self->ref_count);
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return instance;
-#line 8563 "RajcePublishing.c"
+#line 8577 "RajcePublishing.c"
}
void publishing_rajce_publishing_parameters_unref (gpointer instance) {
PublishingRajcePublishingParameters* self;
self = instance;
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
PUBLISHING_RAJCE_PUBLISHING_PARAMETERS_GET_CLASS (self)->finalize (self);
-#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 8576 "RajcePublishing.c"
+#line 8590 "RajcePublishing.c"
}
}
PublishingRajceSession* publishing_rajce_session_construct (GType object_type) {
PublishingRajceSession* self = NULL;
-#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = (PublishingRajceSession*) publishing_rest_support_session_construct (object_type, "");
-#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 8587 "RajcePublishing.c"
+#line 8601 "RajcePublishing.c"
}
PublishingRajceSession* publishing_rajce_session_new (void) {
-#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_session_construct (PUBLISHING_RAJCE_TYPE_SESSION);
-#line 8594 "RajcePublishing.c"
+#line 8608 "RajcePublishing.c"
}
@@ -8604,43 +8618,43 @@ static gboolean publishing_rajce_session_real_is_authenticated (PublishingRESTSu
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
gint* _tmp2_ = NULL;
-#line 1184 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1185 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_RAJCE_TYPE_SESSION, PublishingRajceSession);
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = self->priv->userid;
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp2_ != NULL) {
-#line 8610 "RajcePublishing.c"
+#line 8624 "RajcePublishing.c"
const gchar* _tmp3_ = NULL;
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = self->priv->usertoken;
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = _tmp3_ != NULL;
-#line 8616 "RajcePublishing.c"
+#line 8630 "RajcePublishing.c"
} else {
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = FALSE;
-#line 8620 "RajcePublishing.c"
+#line 8634 "RajcePublishing.c"
}
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp1_) {
-#line 8624 "RajcePublishing.c"
+#line 8638 "RajcePublishing.c"
const gchar* _tmp4_ = NULL;
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = self->priv->username;
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = _tmp4_ != NULL;
-#line 8630 "RajcePublishing.c"
+#line 8644 "RajcePublishing.c"
} else {
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = FALSE;
-#line 8634 "RajcePublishing.c"
+#line 8648 "RajcePublishing.c"
}
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp0_;
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 8640 "RajcePublishing.c"
+#line 8654 "RajcePublishing.c"
}
@@ -8655,139 +8669,139 @@ void publishing_rajce_session_authenticate (PublishingRajceSession* self, const
gint* _tmp7_ = NULL;
gint _tmp8_ = 0;
gint* _tmp9_ = NULL;
-#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1190 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_SESSION (self));
-#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1190 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (token != NULL);
-#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1190 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (name != NULL);
-#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = token;
-#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->usertoken);
-#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->usertoken = _tmp1_;
#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->usertoken = _tmp1_;
+#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = name;
-#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->username);
-#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->username = _tmp3_;
#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->username = _tmp3_;
+#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = id;
-#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = __int_dup0 (&_tmp4_);
-#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->userid);
-#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->userid = _tmp5_;
#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->userid = _tmp5_;
+#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = maxsize;
-#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = __int_dup0 (&_tmp6_);
-#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->maxsize);
-#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->maxsize = _tmp7_;
#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->maxsize = _tmp7_;
+#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = quality;
-#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = __int_dup0 (&_tmp8_);
-#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->quality);
-#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->quality = _tmp9_;
-#line 8701 "RajcePublishing.c"
+#line 8715 "RajcePublishing.c"
}
void publishing_rajce_session_deauthenticate (PublishingRajceSession* self) {
-#line 1198 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_SESSION (self));
-#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->usertoken);
-#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->usertoken = NULL;
#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->usertoken = NULL;
+#line 1202 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->albumtoken);
-#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->albumtoken = NULL;
#line 1202 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->albumtoken = NULL;
+#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->albumticket);
-#line 1202 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->albumticket = NULL;
#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->albumticket = NULL;
+#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->username);
-#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->username = NULL;
#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->username = NULL;
+#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->userid);
-#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->userid = NULL;
#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->userid = NULL;
+#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->maxsize);
-#line 1205 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->maxsize = NULL;
#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->maxsize = NULL;
+#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->quality);
-#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->quality = NULL;
-#line 8736 "RajcePublishing.c"
+#line 8750 "RajcePublishing.c"
}
void publishing_rajce_session_set_usertoken (PublishingRajceSession* self, const gchar* usertoken) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_SESSION (self));
-#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = usertoken;
-#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->usertoken);
-#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->usertoken = _tmp1_;
-#line 8753 "RajcePublishing.c"
+#line 8767 "RajcePublishing.c"
}
void publishing_rajce_session_set_albumtoken (PublishingRajceSession* self, const gchar* albumtoken) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_SESSION (self));
-#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = albumtoken;
-#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->albumtoken);
-#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->albumtoken = _tmp1_;
-#line 8770 "RajcePublishing.c"
+#line 8784 "RajcePublishing.c"
}
void publishing_rajce_session_set_albumticket (PublishingRajceSession* self, const gchar* albumticket) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_SESSION (self));
-#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = albumticket;
-#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->albumticket);
-#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->albumticket = _tmp1_;
-#line 8787 "RajcePublishing.c"
+#line 8801 "RajcePublishing.c"
}
@@ -8795,17 +8809,17 @@ gchar* publishing_rajce_session_get_usertoken (PublishingRajceSession* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (self), NULL);
-#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->usertoken;
-#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp1_;
-#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 8805 "RajcePublishing.c"
+#line 8819 "RajcePublishing.c"
}
@@ -8813,17 +8827,17 @@ gchar* publishing_rajce_session_get_albumtoken (PublishingRajceSession* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (self), NULL);
-#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->albumtoken;
-#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp1_;
-#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 8823 "RajcePublishing.c"
+#line 8837 "RajcePublishing.c"
}
@@ -8831,17 +8845,17 @@ gchar* publishing_rajce_session_get_albumticket (PublishingRajceSession* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (self), NULL);
-#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->albumticket;
-#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp1_;
-#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 8841 "RajcePublishing.c"
+#line 8855 "RajcePublishing.c"
}
@@ -8849,90 +8863,90 @@ gchar* publishing_rajce_session_get_username (PublishingRajceSession* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (self), NULL);
-#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->username;
-#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp1_;
-#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 8859 "RajcePublishing.c"
+#line 8873 "RajcePublishing.c"
}
gint publishing_rajce_session_get_maxsize (PublishingRajceSession* self) {
gint result = 0;
gint* _tmp0_ = NULL;
-#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (self), 0);
-#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->maxsize;
-#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = *_tmp0_;
-#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 8874 "RajcePublishing.c"
+#line 8888 "RajcePublishing.c"
}
static void publishing_rajce_session_class_init (PublishingRajceSessionClass * klass) {
-#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_session_parent_class = g_type_class_peek_parent (klass);
-#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
((PublishingRESTSupportSessionClass *) klass)->finalize = publishing_rajce_session_finalize;
-#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingRajceSessionPrivate));
-#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
((PublishingRESTSupportSessionClass *) klass)->is_authenticated = publishing_rajce_session_real_is_authenticated;
-#line 8887 "RajcePublishing.c"
+#line 8901 "RajcePublishing.c"
}
static void publishing_rajce_session_instance_init (PublishingRajceSession * self) {
-#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv = PUBLISHING_RAJCE_SESSION_GET_PRIVATE (self);
#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->usertoken = NULL;
+ self->priv = PUBLISHING_RAJCE_SESSION_GET_PRIVATE (self);
#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->albumtoken = NULL;
+ self->priv->usertoken = NULL;
#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->albumticket = NULL;
+ self->priv->albumtoken = NULL;
#line 1174 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->username = NULL;
+ self->priv->albumticket = NULL;
#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->userid = NULL;
+ self->priv->username = NULL;
#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->maxsize = NULL;
+ self->priv->userid = NULL;
#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->maxsize = NULL;
+#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->quality = NULL;
-#line 8908 "RajcePublishing.c"
+#line 8922 "RajcePublishing.c"
}
static void publishing_rajce_session_finalize (PublishingRESTSupportSession* obj) {
PublishingRajceSession * self;
-#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_RAJCE_TYPE_SESSION, PublishingRajceSession);
#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->priv->usertoken);
+ self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_RAJCE_TYPE_SESSION, PublishingRajceSession);
#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->priv->albumtoken);
+ _g_free0 (self->priv->usertoken);
#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->priv->albumticket);
+ _g_free0 (self->priv->albumtoken);
#line 1174 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->priv->username);
+ _g_free0 (self->priv->albumticket);
#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->priv->userid);
+ _g_free0 (self->priv->username);
#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->priv->maxsize);
+ _g_free0 (self->priv->userid);
#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (self->priv->maxsize);
+#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->quality);
-#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_rajce_session_parent_class)->finalize (obj);
-#line 8932 "RajcePublishing.c"
+#line 8946 "RajcePublishing.c"
}
@@ -8952,9 +8966,9 @@ GType publishing_rajce_session_get_type (void) {
static gpointer _publishing_rajce_arg_item_ref0 (gpointer self) {
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self ? publishing_rajce_arg_item_ref (self) : NULL;
-#line 8954 "RajcePublishing.c"
+#line 8968 "RajcePublishing.c"
}
@@ -8965,61 +8979,61 @@ PublishingRajceArgItem* publishing_rajce_arg_item_construct (GType object_type,
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
PublishingRajceArgItem** _tmp4_ = NULL;
-#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = (PublishingRajceArgItem*) g_type_create_instance (object_type);
-#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = k;
-#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->key);
-#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->key = _tmp1_;
#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->key = _tmp1_;
+#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = v;
-#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->val);
-#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->val = _tmp3_;
#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->val = _tmp3_;
+#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = g_new0 (PublishingRajceArgItem*, 0 + 1);
-#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->children = (_vala_array_free (self->children, self->children_length1, (GDestroyNotify) publishing_rajce_arg_item_unref), NULL);
-#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->children = _tmp4_;
-#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->children_length1 = 0;
-#line 1232 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->_children_size_ = self->children_length1;
-#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 8995 "RajcePublishing.c"
+#line 9009 "RajcePublishing.c"
}
PublishingRajceArgItem* publishing_rajce_arg_item_new (const gchar* k, const gchar* v) {
-#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_arg_item_construct (PUBLISHING_RAJCE_TYPE_ARG_ITEM, k, v);
-#line 9002 "RajcePublishing.c"
+#line 9016 "RajcePublishing.c"
}
static void _vala_array_add6 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if ((*length) == (*size)) {
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*array = g_renew (PublishingRajceArgItem*, *array, (*size) + 1);
-#line 9013 "RajcePublishing.c"
+#line 9027 "RajcePublishing.c"
}
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[(*length)++] = value;
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[*length] = NULL;
-#line 9019 "RajcePublishing.c"
+#line 9033 "RajcePublishing.c"
}
@@ -9028,62 +9042,62 @@ void publishing_rajce_arg_item_AddChild (PublishingRajceArgItem* self, Publishin
gint _tmp0__length1 = 0;
PublishingRajceArgItem* _tmp1_ = NULL;
PublishingRajceArgItem* _tmp2_ = NULL;
-#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1235 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_ARG_ITEM (self));
-#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1235 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_ARG_ITEM (child));
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->children;
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0__length1 = self->children_length1;
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = child;
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = _publishing_rajce_arg_item_ref0 (_tmp1_);
-#line 1236 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1237 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_vala_array_add6 (&self->children, &self->children_length1, &self->_children_size_, _tmp2_);
-#line 9042 "RajcePublishing.c"
+#line 9056 "RajcePublishing.c"
}
void publishing_rajce_arg_item_AddChildren (PublishingRajceArgItem* self, PublishingRajceArgItem** newchildren, int newchildren_length1) {
PublishingRajceArgItem** _tmp0_ = NULL;
gint _tmp0__length1 = 0;
-#line 1238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1239 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_ARG_ITEM (self));
-#line 1240 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = newchildren;
-#line 1240 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0__length1 = newchildren_length1;
-#line 9055 "RajcePublishing.c"
+#line 9069 "RajcePublishing.c"
{
PublishingRajceArgItem** child_collection = NULL;
gint child_collection_length1 = 0;
gint _child_collection_size_ = 0;
gint child_it = 0;
-#line 1240 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child_collection = _tmp0_;
-#line 1240 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child_collection_length1 = _tmp0__length1;
-#line 1240 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
for (child_it = 0; child_it < _tmp0__length1; child_it = child_it + 1) {
-#line 9067 "RajcePublishing.c"
+#line 9081 "RajcePublishing.c"
PublishingRajceArgItem* _tmp1_ = NULL;
PublishingRajceArgItem* child = NULL;
-#line 1240 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = _publishing_rajce_arg_item_ref0 (child_collection[child_it]);
-#line 1240 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child = _tmp1_;
-#line 9074 "RajcePublishing.c"
+#line 9088 "RajcePublishing.c"
{
PublishingRajceArgItem* _tmp2_ = NULL;
-#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = child;
-#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_arg_item_AddChild (self, _tmp2_);
-#line 1240 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_arg_item_unref0 (child);
-#line 9083 "RajcePublishing.c"
+#line 9097 "RajcePublishing.c"
}
}
}
@@ -9091,198 +9105,198 @@ void publishing_rajce_arg_item_AddChildren (PublishingRajceArgItem* self, Publis
static void publishing_rajce_value_arg_item_init (GValue* value) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9093 "RajcePublishing.c"
+#line 9107 "RajcePublishing.c"
}
static void publishing_rajce_value_arg_item_free_value (GValue* value) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (value->data[0].v_pointer) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_arg_item_unref (value->data[0].v_pointer);
-#line 9102 "RajcePublishing.c"
+#line 9116 "RajcePublishing.c"
}
}
static void publishing_rajce_value_arg_item_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (src_value->data[0].v_pointer) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
dest_value->data[0].v_pointer = publishing_rajce_arg_item_ref (src_value->data[0].v_pointer);
-#line 9112 "RajcePublishing.c"
+#line 9126 "RajcePublishing.c"
} else {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 9116 "RajcePublishing.c"
+#line 9130 "RajcePublishing.c"
}
}
static gpointer publishing_rajce_value_arg_item_peek_pointer (const GValue* value) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return value->data[0].v_pointer;
-#line 9124 "RajcePublishing.c"
+#line 9138 "RajcePublishing.c"
}
static gchar* publishing_rajce_value_arg_item_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (collect_values[0].v_pointer) {
-#line 9131 "RajcePublishing.c"
+#line 9145 "RajcePublishing.c"
PublishingRajceArgItem* object;
object = collect_values[0].v_pointer;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (object->parent_instance.g_class == NULL) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 9138 "RajcePublishing.c"
+#line 9152 "RajcePublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.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 9142 "RajcePublishing.c"
+#line 9156 "RajcePublishing.c"
}
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = publishing_rajce_arg_item_ref (object);
-#line 9146 "RajcePublishing.c"
+#line 9160 "RajcePublishing.c"
} else {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9150 "RajcePublishing.c"
+#line 9164 "RajcePublishing.c"
}
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 9154 "RajcePublishing.c"
+#line 9168 "RajcePublishing.c"
}
static gchar* publishing_rajce_value_arg_item_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PublishingRajceArgItem** object_p;
object_p = collect_values[0].v_pointer;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (!object_p) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 9165 "RajcePublishing.c"
+#line 9179 "RajcePublishing.c"
}
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (!value->data[0].v_pointer) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*object_p = NULL;
-#line 9171 "RajcePublishing.c"
+#line 9185 "RajcePublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 9175 "RajcePublishing.c"
+#line 9189 "RajcePublishing.c"
} else {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*object_p = publishing_rajce_arg_item_ref (value->data[0].v_pointer);
-#line 9179 "RajcePublishing.c"
+#line 9193 "RajcePublishing.c"
}
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 9183 "RajcePublishing.c"
+#line 9197 "RajcePublishing.c"
}
GParamSpec* publishing_rajce_param_spec_arg_item (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
PublishingRajceParamSpecArgItem* spec;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_RAJCE_TYPE_ARG_ITEM), NULL);
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return G_PARAM_SPEC (spec);
-#line 9197 "RajcePublishing.c"
+#line 9211 "RajcePublishing.c"
}
gpointer publishing_rajce_value_get_arg_item (const GValue* value) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_RAJCE_TYPE_ARG_ITEM), NULL);
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return value->data[0].v_pointer;
-#line 9206 "RajcePublishing.c"
+#line 9220 "RajcePublishing.c"
}
void publishing_rajce_value_set_arg_item (GValue* value, gpointer v_object) {
PublishingRajceArgItem* old;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_RAJCE_TYPE_ARG_ITEM));
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
old = value->data[0].v_pointer;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (v_object) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_RAJCE_TYPE_ARG_ITEM));
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = v_object;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_arg_item_ref (value->data[0].v_pointer);
-#line 9226 "RajcePublishing.c"
+#line 9240 "RajcePublishing.c"
} else {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9230 "RajcePublishing.c"
+#line 9244 "RajcePublishing.c"
}
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (old) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_arg_item_unref (old);
-#line 9236 "RajcePublishing.c"
+#line 9250 "RajcePublishing.c"
}
}
void publishing_rajce_value_take_arg_item (GValue* value, gpointer v_object) {
PublishingRajceArgItem* old;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_RAJCE_TYPE_ARG_ITEM));
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
old = value->data[0].v_pointer;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (v_object) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_RAJCE_TYPE_ARG_ITEM));
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = v_object;
-#line 9255 "RajcePublishing.c"
+#line 9269 "RajcePublishing.c"
} else {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9259 "RajcePublishing.c"
+#line 9273 "RajcePublishing.c"
}
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (old) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_arg_item_unref (old);
-#line 9265 "RajcePublishing.c"
+#line 9279 "RajcePublishing.c"
}
}
static void publishing_rajce_arg_item_class_init (PublishingRajceArgItemClass * klass) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_arg_item_parent_class = g_type_class_peek_parent (klass);
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
((PublishingRajceArgItemClass *) klass)->finalize = publishing_rajce_arg_item_finalize;
-#line 9275 "RajcePublishing.c"
+#line 9289 "RajcePublishing.c"
}
static void publishing_rajce_arg_item_instance_init (PublishingRajceArgItem * self) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->ref_count = 1;
-#line 9282 "RajcePublishing.c"
+#line 9296 "RajcePublishing.c"
}
@@ -9290,52 +9304,52 @@ static void publishing_rajce_arg_item_finalize (PublishingRajceArgItem* obj) {
PublishingRajceArgItem * self;
PublishingRajceArgItem** _tmp0_ = NULL;
gint _tmp0__length1 = 0;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_RAJCE_TYPE_ARG_ITEM, PublishingRajceArgItem);
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_handlers_destroy (self);
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->children;
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0__length1 = self->children_length1;
-#line 9298 "RajcePublishing.c"
+#line 9312 "RajcePublishing.c"
{
PublishingRajceArgItem** child_collection = NULL;
gint child_collection_length1 = 0;
gint _child_collection_size_ = 0;
gint child_it = 0;
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child_collection = _tmp0_;
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child_collection_length1 = _tmp0__length1;
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
for (child_it = 0; child_it < _tmp0__length1; child_it = child_it + 1) {
-#line 9310 "RajcePublishing.c"
+#line 9324 "RajcePublishing.c"
PublishingRajceArgItem* _tmp1_ = NULL;
PublishingRajceArgItem* child = NULL;
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = _publishing_rajce_arg_item_ref0 (child_collection[child_it]);
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child = _tmp1_;
-#line 9317 "RajcePublishing.c"
+#line 9331 "RajcePublishing.c"
{
-#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_arg_item_unref0 (child);
-#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child = NULL;
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_arg_item_unref0 (child);
-#line 9325 "RajcePublishing.c"
+#line 9339 "RajcePublishing.c"
}
}
}
-#line 1224 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->key);
#line 1225 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (self->val);
+ _g_free0 (self->key);
#line 1226 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (self->val);
+#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->children = (_vala_array_free (self->children, self->children_length1, (GDestroyNotify) publishing_rajce_arg_item_unref), NULL);
-#line 9335 "RajcePublishing.c"
+#line 9349 "RajcePublishing.c"
}
@@ -9356,24 +9370,24 @@ GType publishing_rajce_arg_item_get_type (void) {
gpointer publishing_rajce_arg_item_ref (gpointer instance) {
PublishingRajceArgItem* self;
self = instance;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_atomic_int_inc (&self->ref_count);
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return instance;
-#line 9360 "RajcePublishing.c"
+#line 9374 "RajcePublishing.c"
}
void publishing_rajce_arg_item_unref (gpointer instance) {
PublishingRajceArgItem* self;
self = instance;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
PUBLISHING_RAJCE_ARG_ITEM_GET_CLASS (self)->finalize (self);
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 9373 "RajcePublishing.c"
+#line 9387 "RajcePublishing.c"
}
}
@@ -9383,55 +9397,55 @@ PublishingRajceLiveApiRequest* publishing_rajce_live_api_request_construct (GTyp
PublishingRajceArgItem** _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (cmd != NULL, NULL);
-#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = (PublishingRajceLiveApiRequest*) g_type_create_instance (object_type);
-#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = g_new0 (PublishingRajceArgItem*, 0 + 1);
-#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->_params = (_vala_array_free (self->priv->_params, self->priv->_params_length1, (GDestroyNotify) publishing_rajce_arg_item_unref), NULL);
-#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->_params = _tmp0_;
-#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->_params_length1 = 0;
-#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->__params_size_ = self->priv->_params_length1;
#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->__params_size_ = self->priv->_params_length1;
+#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = cmd;
-#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->_cmd);
-#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->_cmd = _tmp2_;
-#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 9407 "RajcePublishing.c"
+#line 9421 "RajcePublishing.c"
}
PublishingRajceLiveApiRequest* publishing_rajce_live_api_request_new (const gchar* cmd) {
-#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_live_api_request_construct (PUBLISHING_RAJCE_TYPE_LIVE_API_REQUEST, cmd);
-#line 9414 "RajcePublishing.c"
+#line 9428 "RajcePublishing.c"
}
static void _vala_array_add7 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if ((*length) == (*size)) {
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*array = g_renew (PublishingRajceArgItem*, *array, (*size) + 1);
-#line 9425 "RajcePublishing.c"
+#line 9439 "RajcePublishing.c"
}
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[(*length)++] = value;
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[*length] = NULL;
-#line 9431 "RajcePublishing.c"
+#line 9445 "RajcePublishing.c"
}
@@ -9441,25 +9455,25 @@ void publishing_rajce_live_api_request_AddParam (PublishingRajceLiveApiRequest*
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
PublishingRajceArgItem* _tmp3_ = NULL;
-#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_LIVE_API_REQUEST (self));
-#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (name != NULL);
-#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (val != NULL);
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = self->priv->_params;
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0__length1 = self->priv->_params_length1;
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = name;
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = val;
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = publishing_rajce_arg_item_new (_tmp1_, _tmp2_);
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_vala_array_add7 (&self->priv->_params, &self->priv->_params_length1, &self->priv->__params_size_, _tmp3_);
-#line 9459 "RajcePublishing.c"
+#line 9473 "RajcePublishing.c"
}
@@ -9467,27 +9481,27 @@ void publishing_rajce_live_api_request_AddParamBool (PublishingRajceLiveApiReque
const gchar* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
const gchar* _tmp2_ = NULL;
-#line 1276 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_LIVE_API_REQUEST (self));
-#line 1276 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (name != NULL);
-#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = val;
-#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp1_) {
-#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = "1";
-#line 9477 "RajcePublishing.c"
+#line 9491 "RajcePublishing.c"
} else {
-#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = "0";
-#line 9481 "RajcePublishing.c"
+#line 9495 "RajcePublishing.c"
}
-#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = name;
-#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (self, _tmp2_, _tmp0_);
-#line 9487 "RajcePublishing.c"
+#line 9501 "RajcePublishing.c"
}
@@ -9496,40 +9510,40 @@ void publishing_rajce_live_api_request_AddParamInt (PublishingRajceLiveApiReques
gint _tmp1_ = 0;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_LIVE_API_REQUEST (self));
-#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (name != NULL);
-#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = name;
-#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = val;
-#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = g_strdup_printf ("%i", _tmp1_);
-#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = _tmp2_;
-#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (self, _tmp0_, _tmp3_);
-#line 1285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (_tmp3_);
-#line 9512 "RajcePublishing.c"
+#line 9526 "RajcePublishing.c"
}
static void _vala_array_add8 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if ((*length) == (*size)) {
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*array = g_renew (PublishingRajceArgItem*, *array, (*size) + 1);
-#line 9523 "RajcePublishing.c"
+#line 9537 "RajcePublishing.c"
}
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[(*length)++] = value;
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[*length] = NULL;
-#line 9529 "RajcePublishing.c"
+#line 9543 "RajcePublishing.c"
}
@@ -9542,33 +9556,33 @@ void publishing_rajce_live_api_request_AddParamNode (PublishingRajceLiveApiReque
PublishingRajceArgItem** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
PublishingRajceArgItem* _tmp4_ = NULL;
-#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_LIVE_API_REQUEST (self));
-#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (name != NULL);
-#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = name;
-#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = publishing_rajce_arg_item_new (_tmp0_, NULL);
-#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- newItem = _tmp1_;
#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ newItem = _tmp1_;
+#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = val;
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2__length1 = val_length1;
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_arg_item_AddChildren (newItem, _tmp2_, _tmp2__length1);
#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_arg_item_AddChildren (newItem, _tmp2_, _tmp2__length1);
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = self->priv->_params;
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3__length1 = self->priv->_params_length1;
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = _publishing_rajce_arg_item_ref0 (newItem);
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_vala_array_add8 (&self->priv->_params, &self->priv->_params_length1, &self->priv->__params_size_, _tmp4_);
-#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_arg_item_unref0 (newItem);
-#line 9568 "RajcePublishing.c"
+#line 9582 "RajcePublishing.c"
}
@@ -9592,109 +9606,109 @@ gchar* publishing_rajce_live_api_request_Params2XmlString (PublishingRajceLiveAp
gchar* _tmp13_ = NULL;
xmlDoc* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
-#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_LIVE_API_REQUEST (self), NULL);
-#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1309 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = xmlNewDoc ((xmlChar*) "1.0");
-#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- doc = _tmp0_;
#line 1309 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ doc = _tmp0_;
+#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = xmlNewNode (NULL, (xmlChar*) "request");
-#line 1309 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- root = _tmp1_;
#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ root = _tmp1_;
+#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = doc;
-#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = root;
-#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xmlDocSetRootElement (_tmp2_, _tmp3_);
#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xmlDocSetRootElement (_tmp2_, _tmp3_);
+#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = root;
-#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = self->priv->_cmd;
-#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xmlNewTextChild (_tmp4_, NULL, (xmlChar*) "command", (xmlChar*) _tmp5_);
#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xmlNewTextChild (_tmp4_, NULL, (xmlChar*) "command", (xmlChar*) _tmp5_);
+#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = root;
-#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = xmlNewTextChild (_tmp6_, NULL, (xmlChar*) "parameters", (xmlChar*) "");
-#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- par = _tmp7_;
#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ par = _tmp7_;
+#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = self->priv->_params;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8__length1 = self->priv->_params_length1;
-#line 9624 "RajcePublishing.c"
+#line 9638 "RajcePublishing.c"
{
PublishingRajceArgItem** arg_collection = NULL;
gint arg_collection_length1 = 0;
gint _arg_collection_size_ = 0;
gint arg_it = 0;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
arg_collection = _tmp8_;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
arg_collection_length1 = _tmp8__length1;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
for (arg_it = 0; arg_it < _tmp8__length1; arg_it = arg_it + 1) {
-#line 9636 "RajcePublishing.c"
+#line 9650 "RajcePublishing.c"
PublishingRajceArgItem* _tmp9_ = NULL;
PublishingRajceArgItem* arg = NULL;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = _publishing_rajce_arg_item_ref0 (arg_collection[arg_it]);
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
arg = _tmp9_;
-#line 9643 "RajcePublishing.c"
+#line 9657 "RajcePublishing.c"
{
xmlNode* _tmp10_ = NULL;
PublishingRajceArgItem* _tmp11_ = NULL;
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = par;
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp11_ = arg;
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_WriteParam (_tmp10_, _tmp11_);
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_arg_item_unref0 (arg);
-#line 9655 "RajcePublishing.c"
+#line 9669 "RajcePublishing.c"
}
}
}
-#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp12_ = doc;
-#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
xmlDocDumpMemoryEnc (_tmp12_, (xmlChar**) (&_tmp13_), NULL, "UTF-8");
-#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xmlstr);
-#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xmlstr = _tmp13_;
#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xmlstr = _tmp13_;
+#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp14_ = doc;
-#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xmlFreeDoc (_tmp14_);
#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xmlFreeDoc (_tmp14_);
+#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp15_ = urlencode;
-#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp15_) {
-#line 9675 "RajcePublishing.c"
+#line 9689 "RajcePublishing.c"
const gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
-#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp16_ = xmlstr;
-#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp17_ = soup_uri_encode (_tmp16_, "&;");
-#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp17_;
-#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xmlstr);
-#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 9688 "RajcePublishing.c"
+#line 9702 "RajcePublishing.c"
}
-#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = xmlstr;
-#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 9694 "RajcePublishing.c"
+#line 9708 "RajcePublishing.c"
}
@@ -9702,35 +9716,35 @@ static void publishing_rajce_live_api_request_WriteParam (xmlNode* node, Publish
PublishingRajceArgItem* _tmp0_ = NULL;
PublishingRajceArgItem** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (PUBLISHING_RAJCE_IS_ARG_ITEM (arg));
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = arg;
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = _tmp0_->children;
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1__length1 = _tmp0_->children_length1;
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp1__length1 == 0) {
-#line 9712 "RajcePublishing.c"
+#line 9726 "RajcePublishing.c"
xmlNode* _tmp2_ = NULL;
PublishingRajceArgItem* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
PublishingRajceArgItem* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
-#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = node;
-#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = arg;
-#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = _tmp3_->key;
-#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = arg;
-#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = _tmp5_->val;
-#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
xmlNewTextChild (_tmp2_, NULL, (xmlChar*) _tmp4_, (xmlChar*) _tmp6_);
-#line 9730 "RajcePublishing.c"
+#line 9744 "RajcePublishing.c"
} else {
xmlNode* subnode = NULL;
xmlNode* _tmp7_ = NULL;
@@ -9740,54 +9754,54 @@ static void publishing_rajce_live_api_request_WriteParam (xmlNode* node, Publish
PublishingRajceArgItem* _tmp11_ = NULL;
PublishingRajceArgItem** _tmp12_ = NULL;
gint _tmp12__length1 = 0;
-#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = node;
-#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = arg;
-#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = _tmp8_->key;
-#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = xmlNewTextChild (_tmp7_, NULL, (xmlChar*) _tmp9_, (xmlChar*) "");
-#line 1337 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- subnode = _tmp10_;
#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ subnode = _tmp10_;
+#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp11_ = arg;
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp12_ = _tmp11_->children;
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp12__length1 = _tmp11_->children_length1;
-#line 9756 "RajcePublishing.c"
+#line 9770 "RajcePublishing.c"
{
PublishingRajceArgItem** child_collection = NULL;
gint child_collection_length1 = 0;
gint _child_collection_size_ = 0;
gint child_it = 0;
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child_collection = _tmp12_;
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child_collection_length1 = _tmp12__length1;
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
for (child_it = 0; child_it < _tmp12__length1; child_it = child_it + 1) {
-#line 9768 "RajcePublishing.c"
+#line 9782 "RajcePublishing.c"
PublishingRajceArgItem* _tmp13_ = NULL;
PublishingRajceArgItem* child = NULL;
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp13_ = _publishing_rajce_arg_item_ref0 (child_collection[child_it]);
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
child = _tmp13_;
-#line 9775 "RajcePublishing.c"
+#line 9789 "RajcePublishing.c"
{
xmlNode* _tmp14_ = NULL;
PublishingRajceArgItem* _tmp15_ = NULL;
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp14_ = subnode;
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp15_ = child;
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_WriteParam (_tmp14_, _tmp15_);
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_arg_item_unref0 (child);
-#line 9787 "RajcePublishing.c"
+#line 9801 "RajcePublishing.c"
}
}
}
@@ -9796,216 +9810,216 @@ static void publishing_rajce_live_api_request_WriteParam (xmlNode* node, Publish
static void publishing_rajce_value_live_api_request_init (GValue* value) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9798 "RajcePublishing.c"
+#line 9812 "RajcePublishing.c"
}
static void publishing_rajce_value_live_api_request_free_value (GValue* value) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (value->data[0].v_pointer) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_unref (value->data[0].v_pointer);
-#line 9807 "RajcePublishing.c"
+#line 9821 "RajcePublishing.c"
}
}
static void publishing_rajce_value_live_api_request_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (src_value->data[0].v_pointer) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
dest_value->data[0].v_pointer = publishing_rajce_live_api_request_ref (src_value->data[0].v_pointer);
-#line 9817 "RajcePublishing.c"
+#line 9831 "RajcePublishing.c"
} else {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 9821 "RajcePublishing.c"
+#line 9835 "RajcePublishing.c"
}
}
static gpointer publishing_rajce_value_live_api_request_peek_pointer (const GValue* value) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return value->data[0].v_pointer;
-#line 9829 "RajcePublishing.c"
+#line 9843 "RajcePublishing.c"
}
static gchar* publishing_rajce_value_live_api_request_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (collect_values[0].v_pointer) {
-#line 9836 "RajcePublishing.c"
+#line 9850 "RajcePublishing.c"
PublishingRajceLiveApiRequest* object;
object = collect_values[0].v_pointer;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (object->parent_instance.g_class == NULL) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 9843 "RajcePublishing.c"
+#line 9857 "RajcePublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.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 9847 "RajcePublishing.c"
+#line 9861 "RajcePublishing.c"
}
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = publishing_rajce_live_api_request_ref (object);
-#line 9851 "RajcePublishing.c"
+#line 9865 "RajcePublishing.c"
} else {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9855 "RajcePublishing.c"
+#line 9869 "RajcePublishing.c"
}
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 9859 "RajcePublishing.c"
+#line 9873 "RajcePublishing.c"
}
static gchar* publishing_rajce_value_live_api_request_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PublishingRajceLiveApiRequest** object_p;
object_p = collect_values[0].v_pointer;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (!object_p) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 9870 "RajcePublishing.c"
+#line 9884 "RajcePublishing.c"
}
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (!value->data[0].v_pointer) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*object_p = NULL;
-#line 9876 "RajcePublishing.c"
+#line 9890 "RajcePublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 9880 "RajcePublishing.c"
+#line 9894 "RajcePublishing.c"
} else {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*object_p = publishing_rajce_live_api_request_ref (value->data[0].v_pointer);
-#line 9884 "RajcePublishing.c"
+#line 9898 "RajcePublishing.c"
}
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 9888 "RajcePublishing.c"
+#line 9902 "RajcePublishing.c"
}
GParamSpec* publishing_rajce_param_spec_live_api_request (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
PublishingRajceParamSpecLiveApiRequest* spec;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_RAJCE_TYPE_LIVE_API_REQUEST), NULL);
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return G_PARAM_SPEC (spec);
-#line 9902 "RajcePublishing.c"
+#line 9916 "RajcePublishing.c"
}
gpointer publishing_rajce_value_get_live_api_request (const GValue* value) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_RAJCE_TYPE_LIVE_API_REQUEST), NULL);
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return value->data[0].v_pointer;
-#line 9911 "RajcePublishing.c"
+#line 9925 "RajcePublishing.c"
}
void publishing_rajce_value_set_live_api_request (GValue* value, gpointer v_object) {
PublishingRajceLiveApiRequest* old;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_RAJCE_TYPE_LIVE_API_REQUEST));
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
old = value->data[0].v_pointer;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (v_object) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_RAJCE_TYPE_LIVE_API_REQUEST));
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = v_object;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_ref (value->data[0].v_pointer);
-#line 9931 "RajcePublishing.c"
+#line 9945 "RajcePublishing.c"
} else {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9935 "RajcePublishing.c"
+#line 9949 "RajcePublishing.c"
}
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (old) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_unref (old);
-#line 9941 "RajcePublishing.c"
+#line 9955 "RajcePublishing.c"
}
}
void publishing_rajce_value_take_live_api_request (GValue* value, gpointer v_object) {
PublishingRajceLiveApiRequest* old;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_RAJCE_TYPE_LIVE_API_REQUEST));
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
old = value->data[0].v_pointer;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (v_object) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_RAJCE_TYPE_LIVE_API_REQUEST));
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = v_object;
-#line 9960 "RajcePublishing.c"
+#line 9974 "RajcePublishing.c"
} else {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9964 "RajcePublishing.c"
+#line 9978 "RajcePublishing.c"
}
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (old) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_unref (old);
-#line 9970 "RajcePublishing.c"
+#line 9984 "RajcePublishing.c"
}
}
static void publishing_rajce_live_api_request_class_init (PublishingRajceLiveApiRequestClass * klass) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_parent_class = g_type_class_peek_parent (klass);
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
((PublishingRajceLiveApiRequestClass *) klass)->finalize = publishing_rajce_live_api_request_finalize;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingRajceLiveApiRequestPrivate));
-#line 9982 "RajcePublishing.c"
+#line 9996 "RajcePublishing.c"
}
static void publishing_rajce_live_api_request_instance_init (PublishingRajceLiveApiRequest * self) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv = PUBLISHING_RAJCE_LIVE_API_REQUEST_GET_PRIVATE (self);
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->ref_count = 1;
-#line 9991 "RajcePublishing.c"
+#line 10005 "RajcePublishing.c"
}
static void publishing_rajce_live_api_request_finalize (PublishingRajceLiveApiRequest* obj) {
PublishingRajceLiveApiRequest * self;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_RAJCE_TYPE_LIVE_API_REQUEST, PublishingRajceLiveApiRequest);
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_signal_handlers_destroy (self);
-#line 1259 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self->priv->_params = (_vala_array_free (self->priv->_params, self->priv->_params_length1, (GDestroyNotify) publishing_rajce_arg_item_unref), NULL);
#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self->priv->_params = (_vala_array_free (self->priv->_params, self->priv->_params_length1, (GDestroyNotify) publishing_rajce_arg_item_unref), NULL);
+#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (self->priv->_cmd);
-#line 10005 "RajcePublishing.c"
+#line 10019 "RajcePublishing.c"
}
@@ -10026,24 +10040,24 @@ GType publishing_rajce_live_api_request_get_type (void) {
gpointer publishing_rajce_live_api_request_ref (gpointer instance) {
PublishingRajceLiveApiRequest* self;
self = instance;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_atomic_int_inc (&self->ref_count);
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return instance;
-#line 10030 "RajcePublishing.c"
+#line 10044 "RajcePublishing.c"
}
void publishing_rajce_live_api_request_unref (gpointer instance) {
PublishingRajceLiveApiRequest* self;
self = instance;
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
PUBLISHING_RAJCE_LIVE_API_REQUEST_GET_CLASS (self)->finalize (self);
-#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 10043 "RajcePublishing.c"
+#line 10057 "RajcePublishing.c"
}
}
@@ -10051,22 +10065,22 @@ void publishing_rajce_live_api_request_unref (gpointer instance) {
PublishingRajceTransaction* publishing_rajce_transaction_construct (GType object_type, PublishingRajceSession* session) {
PublishingRajceTransaction* self = NULL;
PublishingRajceSession* _tmp0_ = NULL;
-#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (session), NULL);
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = session;
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = (PublishingRajceTransaction*) publishing_rest_support_transaction_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
-#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 10059 "RajcePublishing.c"
+#line 10073 "RajcePublishing.c"
}
PublishingRajceTransaction* publishing_rajce_transaction_new (PublishingRajceSession* session) {
-#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_transaction_construct (PUBLISHING_RAJCE_TYPE_TRANSACTION, session);
-#line 10066 "RajcePublishing.c"
+#line 10080 "RajcePublishing.c"
}
@@ -10094,64 +10108,64 @@ gchar* publishing_rajce_transaction_validate_xml (PublishingRESTSupportXmlDocume
gchar* _tmp26_ = NULL;
gchar* _tmp27_ = NULL;
GError * _inner_error_ = NULL;
-#line 1360 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (doc), NULL);
-#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = doc;
-#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = publishing_rest_support_xml_document_get_root_node (_tmp0_);
-#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- root = _tmp1_;
#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ root = _tmp1_;
+#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = root;
-#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp2_ == NULL) {
-#line 10106 "RajcePublishing.c"
+#line 10120 "RajcePublishing.c"
gchar* _tmp3_ = NULL;
-#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = g_strdup ("No XML returned from server");
-#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp3_;
-#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 10114 "RajcePublishing.c"
+#line 10128 "RajcePublishing.c"
}
-#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = root;
-#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = _tmp4_->name;
-#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = g_strdup (_tmp5_);
-#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
name = _tmp6_;
-#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = name;
-#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp8_ == NULL) {
-#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = TRUE;
-#line 10130 "RajcePublishing.c"
+#line 10144 "RajcePublishing.c"
} else {
const gchar* _tmp9_ = NULL;
-#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = name;
-#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = g_strcmp0 (_tmp9_, "response") != 0;
-#line 10137 "RajcePublishing.c"
+#line 10151 "RajcePublishing.c"
}
-#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp7_) {
-#line 10141 "RajcePublishing.c"
+#line 10155 "RajcePublishing.c"
gchar* _tmp10_ = NULL;
-#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = g_strdup ("No response from Rajce in XML");
-#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp10_;
-#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (name);
-#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1373 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 10151 "RajcePublishing.c"
+#line 10165 "RajcePublishing.c"
}
{
xmlNode* _tmp11_ = NULL;
@@ -10162,129 +10176,129 @@ gchar* publishing_rajce_transaction_validate_xml (PublishingRESTSupportXmlDocume
PublishingRESTSupportXmlDocument* _tmp16_ = NULL;
xmlNode* _tmp17_ = NULL;
xmlNode* _tmp18_ = NULL;
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp12_ = doc;
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp13_ = root;
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp14_ = publishing_rest_support_xml_document_get_named_child (_tmp12_, _tmp13_, "errorCode", &_inner_error_);
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp11_ = _tmp14_;
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 10174 "RajcePublishing.c"
+#line 10188 "RajcePublishing.c"
goto __catch31_spit_publishing_publishing_error;
}
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (name);
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.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);
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_clear_error (&_inner_error_);
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 10185 "RajcePublishing.c"
+#line 10199 "RajcePublishing.c"
}
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- errcode = _tmp11_;
#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ errcode = _tmp11_;
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp16_ = doc;
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp17_ = root;
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp18_ = publishing_rest_support_xml_document_get_named_child (_tmp16_, _tmp17_, "result", &_inner_error_);
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp15_ = _tmp18_;
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 10201 "RajcePublishing.c"
+#line 10215 "RajcePublishing.c"
goto __catch31_spit_publishing_publishing_error;
}
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (name);
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.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);
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_clear_error (&_inner_error_);
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 10212 "RajcePublishing.c"
+#line 10226 "RajcePublishing.c"
}
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_result_ = _tmp15_;
-#line 10216 "RajcePublishing.c"
+#line 10230 "RajcePublishing.c"
}
goto __finally31;
__catch31_spit_publishing_publishing_error:
{
GError* err = NULL;
-#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
err = _inner_error_;
-#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_inner_error_ = NULL;
-#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = NULL;
-#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_error_free0 (err);
-#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (name);
-#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 10234 "RajcePublishing.c"
+#line 10248 "RajcePublishing.c"
}
__finally31:
-#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (name);
-#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.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 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_clear_error (&_inner_error_);
-#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return NULL;
-#line 10247 "RajcePublishing.c"
+#line 10261 "RajcePublishing.c"
}
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp19_ = errcode;
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp20_ = (gchar*) xmlNodeGetContent (_tmp19_);
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp21_ = _tmp20_;
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp22_ = atoi (_tmp21_);
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp23_ = _result_;
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp24_ = (gchar*) xmlNodeGetContent (_tmp23_);
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp25_ = _tmp24_;
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp26_ = g_strdup_printf ("999 Rajce Error [%d]: %s", _tmp22_, _tmp25_);
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp27_ = _tmp26_;
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (_tmp25_);
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (_tmp21_);
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
result = _tmp27_;
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (name);
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return result;
-#line 10277 "RajcePublishing.c"
+#line 10291 "RajcePublishing.c"
}
static void publishing_rajce_transaction_class_init (PublishingRajceTransactionClass * klass) {
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 10284 "RajcePublishing.c"
+#line 10298 "RajcePublishing.c"
}
@@ -10321,67 +10335,67 @@ PublishingRajceSessionLoginTransaction* publishing_rajce_session_login_transacti
const gchar* _tmp5_ = NULL;
gchar* xml = NULL;
gchar* _tmp6_ = NULL;
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (session), NULL);
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (username != NULL, NULL);
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (token != NULL, NULL);
-#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = url;
-#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_debug ("RajcePublishing.vala:1396: SessionLoginTransaction: URL: %s", _tmp0_);
#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_debug ("RajcePublishing.vala:1397: SessionLoginTransaction: URL: %s", _tmp0_);
+#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = session;
-#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = url;
-#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self = (PublishingRajceSessionLoginTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp2_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self = (PublishingRajceSessionLoginTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp2_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
+#line 1399 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = publishing_rajce_live_api_request_new ("login");
-#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- req = _tmp3_;
#line 1399 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParam (req, "clientID", "RajceShotwellPlugin");
+ req = _tmp3_;
#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParam (req, "currentVersion", "1.1.1.1");
+ publishing_rajce_live_api_request_AddParam (req, "clientID", "RajceShotwellPlugin");
#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParam (req, "currentVersion", "1.1.1.1");
+#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = username;
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParam (req, "login", _tmp4_);
#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParam (req, "login", _tmp4_);
+#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = token;
-#line 1402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParam (req, "password", _tmp5_);
#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParam (req, "password", _tmp5_);
+#line 1404 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = publishing_rajce_live_api_request_Params2XmlString (req, TRUE);
-#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xml = _tmp6_;
#line 1404 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xml = _tmp6_;
+#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data", xml);
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xml);
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_live_api_request_unref0 (req);
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 10367 "RajcePublishing.c"
+#line 10381 "RajcePublishing.c"
}
PublishingRajceSessionLoginTransaction* publishing_rajce_session_login_transaction_new (PublishingRajceSession* session, const gchar* url, const gchar* username, const gchar* token) {
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_session_login_transaction_construct (PUBLISHING_RAJCE_TYPE_SESSION_LOGIN_TRANSACTION, session, url, username, token);
-#line 10374 "RajcePublishing.c"
+#line 10388 "RajcePublishing.c"
}
static void publishing_rajce_session_login_transaction_class_init (PublishingRajceSessionLoginTransactionClass * klass) {
-#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_session_login_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 10381 "RajcePublishing.c"
+#line 10395 "RajcePublishing.c"
}
@@ -10405,87 +10419,87 @@ GType publishing_rajce_session_login_transaction_get_type (void) {
static void _vala_array_add9 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- if ((*length) == (*size)) {
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- *array = g_renew (PublishingRajceArgItem*, *array, (*size) + 1);
-#line 10411 "RajcePublishing.c"
- }
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- (*array)[(*length)++] = value;
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- (*array)[*length] = NULL;
-#line 10417 "RajcePublishing.c"
-}
-
-
-static void _vala_array_add10 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if ((*length) == (*size)) {
#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*array = g_renew (PublishingRajceArgItem*, *array, (*size) + 1);
-#line 10428 "RajcePublishing.c"
+#line 10425 "RajcePublishing.c"
}
#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[(*length)++] = value;
#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[*length] = NULL;
-#line 10434 "RajcePublishing.c"
+#line 10431 "RajcePublishing.c"
}
-static void _vala_array_add11 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
+static void _vala_array_add10 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if ((*length) == (*size)) {
#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*array = g_renew (PublishingRajceArgItem*, *array, (*size) + 1);
-#line 10445 "RajcePublishing.c"
+#line 10442 "RajcePublishing.c"
}
#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[(*length)++] = value;
#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[*length] = NULL;
-#line 10451 "RajcePublishing.c"
+#line 10448 "RajcePublishing.c"
}
-static void _vala_array_add12 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
+static void _vala_array_add11 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if ((*length) == (*size)) {
#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*array = g_renew (PublishingRajceArgItem*, *array, (*size) + 1);
-#line 10462 "RajcePublishing.c"
+#line 10459 "RajcePublishing.c"
}
#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[(*length)++] = value;
#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[*length] = NULL;
-#line 10468 "RajcePublishing.c"
+#line 10465 "RajcePublishing.c"
}
-static void _vala_array_add13 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
+static void _vala_array_add12 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if ((*length) == (*size)) {
#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
*array = g_renew (PublishingRajceArgItem*, *array, (*size) + 1);
-#line 10479 "RajcePublishing.c"
+#line 10476 "RajcePublishing.c"
}
#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[(*length)++] = value;
#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
(*array)[*length] = NULL;
-#line 10485 "RajcePublishing.c"
+#line 10482 "RajcePublishing.c"
+}
+
+
+static void _vala_array_add13 (PublishingRajceArgItem*** array, int* length, int* size, PublishingRajceArgItem* value) {
+#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ if ((*length) == (*size)) {
+#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ *size = (*size) ? (2 * (*size)) : 4;
+#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ *array = g_renew (PublishingRajceArgItem*, *array, (*size) + 1);
+#line 10493 "RajcePublishing.c"
+ }
+#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ (*array)[(*length)++] = value;
+#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ (*array)[*length] = NULL;
+#line 10499 "RajcePublishing.c"
}
@@ -10521,113 +10535,113 @@ PublishingRajceGetAlbumsTransaction* publishing_rajce_get_albums_transaction_con
gint _tmp17__length1 = 0;
gchar* xml = NULL;
gchar* _tmp18_ = NULL;
-#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (session), NULL);
-#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = session;
-#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = url;
-#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self = (PublishingRajceGetAlbumsTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self = (PublishingRajceGetAlbumsTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
+#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = publishing_rajce_live_api_request_new ("getAlbumList");
-#line 1416 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- req = _tmp2_;
#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ req = _tmp2_;
+#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = session;
-#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = publishing_rajce_session_get_usertoken (_tmp3_);
-#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = _tmp4_;
-#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (req, "token", _tmp5_);
-#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp5_);
#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp5_);
+#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = g_new0 (PublishingRajceArgItem*, 0 + 1);
-#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
columns = _tmp6_;
-#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
columns_length1 = 0;
-#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _columns_size_ = columns_length1;
#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _columns_size_ = columns_length1;
+#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = columns;
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7__length1 = columns_length1;
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = publishing_rajce_arg_item_new ("column", "viewCount");
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _vala_array_add9 (&columns, &columns_length1, &_columns_size_, _tmp8_);
#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _vala_array_add9 (&columns, &columns_length1, &_columns_size_, _tmp8_);
+#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = columns;
-#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9__length1 = columns_length1;
-#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = publishing_rajce_arg_item_new ("column", "isFavourite");
-#line 1420 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _vala_array_add10 (&columns, &columns_length1, &_columns_size_, _tmp10_);
#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _vala_array_add10 (&columns, &columns_length1, &_columns_size_, _tmp10_);
+#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp11_ = columns;
-#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp11__length1 = columns_length1;
-#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp12_ = publishing_rajce_arg_item_new ("column", "descriptionHtml");
-#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _vala_array_add11 (&columns, &columns_length1, &_columns_size_, _tmp12_);
#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _vala_array_add11 (&columns, &columns_length1, &_columns_size_, _tmp12_);
+#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp13_ = columns;
-#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp13__length1 = columns_length1;
-#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp14_ = publishing_rajce_arg_item_new ("column", "coverPhotoID");
-#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _vala_array_add12 (&columns, &columns_length1, &_columns_size_, _tmp14_);
#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _vala_array_add12 (&columns, &columns_length1, &_columns_size_, _tmp14_);
+#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp15_ = columns;
-#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp15__length1 = columns_length1;
-#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp16_ = publishing_rajce_arg_item_new ("column", "localPath");
-#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _vala_array_add13 (&columns, &columns_length1, &_columns_size_, _tmp16_);
#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _vala_array_add13 (&columns, &columns_length1, &_columns_size_, _tmp16_);
+#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp17_ = columns;
-#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp17__length1 = columns_length1;
-#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParamNode (req, "columns", _tmp17_, _tmp17__length1);
#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParamNode (req, "columns", _tmp17_, _tmp17__length1);
+#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp18_ = publishing_rajce_live_api_request_Params2XmlString (req, TRUE);
-#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xml = _tmp18_;
#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xml = _tmp18_;
+#line 1427 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data", xml);
-#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xml);
-#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
columns = (_vala_array_free (columns, columns_length1, (GDestroyNotify) publishing_rajce_arg_item_unref), NULL);
-#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_live_api_request_unref0 (req);
-#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 10613 "RajcePublishing.c"
+#line 10627 "RajcePublishing.c"
}
PublishingRajceGetAlbumsTransaction* publishing_rajce_get_albums_transaction_new (PublishingRajceSession* session, const gchar* url) {
-#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_get_albums_transaction_construct (PUBLISHING_RAJCE_TYPE_GET_ALBUMS_TRANSACTION, session, url);
-#line 10620 "RajcePublishing.c"
+#line 10634 "RajcePublishing.c"
}
static void publishing_rajce_get_albums_transaction_class_init (PublishingRajceGetAlbumsTransactionClass * klass) {
-#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1412 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_get_albums_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 10627 "RajcePublishing.c"
+#line 10641 "RajcePublishing.c"
}
@@ -10663,69 +10677,69 @@ PublishingRajceCreateAlbumTransaction* publishing_rajce_create_album_transaction
gboolean _tmp7_ = FALSE;
gchar* xml = NULL;
gchar* _tmp8_ = NULL;
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (session), NULL);
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (albumName != NULL, NULL);
-#line 1437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = session;
-#line 1437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = url;
-#line 1437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self = (PublishingRajceCreateAlbumTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self = (PublishingRajceCreateAlbumTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
+#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = publishing_rajce_live_api_request_new ("createAlbum");
-#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- req = _tmp2_;
#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ req = _tmp2_;
+#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = session;
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = publishing_rajce_session_get_usertoken (_tmp3_);
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = _tmp4_;
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (req, "token", _tmp5_);
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp5_);
#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp5_);
+#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = albumName;
-#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParam (req, "albumName", _tmp6_);
#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParam (req, "albumDescription", "");
+ publishing_rajce_live_api_request_AddParam (req, "albumName", _tmp6_);
#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParam (req, "albumDescription", "");
+#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = hidden;
-#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParamBool (req, "albumVisible", !_tmp7_);
#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParamBool (req, "albumVisible", !_tmp7_);
+#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = publishing_rajce_live_api_request_Params2XmlString (req, TRUE);
-#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xml = _tmp8_;
#line 1444 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xml = _tmp8_;
+#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data", xml);
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xml);
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_live_api_request_unref0 (req);
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 10711 "RajcePublishing.c"
+#line 10725 "RajcePublishing.c"
}
PublishingRajceCreateAlbumTransaction* publishing_rajce_create_album_transaction_new (PublishingRajceSession* session, const gchar* url, const gchar* albumName, gboolean hidden) {
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_create_album_transaction_construct (PUBLISHING_RAJCE_TYPE_CREATE_ALBUM_TRANSACTION, session, url, albumName, hidden);
-#line 10718 "RajcePublishing.c"
+#line 10732 "RajcePublishing.c"
}
static void publishing_rajce_create_album_transaction_class_init (PublishingRajceCreateAlbumTransactionClass * klass) {
-#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_create_album_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 10725 "RajcePublishing.c"
+#line 10739 "RajcePublishing.c"
}
@@ -10760,61 +10774,61 @@ PublishingRajceOpenAlbumTransaction* publishing_rajce_open_album_transaction_con
gint _tmp6_ = 0;
gchar* xml = NULL;
gchar* _tmp7_ = NULL;
-#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (session), NULL);
-#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = session;
-#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = url;
-#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self = (PublishingRajceOpenAlbumTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self = (PublishingRajceOpenAlbumTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
+#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = publishing_rajce_live_api_request_new ("openAlbum");
-#line 1456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- req = _tmp2_;
#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ req = _tmp2_;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = session;
-#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = publishing_rajce_session_get_usertoken (_tmp3_);
-#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = _tmp4_;
-#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (req, "token", _tmp5_);
-#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp5_);
#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp5_);
+#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = albumID;
-#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParamInt (req, "albumID", _tmp6_);
#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParamInt (req, "albumID", _tmp6_);
+#line 1460 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = publishing_rajce_live_api_request_Params2XmlString (req, TRUE);
-#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xml = _tmp7_;
#line 1460 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xml = _tmp7_;
+#line 1461 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data", xml);
-#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xml);
-#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_live_api_request_unref0 (req);
-#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 10800 "RajcePublishing.c"
+#line 10814 "RajcePublishing.c"
}
PublishingRajceOpenAlbumTransaction* publishing_rajce_open_album_transaction_new (PublishingRajceSession* session, const gchar* url, gint albumID) {
-#line 1453 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1454 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_open_album_transaction_construct (PUBLISHING_RAJCE_TYPE_OPEN_ALBUM_TRANSACTION, session, url, albumID);
-#line 10807 "RajcePublishing.c"
+#line 10821 "RajcePublishing.c"
}
static void publishing_rajce_open_album_transaction_class_init (PublishingRajceOpenAlbumTransactionClass * klass) {
-#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_open_album_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 10814 "RajcePublishing.c"
+#line 10828 "RajcePublishing.c"
}
@@ -10851,67 +10865,67 @@ PublishingRajceGetAlbumUrlTransaction* publishing_rajce_get_album_url_transactio
gchar* _tmp8_ = NULL;
gchar* xml = NULL;
gchar* _tmp9_ = NULL;
-#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (session), NULL);
-#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = session;
-#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = url;
-#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self = (PublishingRajceGetAlbumUrlTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self = (PublishingRajceGetAlbumUrlTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
+#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = publishing_rajce_live_api_request_new ("getAlbumUrl");
-#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- req = _tmp2_;
#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ req = _tmp2_;
+#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = session;
-#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = publishing_rajce_session_get_usertoken (_tmp3_);
-#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = _tmp4_;
-#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (req, "token", _tmp5_);
-#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp5_);
#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp5_);
+#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = session;
-#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = publishing_rajce_session_get_albumtoken (_tmp6_);
-#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = _tmp7_;
-#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (req, "albumToken", _tmp8_);
-#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp8_);
#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp8_);
+#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = publishing_rajce_live_api_request_Params2XmlString (req, TRUE);
-#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xml = _tmp9_;
#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xml = _tmp9_;
+#line 1477 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data", xml);
-#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xml);
-#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_live_api_request_unref0 (req);
-#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 10897 "RajcePublishing.c"
+#line 10911 "RajcePublishing.c"
}
PublishingRajceGetAlbumUrlTransaction* publishing_rajce_get_album_url_transaction_new (PublishingRajceSession* session, const gchar* url) {
-#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_get_album_url_transaction_construct (PUBLISHING_RAJCE_TYPE_GET_ALBUM_URL_TRANSACTION, session, url);
-#line 10904 "RajcePublishing.c"
+#line 10918 "RajcePublishing.c"
}
static void publishing_rajce_get_album_url_transaction_class_init (PublishingRajceGetAlbumUrlTransactionClass * klass) {
-#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_get_album_url_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 10911 "RajcePublishing.c"
+#line 10925 "RajcePublishing.c"
}
@@ -10948,67 +10962,67 @@ PublishingRajceCloseAlbumTransaction* publishing_rajce_close_album_transaction_c
gchar* _tmp8_ = NULL;
gchar* xml = NULL;
gchar* _tmp9_ = NULL;
-#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (session), NULL);
-#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = session;
-#line 1487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = url;
-#line 1487 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self = (PublishingRajceCloseAlbumTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self = (PublishingRajceCloseAlbumTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
+#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = publishing_rajce_live_api_request_new ("closeAlbum");
-#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- req = _tmp2_;
#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ req = _tmp2_;
+#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = session;
-#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = publishing_rajce_session_get_usertoken (_tmp3_);
-#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = _tmp4_;
-#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (req, "token", _tmp5_);
-#line 1489 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp5_);
#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp5_);
+#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = session;
-#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = publishing_rajce_session_get_albumtoken (_tmp6_);
-#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = _tmp7_;
-#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (req, "albumToken", _tmp8_);
-#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp8_);
#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp8_);
+#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = publishing_rajce_live_api_request_Params2XmlString (req, TRUE);
-#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xml = _tmp9_;
#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xml = _tmp9_;
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data", xml);
-#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xml);
-#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_live_api_request_unref0 (req);
-#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 10994 "RajcePublishing.c"
+#line 11008 "RajcePublishing.c"
}
PublishingRajceCloseAlbumTransaction* publishing_rajce_close_album_transaction_new (PublishingRajceSession* session, const gchar* url) {
-#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1486 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_close_album_transaction_construct (PUBLISHING_RAJCE_TYPE_CLOSE_ALBUM_TRANSACTION, session, url);
-#line 11001 "RajcePublishing.c"
+#line 11015 "RajcePublishing.c"
}
static void publishing_rajce_close_album_transaction_class_init (PublishingRajceCloseAlbumTransactionClass * klass) {
-#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_close_album_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 11008 "RajcePublishing.c"
+#line 11022 "RajcePublishing.c"
}
@@ -11042,57 +11056,57 @@ PublishingRajceGetCategoriesTransaction* publishing_rajce_get_categories_transac
gchar* _tmp5_ = NULL;
gchar* xml = NULL;
gchar* _tmp6_ = NULL;
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (session), NULL);
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = session;
-#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = url;
-#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self = (PublishingRajceGetCategoriesTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self = (PublishingRajceGetCategoriesTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
+#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = publishing_rajce_live_api_request_new ("getCategories");
-#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- req = _tmp2_;
#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ req = _tmp2_;
+#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = session;
-#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = publishing_rajce_session_get_usertoken (_tmp3_);
-#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = _tmp4_;
-#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (req, "token", _tmp5_);
-#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp5_);
#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp5_);
+#line 1507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = publishing_rajce_live_api_request_Params2XmlString (req, TRUE);
-#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xml = _tmp6_;
#line 1507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xml = _tmp6_;
+#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data", xml);
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xml);
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_live_api_request_unref0 (req);
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 11078 "RajcePublishing.c"
+#line 11092 "RajcePublishing.c"
}
PublishingRajceGetCategoriesTransaction* publishing_rajce_get_categories_transaction_new (PublishingRajceSession* session, const gchar* url) {
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_get_categories_transaction_construct (PUBLISHING_RAJCE_TYPE_GET_CATEGORIES_TRANSACTION, session, url);
-#line 11085 "RajcePublishing.c"
+#line 11099 "RajcePublishing.c"
}
static void publishing_rajce_get_categories_transaction_class_init (PublishingRajceGetCategoriesTransactionClass * klass) {
-#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_get_categories_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 11092 "RajcePublishing.c"
+#line 11106 "RajcePublishing.c"
}
@@ -11116,9 +11130,9 @@ GType publishing_rajce_get_categories_transaction_get_type (void) {
static void _g_free0_ (gpointer var) {
-#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
var = (g_free (var), NULL);
-#line 11118 "RajcePublishing.c"
+#line 11132 "RajcePublishing.c"
}
@@ -11187,253 +11201,253 @@ PublishingRajceAddPhotoTransaction* publishing_rajce_add_photo_transaction_const
gchar* _tmp53_ = NULL;
const gchar* _tmp54_ = NULL;
gchar* _tmp55_ = NULL;
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_SESSION (session), NULL);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (PUBLISHING_RAJCE_IS_PUBLISHING_PARAMETERS (parameters), NULL);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL);
-#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp0_ = session;
-#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp1_ = publishable;
-#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp2_ = url;
-#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- self = (PublishingRajceAddPhotoTransaction*) publishing_rest_support_upload_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp2_);
#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ self = (PublishingRajceAddPhotoTransaction*) publishing_rest_support_upload_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp2_);
+#line 1522 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp3_ = parameters;
-#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1522 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp4_ = _publishing_rajce_publishing_parameters_ref0 (_tmp3_);
-#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1522 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_publishing_parameters_unref0 (self->priv->parameters);
-#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1522 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->parameters = _tmp4_;
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp6_ = parameters;
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp7_ = _tmp6_->album_id;
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if ((*_tmp7_) > 0) {
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = "";
-#line 11219 "RajcePublishing.c"
+#line 11233 "RajcePublishing.c"
} else {
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp5_ = " new";
-#line 11223 "RajcePublishing.c"
+#line 11237 "RajcePublishing.c"
}
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp8_ = publishable;
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp9_ = spit_publishing_publishable_get_serialized_file (_tmp8_);
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp10_ = _tmp9_;
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp11_ = g_file_get_basename (_tmp10_);
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp12_ = _tmp11_;
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp13_ = parameters;
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp14_ = _tmp13_->album_name;
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_debug ("RajcePublishing.vala:1523: RajcePlugin: Uploading photo %s to%s album " \
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_debug ("RajcePublishing.vala:1524: RajcePlugin: Uploading photo %s to%s album " \
"%s", _tmp12_, _tmp5_, _tmp14_);
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (_tmp12_);
-#line 1523 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_object_unref0 (_tmp10_);
-#line 1525 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp15_ = publishable;
-#line 1525 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp16_ = spit_publishing_publishable_get_param_string (_tmp15_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_BASENAME);
-#line 1525 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- basename = _tmp16_;
#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ basename = _tmp16_;
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp17_ = publishable;
-#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp18_ = spit_publishing_publishable_get_param_string (_tmp17_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_COMMENT);
-#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- comment = _tmp18_;
#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ comment = _tmp18_;
+#line 1528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp19_ = publishable;
-#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp20_ = spit_publishing_publishable_get_publishing_name (_tmp19_);
-#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
pubname = _tmp20_;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp21_ = session;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp22_ = publishing_rajce_session_get_maxsize (_tmp21_);
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- width = _tmp22_;
#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ width = _tmp22_;
+#line 1531 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp23_ = session;
-#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1531 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp24_ = publishing_rajce_session_get_maxsize (_tmp23_);
-#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1531 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
height = _tmp24_;
-#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp25_ = publishing_rajce_live_api_request_new ("addPhoto");
-#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- req = _tmp25_;
#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ req = _tmp25_;
+#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp26_ = req;
-#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp27_ = session;
-#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp28_ = publishing_rajce_session_get_usertoken (_tmp27_);
-#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp29_ = _tmp28_;
-#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (_tmp26_, "token", _tmp29_);
-#line 1533 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp29_);
#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp29_);
+#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp30_ = req;
-#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp31_ = width;
-#line 1534 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParamInt (_tmp30_, "width", _tmp31_);
#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParamInt (_tmp30_, "width", _tmp31_);
+#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp32_ = req;
-#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp33_ = height;
-#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParamInt (_tmp32_, "height", _tmp33_);
#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParamInt (_tmp32_, "height", _tmp33_);
+#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp34_ = req;
-#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp35_ = session;
-#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp36_ = publishing_rajce_session_get_albumtoken (_tmp35_);
-#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp37_ = _tmp36_;
-#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_live_api_request_AddParam (_tmp34_, "albumToken", _tmp37_);
-#line 1536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- _g_free0 (_tmp37_);
#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ _g_free0 (_tmp37_);
+#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp38_ = req;
-#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp39_ = pubname;
-#line 1537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParam (_tmp38_, "photoName", _tmp39_);
#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParam (_tmp38_, "photoName", _tmp39_);
+#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp40_ = req;
-#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp41_ = basename;
-#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParam (_tmp40_, "fullFileName", _tmp41_);
#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParam (_tmp40_, "fullFileName", _tmp41_);
+#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp43_ = comment;
-#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
if (_tmp43_ != NULL) {
-#line 11331 "RajcePublishing.c"
+#line 11345 "RajcePublishing.c"
const gchar* _tmp44_ = NULL;
-#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp44_ = comment;
-#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp42_ = _tmp44_;
-#line 11337 "RajcePublishing.c"
+#line 11351 "RajcePublishing.c"
} else {
-#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp42_ = "";
-#line 11341 "RajcePublishing.c"
+#line 11355 "RajcePublishing.c"
}
-#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp45_ = req;
-#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- publishing_rajce_live_api_request_AddParam (_tmp45_, "description", _tmp42_);
#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ publishing_rajce_live_api_request_AddParam (_tmp45_, "description", _tmp42_);
+#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp46_ = req;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp47_ = publishing_rajce_live_api_request_Params2XmlString (_tmp46_, FALSE);
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- xml = _tmp47_;
#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ xml = _tmp47_;
+#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data", xml);
-#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp48_ = g_str_hash;
-#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp49_ = g_str_equal;
-#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp50_ = g_hash_table_new_full (_tmp48_, _tmp49_, _g_free0_, _g_free0_);
-#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- disposition_table = _tmp50_;
#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ disposition_table = _tmp50_;
+#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp51_ = g_strdup ("name");
-#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp52_ = g_strdup ("photo");
-#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_hash_table_insert (disposition_table, _tmp51_, _tmp52_);
#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_hash_table_insert (disposition_table, _tmp51_, _tmp52_);
+#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp53_ = g_strdup ("filename");
-#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp54_ = basename;
-#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_tmp55_ = soup_uri_encode (_tmp54_, NULL);
-#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
- g_hash_table_insert (disposition_table, _tmp53_, _tmp55_);
#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+ g_hash_table_insert (disposition_table, _tmp53_, _tmp55_);
+#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rest_support_upload_transaction_set_binary_disposition_table (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, PublishingRESTSupportUploadTransaction), disposition_table);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_hash_table_unref0 (disposition_table);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (xml);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_live_api_request_unref0 (req);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (pubname);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (comment);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_g_free0 (basename);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return self;
-#line 11393 "RajcePublishing.c"
+#line 11407 "RajcePublishing.c"
}
PublishingRajceAddPhotoTransaction* publishing_rajce_add_photo_transaction_new (PublishingRajceSession* session, const gchar* url, PublishingRajcePublishingParameters* parameters, SpitPublishingPublishable* publishable) {
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1519 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
return publishing_rajce_add_photo_transaction_construct (PUBLISHING_RAJCE_TYPE_ADD_PHOTO_TRANSACTION, session, url, parameters, publishable);
-#line 11400 "RajcePublishing.c"
+#line 11414 "RajcePublishing.c"
}
static void publishing_rajce_add_photo_transaction_class_init (PublishingRajceAddPhotoTransactionClass * klass) {
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
publishing_rajce_add_photo_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
((PublishingRESTSupportTransactionClass *) klass)->finalize = publishing_rajce_add_photo_transaction_finalize;
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingRajceAddPhotoTransactionPrivate));
-#line 11411 "RajcePublishing.c"
+#line 11425 "RajcePublishing.c"
}
static void publishing_rajce_add_photo_transaction_instance_init (PublishingRajceAddPhotoTransaction * self) {
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv = PUBLISHING_RAJCE_ADD_PHOTO_TRANSACTION_GET_PRIVATE (self);
-#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self->priv->parameters = NULL;
-#line 11420 "RajcePublishing.c"
+#line 11434 "RajcePublishing.c"
}
static void publishing_rajce_add_photo_transaction_finalize (PublishingRESTSupportTransaction* obj) {
PublishingRajceAddPhotoTransaction * self;
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_RAJCE_TYPE_ADD_PHOTO_TRANSACTION, PublishingRajceAddPhotoTransaction);
-#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
_publishing_rajce_publishing_parameters_unref0 (self->priv->parameters);
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/RajcePublishing.vala"
PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_rajce_add_photo_transaction_parent_class)->finalize (obj);
-#line 11432 "RajcePublishing.c"
+#line 11446 "RajcePublishing.c"
}
diff --git a/plugins/shotwell-publishing-extras/RajcePublishing.vala b/plugins/shotwell-publishing-extras/RajcePublishing.vala
index b304f13..a088274 100644
--- a/plugins/shotwell-publishing-extras/RajcePublishing.vala
+++ b/plugins/shotwell-publishing-extras/RajcePublishing.vala
@@ -852,7 +852,7 @@ internal class AuthenticationPane : Spit.Publishing.DialogPane, Object
builder.add_from_resource (Resources.RESOURCE_PATH +
"/rajce_authentication_pane.ui");
builder.connect_signals(null);
- Gtk.Alignment align = builder.get_object("alignment") as Gtk.Alignment;
+ var content = builder.get_object ("content") as Gtk.Box;
Gtk.Label message_label = builder.get_object("message_label") as Gtk.Label;
switch (mode)
{
@@ -897,7 +897,8 @@ internal class AuthenticationPane : Spit.Publishing.DialogPane, Object
username_entry.changed.connect(on_user_changed);
password_entry.changed.connect(on_password_changed);
login_button.clicked.connect(on_login_button_clicked);
- align.reparent(pane_widget);
+ content.parent.remove (content);
+ pane_widget.add (content);
publisher.get_host().set_dialog_default_widget(login_button);
}
catch (Error e)
diff --git a/plugins/shotwell-publishing-extras/TumblrPublishing.c b/plugins/shotwell-publishing-extras/TumblrPublishing.c
index 18bf8ce..0127984 100644
--- a/plugins/shotwell-publishing-extras/TumblrPublishing.c
+++ b/plugins/shotwell-publishing-extras/TumblrPublishing.c
@@ -2364,11 +2364,11 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_auth_req
gint _key_value_pairs_size_ = 0;
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
- gboolean _tmp24_ = FALSE;
- const gchar* _tmp25_ = NULL;
- PublishingTumblrTumblrPublisherSession* _tmp31_ = NULL;
- const gchar* _tmp32_ = NULL;
- const gchar* _tmp33_ = NULL;
+ gboolean _tmp25_ = FALSE;
+ const gchar* _tmp26_ = NULL;
+ PublishingTumblrTumblrPublisherSession* _tmp33_ = NULL;
+ const gchar* _tmp34_ = NULL;
+ const gchar* _tmp35_ = NULL;
#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_if_fail (PUBLISHING_TUMBLR_IS_TUMBLR_PUBLISHER (self));
#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -2425,9 +2425,9 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_auth_req
gint _split_pair_size_ = 0;
gchar** _tmp9_ = NULL;
gint _tmp9__length1 = 0;
- gchar** _tmp14_ = NULL;
- gint _tmp14__length1 = 0;
- const gchar* _tmp15_ = NULL;
+ gchar** _tmp15_ = NULL;
+ gint _tmp15__length1 = 0;
+ const gchar* _tmp16_ = NULL;
#line 307 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = pair;
#line 307 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -2447,139 +2447,145 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_auth_req
#line 2444 "TumblrPublishing.c"
SpitPublishingPluginHost* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
- GError* _tmp12_ = NULL;
+ const gchar* _tmp12_ = NULL;
GError* _tmp13_ = NULL;
+ GError* _tmp14_ = NULL;
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp10_ = self->priv->host;
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp11_ = _ ("“%s” isn’t a valid response to an OAuth authentication request");
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp12_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, _tmp11_);
+ _tmp12_ = response;
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp13_ = _tmp12_;
+ _tmp13_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, _tmp11_, _tmp12_);
+#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp14_ = _tmp13_;
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- spit_publishing_plugin_host_post_error (_tmp10_, _tmp13_);
+ spit_publishing_plugin_host_post_error (_tmp10_, _tmp14_);
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_error_free0 (_tmp13_);
-#line 2461 "TumblrPublishing.c"
+ _g_error_free0 (_tmp14_);
+#line 2464 "TumblrPublishing.c"
}
#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp14_ = split_pair;
+ _tmp15_ = split_pair;
#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp14__length1 = split_pair_length1;
+ _tmp15__length1 = split_pair_length1;
#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp15_ = _tmp14_[0];
+ _tmp16_ = _tmp15_[0];
#line 313 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- if (g_strcmp0 (_tmp15_, "oauth_token") == 0) {
-#line 2471 "TumblrPublishing.c"
- gchar** _tmp16_ = NULL;
- gint _tmp16__length1 = 0;
- const gchar* _tmp17_ = NULL;
- gchar* _tmp18_ = NULL;
+ if (g_strcmp0 (_tmp16_, "oauth_token") == 0) {
+#line 2474 "TumblrPublishing.c"
+ gchar** _tmp17_ = NULL;
+ gint _tmp17__length1 = 0;
+ const gchar* _tmp18_ = NULL;
+ gchar* _tmp19_ = NULL;
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp16_ = split_pair;
+ _tmp17_ = split_pair;
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp16__length1 = split_pair_length1;
+ _tmp17__length1 = split_pair_length1;
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp17_ = _tmp16_[1];
+ _tmp18_ = _tmp17_[1];
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp18_ = g_strdup (_tmp17_);
+ _tmp19_ = g_strdup (_tmp18_);
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (oauth_token);
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- oauth_token = _tmp18_;
-#line 2488 "TumblrPublishing.c"
+ oauth_token = _tmp19_;
+#line 2491 "TumblrPublishing.c"
} else {
- gchar** _tmp19_ = NULL;
- gint _tmp19__length1 = 0;
- const gchar* _tmp20_ = NULL;
+ gchar** _tmp20_ = NULL;
+ gint _tmp20__length1 = 0;
+ const gchar* _tmp21_ = NULL;
#line 315 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp19_ = split_pair;
+ _tmp20_ = split_pair;
#line 315 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp19__length1 = split_pair_length1;
+ _tmp20__length1 = split_pair_length1;
#line 315 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp20_ = _tmp19_[0];
+ _tmp21_ = _tmp20_[0];
#line 315 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- if (g_strcmp0 (_tmp20_, "oauth_token_secret") == 0) {
-#line 2501 "TumblrPublishing.c"
- gchar** _tmp21_ = NULL;
- gint _tmp21__length1 = 0;
- const gchar* _tmp22_ = NULL;
- gchar* _tmp23_ = NULL;
+ if (g_strcmp0 (_tmp21_, "oauth_token_secret") == 0) {
+#line 2504 "TumblrPublishing.c"
+ gchar** _tmp22_ = NULL;
+ gint _tmp22__length1 = 0;
+ const gchar* _tmp23_ = NULL;
+ gchar* _tmp24_ = NULL;
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp21_ = split_pair;
+ _tmp22_ = split_pair;
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp21__length1 = split_pair_length1;
+ _tmp22__length1 = split_pair_length1;
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp22_ = _tmp21_[1];
+ _tmp23_ = _tmp22_[1];
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp23_ = g_strdup (_tmp22_);
+ _tmp24_ = g_strdup (_tmp23_);
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (oauth_token_secret);
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- oauth_token_secret = _tmp23_;
-#line 2518 "TumblrPublishing.c"
+ oauth_token_secret = _tmp24_;
+#line 2521 "TumblrPublishing.c"
}
}
#line 306 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
split_pair = (_vala_array_free (split_pair, split_pair_length1, (GDestroyNotify) g_free), NULL);
#line 306 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (pair);
-#line 2525 "TumblrPublishing.c"
+#line 2528 "TumblrPublishing.c"
}
}
}
#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp25_ = oauth_token;
+ _tmp26_ = oauth_token;
#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- if (_tmp25_ == NULL) {
+ if (_tmp26_ == NULL) {
#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp24_ = TRUE;
-#line 2535 "TumblrPublishing.c"
+ _tmp25_ = TRUE;
+#line 2538 "TumblrPublishing.c"
} else {
- const gchar* _tmp26_ = NULL;
+ const gchar* _tmp27_ = NULL;
#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp26_ = oauth_token_secret;
+ _tmp27_ = oauth_token_secret;
#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp24_ = _tmp26_ == NULL;
-#line 2542 "TumblrPublishing.c"
+ _tmp25_ = _tmp27_ == NULL;
+#line 2545 "TumblrPublishing.c"
}
#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- if (_tmp24_) {
-#line 2546 "TumblrPublishing.c"
- SpitPublishingPluginHost* _tmp27_ = NULL;
- const gchar* _tmp28_ = NULL;
- GError* _tmp29_ = NULL;
- GError* _tmp30_ = NULL;
+ if (_tmp25_) {
+#line 2549 "TumblrPublishing.c"
+ SpitPublishingPluginHost* _tmp28_ = NULL;
+ const gchar* _tmp29_ = NULL;
+ const gchar* _tmp30_ = NULL;
+ GError* _tmp31_ = NULL;
+ GError* _tmp32_ = NULL;
#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp27_ = self->priv->host;
+ _tmp28_ = self->priv->host;
#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp28_ = _ ("“%s” isn’t a valid response to an OAuth authentication request");
+ _tmp29_ = _ ("“%s” isn’t a valid response to an OAuth authentication request");
#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp29_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, _tmp28_);
+ _tmp30_ = response;
#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp30_ = _tmp29_;
+ _tmp31_ = g_error_new (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE, _tmp29_, _tmp30_);
#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- spit_publishing_plugin_host_post_error (_tmp27_, _tmp30_);
+ _tmp32_ = _tmp31_;
#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_error_free0 (_tmp30_);
-#line 2563 "TumblrPublishing.c"
+ spit_publishing_plugin_host_post_error (_tmp28_, _tmp32_);
+#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_error_free0 (_tmp32_);
+#line 2569 "TumblrPublishing.c"
}
#line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp31_ = self->priv->session;
+ _tmp33_ = self->priv->session;
#line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp32_ = oauth_token;
+ _tmp34_ = oauth_token;
#line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp33_ = oauth_token_secret;
+ _tmp35_ = oauth_token_secret;
#line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_tumblr_tumblr_publisher_session_set_access_phase_credentials (_tmp31_, _tmp32_, _tmp33_);
+ publishing_tumblr_tumblr_publisher_session_set_access_phase_credentials (_tmp33_, _tmp34_, _tmp35_);
#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
key_value_pairs = (_vala_array_free (key_value_pairs, key_value_pairs_length1, (GDestroyNotify) g_free), NULL);
#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (oauth_token_secret);
#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (oauth_token);
-#line 2579 "TumblrPublishing.c"
+#line 2585 "TumblrPublishing.c"
}
@@ -2599,7 +2605,7 @@ static void publishing_tumblr_tumblr_publisher_on_session_authenticated (Publish
if (!_tmp0_) {
#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 2599 "TumblrPublishing.c"
+#line 2605 "TumblrPublishing.c"
}
#line 332 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_debug ("TumblrPublishing.vala:332: EVENT: a fully authenticated session has be" \
@@ -2626,21 +2632,21 @@ static void publishing_tumblr_tumblr_publisher_on_session_authenticated (Publish
_g_free0 (_tmp6_);
#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_do_get_blogs (self);
-#line 2625 "TumblrPublishing.c"
+#line 2631 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_on_info_request_txn_completed_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 342 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_on_info_request_txn_completed ((PublishingTumblrTumblrPublisher*) self, _sender);
-#line 2632 "TumblrPublishing.c"
+#line 2638 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_on_info_request_txn_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_on_info_request_txn_error ((PublishingTumblrTumblrPublisher*) self, _sender, err);
-#line 2639 "TumblrPublishing.c"
+#line 2645 "TumblrPublishing.c"
}
@@ -2663,7 +2669,7 @@ static void publishing_tumblr_tumblr_publisher_do_get_blogs (PublishingTumblrTum
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_tumblr_tumblr_publisher_on_info_request_txn_completed_publishing_rest_support_transaction_completed, self, 0);
#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_tumblr_tumblr_publisher_on_info_request_txn_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 2662 "TumblrPublishing.c"
+#line 2668 "TumblrPublishing.c"
{
#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (txn, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
@@ -2671,7 +2677,7 @@ static void publishing_tumblr_tumblr_publisher_do_get_blogs (PublishingTumblrTum
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 2670 "TumblrPublishing.c"
+#line 2676 "TumblrPublishing.c"
goto __catch33_spit_publishing_publishing_error;
}
#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -2682,7 +2688,7 @@ static void publishing_tumblr_tumblr_publisher_do_get_blogs (PublishingTumblrTum
g_clear_error (&_inner_error_);
#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 2681 "TumblrPublishing.c"
+#line 2687 "TumblrPublishing.c"
}
}
goto __finally33;
@@ -2703,7 +2709,7 @@ static void publishing_tumblr_tumblr_publisher_do_get_blogs (PublishingTumblrTum
spit_publishing_plugin_host_post_error (_tmp2_, _tmp3_);
#line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_error_free0 (err);
-#line 2702 "TumblrPublishing.c"
+#line 2708 "TumblrPublishing.c"
}
__finally33:
#line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -2716,11 +2722,11 @@ static void publishing_tumblr_tumblr_publisher_do_get_blogs (PublishingTumblrTum
g_clear_error (&_inner_error_);
#line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 2715 "TumblrPublishing.c"
+#line 2721 "TumblrPublishing.c"
}
#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_publishing_rest_support_transaction_unref0 (txn);
-#line 2719 "TumblrPublishing.c"
+#line 2725 "TumblrPublishing.c"
}
@@ -2758,7 +2764,7 @@ static void publishing_tumblr_tumblr_publisher_on_info_request_txn_completed (Pu
if (!_tmp4_) {
#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 2757 "TumblrPublishing.c"
+#line 2763 "TumblrPublishing.c"
}
#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = txn;
@@ -2783,14 +2789,14 @@ static void publishing_tumblr_tumblr_publisher_on_info_request_txn_completed (Pu
_g_free0 (_tmp10_);
#line 365 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_do_show_publishing_options_pane (self);
-#line 2781 "TumblrPublishing.c"
+#line 2787 "TumblrPublishing.c"
}
static gpointer _json_object_ref0 (gpointer self) {
#line 374 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self ? json_object_ref (self) : NULL;
-#line 2788 "TumblrPublishing.c"
+#line 2794 "TumblrPublishing.c"
}
@@ -2803,7 +2809,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_return_val_if_fail (old != NULL, NULL);
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
-#line 2801 "TumblrPublishing.c"
+#line 2807 "TumblrPublishing.c"
{
GRegex* regex = NULL;
const gchar* _tmp0_ = NULL;
@@ -2834,7 +2840,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 2832 "TumblrPublishing.c"
+#line 2838 "TumblrPublishing.c"
goto __catch35_g_regex_error;
}
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -2843,7 +2849,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 2841 "TumblrPublishing.c"
+#line 2847 "TumblrPublishing.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp6_ = regex;
@@ -2859,7 +2865,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 2857 "TumblrPublishing.c"
+#line 2863 "TumblrPublishing.c"
goto __catch35_g_regex_error;
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -2870,7 +2876,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 2868 "TumblrPublishing.c"
+#line 2874 "TumblrPublishing.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
@@ -2884,7 +2890,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 2882 "TumblrPublishing.c"
+#line 2888 "TumblrPublishing.c"
}
goto __finally35;
__catch35_g_regex_error:
@@ -2898,7 +2904,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_assert_not_reached ();
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_error_free0 (e);
-#line 2896 "TumblrPublishing.c"
+#line 2902 "TumblrPublishing.c"
}
__finally35:
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -2909,7 +2915,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 2907 "TumblrPublishing.c"
+#line 2913 "TumblrPublishing.c"
}
}
@@ -2921,13 +2927,13 @@ static void _vala_array_add21 (PublishingTumblrBlogEntry*** array, int* length,
*size = (*size) ? (2 * (*size)) : 4;
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
*array = g_renew (PublishingTumblrBlogEntry*, *array, (*size) + 1);
-#line 2919 "TumblrPublishing.c"
+#line 2925 "TumblrPublishing.c"
}
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
(*array)[(*length)++] = value;
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
(*array)[*length] = NULL;
-#line 2925 "TumblrPublishing.c"
+#line 2931 "TumblrPublishing.c"
}
@@ -2943,7 +2949,7 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_user_req
#line 370 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_debug ("TumblrPublishing.vala:370: ACTION: parsing info request response '%s' " \
"into list of available blogs", _tmp0_);
-#line 2940 "TumblrPublishing.c"
+#line 2946 "TumblrPublishing.c"
{
JsonParser* parser = NULL;
JsonParser* _tmp1_ = NULL;
@@ -2975,7 +2981,7 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_user_req
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (parser);
-#line 2972 "TumblrPublishing.c"
+#line 2978 "TumblrPublishing.c"
goto __catch34_g_error;
}
#line 374 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -3014,7 +3020,7 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_user_req
_tmp15_ = json_object_get_array_member (_tmp14_, "blogs");
#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp16_ = json_array_get_elements (_tmp15_);
-#line 3011 "TumblrPublishing.c"
+#line 3017 "TumblrPublishing.c"
{
GList* blognode_collection = NULL;
GList* blognode_it = NULL;
@@ -3022,11 +3028,11 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_user_req
blognode_collection = _tmp16_;
#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
for (blognode_it = blognode_collection; blognode_it != NULL; blognode_it = blognode_it->next) {
-#line 3019 "TumblrPublishing.c"
+#line 3025 "TumblrPublishing.c"
JsonNode* blognode = NULL;
#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
blognode = (JsonNode*) blognode_it->data;
-#line 3023 "TumblrPublishing.c"
+#line 3029 "TumblrPublishing.c"
{
JsonObject* blog = NULL;
JsonNode* _tmp17_ = NULL;
@@ -3106,18 +3112,18 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_user_req
_g_free0 (name);
#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_json_object_unref0 (blog);
-#line 3103 "TumblrPublishing.c"
+#line 3109 "TumblrPublishing.c"
}
}
#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_list_free0 (blognode_collection);
-#line 3108 "TumblrPublishing.c"
+#line 3114 "TumblrPublishing.c"
}
#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_json_object_unref0 (root_object);
#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (parser);
-#line 3114 "TumblrPublishing.c"
+#line 3120 "TumblrPublishing.c"
}
goto __finally34;
__catch34_g_error:
@@ -3137,7 +3143,7 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_user_req
spit_publishing_plugin_host_post_error (_tmp35_, _tmp36_);
#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_error_free0 (err);
-#line 3134 "TumblrPublishing.c"
+#line 3140 "TumblrPublishing.c"
}
__finally34:
#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -3148,7 +3154,7 @@ static void publishing_tumblr_tumblr_publisher_do_parse_token_info_from_user_req
g_clear_error (&_inner_error_);
#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3145 "TumblrPublishing.c"
+#line 3151 "TumblrPublishing.c"
}
}
@@ -3184,7 +3190,7 @@ static void publishing_tumblr_tumblr_publisher_on_info_request_txn_error (Publis
if (!_tmp4_) {
#line 395 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3181 "TumblrPublishing.c"
+#line 3187 "TumblrPublishing.c"
}
#line 397 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = self->priv->session;
@@ -3201,21 +3207,21 @@ static void publishing_tumblr_tumblr_publisher_on_info_request_txn_error (Publis
_tmp7_ = err;
#line 400 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
spit_publishing_plugin_host_post_error (_tmp6_, _tmp7_);
-#line 3197 "TumblrPublishing.c"
+#line 3203 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_on_publishing_options_pane_publish_publishing_tumblr_tumblr_publisher_publishing_options_pane_publish (PublishingTumblrTumblrPublisherPublishingOptionsPane* _sender, gpointer self) {
#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_on_publishing_options_pane_publish ((PublishingTumblrTumblrPublisher*) self);
-#line 3204 "TumblrPublishing.c"
+#line 3210 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_on_publishing_options_pane_logout_publishing_tumblr_tumblr_publisher_publishing_options_pane_logout (PublishingTumblrTumblrPublisherPublishingOptionsPane* _sender, gpointer self) {
#line 409 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_on_publishing_options_pane_logout ((PublishingTumblrTumblrPublisher*) self);
-#line 3211 "TumblrPublishing.c"
+#line 3217 "TumblrPublishing.c"
}
@@ -3267,7 +3273,7 @@ static void publishing_tumblr_tumblr_publisher_do_show_publishing_options_pane (
spit_publishing_plugin_host_install_dialog_pane (_tmp7_, G_TYPE_CHECK_INSTANCE_CAST (publishing_options_pane, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (publishing_options_pane);
-#line 3263 "TumblrPublishing.c"
+#line 3269 "TumblrPublishing.c"
}
@@ -3280,7 +3286,7 @@ static void publishing_tumblr_tumblr_publisher_on_publishing_options_pane_publis
_tmp0_ = self->priv->publishing_options_pane;
#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp0_ != NULL) {
-#line 3276 "TumblrPublishing.c"
+#line 3282 "TumblrPublishing.c"
PublishingTumblrTumblrPublisherPublishingOptionsPane* _tmp1_ = NULL;
guint _tmp2_ = 0U;
PublishingTumblrTumblrPublisherPublishingOptionsPane* _tmp3_ = NULL;
@@ -3297,7 +3303,7 @@ static void publishing_tumblr_tumblr_publisher_on_publishing_options_pane_publis
g_signal_parse_name ("logout", PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp4_, NULL, FALSE);
#line 418 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _publishing_tumblr_tumblr_publisher_on_publishing_options_pane_logout_publishing_tumblr_tumblr_publisher_publishing_options_pane_logout, self);
-#line 3293 "TumblrPublishing.c"
+#line 3299 "TumblrPublishing.c"
}
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = spit_publishing_publisher_is_running (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher));
@@ -3305,14 +3311,14 @@ static void publishing_tumblr_tumblr_publisher_on_publishing_options_pane_publis
if (!_tmp5_) {
#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3301 "TumblrPublishing.c"
+#line 3307 "TumblrPublishing.c"
}
#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_debug ("TumblrPublishing.vala:424: EVENT: user clicked the 'Publish' button in" \
" the publishing options pane");
#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_do_publish (self);
-#line 3307 "TumblrPublishing.c"
+#line 3313 "TumblrPublishing.c"
}
@@ -3325,7 +3331,7 @@ static void publishing_tumblr_tumblr_publisher_on_publishing_options_pane_logout
_tmp0_ = self->priv->publishing_options_pane;
#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp0_ != NULL) {
-#line 3320 "TumblrPublishing.c"
+#line 3326 "TumblrPublishing.c"
PublishingTumblrTumblrPublisherPublishingOptionsPane* _tmp1_ = NULL;
guint _tmp2_ = 0U;
PublishingTumblrTumblrPublisherPublishingOptionsPane* _tmp3_ = NULL;
@@ -3342,7 +3348,7 @@ static void publishing_tumblr_tumblr_publisher_on_publishing_options_pane_logout
g_signal_parse_name ("logout", PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp4_, NULL, FALSE);
#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _publishing_tumblr_tumblr_publisher_on_publishing_options_pane_logout_publishing_tumblr_tumblr_publisher_publishing_options_pane_logout, self);
-#line 3337 "TumblrPublishing.c"
+#line 3343 "TumblrPublishing.c"
}
#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = spit_publishing_publisher_is_running (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher));
@@ -3350,14 +3356,14 @@ static void publishing_tumblr_tumblr_publisher_on_publishing_options_pane_logout
if (!_tmp5_) {
#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3345 "TumblrPublishing.c"
+#line 3351 "TumblrPublishing.c"
}
#line 437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_debug ("TumblrPublishing.vala:437: EVENT: user clicked the 'Logout' button in " \
"the publishing options pane");
#line 439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_do_logout (self);
-#line 3351 "TumblrPublishing.c"
+#line 3357 "TumblrPublishing.c"
}
@@ -3399,7 +3405,7 @@ gint publishing_tumblr_tumblr_publisher_tumblr_date_time_compare_func (SpitPubli
result = _tmp7_;
#line 444 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 3393 "TumblrPublishing.c"
+#line 3399 "TumblrPublishing.c"
}
@@ -3408,28 +3414,28 @@ static gint _publishing_tumblr_tumblr_publisher_tumblr_date_time_compare_func_gc
result = publishing_tumblr_tumblr_publisher_tumblr_date_time_compare_func ((SpitPublishingPublishable*) a, (SpitPublishingPublishable*) b);
#line 469 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 3402 "TumblrPublishing.c"
+#line 3408 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete (PublishingRESTSupportBatchUploader* _sender, gint num_photos_published, gpointer self) {
#line 473 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_on_upload_complete ((PublishingTumblrTumblrPublisher*) self, _sender, num_photos_published);
-#line 3409 "TumblrPublishing.c"
+#line 3415 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error (PublishingRESTSupportBatchUploader* _sender, GError* err, gpointer self) {
#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_on_upload_error ((PublishingTumblrTumblrPublisher*) self, _sender, err);
-#line 3416 "TumblrPublishing.c"
+#line 3422 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) {
#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_on_upload_status_updated ((PublishingTumblrTumblrPublisher*) self, file_number, fraction_complete);
-#line 3423 "TumblrPublishing.c"
+#line 3429 "TumblrPublishing.c"
}
@@ -3519,7 +3525,7 @@ static void publishing_tumblr_tumblr_publisher_do_publish (PublishingTumblrTumbl
if (!_tmp9_) {
#line 459 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3512 "TumblrPublishing.c"
+#line 3518 "TumblrPublishing.c"
}
#line 462 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp10_ = self->priv->host;
@@ -3539,7 +3545,7 @@ static void publishing_tumblr_tumblr_publisher_do_publish (PublishingTumblrTumbl
_tmp14_ = publishables;
#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp14__length1 = publishables_length1;
-#line 3532 "TumblrPublishing.c"
+#line 3538 "TumblrPublishing.c"
{
SpitPublishingPublishable** p_collection = NULL;
gint p_collection_length1 = 0;
@@ -3551,14 +3557,14 @@ static void publishing_tumblr_tumblr_publisher_do_publish (PublishingTumblrTumbl
p_collection_length1 = _tmp14__length1;
#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
for (p_it = 0; p_it < _tmp14__length1; p_it = p_it + 1) {
-#line 3544 "TumblrPublishing.c"
+#line 3550 "TumblrPublishing.c"
SpitPublishingPublishable* _tmp15_ = NULL;
SpitPublishingPublishable* p = NULL;
#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp15_ = _g_object_ref0 (p_collection[p_it]);
#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
p = _tmp15_;
-#line 3551 "TumblrPublishing.c"
+#line 3557 "TumblrPublishing.c"
{
GeeArrayList* _tmp16_ = NULL;
SpitPublishingPublishable* _tmp17_ = NULL;
@@ -3572,7 +3578,7 @@ static void publishing_tumblr_tumblr_publisher_do_publish (PublishingTumblrTumbl
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp17_);
#line 465 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (p);
-#line 3565 "TumblrPublishing.c"
+#line 3571 "TumblrPublishing.c"
}
}
}
@@ -3634,7 +3640,7 @@ static void publishing_tumblr_tumblr_publisher_do_publish (PublishingTumblrTumbl
_g_object_unref0 (sorted_list);
#line 447 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 3627 "TumblrPublishing.c"
+#line 3633 "TumblrPublishing.c"
}
@@ -3653,7 +3659,7 @@ static void publishing_tumblr_tumblr_publisher_do_show_success_pane (PublishingT
_tmp1_ = self->priv->host;
#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
spit_publishing_plugin_host_install_success_pane (_tmp1_);
-#line 3646 "TumblrPublishing.c"
+#line 3652 "TumblrPublishing.c"
}
@@ -3674,7 +3680,7 @@ static void publishing_tumblr_tumblr_publisher_on_upload_status_updated (Publish
if (!_tmp0_) {
#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3667 "TumblrPublishing.c"
+#line 3673 "TumblrPublishing.c"
}
#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = completed_fraction;
@@ -3697,7 +3703,7 @@ static void publishing_tumblr_tumblr_publisher_on_upload_status_updated (Publish
_tmp5_ = completed_fraction;
#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ (_tmp4_, _tmp5_, _tmp3__target);
-#line 3689 "TumblrPublishing.c"
+#line 3695 "TumblrPublishing.c"
}
@@ -3718,7 +3724,7 @@ static void publishing_tumblr_tumblr_publisher_on_upload_complete (PublishingTum
if (!_tmp0_) {
#line 500 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3710 "TumblrPublishing.c"
+#line 3716 "TumblrPublishing.c"
}
#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = num_published;
@@ -3739,7 +3745,7 @@ static void publishing_tumblr_tumblr_publisher_on_upload_complete (PublishingTum
g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _publishing_tumblr_tumblr_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self);
#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_do_show_success_pane (self);
-#line 3730 "TumblrPublishing.c"
+#line 3736 "TumblrPublishing.c"
}
@@ -3763,7 +3769,7 @@ static void publishing_tumblr_tumblr_publisher_on_upload_error (PublishingTumblr
if (!_tmp0_) {
#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3754 "TumblrPublishing.c"
+#line 3760 "TumblrPublishing.c"
}
#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = err;
@@ -3790,7 +3796,7 @@ static void publishing_tumblr_tumblr_publisher_on_upload_error (PublishingTumblr
_tmp8_ = err;
#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_);
-#line 3780 "TumblrPublishing.c"
+#line 3786 "TumblrPublishing.c"
}
@@ -3811,7 +3817,7 @@ static void publishing_tumblr_tumblr_publisher_do_logout (PublishingTumblrTumblr
self->priv->running = FALSE;
#line 532 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_attempt_start (self);
-#line 3800 "TumblrPublishing.c"
+#line 3806 "TumblrPublishing.c"
}
@@ -3826,7 +3832,7 @@ void publishing_tumblr_tumblr_publisher_attempt_start (PublishingTumblrTumblrPub
if (_tmp0_) {
#line 537 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3815 "TumblrPublishing.c"
+#line 3821 "TumblrPublishing.c"
}
#line 539 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_debug ("TumblrPublishing.vala:539: TumblrPublisher: starting interaction.");
@@ -3836,7 +3842,7 @@ void publishing_tumblr_tumblr_publisher_attempt_start (PublishingTumblrTumblrPub
_tmp1_ = publishing_tumblr_tumblr_publisher_is_persistent_session_valid (self);
#line 542 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp1_) {
-#line 3825 "TumblrPublishing.c"
+#line 3831 "TumblrPublishing.c"
PublishingTumblrTumblrPublisherSession* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
@@ -3861,14 +3867,14 @@ void publishing_tumblr_tumblr_publisher_attempt_start (PublishingTumblrTumblrPub
_g_free0 (_tmp6_);
#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp4_);
-#line 3849 "TumblrPublishing.c"
+#line 3855 "TumblrPublishing.c"
} else {
#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_debug ("TumblrPublishing.vala:548: attempt start: no persistent session availa" \
"ble; showing login welcome pane");
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_do_show_authentication_pane (self, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_AUTHENTICATION_PANE_MODE_INTRO);
-#line 3855 "TumblrPublishing.c"
+#line 3861 "TumblrPublishing.c"
}
}
@@ -3885,26 +3891,26 @@ static void publishing_tumblr_tumblr_publisher_real_start (SpitPublishingPublish
if (_tmp0_) {
#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 3872 "TumblrPublishing.c"
+#line 3878 "TumblrPublishing.c"
}
#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = self->priv->was_started;
#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp1_) {
-#line 3878 "TumblrPublishing.c"
+#line 3884 "TumblrPublishing.c"
const gchar* _tmp2_ = NULL;
#line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = _ ("TumblrPublisher: start( ): can’t start; this publisher is not restarta" \
"ble.");
#line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_error ("TumblrPublishing.vala:559: %s", _tmp2_);
-#line 3884 "TumblrPublishing.c"
+#line 3890 "TumblrPublishing.c"
}
#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_debug ("TumblrPublishing.vala:561: TumblrPublisher: starting interaction.");
#line 563 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_attempt_start (self);
-#line 3890 "TumblrPublishing.c"
+#line 3896 "TumblrPublishing.c"
}
@@ -3916,7 +3922,7 @@ static void publishing_tumblr_tumblr_publisher_real_stop (SpitPublishingPublishe
g_debug ("TumblrPublishing.vala:567: TumblrPublisher: stop( ) invoked.");
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->running = FALSE;
-#line 3902 "TumblrPublishing.c"
+#line 3908 "TumblrPublishing.c"
}
@@ -3935,21 +3941,21 @@ GType publishing_tumblr_tumblr_publisher_authentication_pane_mode_get_type (void
static void _publishing_tumblr_tumblr_publisher_authentication_pane_on_user_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_authentication_pane_on_user_changed ((PublishingTumblrTumblrPublisherAuthenticationPane*) self);
-#line 3921 "TumblrPublishing.c"
+#line 3927 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_authentication_pane_on_password_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_authentication_pane_on_password_changed ((PublishingTumblrTumblrPublisherAuthenticationPane*) self);
-#line 3928 "TumblrPublishing.c"
+#line 3934 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_authentication_pane_on_login_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 629 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_authentication_pane_on_login_button_clicked ((PublishingTumblrTumblrPublisherAuthenticationPane*) self);
-#line 3935 "TumblrPublishing.c"
+#line 3941 "TumblrPublishing.c"
}
@@ -3969,15 +3975,15 @@ PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publ
_g_object_unref0 (self->priv->pane_widget);
#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->pane_widget = _tmp0_;
-#line 3955 "TumblrPublishing.c"
+#line 3961 "TumblrPublishing.c"
{
GtkBuilder* _tmp1_ = NULL;
GtkBuilder* _tmp2_ = NULL;
GtkBuilder* _tmp3_ = NULL;
- GtkAlignment* align = NULL;
+ GtkWidget* content = NULL;
GtkBuilder* _tmp4_ = NULL;
GObject* _tmp5_ = NULL;
- GtkAlignment* _tmp6_ = NULL;
+ GtkWidget* _tmp6_ = NULL;
GtkLabel* message_label = NULL;
GtkBuilder* _tmp7_ = NULL;
GObject* _tmp8_ = NULL;
@@ -3995,12 +4001,16 @@ PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publ
GtkEntry* _tmp27_ = NULL;
GtkEntry* _tmp28_ = NULL;
GtkButton* _tmp29_ = NULL;
- GtkAlignment* _tmp30_ = NULL;
- GtkBox* _tmp31_ = NULL;
- PublishingTumblrTumblrPublisher* _tmp32_ = NULL;
- SpitPublishingPluginHost* _tmp33_ = NULL;
- SpitPublishingPluginHost* _tmp34_ = NULL;
- GtkButton* _tmp35_ = NULL;
+ GtkWidget* _tmp30_ = NULL;
+ GtkContainer* _tmp31_ = NULL;
+ GtkContainer* _tmp32_ = NULL;
+ GtkWidget* _tmp33_ = NULL;
+ GtkBox* _tmp34_ = NULL;
+ GtkWidget* _tmp35_ = NULL;
+ PublishingTumblrTumblrPublisher* _tmp36_ = NULL;
+ SpitPublishingPluginHost* _tmp37_ = NULL;
+ SpitPublishingPluginHost* _tmp38_ = NULL;
+ GtkButton* _tmp39_ = NULL;
#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = gtk_builder_new ();
#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -4013,7 +4023,7 @@ PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publ
gtk_builder_add_from_resource (_tmp2_, PLUGIN_RESOURCE_PATH "/tumblr_authentication_pane.ui", &_inner_error_);
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3999 "TumblrPublishing.c"
+#line 4009 "TumblrPublishing.c"
goto __catch36_g_error;
}
#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -4023,11 +4033,11 @@ PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publ
#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = self->priv->builder;
#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp5_ = gtk_builder_get_object (_tmp4_, "alignment");
+ _tmp5_ = gtk_builder_get_object (_tmp4_, "content");
#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_alignment_get_type ()) ? ((GtkAlignment*) _tmp5_) : NULL);
+ _tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp5_) : NULL);
#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- align = _tmp6_;
+ content = _tmp6_;
#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = self->priv->builder;
#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -4042,7 +4052,7 @@ PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publ
switch (_tmp10_) {
#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
case PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_AUTHENTICATION_PANE_MODE_INTRO:
-#line 4028 "TumblrPublishing.c"
+#line 4038 "TumblrPublishing.c"
{
GtkLabel* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
@@ -4054,11 +4064,11 @@ PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publ
gtk_label_set_text (_tmp11_, _tmp12_);
#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
break;
-#line 4040 "TumblrPublishing.c"
+#line 4050 "TumblrPublishing.c"
}
#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
case PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_AUTHENTICATION_PANE_MODE_FAILED_RETRY_USER:
-#line 4044 "TumblrPublishing.c"
+#line 4054 "TumblrPublishing.c"
{
GtkLabel* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
@@ -4081,12 +4091,12 @@ PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publ
_g_free0 (_tmp17_);
#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
break;
-#line 4067 "TumblrPublishing.c"
+#line 4077 "TumblrPublishing.c"
}
default:
#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
break;
-#line 4072 "TumblrPublishing.c"
+#line 4082 "TumblrPublishing.c"
}
#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp18_ = self->priv->builder;
@@ -4131,51 +4141,61 @@ PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publ
#line 629 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_connect_object (_tmp29_, "clicked", (GCallback) _publishing_tumblr_tumblr_publisher_authentication_pane_on_login_button_clicked_gtk_button_clicked, self, 0);
#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp30_ = align;
+ _tmp30_ = content;
#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp31_ = self->priv->pane_widget;
+ _tmp31_ = gtk_widget_get_parent (_tmp30_);
#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- gtk_widget_reparent (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_widget_get_type (), GtkWidget), G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget));
-#line 632 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp32_ = publisher;
-#line 632 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp33_ = publishing_tumblr_tumblr_publisher_get_host (_tmp32_);
-#line 632 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp34_ = _tmp33_;
+ _tmp32_ = _tmp31_;
+#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp33_ = content;
+#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ gtk_container_remove (_tmp32_, _tmp33_);
#line 632 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp35_ = self->priv->login_button;
+ _tmp34_ = self->priv->pane_widget;
#line 632 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- spit_publishing_plugin_host_set_dialog_default_widget (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget));
+ _tmp35_ = content;
#line 632 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (_tmp34_);
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_container_get_type (), GtkContainer), _tmp35_);
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp36_ = publisher;
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp37_ = publishing_tumblr_tumblr_publisher_get_host (_tmp36_);
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp38_ = _tmp37_;
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp39_ = self->priv->login_button;
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ spit_publishing_plugin_host_set_dialog_default_widget (_tmp38_, G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_widget_get_type (), GtkWidget));
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_object_unref0 (_tmp38_);
#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (message_label);
#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (align);
-#line 4138 "TumblrPublishing.c"
+ _g_object_unref0 (content);
+#line 4158 "TumblrPublishing.c"
}
goto __finally36;
__catch36_g_error:
{
GError* e = NULL;
- const gchar* _tmp36_ = NULL;
- GError* _tmp37_ = NULL;
- const gchar* _tmp38_ = NULL;
+ const gchar* _tmp40_ = NULL;
+ GError* _tmp41_ = NULL;
+ const gchar* _tmp42_ = NULL;
#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
e = _inner_error_;
#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_inner_error_ = NULL;
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp36_ = _ ("Could not load UI: %s");
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp37_ = e;
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp38_ = _tmp37_->message;
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_warning (_tmp36_, _tmp38_);
+#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp40_ = _ ("Could not load UI: %s");
+#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp41_ = e;
+#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp42_ = _tmp41_->message;
+#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_warning (_tmp40_, _tmp42_);
#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_error_free0 (e);
-#line 4161 "TumblrPublishing.c"
+#line 4181 "TumblrPublishing.c"
}
__finally36:
#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
@@ -4186,18 +4206,18 @@ PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publ
g_clear_error (&_inner_error_);
#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return NULL;
-#line 4172 "TumblrPublishing.c"
+#line 4192 "TumblrPublishing.c"
}
#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self;
-#line 4176 "TumblrPublishing.c"
+#line 4196 "TumblrPublishing.c"
}
PublishingTumblrTumblrPublisherAuthenticationPane* publishing_tumblr_tumblr_publisher_authentication_pane_new (PublishingTumblrTumblrPublisher* publisher, PublishingTumblrTumblrPublisherAuthenticationPaneMode mode) {
#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return publishing_tumblr_tumblr_publisher_authentication_pane_construct (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_AUTHENTICATION_PANE, publisher, mode);
-#line 4183 "TumblrPublishing.c"
+#line 4203 "TumblrPublishing.c"
}
@@ -4205,17 +4225,17 @@ GtkWidget* publishing_tumblr_tumblr_publisher_authentication_pane_get_default_wi
GtkWidget* result = NULL;
GtkButton* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self), NULL);
#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self), NULL);
+#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->login_button;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp1_;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 4201 "TumblrPublishing.c"
+#line 4221 "TumblrPublishing.c"
}
@@ -4224,37 +4244,37 @@ static void publishing_tumblr_tumblr_publisher_authentication_pane_on_login_butt
const gchar* _tmp1_ = NULL;
GtkEntry* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
-#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self));
#line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self));
+#line 644 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->username_entry;
-#line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 644 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = gtk_entry_get_text (_tmp0_);
-#line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 644 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = self->priv->password_entry;
-#line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 644 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = gtk_entry_get_text (_tmp2_);
-#line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 644 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_emit_by_name (self, "login", _tmp1_, _tmp3_);
-#line 4222 "TumblrPublishing.c"
+#line 4242 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_authentication_pane_on_user_changed (PublishingTumblrTumblrPublisherAuthenticationPane* self) {
-#line 648 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self));
#line 649 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self));
+#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_authentication_pane_update_login_button_sensitivity (self);
-#line 4231 "TumblrPublishing.c"
+#line 4251 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_authentication_pane_on_password_changed (PublishingTumblrTumblrPublisherAuthenticationPane* self) {
-#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self));
#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self));
+#line 654 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_authentication_pane_update_login_button_sensitivity (self);
-#line 4240 "TumblrPublishing.c"
+#line 4260 "TumblrPublishing.c"
}
@@ -4264,39 +4284,39 @@ static void publishing_tumblr_tumblr_publisher_authentication_pane_update_login_
guint _tmp2_ = 0U;
guint _tmp3_ = 0U;
GtkButton* _tmp7_ = NULL;
-#line 656 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self));
#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_AUTHENTICATION_PANE (self));
+#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = self->priv->username_entry;
-#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = gtk_entry_get_text_length (_tmp1_);
-#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = _tmp2_;
-#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp3_ > ((guint) 0)) {
-#line 4260 "TumblrPublishing.c"
+#line 4280 "TumblrPublishing.c"
GtkEntry* _tmp4_ = NULL;
guint _tmp5_ = 0U;
guint _tmp6_ = 0U;
-#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = self->priv->password_entry;
-#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = gtk_entry_get_text_length (_tmp4_);
-#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = _tmp5_;
-#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = _tmp6_ > ((guint) 0);
-#line 4272 "TumblrPublishing.c"
+#line 4292 "TumblrPublishing.c"
} else {
-#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = FALSE;
-#line 4276 "TumblrPublishing.c"
+#line 4296 "TumblrPublishing.c"
}
-#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = self->priv->login_button;
-#line 657 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), _tmp0_);
-#line 4282 "TumblrPublishing.c"
+#line 4302 "TumblrPublishing.c"
}
@@ -4305,30 +4325,30 @@ static GtkWidget* publishing_tumblr_tumblr_publisher_authentication_pane_real_ge
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 661 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_AUTHENTICATION_PANE, PublishingTumblrTumblrPublisherAuthenticationPane);
#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_AUTHENTICATION_PANE, PublishingTumblrTumblrPublisherAuthenticationPane);
+#line 663 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->pane_widget;
-#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 663 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 663 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp1_;
-#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 663 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 4301 "TumblrPublishing.c"
+#line 4321 "TumblrPublishing.c"
}
static SpitPublishingDialogPaneGeometryOptions publishing_tumblr_tumblr_publisher_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) {
PublishingTumblrTumblrPublisherAuthenticationPane * self;
SpitPublishingDialogPaneGeometryOptions result = 0;
-#line 665 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_AUTHENTICATION_PANE, PublishingTumblrTumblrPublisherAuthenticationPane);
#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_AUTHENTICATION_PANE, PublishingTumblrTumblrPublisherAuthenticationPane);
+#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
-#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 4314 "TumblrPublishing.c"
+#line 4334 "TumblrPublishing.c"
}
@@ -4337,31 +4357,31 @@ static void publishing_tumblr_tumblr_publisher_authentication_pane_real_on_pane_
GtkEntry* _tmp0_ = NULL;
GtkEntry* _tmp1_ = NULL;
GtkButton* _tmp2_ = NULL;
-#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_AUTHENTICATION_PANE, PublishingTumblrTumblrPublisherAuthenticationPane);
#line 670 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_AUTHENTICATION_PANE, PublishingTumblrTumblrPublisherAuthenticationPane);
+#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->username_entry;
-#line 670 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
+#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = self->priv->password_entry;
-#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- gtk_entry_set_activates_default (_tmp1_, TRUE);
#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ gtk_entry_set_activates_default (_tmp1_, TRUE);
+#line 673 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = self->priv->login_button;
-#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 673 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 674 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_authentication_pane_update_login_button_sensitivity (self);
-#line 4339 "TumblrPublishing.c"
+#line 4359 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) {
PublishingTumblrTumblrPublisherAuthenticationPane * self;
-#line 676 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 677 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_AUTHENTICATION_PANE, PublishingTumblrTumblrPublisherAuthenticationPane);
-#line 4347 "TumblrPublishing.c"
+#line 4367 "TumblrPublishing.c"
}
@@ -4380,19 +4400,19 @@ static void g_cclosure_user_marshal_VOID__STRING_STRING (GClosure * closure, GVa
data1 = closure->data;
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
data2 = param_values->data[0].v_pointer;
-#line 4366 "TumblrPublishing.c"
+#line 4386 "TumblrPublishing.c"
} else {
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
data1 = param_values->data[0].v_pointer;
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
data2 = closure->data;
-#line 4372 "TumblrPublishing.c"
+#line 4392 "TumblrPublishing.c"
}
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
callback = (GMarshalFunc_VOID__STRING_STRING) (marshal_data ? marshal_data : cc->callback);
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), data2);
-#line 4378 "TumblrPublishing.c"
+#line 4398 "TumblrPublishing.c"
}
@@ -4421,7 +4441,7 @@ static void publishing_tumblr_tumblr_publisher_authentication_pane_class_init (P
_tmp3_ = g_strdup (_tmp2_);
#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_authentication_pane_FAILED_RETRY_USER_MESSAGE = _tmp3_;
-#line 4407 "TumblrPublishing.c"
+#line 4427 "TumblrPublishing.c"
}
@@ -4436,7 +4456,7 @@ static void publishing_tumblr_tumblr_publisher_authentication_pane_spit_publishi
iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_tumblr_tumblr_publisher_authentication_pane_real_on_pane_installed;
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_tumblr_tumblr_publisher_authentication_pane_real_on_pane_uninstalled;
-#line 4422 "TumblrPublishing.c"
+#line 4442 "TumblrPublishing.c"
}
@@ -4445,7 +4465,7 @@ static void publishing_tumblr_tumblr_publisher_authentication_pane_instance_init
self->priv = PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_AUTHENTICATION_PANE_GET_PRIVATE (self);
#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->pane_widget = NULL;
-#line 4431 "TumblrPublishing.c"
+#line 4451 "TumblrPublishing.c"
}
@@ -4465,7 +4485,7 @@ static void publishing_tumblr_tumblr_publisher_authentication_pane_finalize (GOb
_g_object_unref0 (self->priv->login_button);
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
G_OBJECT_CLASS (publishing_tumblr_tumblr_publisher_authentication_pane_parent_class)->finalize (obj);
-#line 4451 "TumblrPublishing.c"
+#line 4471 "TumblrPublishing.c"
}
@@ -4488,86 +4508,86 @@ GType publishing_tumblr_tumblr_publisher_authentication_pane_get_type (void) {
static gpointer _publishing_tumblr_size_entry_ref0 (gpointer self) {
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self ? publishing_tumblr_size_entry_ref (self) : NULL;
-#line 4476 "TumblrPublishing.c"
+#line 4496 "TumblrPublishing.c"
}
static PublishingTumblrSizeEntry** _vala_array_dup7 (PublishingTumblrSizeEntry** self, int length) {
PublishingTumblrSizeEntry** result;
int i;
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = g_new0 (PublishingTumblrSizeEntry*, length + 1);
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
for (i = 0; i < length; i++) {
-#line 4487 "TumblrPublishing.c"
+#line 4507 "TumblrPublishing.c"
PublishingTumblrSizeEntry* _tmp0_ = NULL;
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = _publishing_tumblr_size_entry_ref0 (self[i]);
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result[i] = _tmp0_;
-#line 4493 "TumblrPublishing.c"
+#line 4513 "TumblrPublishing.c"
}
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 4497 "TumblrPublishing.c"
+#line 4517 "TumblrPublishing.c"
}
static gpointer _publishing_tumblr_blog_entry_ref0 (gpointer self) {
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self ? publishing_tumblr_blog_entry_ref (self) : NULL;
-#line 4504 "TumblrPublishing.c"
+#line 4524 "TumblrPublishing.c"
}
static PublishingTumblrBlogEntry** _vala_array_dup8 (PublishingTumblrBlogEntry** self, int length) {
PublishingTumblrBlogEntry** result;
int i;
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = g_new0 (PublishingTumblrBlogEntry*, length + 1);
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
for (i = 0; i < length; i++) {
-#line 4515 "TumblrPublishing.c"
+#line 4535 "TumblrPublishing.c"
PublishingTumblrBlogEntry* _tmp0_ = NULL;
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = _publishing_tumblr_blog_entry_ref0 (self[i]);
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result[i] = _tmp0_;
-#line 4521 "TumblrPublishing.c"
+#line 4541 "TumblrPublishing.c"
}
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 4525 "TumblrPublishing.c"
+#line 4545 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_publishing_options_pane_on_blog_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 738 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 739 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_publishing_options_pane_on_blog_changed ((PublishingTumblrTumblrPublisherPublishingOptionsPane*) self);
-#line 4532 "TumblrPublishing.c"
+#line 4552 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_publishing_options_pane_on_size_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 742 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_publishing_options_pane_on_size_changed ((PublishingTumblrTumblrPublisherPublishingOptionsPane*) self);
-#line 4539 "TumblrPublishing.c"
+#line 4559 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_publishing_options_pane_on_logout_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_publishing_options_pane_on_logout_clicked ((PublishingTumblrTumblrPublisherPublishingOptionsPane*) self);
-#line 4546 "TumblrPublishing.c"
+#line 4566 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_publishing_options_pane_on_publish_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_publishing_options_pane_on_publish_clicked ((PublishingTumblrTumblrPublisherPublishingOptionsPane*) self);
-#line 4553 "TumblrPublishing.c"
+#line 4573 "TumblrPublishing.c"
}
@@ -4588,73 +4608,73 @@ PublishingTumblrTumblrPublisherPublishingOptionsPane* publishing_tumblr_tumblr_p
PublishingTumblrBlogEntry** _tmp9_ = NULL;
gint _tmp9__length1 = 0;
GError * _inner_error_ = NULL;
-#line 708 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 709 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (PUBLISHING_TUMBLR_IS_TUMBLR_PUBLISHER (publisher), NULL);
-#line 708 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 709 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (username != NULL, NULL);
-#line 708 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 709 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = (PublishingTumblrTumblrPublisherPublishingOptionsPane*) g_object_new (object_type, NULL);
-#line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 711 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 711 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_object_ref_sink (_tmp0_);
-#line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 711 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->pane_widget);
-#line 710 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->pane_widget = _tmp0_;
#line 711 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->pane_widget = _tmp0_;
+#line 712 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = username;
-#line 711 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 712 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 711 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 712 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->username);
-#line 711 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->username = _tmp2_;
#line 712 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->username = _tmp2_;
+#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = publisher;
-#line 712 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
-#line 712 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->publisher);
-#line 712 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->publisher = _tmp4_;
#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->publisher = _tmp4_;
+#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = media_type;
-#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->media_type = _tmp5_;
#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->media_type = _tmp5_;
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = sizes;
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6__length1 = sizes_length1;
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = (_tmp6_ != NULL) ? _vala_array_dup7 (_tmp6_, _tmp6__length1) : ((gpointer) _tmp6_);
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7__length1 = _tmp6__length1;
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->sizes = (_vala_array_free (self->priv->sizes, self->priv->sizes_length1, (GDestroyNotify) publishing_tumblr_size_entry_unref), NULL);
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->sizes = _tmp7_;
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->sizes_length1 = _tmp7__length1;
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->_sizes_size_ = self->priv->sizes_length1;
#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->_sizes_size_ = self->priv->sizes_length1;
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8_ = blogs;
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8__length1 = blogs_length1;
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp9_ = (_tmp8_ != NULL) ? _vala_array_dup8 (_tmp8_, _tmp8__length1) : ((gpointer) _tmp8_);
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp9__length1 = _tmp8__length1;
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->blogs = (_vala_array_free (self->priv->blogs, self->priv->blogs_length1, (GDestroyNotify) publishing_tumblr_blog_entry_unref), NULL);
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->blogs = _tmp9_;
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->blogs_length1 = _tmp9__length1;
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->_blogs_size_ = self->priv->blogs_length1;
-#line 4640 "TumblrPublishing.c"
+#line 4660 "TumblrPublishing.c"
{
GtkBuilder* _tmp10_ = NULL;
GtkBuilder* _tmp11_ = NULL;
@@ -4693,162 +4713,162 @@ PublishingTumblrTumblrPublisherPublishingOptionsPane* publishing_tumblr_tumblr_p
SpitPublishingPublisherMediaType _tmp43_ = 0;
GtkButton* _tmp47_ = NULL;
GtkButton* _tmp48_ = NULL;
-#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 719 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp10_ = gtk_builder_new ();
-#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 719 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->builder);
-#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->builder = _tmp10_;
#line 719 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->builder = _tmp10_;
+#line 720 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp11_ = self->priv->builder;
-#line 719 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 720 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
gtk_builder_add_from_resource (_tmp11_, PLUGIN_RESOURCE_PATH "/tumblr_publishing_options_pane.ui", &_inner_error_);
-#line 719 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 720 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4691 "TumblrPublishing.c"
+#line 4711 "TumblrPublishing.c"
goto __catch37_g_error;
}
-#line 721 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 722 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp12_ = self->priv->builder;
-#line 721 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 722 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
gtk_builder_connect_signals (_tmp12_, NULL);
-#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp13_ = self->priv->builder;
-#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp14_ = gtk_builder_get_object (_tmp13_, "tumblr_pane");
-#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_box_get_type (), GtkBox));
-#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->pane_widget);
-#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->pane_widget = _tmp15_;
#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->pane_widget = _tmp15_;
+#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp16_ = self->priv->builder;
-#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp17_ = gtk_builder_get_object (_tmp16_, "upload_info_label");
-#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp18_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_label_get_type (), GtkLabel));
-#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->upload_info_label);
-#line 725 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->upload_info_label = _tmp18_;
#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->upload_info_label = _tmp18_;
+#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp19_ = self->priv->builder;
-#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp20_ = gtk_builder_get_object (_tmp19_, "logout_button");
-#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp21_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_button_get_type (), GtkButton));
-#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->logout_button);
-#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->logout_button = _tmp21_;
#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->logout_button = _tmp21_;
+#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp22_ = self->priv->builder;
-#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp23_ = gtk_builder_get_object (_tmp22_, "publish_button");
-#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_button_get_type (), GtkButton));
-#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->publish_button);
-#line 727 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->publish_button = _tmp24_;
#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->publish_button = _tmp24_;
+#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp25_ = self->priv->builder;
-#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp26_ = gtk_builder_get_object (_tmp25_, "size_combo");
-#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp27_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_combo_box_text_get_type (), GtkComboBoxText));
-#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->size_combo);
-#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->size_combo = _tmp27_;
#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->size_combo = _tmp27_;
+#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp28_ = self->priv->builder;
-#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp29_ = gtk_builder_get_object (_tmp28_, "size_label");
-#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp30_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_label_get_type (), GtkLabel));
-#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->size_label);
-#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->size_label = _tmp30_;
#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->size_label = _tmp30_;
+#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp31_ = self->priv->builder;
-#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp32_ = gtk_builder_get_object (_tmp31_, "blog_combo");
-#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp33_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_combo_box_text_get_type (), GtkComboBoxText));
-#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->blog_combo);
-#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->blog_combo = _tmp33_;
#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->blog_combo = _tmp33_;
+#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp34_ = self->priv->builder;
-#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp35_ = gtk_builder_get_object (_tmp34_, "blog_label");
-#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp36_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_label_get_type (), GtkLabel));
-#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->blog_label);
-#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->blog_label = _tmp36_;
-#line 734 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp37_ = _ ("You are logged into Tumblr as %s.\n\n");
-#line 734 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp38_ = self->priv->username;
-#line 734 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp39_ = g_strdup_printf (_tmp37_, _tmp38_);
-#line 734 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- upload_label_text = _tmp39_;
#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ upload_label_text = _tmp39_;
+#line 736 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp40_ = self->priv->upload_info_label;
-#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 736 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp41_ = upload_label_text;
-#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 736 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
gtk_label_set_label (_tmp40_, _tmp41_);
-#line 737 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_tumblr_tumblr_publisher_publishing_options_pane_populate_blog_combo (self);
#line 738 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ publishing_tumblr_tumblr_publisher_publishing_options_pane_populate_blog_combo (self);
+#line 739 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp42_ = self->priv->blog_combo;
-#line 738 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 739 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_on_blog_changed_gtk_combo_box_changed, self, 0);
-#line 740 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 741 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp43_ = media_type;
-#line 740 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 741 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp43_ != SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
-#line 4802 "TumblrPublishing.c"
+#line 4822 "TumblrPublishing.c"
GtkComboBoxText* _tmp44_ = NULL;
-#line 741 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_tumblr_tumblr_publisher_publishing_options_pane_populate_size_combo (self);
#line 742 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ publishing_tumblr_tumblr_publisher_publishing_options_pane_populate_size_combo (self);
+#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp44_ = self->priv->size_combo;
-#line 742 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_on_size_changed_gtk_combo_box_changed, self, 0);
-#line 4810 "TumblrPublishing.c"
+#line 4830 "TumblrPublishing.c"
} else {
GtkComboBoxText* _tmp45_ = NULL;
GtkLabel* _tmp46_ = NULL;
-#line 745 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp45_ = self->priv->size_combo;
-#line 745 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp46_ = self->priv->size_label;
-#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 4822 "TumblrPublishing.c"
+#line 4842 "TumblrPublishing.c"
}
-#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp47_ = self->priv->logout_button;
-#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_signal_connect_object (_tmp47_, "clicked", (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_on_logout_clicked_gtk_button_clicked, self, 0);
#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_signal_connect_object (_tmp47_, "clicked", (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_on_logout_clicked_gtk_button_clicked, self, 0);
+#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp48_ = self->priv->publish_button;
-#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_connect_object (_tmp48_, "clicked", (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_on_publish_clicked_gtk_button_clicked, self, 0);
-#line 717 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (upload_label_text);
-#line 4834 "TumblrPublishing.c"
+#line 4854 "TumblrPublishing.c"
}
goto __finally37;
__catch37_g_error:
@@ -4857,132 +4877,132 @@ PublishingTumblrTumblrPublisherPublishingOptionsPane* publishing_tumblr_tumblr_p
const gchar* _tmp49_ = NULL;
GError* _tmp50_ = NULL;
const gchar* _tmp51_ = NULL;
-#line 717 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
e = _inner_error_;
-#line 717 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_inner_error_ = NULL;
-#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp49_ = _ ("Could not load UI: %s");
-#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp50_ = e;
-#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp51_ = _tmp50_->message;
-#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_warning (_tmp49_, _tmp51_);
-#line 717 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_error_free0 (e);
-#line 4857 "TumblrPublishing.c"
+#line 4877 "TumblrPublishing.c"
}
__finally37:
-#line 717 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 717 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.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 717 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_clear_error (&_inner_error_);
-#line 717 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return NULL;
-#line 4868 "TumblrPublishing.c"
+#line 4888 "TumblrPublishing.c"
}
-#line 708 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 709 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self;
-#line 4872 "TumblrPublishing.c"
+#line 4892 "TumblrPublishing.c"
}
PublishingTumblrTumblrPublisherPublishingOptionsPane* publishing_tumblr_tumblr_publisher_publishing_options_pane_new (PublishingTumblrTumblrPublisher* publisher, SpitPublishingPublisherMediaType media_type, PublishingTumblrSizeEntry** sizes, int sizes_length1, PublishingTumblrBlogEntry** blogs, int blogs_length1, const gchar* username) {
-#line 708 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 709 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return publishing_tumblr_tumblr_publisher_publishing_options_pane_construct (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, publisher, media_type, sizes, sizes_length1, blogs, blogs_length1, username);
-#line 4879 "TumblrPublishing.c"
+#line 4899 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_publishing_options_pane_on_logout_clicked (PublishingTumblrTumblrPublisherPublishingOptionsPane* self) {
-#line 760 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
#line 761 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 762 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_emit_by_name (self, "logout");
-#line 4888 "TumblrPublishing.c"
+#line 4908 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_publishing_options_pane_on_publish_clicked (PublishingTumblrTumblrPublisherPublishingOptionsPane* self) {
-#line 764 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 765 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 767 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 768 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_emit_by_name (self, "publish");
-#line 4897 "TumblrPublishing.c"
+#line 4917 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_publishing_options_pane_populate_blog_combo (PublishingTumblrTumblrPublisherPublishingOptionsPane* self) {
PublishingTumblrBlogEntry** _tmp0_ = NULL;
gint _tmp0__length1 = 0;
-#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->blogs;
-#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0__length1 = self->priv->blogs_length1;
-#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp0_ != NULL) {
-#line 4912 "TumblrPublishing.c"
+#line 4932 "TumblrPublishing.c"
PublishingTumblrBlogEntry** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
GtkComboBoxText* _tmp6_ = NULL;
PublishingTumblrTumblrPublisher* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = self->priv->blogs;
-#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1__length1 = self->priv->blogs_length1;
-#line 4922 "TumblrPublishing.c"
+#line 4942 "TumblrPublishing.c"
{
PublishingTumblrBlogEntry** b_collection = NULL;
gint b_collection_length1 = 0;
gint _b_collection_size_ = 0;
gint b_it = 0;
-#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
b_collection = _tmp1_;
-#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
b_collection_length1 = _tmp1__length1;
-#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
for (b_it = 0; b_it < _tmp1__length1; b_it = b_it + 1) {
-#line 4934 "TumblrPublishing.c"
+#line 4954 "TumblrPublishing.c"
PublishingTumblrBlogEntry* _tmp2_ = NULL;
PublishingTumblrBlogEntry* b = NULL;
-#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = _publishing_tumblr_blog_entry_ref0 (b_collection[b_it]);
-#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
b = _tmp2_;
-#line 4941 "TumblrPublishing.c"
+#line 4961 "TumblrPublishing.c"
{
GtkComboBoxText* _tmp3_ = NULL;
PublishingTumblrBlogEntry* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
-#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = self->priv->blog_combo;
-#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = b;
-#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = _tmp4_->blog;
-#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
gtk_combo_box_text_append_text (_tmp3_, _tmp5_);
-#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_publishing_tumblr_blog_entry_unref0 (b);
-#line 4956 "TumblrPublishing.c"
+#line 4976 "TumblrPublishing.c"
}
}
}
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = self->priv->blog_combo;
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = self->priv->publisher;
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8_ = publishing_tumblr_tumblr_publisher_get_persistent_default_blog (_tmp7_);
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 776 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_combo_box_get_type (), GtkComboBox), _tmp8_);
-#line 4968 "TumblrPublishing.c"
+#line 4988 "TumblrPublishing.c"
}
}
@@ -4991,88 +5011,88 @@ static void publishing_tumblr_tumblr_publisher_publishing_options_pane_on_blog_c
PublishingTumblrTumblrPublisher* _tmp0_ = NULL;
GtkComboBoxText* _tmp1_ = NULL;
gint _tmp2_ = 0;
-#line 779 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->publisher;
-#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = self->priv->blog_combo;
-#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
-#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_set_persistent_default_blog (_tmp0_, _tmp2_);
-#line 4987 "TumblrPublishing.c"
+#line 5007 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_publishing_options_pane_populate_size_combo (PublishingTumblrTumblrPublisherPublishingOptionsPane* self) {
PublishingTumblrSizeEntry** _tmp0_ = NULL;
gint _tmp0__length1 = 0;
-#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
#line 784 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->sizes;
-#line 784 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0__length1 = self->priv->sizes_length1;
-#line 784 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp0_ != NULL) {
-#line 5002 "TumblrPublishing.c"
+#line 5022 "TumblrPublishing.c"
PublishingTumblrSizeEntry** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
GtkComboBoxText* _tmp6_ = NULL;
PublishingTumblrTumblrPublisher* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = self->priv->sizes;
-#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1__length1 = self->priv->sizes_length1;
-#line 5012 "TumblrPublishing.c"
+#line 5032 "TumblrPublishing.c"
{
PublishingTumblrSizeEntry** e_collection = NULL;
gint e_collection_length1 = 0;
gint _e_collection_size_ = 0;
gint e_it = 0;
-#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
e_collection = _tmp1_;
-#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
e_collection_length1 = _tmp1__length1;
-#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
for (e_it = 0; e_it < _tmp1__length1; e_it = e_it + 1) {
-#line 5024 "TumblrPublishing.c"
+#line 5044 "TumblrPublishing.c"
PublishingTumblrSizeEntry* _tmp2_ = NULL;
PublishingTumblrSizeEntry* e = NULL;
-#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = _publishing_tumblr_size_entry_ref0 (e_collection[e_it]);
-#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
e = _tmp2_;
-#line 5031 "TumblrPublishing.c"
+#line 5051 "TumblrPublishing.c"
{
GtkComboBoxText* _tmp3_ = NULL;
PublishingTumblrSizeEntry* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
-#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = self->priv->size_combo;
-#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = e;
-#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = _tmp4_->title;
-#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
gtk_combo_box_text_append_text (_tmp3_, _tmp5_);
-#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_publishing_tumblr_size_entry_unref0 (e);
-#line 5046 "TumblrPublishing.c"
+#line 5066 "TumblrPublishing.c"
}
}
}
-#line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 788 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = self->priv->size_combo;
-#line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 788 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = self->priv->publisher;
-#line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 788 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8_ = publishing_tumblr_tumblr_publisher_get_persistent_default_size (_tmp7_);
-#line 787 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 788 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_combo_box_get_type (), GtkComboBox), _tmp8_);
-#line 5058 "TumblrPublishing.c"
+#line 5078 "TumblrPublishing.c"
}
}
@@ -5081,35 +5101,35 @@ static void publishing_tumblr_tumblr_publisher_publishing_options_pane_on_size_c
PublishingTumblrTumblrPublisher* _tmp0_ = NULL;
GtkComboBoxText* _tmp1_ = NULL;
gint _tmp2_ = 0;
-#line 791 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
#line 792 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 793 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->publisher;
-#line 792 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 793 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = self->priv->size_combo;
-#line 792 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 793 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
-#line 792 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 793 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_set_persistent_default_size (_tmp0_, _tmp2_);
-#line 5077 "TumblrPublishing.c"
+#line 5097 "TumblrPublishing.c"
}
void publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_publish (PublishingTumblrTumblrPublisherPublishingOptionsPane* self) {
-#line 796 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
#line 797 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 798 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_emit_by_name (self, "publish");
-#line 5086 "TumblrPublishing.c"
+#line 5106 "TumblrPublishing.c"
}
void publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_logout (PublishingTumblrTumblrPublisherPublishingOptionsPane* self) {
-#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_emit_by_name (self, "logout");
-#line 5095 "TumblrPublishing.c"
+#line 5115 "TumblrPublishing.c"
}
@@ -5118,56 +5138,56 @@ static GtkWidget* publishing_tumblr_tumblr_publisher_publishing_options_pane_rea
GtkWidget* result = NULL;
GtkBox* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, PublishingTumblrTumblrPublisherPublishingOptionsPane);
#line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, PublishingTumblrTumblrPublisherPublishingOptionsPane);
+#line 806 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->pane_widget;
-#line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 806 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 806 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp1_;
-#line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 806 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 5114 "TumblrPublishing.c"
+#line 5134 "TumblrPublishing.c"
}
static SpitPublishingDialogPaneGeometryOptions publishing_tumblr_tumblr_publisher_publishing_options_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) {
PublishingTumblrTumblrPublisherPublishingOptionsPane * self;
SpitPublishingDialogPaneGeometryOptions result = 0;
-#line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, PublishingTumblrTumblrPublisherPublishingOptionsPane);
#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, PublishingTumblrTumblrPublisherPublishingOptionsPane);
+#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 5127 "TumblrPublishing.c"
+#line 5147 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_publish_publishing_tumblr_tumblr_publisher_publishing_options_pane_publish (PublishingTumblrTumblrPublisherPublishingOptionsPane* _sender, gpointer self) {
-#line 813 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_publish ((PublishingTumblrTumblrPublisherPublishingOptionsPane*) self);
-#line 5134 "TumblrPublishing.c"
+#line 5154 "TumblrPublishing.c"
}
static void _publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_logout_publishing_tumblr_tumblr_publisher_publishing_options_pane_logout (PublishingTumblrTumblrPublisherPublishingOptionsPane* _sender, gpointer self) {
-#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_logout ((PublishingTumblrTumblrPublisherPublishingOptionsPane*) self);
-#line 5141 "TumblrPublishing.c"
+#line 5161 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_publishing_options_pane_real_on_pane_installed (SpitPublishingDialogPane* base) {
PublishingTumblrTumblrPublisherPublishingOptionsPane * self;
-#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, PublishingTumblrTumblrPublisherPublishingOptionsPane);
#line 813 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_signal_connect_object (self, "publish", (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_publish_publishing_tumblr_tumblr_publisher_publishing_options_pane_publish, self, 0);
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, PublishingTumblrTumblrPublisherPublishingOptionsPane);
#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_signal_connect_object (self, "publish", (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_publish_publishing_tumblr_tumblr_publisher_publishing_options_pane_publish, self, 0);
+#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_connect_object (self, "logout", (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_logout_publishing_tumblr_tumblr_publisher_publishing_options_pane_logout, self, 0);
-#line 5153 "TumblrPublishing.c"
+#line 5173 "TumblrPublishing.c"
}
@@ -5175,125 +5195,125 @@ static void publishing_tumblr_tumblr_publisher_publishing_options_pane_real_on_p
PublishingTumblrTumblrPublisherPublishingOptionsPane * self;
guint _tmp0_ = 0U;
guint _tmp1_ = 0U;
-#line 817 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, PublishingTumblrTumblrPublisherPublishingOptionsPane);
#line 818 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, PublishingTumblrTumblrPublisherPublishingOptionsPane);
+#line 819 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_parse_name ("publish", PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp0_, NULL, FALSE);
-#line 818 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp0_, 0, NULL, (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_publish_publishing_tumblr_tumblr_publisher_publishing_options_pane_publish, self);
#line 819 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp0_, 0, NULL, (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_publish_publishing_tumblr_tumblr_publisher_publishing_options_pane_publish, self);
+#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_parse_name ("logout", PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp1_, NULL, FALSE);
-#line 819 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_tumblr_tumblr_publisher_publishing_options_pane_notify_logout_publishing_tumblr_tumblr_publisher_publishing_options_pane_logout, self);
-#line 5171 "TumblrPublishing.c"
+#line 5191 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_publishing_options_pane_class_init (PublishingTumblrTumblrPublisherPublishingOptionsPaneClass * klass) {
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_publishing_options_pane_parent_class = g_type_class_peek_parent (klass);
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingTumblrTumblrPublisherPublishingOptionsPanePrivate));
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_tumblr_tumblr_publisher_publishing_options_pane_finalize;
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_new ("publish", PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_new ("logout", PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 5186 "TumblrPublishing.c"
+#line 5206 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_publishing_options_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) {
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface);
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_tumblr_tumblr_publisher_publishing_options_pane_real_get_widget;
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_tumblr_tumblr_publisher_publishing_options_pane_real_get_preferred_geometry;
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_tumblr_tumblr_publisher_publishing_options_pane_real_on_pane_installed;
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_tumblr_tumblr_publisher_publishing_options_pane_real_on_pane_uninstalled;
-#line 5201 "TumblrPublishing.c"
+#line 5221 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_publishing_options_pane_instance_init (PublishingTumblrTumblrPublisherPublishingOptionsPane * self) {
gchar* _tmp0_ = NULL;
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv = PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_PUBLISHING_OPTIONS_PANE_GET_PRIVATE (self);
-#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->pane_widget = NULL;
#line 692 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->upload_info_label = NULL;
+ self->priv->pane_widget = NULL;
#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->size_label = NULL;
+ self->priv->upload_info_label = NULL;
#line 694 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->blog_label = NULL;
+ self->priv->size_label = NULL;
#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->logout_button = NULL;
+ self->priv->blog_label = NULL;
#line 696 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->publish_button = NULL;
+ self->priv->logout_button = NULL;
#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->size_combo = NULL;
+ self->priv->publish_button = NULL;
#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->blog_combo = NULL;
+ self->priv->size_combo = NULL;
#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->blog_combo = NULL;
+#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->sizes = NULL;
-#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->sizes_length1 = 0;
-#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->_sizes_size_ = self->priv->sizes_length1;
#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->_sizes_size_ = self->priv->sizes_length1;
+#line 701 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->blogs = NULL;
-#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 701 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->blogs_length1 = 0;
-#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->_blogs_size_ = self->priv->blogs_length1;
#line 701 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->_blogs_size_ = self->priv->blogs_length1;
+#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = g_strdup ("");
-#line 701 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->username = _tmp0_;
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->username = _tmp0_;
+#line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->publisher = NULL;
-#line 5243 "TumblrPublishing.c"
+#line 5263 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_publishing_options_pane_finalize (GObject* obj) {
PublishingTumblrTumblrPublisherPublishingOptionsPane * self;
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_PUBLISHING_OPTIONS_PANE, PublishingTumblrTumblrPublisherPublishingOptionsPane);
-#line 690 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (self->priv->builder);
#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (self->priv->pane_widget);
+ _g_object_unref0 (self->priv->builder);
#line 692 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (self->priv->upload_info_label);
+ _g_object_unref0 (self->priv->pane_widget);
#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (self->priv->size_label);
+ _g_object_unref0 (self->priv->upload_info_label);
#line 694 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (self->priv->blog_label);
+ _g_object_unref0 (self->priv->size_label);
#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (self->priv->logout_button);
+ _g_object_unref0 (self->priv->blog_label);
#line 696 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (self->priv->publish_button);
+ _g_object_unref0 (self->priv->logout_button);
#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (self->priv->size_combo);
+ _g_object_unref0 (self->priv->publish_button);
#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_object_unref0 (self->priv->blog_combo);
+ _g_object_unref0 (self->priv->size_combo);
#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->sizes = (_vala_array_free (self->priv->sizes, self->priv->sizes_length1, (GDestroyNotify) publishing_tumblr_size_entry_unref), NULL);
+ _g_object_unref0 (self->priv->blog_combo);
#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->blogs = (_vala_array_free (self->priv->blogs, self->priv->blogs_length1, (GDestroyNotify) publishing_tumblr_blog_entry_unref), NULL);
+ self->priv->sizes = (_vala_array_free (self->priv->sizes, self->priv->sizes_length1, (GDestroyNotify) publishing_tumblr_size_entry_unref), NULL);
#line 701 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (self->priv->username);
+ self->priv->blogs = (_vala_array_free (self->priv->blogs, self->priv->blogs_length1, (GDestroyNotify) publishing_tumblr_blog_entry_unref), NULL);
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_free0 (self->priv->username);
+#line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (self->priv->publisher);
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
G_OBJECT_CLASS (publishing_tumblr_tumblr_publisher_publishing_options_pane_parent_class)->finalize (obj);
-#line 5279 "TumblrPublishing.c"
+#line 5299 "TumblrPublishing.c"
}
@@ -5318,24 +5338,24 @@ PublishingTumblrTumblrPublisherTransaction* publishing_tumblr_tumblr_publisher_t
PublishingTumblrTumblrPublisherTransaction* self = NULL;
PublishingTumblrTumblrPublisherSession* _tmp0_ = NULL;
PublishingRESTSupportHttpMethod _tmp1_ = 0;
-#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (session), NULL);
-#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = session;
-#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = method;
-#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = (PublishingTumblrTumblrPublisherTransaction*) publishing_rest_support_transaction_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_);
-#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self;
-#line 5314 "TumblrPublishing.c"
+#line 5334 "TumblrPublishing.c"
}
PublishingTumblrTumblrPublisherTransaction* publishing_tumblr_tumblr_publisher_transaction_new (PublishingTumblrTumblrPublisherSession* session, PublishingRESTSupportHttpMethod method) {
-#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return publishing_tumblr_tumblr_publisher_transaction_construct (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_TRANSACTION, session, method);
-#line 5321 "TumblrPublishing.c"
+#line 5341 "TumblrPublishing.c"
}
@@ -5354,82 +5374,82 @@ PublishingTumblrTumblrPublisherTransaction* publishing_tumblr_tumblr_publisher_t
gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
-#line 832 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 833 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (session), NULL);
-#line 832 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 833 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (uri != NULL, NULL);
-#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = session;
-#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = uri;
-#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = method;
-#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = (PublishingTumblrTumblrPublisherTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp2_);
-#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = session;
-#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = publishing_tumblr_tumblr_publisher_session_get_oauth_nonce (_tmp3_);
-#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = _tmp4_;
-#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_nonce", _tmp5_);
-#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp5_);
#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_signature_method", "HMAC-SHA1");
+ _g_free0 (_tmp5_);
#line 838 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_version", "1.0");
+ publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_signature_method", "HMAC-SHA1");
#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_version", "1.0");
+#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = session;
-#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = publishing_tumblr_tumblr_publisher_session_get_oauth_timestamp (_tmp6_);
-#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8_ = _tmp7_;
-#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_timestamp", _tmp8_);
-#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp8_);
#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_consumer_key", PUBLISHING_TUMBLR_API_KEY);
+ _g_free0 (_tmp8_);
#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_consumer_key", PUBLISHING_TUMBLR_API_KEY);
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp9_ = session;
-#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp10_ = publishing_tumblr_tumblr_publisher_session_get_access_phase_token (_tmp9_);
-#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp11_ = _tmp10_;
-#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp12_ = _tmp11_ != NULL;
-#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp11_);
-#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp12_) {
-#line 5390 "TumblrPublishing.c"
+#line 5410 "TumblrPublishing.c"
PublishingTumblrTumblrPublisherSession* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
-#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp13_ = session;
-#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp14_ = publishing_tumblr_tumblr_publisher_session_get_access_phase_token (_tmp13_);
-#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp15_ = _tmp14_;
-#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "oauth_token", _tmp15_);
-#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp15_);
-#line 5404 "TumblrPublishing.c"
+#line 5424 "TumblrPublishing.c"
}
-#line 832 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 833 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self;
-#line 5408 "TumblrPublishing.c"
+#line 5428 "TumblrPublishing.c"
}
PublishingTumblrTumblrPublisherTransaction* publishing_tumblr_tumblr_publisher_transaction_new_with_uri (PublishingTumblrTumblrPublisherSession* session, const gchar* uri, PublishingRESTSupportHttpMethod method) {
-#line 832 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 833 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return publishing_tumblr_tumblr_publisher_transaction_construct_with_uri (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_TRANSACTION, session, uri, method);
-#line 5415 "TumblrPublishing.c"
+#line 5435 "TumblrPublishing.c"
}
@@ -5438,46 +5458,46 @@ static void publishing_tumblr_tumblr_publisher_transaction_real_execute (Publish
PublishingRESTSupportSession* _tmp0_ = NULL;
PublishingTumblrTumblrPublisherSession* _tmp1_ = NULL;
GError * _inner_error_ = NULL;
-#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_TRANSACTION, PublishingTumblrTumblrPublisherTransaction);
#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_TRANSACTION, PublishingTumblrTumblrPublisherTransaction);
+#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = publishing_rest_support_transaction_get_parent_session (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
-#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_SESSION, PublishingTumblrTumblrPublisherSession);
-#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_session_sign_transaction (_tmp1_, G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
-#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_publishing_rest_support_session_unref0 (_tmp1_);
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_tumblr_tumblr_publisher_transaction_parent_class)->execute (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_propagate_error (error, _inner_error_);
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 5444 "TumblrPublishing.c"
+#line 5464 "TumblrPublishing.c"
} else {
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.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 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_clear_error (&_inner_error_);
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 5452 "TumblrPublishing.c"
+#line 5472 "TumblrPublishing.c"
}
}
}
static void publishing_tumblr_tumblr_publisher_transaction_class_init (PublishingTumblrTumblrPublisherTransactionClass * klass) {
-#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
((PublishingRESTSupportTransactionClass *) klass)->execute = publishing_tumblr_tumblr_publisher_transaction_real_execute;
-#line 5463 "TumblrPublishing.c"
+#line 5483 "TumblrPublishing.c"
}
@@ -5504,49 +5524,49 @@ PublishingTumblrTumblrPublisherAccessTokenFetchTransaction* publishing_tumblr_tu
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 857 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (session), NULL);
-#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 857 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (username != NULL, NULL);
-#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (password != NULL, NULL);
#line 857 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (password != NULL, NULL);
+#line 858 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = session;
-#line 857 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 858 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = (PublishingTumblrTumblrPublisherAccessTokenFetchTransaction*) publishing_tumblr_tumblr_publisher_transaction_construct_with_uri (object_type, _tmp0_, "https://www.tumblr.com/oauth/access_token", PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
-#line 859 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = username;
-#line 859 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = soup_uri_encode (_tmp1_, PUBLISHING_TUMBLR_ENCODE_RFC_3986_EXTRA);
-#line 859 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = _tmp2_;
-#line 859 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "x_auth_username", _tmp3_);
-#line 859 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp3_);
#line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_free0 (_tmp3_);
+#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = password;
-#line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "x_auth_password", _tmp4_);
#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "x_auth_password", _tmp4_);
+#line 862 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "x_auth_mode", "client_auth");
-#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 857 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self;
-#line 5518 "TumblrPublishing.c"
+#line 5538 "TumblrPublishing.c"
}
PublishingTumblrTumblrPublisherAccessTokenFetchTransaction* publishing_tumblr_tumblr_publisher_access_token_fetch_transaction_new (PublishingTumblrTumblrPublisherSession* session, const gchar* username, const gchar* password) {
-#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 857 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return publishing_tumblr_tumblr_publisher_access_token_fetch_transaction_construct (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_ACCESS_TOKEN_FETCH_TRANSACTION, session, username, password);
-#line 5525 "TumblrPublishing.c"
+#line 5545 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_access_token_fetch_transaction_class_init (PublishingTumblrTumblrPublisherAccessTokenFetchTransactionClass * klass) {
-#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_access_token_fetch_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 5532 "TumblrPublishing.c"
+#line 5552 "TumblrPublishing.c"
}
@@ -5569,29 +5589,29 @@ GType publishing_tumblr_tumblr_publisher_access_token_fetch_transaction_get_type
PublishingTumblrTumblrPublisherUserInfoFetchTransaction* publishing_tumblr_tumblr_publisher_user_info_fetch_transaction_construct (GType object_type, PublishingTumblrTumblrPublisherSession* session) {
PublishingTumblrTumblrPublisherUserInfoFetchTransaction* self = NULL;
PublishingTumblrTumblrPublisherSession* _tmp0_ = NULL;
-#line 866 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (session), NULL);
#line 867 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (session), NULL);
+#line 868 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = session;
-#line 867 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 868 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = (PublishingTumblrTumblrPublisherUserInfoFetchTransaction*) publishing_tumblr_tumblr_publisher_transaction_construct_with_uri (object_type, _tmp0_, "http://api.tumblr.com/v2/user/info", PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
-#line 866 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 867 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self;
-#line 5563 "TumblrPublishing.c"
+#line 5583 "TumblrPublishing.c"
}
PublishingTumblrTumblrPublisherUserInfoFetchTransaction* publishing_tumblr_tumblr_publisher_user_info_fetch_transaction_new (PublishingTumblrTumblrPublisherSession* session) {
-#line 866 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 867 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return publishing_tumblr_tumblr_publisher_user_info_fetch_transaction_construct (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_USER_INFO_FETCH_TRANSACTION, session);
-#line 5570 "TumblrPublishing.c"
+#line 5590 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_user_info_fetch_transaction_class_init (PublishingTumblrTumblrPublisherUserInfoFetchTransactionClass * klass) {
-#line 865 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 866 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_user_info_fetch_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 5577 "TumblrPublishing.c"
+#line 5597 "TumblrPublishing.c"
}
@@ -5627,62 +5647,62 @@ static gchar* publishing_tumblr_tumblr_publisher_upload_transaction_encode (Publ
GString* _tmp14_ = NULL;
const gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
-#line 879 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_UPLOAD_TRANSACTION (self), NULL);
#line 880 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_UPLOAD_TRANSACTION (self), NULL);
+#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = g_string_new ("");
-#line 880 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- s = _tmp0_;
#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ s = _tmp0_;
+#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = g_new0 (gchar, 2);
-#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
bytes = _tmp1_;
-#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
bytes_length1 = 2;
-#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _bytes_size_ = bytes_length1;
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _bytes_size_ = bytes_length1;
+#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = bytes;
-#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2__length1 = bytes_length1;
-#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_[1] = (gchar) 0;
-#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp3_ = _tmp2_[1];
#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp3_ = _tmp2_[1];
+#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = data;
-#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4__length1 = data_length1;
-#line 5639 "TumblrPublishing.c"
+#line 5659 "TumblrPublishing.c"
{
guint8* byte_collection = NULL;
gint byte_collection_length1 = 0;
gint _byte_collection_size_ = 0;
gint byte_it = 0;
-#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
byte_collection = _tmp4_;
-#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
byte_collection_length1 = _tmp4__length1;
-#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
for (byte_it = 0; byte_it < _tmp4__length1; byte_it = byte_it + 1) {
-#line 5651 "TumblrPublishing.c"
+#line 5671 "TumblrPublishing.c"
guint8 byte = 0U;
-#line 883 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
byte = byte_collection[byte_it];
-#line 5655 "TumblrPublishing.c"
+#line 5675 "TumblrPublishing.c"
{
guint8 _tmp5_ = 0U;
-#line 885 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = byte;
-#line 885 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (((gint) _tmp5_) == 0) {
-#line 5662 "TumblrPublishing.c"
+#line 5682 "TumblrPublishing.c"
GString* _tmp6_ = NULL;
-#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = s;
-#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_string_append (_tmp6_, "%00");
-#line 5668 "TumblrPublishing.c"
+#line 5688 "TumblrPublishing.c"
} else {
gchar* _tmp7_ = NULL;
gint _tmp7__length1 = 0;
@@ -5693,57 +5713,57 @@ static gchar* publishing_tumblr_tumblr_publisher_upload_transaction_encode (Publ
gint _tmp11__length1 = 0;
gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
-#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = bytes;
-#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7__length1 = bytes_length1;
-#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8_ = byte;
-#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_[0] = (gchar) _tmp8_;
-#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _tmp9_ = _tmp7_[0];
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _tmp9_ = _tmp7_[0];
+#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp10_ = s;
-#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp11_ = bytes;
-#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp11__length1 = bytes_length1;
-#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp12_ = soup_uri_encode ((const gchar*) _tmp11_, PUBLISHING_TUMBLR_ENCODE_RFC_3986_EXTRA);
-#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp13_ = _tmp12_;
-#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_string_append (_tmp10_, _tmp13_);
-#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp13_);
-#line 5703 "TumblrPublishing.c"
+#line 5723 "TumblrPublishing.c"
}
}
}
}
-#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 893 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp14_ = s;
-#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 893 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp15_ = _tmp14_->str;
-#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 893 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp16_ = g_strdup (_tmp15_);
-#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 893 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp16_;
-#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 893 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
bytes = (g_free (bytes), NULL);
-#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 893 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_string_free0 (s);
-#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 893 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 5722 "TumblrPublishing.c"
+#line 5742 "TumblrPublishing.c"
}
static gpointer _publishing_rest_support_session_ref0 (gpointer self) {
-#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self ? publishing_rest_support_session_ref (self) : NULL;
-#line 5729 "TumblrPublishing.c"
+#line 5749 "TumblrPublishing.c"
}
@@ -5756,63 +5776,63 @@ PublishingTumblrTumblrPublisherUploadTransaction* publishing_tumblr_tumblr_publi
gchar* _tmp4_ = NULL;
PublishingTumblrTumblrPublisherSession* _tmp5_ = NULL;
PublishingTumblrTumblrPublisherSession* _tmp6_ = NULL;
-#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (session), NULL);
-#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL);
-#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (blog_url != NULL, NULL);
#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:897: Init upload transaction");
+ g_return_val_if_fail (blog_url != NULL, NULL);
#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:898: Init upload transaction");
+#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = session;
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = publishable;
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = blog_url;
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = g_strdup_printf ("http://api.tumblr.com/v2/blog/%s/post", _tmp2_);
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = _tmp3_;
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = (PublishingTumblrTumblrPublisherUploadTransaction*) publishing_rest_support_upload_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp4_);
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp4_);
#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_free0 (_tmp4_);
+#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = session;
-#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = _publishing_rest_support_session_ref0 (_tmp5_);
-#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_publishing_rest_support_session_unref0 (self->priv->session);
-#line 899 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->session = _tmp6_;
-#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self;
-#line 5774 "TumblrPublishing.c"
+#line 5794 "TumblrPublishing.c"
}
PublishingTumblrTumblrPublisherUploadTransaction* publishing_tumblr_tumblr_publisher_upload_transaction_new (PublishingTumblrTumblrPublisherSession* session, SpitPublishingPublishable* publishable, const gchar* blog_url) {
-#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return publishing_tumblr_tumblr_publisher_upload_transaction_construct (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOAD_TRANSACTION, session, publishable, blog_url);
-#line 5781 "TumblrPublishing.c"
+#line 5801 "TumblrPublishing.c"
}
static void _vala_array_add22 (PublishingRESTSupportArgument*** array, int* length, int* size, PublishingRESTSupportArgument* value) {
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if ((*length) == (*size)) {
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
*array = g_renew (PublishingRESTSupportArgument*, *array, (*size) + 1);
-#line 5792 "TumblrPublishing.c"
+#line 5812 "TumblrPublishing.c"
}
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
(*array)[(*length)++] = value;
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
(*array)[*length] = NULL;
-#line 5798 "TumblrPublishing.c"
+#line 5818 "TumblrPublishing.c"
}
@@ -5822,53 +5842,53 @@ void publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_hea
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
PublishingRESTSupportArgument* _tmp3_ = NULL;
-#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_UPLOAD_TRANSACTION (self));
-#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_if_fail (key != NULL);
-#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (value != NULL);
#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (value != NULL);
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->auth_header_fields;
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0__length1 = self->priv->auth_header_fields_length1;
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = key;
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = value;
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = publishing_rest_support_argument_new (_tmp1_, _tmp2_);
-#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_vala_array_add22 (&self->priv->auth_header_fields, &self->priv->auth_header_fields_length1, &self->priv->_auth_header_fields_size_, _tmp3_);
-#line 5826 "TumblrPublishing.c"
+#line 5846 "TumblrPublishing.c"
}
static gpointer _publishing_rest_support_argument_ref0 (gpointer self) {
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self ? publishing_rest_support_argument_ref (self) : NULL;
-#line 5833 "TumblrPublishing.c"
+#line 5853 "TumblrPublishing.c"
}
static PublishingRESTSupportArgument** _vala_array_dup9 (PublishingRESTSupportArgument** self, int length) {
PublishingRESTSupportArgument** result;
int i;
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = g_new0 (PublishingRESTSupportArgument*, length + 1);
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
for (i = 0; i < length; i++) {
-#line 5844 "TumblrPublishing.c"
+#line 5864 "TumblrPublishing.c"
PublishingRESTSupportArgument* _tmp0_ = NULL;
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = _publishing_rest_support_argument_ref0 (self[i]);
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result[i] = _tmp0_;
-#line 5850 "TumblrPublishing.c"
+#line 5870 "TumblrPublishing.c"
}
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 5854 "TumblrPublishing.c"
+#line 5874 "TumblrPublishing.c"
}
@@ -5880,31 +5900,31 @@ PublishingRESTSupportArgument** publishing_tumblr_tumblr_publisher_upload_transa
gint _tmp1__length1 = 0;
PublishingRESTSupportArgument** _tmp2_ = NULL;
gint _tmp2__length1 = 0;
-#line 909 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_UPLOAD_TRANSACTION (self), NULL);
#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_UPLOAD_TRANSACTION (self), NULL);
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->auth_header_fields;
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0__length1 = self->priv->auth_header_fields_length1;
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup9 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1__length1 = _tmp0__length1;
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = _tmp1_;
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2__length1 = _tmp1__length1;
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (result_length1) {
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
*result_length1 = _tmp2__length1;
-#line 5884 "TumblrPublishing.c"
+#line 5904 "TumblrPublishing.c"
}
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp2_;
-#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 5890 "TumblrPublishing.c"
+#line 5910 "TumblrPublishing.c"
}
@@ -5912,25 +5932,25 @@ gchar* publishing_tumblr_tumblr_publisher_upload_transaction_get_authorization_h
gchar* result = NULL;
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
-#line 913 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_UPLOAD_TRANSACTION (self), NULL);
#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_UPLOAD_TRANSACTION (self), NULL);
+#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = g_strdup ("OAuth ");
-#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_result_ = _tmp0_;
-#line 5904 "TumblrPublishing.c"
+#line 5924 "TumblrPublishing.c"
{
gint i = 0;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
i = 0;
-#line 5909 "TumblrPublishing.c"
+#line 5929 "TumblrPublishing.c"
{
gboolean _tmp1_ = FALSE;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = TRUE;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
while (TRUE) {
-#line 5916 "TumblrPublishing.c"
+#line 5936 "TumblrPublishing.c"
gint _tmp3_ = 0;
PublishingRESTSupportArgument** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
@@ -5957,115 +5977,115 @@ gchar* publishing_tumblr_tumblr_publisher_upload_transaction_get_authorization_h
gint _tmp23_ = 0;
PublishingRESTSupportArgument** _tmp24_ = NULL;
gint _tmp24__length1 = 0;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (!_tmp1_) {
-#line 5945 "TumblrPublishing.c"
+#line 5965 "TumblrPublishing.c"
gint _tmp2_ = 0;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = i;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
i = _tmp2_ + 1;
-#line 5951 "TumblrPublishing.c"
+#line 5971 "TumblrPublishing.c"
}
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = FALSE;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = i;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = self->priv->auth_header_fields;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4__length1 = self->priv->auth_header_fields_length1;
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (!(_tmp3_ < _tmp4__length1)) {
-#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
break;
-#line 5965 "TumblrPublishing.c"
+#line 5985 "TumblrPublishing.c"
}
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = _result_;
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = self->priv->auth_header_fields;
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6__length1 = self->priv->auth_header_fields_length1;
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = i;
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8_ = _tmp6_[_tmp7_];
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp9_ = _tmp8_->key;
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp10_ = g_strconcat (_tmp5_, _tmp9_, NULL);
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_result_);
-#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _result_ = _tmp10_;
#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _result_ = _tmp10_;
+#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp11_ = _result_;
-#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp12_ = g_strconcat (_tmp11_, "=", NULL);
-#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_result_);
-#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _result_ = _tmp12_;
#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _result_ = _tmp12_;
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp13_ = _result_;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp14_ = self->priv->auth_header_fields;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp14__length1 = self->priv->auth_header_fields_length1;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp15_ = i;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp16_ = _tmp14_[_tmp15_];
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp17_ = _tmp16_->value;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp18_ = g_strconcat ("\"", _tmp17_, NULL);
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp19_ = _tmp18_;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp20_ = g_strconcat (_tmp19_, "\"", NULL);
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp21_ = _tmp20_;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp22_ = g_strconcat (_tmp13_, _tmp21_, NULL);
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_result_);
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_result_ = _tmp22_;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp21_);
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp19_);
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp23_ = i;
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp24_ = self->priv->auth_header_fields;
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp24__length1 = self->priv->auth_header_fields_length1;
-#line 921 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp23_ < (_tmp24__length1 - 1)) {
-#line 6031 "TumblrPublishing.c"
+#line 6051 "TumblrPublishing.c"
const gchar* _tmp25_ = NULL;
gchar* _tmp26_ = NULL;
-#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp25_ = _result_;
-#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp26_ = g_strconcat (_tmp25_, ", ", NULL);
-#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_result_);
-#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_result_ = _tmp26_;
-#line 6042 "TumblrPublishing.c"
+#line 6062 "TumblrPublishing.c"
}
}
}
}
-#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _result_;
-#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 6051 "TumblrPublishing.c"
+#line 6071 "TumblrPublishing.c"
}
@@ -6109,13 +6129,13 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
if (result_length1) {
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
-#line 6095 "TumblrPublishing.c"
+#line 6115 "TumblrPublishing.c"
}
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp4_;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 6101 "TumblrPublishing.c"
+#line 6121 "TumblrPublishing.c"
}
@@ -6132,7 +6152,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
if (_tmp0_ == NULL) {
#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
separator = "";
-#line 6118 "TumblrPublishing.c"
+#line 6138 "TumblrPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
@@ -6142,7 +6162,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
if (_tmp3_ != NULL) {
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
-#line 6128 "TumblrPublishing.c"
+#line 6148 "TumblrPublishing.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
@@ -6152,13 +6172,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp4__length1 = str_array_length1;
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
-#line 6138 "TumblrPublishing.c"
+#line 6158 "TumblrPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp2_) {
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
-#line 6144 "TumblrPublishing.c"
+#line 6164 "TumblrPublishing.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
@@ -6169,7 +6189,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp6__length1 = str_array_length1;
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
-#line 6155 "TumblrPublishing.c"
+#line 6175 "TumblrPublishing.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
@@ -6181,19 +6201,19 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp8_ = _tmp7_[0];
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
-#line 6167 "TumblrPublishing.c"
+#line 6187 "TumblrPublishing.c"
} else {
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
-#line 6171 "TumblrPublishing.c"
+#line 6191 "TumblrPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
-#line 6175 "TumblrPublishing.c"
+#line 6195 "TumblrPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp1_) {
-#line 6179 "TumblrPublishing.c"
+#line 6199 "TumblrPublishing.c"
gint i = 0;
gsize len = 0UL;
gint _tmp31_ = 0;
@@ -6216,7 +6236,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp62_ = NULL;
#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = (gsize) 1;
-#line 6202 "TumblrPublishing.c"
+#line 6222 "TumblrPublishing.c"
{
gboolean _tmp9_ = FALSE;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -6225,7 +6245,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp9_ = TRUE;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
while (TRUE) {
-#line 6211 "TumblrPublishing.c"
+#line 6231 "TumblrPublishing.c"
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
gchar** _tmp13_ = NULL;
@@ -6238,13 +6258,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gsize _tmp30_ = 0UL;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp9_) {
-#line 6224 "TumblrPublishing.c"
+#line 6244 "TumblrPublishing.c"
gint _tmp10_ = 0;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp10_ = i;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
-#line 6230 "TumblrPublishing.c"
+#line 6250 "TumblrPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
@@ -6254,7 +6274,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp13__length1 = str_array_length1;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
-#line 6240 "TumblrPublishing.c"
+#line 6260 "TumblrPublishing.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
@@ -6266,17 +6286,17 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp15__length1 = str_array_length1;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
-#line 6252 "TumblrPublishing.c"
+#line 6272 "TumblrPublishing.c"
} else {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
-#line 6256 "TumblrPublishing.c"
+#line 6276 "TumblrPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp12_) {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
-#line 6262 "TumblrPublishing.c"
+#line 6282 "TumblrPublishing.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
@@ -6287,7 +6307,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp17__length1 = str_array_length1;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
-#line 6273 "TumblrPublishing.c"
+#line 6293 "TumblrPublishing.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
@@ -6302,21 +6322,21 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp20_ = _tmp18_[_tmp19_];
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
-#line 6288 "TumblrPublishing.c"
+#line 6308 "TumblrPublishing.c"
} else {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
-#line 6292 "TumblrPublishing.c"
+#line 6312 "TumblrPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
-#line 6296 "TumblrPublishing.c"
+#line 6316 "TumblrPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp11_) {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
break;
-#line 6302 "TumblrPublishing.c"
+#line 6322 "TumblrPublishing.c"
}
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
@@ -6328,7 +6348,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp24_ = _tmp22_[_tmp23_];
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
-#line 6314 "TumblrPublishing.c"
+#line 6334 "TumblrPublishing.c"
gchar** _tmp25_ = NULL;
gint _tmp25__length1 = 0;
gint _tmp26_ = 0;
@@ -6349,24 +6369,24 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp29_ = _tmp28_;
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
-#line 6335 "TumblrPublishing.c"
+#line 6355 "TumblrPublishing.c"
} else {
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp21_ = 0;
-#line 6339 "TumblrPublishing.c"
+#line 6359 "TumblrPublishing.c"
}
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp30_ = len;
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
-#line 6345 "TumblrPublishing.c"
+#line 6365 "TumblrPublishing.c"
}
}
#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp31_ = i;
#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
-#line 6352 "TumblrPublishing.c"
+#line 6372 "TumblrPublishing.c"
gchar* _tmp32_ = NULL;
#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
@@ -6374,7 +6394,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
result = _tmp32_;
#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 6360 "TumblrPublishing.c"
+#line 6380 "TumblrPublishing.c"
}
#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp33_ = i;
@@ -6412,7 +6432,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
ptr = _tmp45_;
-#line 6398 "TumblrPublishing.c"
+#line 6418 "TumblrPublishing.c"
{
gboolean _tmp46_ = FALSE;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -6421,7 +6441,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp46_ = TRUE;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
while (TRUE) {
-#line 6407 "TumblrPublishing.c"
+#line 6427 "TumblrPublishing.c"
gint _tmp48_ = 0;
gchar** _tmp49_ = NULL;
gint _tmp49__length1 = 0;
@@ -6437,13 +6457,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
void* _tmp61_ = NULL;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp46_) {
-#line 6423 "TumblrPublishing.c"
+#line 6443 "TumblrPublishing.c"
gint _tmp47_ = 0;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp47_ = i;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
-#line 6429 "TumblrPublishing.c"
+#line 6449 "TumblrPublishing.c"
}
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
@@ -6457,7 +6477,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
if (!(_tmp48_ < _tmp49__length1)) {
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
break;
-#line 6443 "TumblrPublishing.c"
+#line 6463 "TumblrPublishing.c"
}
#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
@@ -6477,7 +6497,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp56_ = _tmp54_[_tmp55_];
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
-#line 6463 "TumblrPublishing.c"
+#line 6483 "TumblrPublishing.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
@@ -6492,11 +6512,11 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp59_ = _tmp57_[_tmp58_];
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
-#line 6478 "TumblrPublishing.c"
+#line 6498 "TumblrPublishing.c"
} else {
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp53_ = "";
-#line 6482 "TumblrPublishing.c"
+#line 6502 "TumblrPublishing.c"
}
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
@@ -6504,7 +6524,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
ptr = _tmp61_;
-#line 6490 "TumblrPublishing.c"
+#line 6510 "TumblrPublishing.c"
}
}
#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -6515,7 +6535,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
result = (gchar*) _tmp62_;
#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 6501 "TumblrPublishing.c"
+#line 6521 "TumblrPublishing.c"
} else {
gchar* _tmp63_ = NULL;
#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -6524,7 +6544,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
result = _tmp63_;
#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 6510 "TumblrPublishing.c"
+#line 6530 "TumblrPublishing.c"
}
}
@@ -6575,45 +6595,45 @@ static void publishing_tumblr_tumblr_publisher_upload_transaction_real_execute (
gboolean _tmp75_ = FALSE;
SoupMessage* _tmp87_ = NULL;
GError * _inner_error_ = NULL;
-#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOAD_TRANSACTION, PublishingTumblrTumblrPublisherUploadTransaction);
#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOAD_TRANSACTION, PublishingTumblrTumblrPublisherUploadTransaction);
+#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->session;
-#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = publishing_tumblr_tumblr_publisher_session_get_oauth_nonce (_tmp0_);
-#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = _tmp1_;
-#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (self, "oauth_nonce", _tmp2_);
-#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp2_);
#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (self, "oauth_signature_method", "HMAC-SHA1");
+ _g_free0 (_tmp2_);
#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (self, "oauth_version", "1.0");
+ publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (self, "oauth_signature_method", "HMAC-SHA1");
#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (self, "oauth_version", "1.0");
+#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = self->priv->session;
-#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = publishing_tumblr_tumblr_publisher_session_get_oauth_timestamp (_tmp3_);
-#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = _tmp4_;
-#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (self, "oauth_timestamp", _tmp5_);
-#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp5_);
#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (self, "oauth_consumer_key", PUBLISHING_TUMBLR_API_KEY);
+ _g_free0 (_tmp5_);
#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (self, "oauth_consumer_key", PUBLISHING_TUMBLR_API_KEY);
+#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = self->priv->session;
-#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = publishing_tumblr_tumblr_publisher_session_get_access_phase_token (_tmp6_);
-#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8_ = _tmp7_;
-#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (self, "oauth_token", _tmp8_);
-#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp8_);
-#line 6599 "TumblrPublishing.c"
+#line 6619 "TumblrPublishing.c"
{
SpitPublishingPublishable* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
@@ -6644,118 +6664,118 @@ static void publishing_tumblr_tumblr_publisher_upload_transaction_real_execute (
const gchar* _tmp29_ = NULL;
gchar* _tmp30_ = NULL;
gchar* _tmp31_ = NULL;
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, PublishingRESTSupportUploadTransaction)->publishable;
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp10_ = spit_publishing_publishable_get_serialized_file (_tmp9_);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp11_ = _tmp10_;
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp12_ = g_file_get_path (_tmp11_);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp13_ = _tmp12_;
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_file_get_contents (_tmp13_, &_tmp14_, &_tmp15_, &_inner_error_);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (payload);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
payload = _tmp14_;
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
payload_length = _tmp15_;
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp13_);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (_tmp11_);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_inner_error_->domain == G_FILE_ERROR) {
-#line 6656 "TumblrPublishing.c"
+#line 6676 "TumblrPublishing.c"
goto __catch38_g_file_error;
}
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (payload);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.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);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_clear_error (&_inner_error_);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 6667 "TumblrPublishing.c"
+#line 6687 "TumblrPublishing.c"
}
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp16_ = payload;
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp17_ = string_get_data (_tmp16_, &_tmp17__length1);
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp18_ = _tmp17_;
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp18__length1 = _tmp17__length1;
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp19_ = payload_length;
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp20_ = publishing_tumblr_tumblr_publisher_upload_transaction_encode (self, _tmp18_ + 0, ((gint) _tmp19_) - 0);
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
reqdata = _tmp20_;
-#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 948 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp21_ = reqdata;
-#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data[0]", _tmp21_);
#line 948 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "type", "photo");
+ publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "data[0]", _tmp21_);
#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "type", "photo");
+#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, PublishingRESTSupportUploadTransaction)->publishable;
-#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp24_ = spit_publishing_publishable_get_publishing_keywords (_tmp22_, &_tmp23_);
-#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
keywords = _tmp24_;
-#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
keywords_length1 = _tmp23_;
-#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _keywords_size_ = keywords_length1;
#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _keywords_size_ = keywords_length1;
+#line 951 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp25_ = g_strdup ("");
-#line 950 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- tags = _tmp25_;
#line 951 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ tags = _tmp25_;
+#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp26_ = keywords;
-#line 951 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp26__length1 = keywords_length1;
-#line 951 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp26_ != NULL) {
-#line 6709 "TumblrPublishing.c"
+#line 6729 "TumblrPublishing.c"
gchar** _tmp27_ = NULL;
gint _tmp27__length1 = 0;
gchar* _tmp28_ = NULL;
-#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp27_ = keywords;
-#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp27__length1 = keywords_length1;
-#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp28_ = _vala_g_strjoinv (",", _tmp27_, _tmp27__length1);
-#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (tags);
-#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
tags = _tmp28_;
-#line 6723 "TumblrPublishing.c"
+#line 6743 "TumblrPublishing.c"
}
-#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp29_ = tags;
-#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp30_ = soup_uri_encode (_tmp29_, PUBLISHING_TUMBLR_ENCODE_RFC_3986_EXTRA);
-#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp31_ = _tmp30_;
-#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "tags", _tmp31_);
-#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp31_);
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (tags);
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
keywords = (_vala_array_free (keywords, keywords_length1, (GDestroyNotify) g_free), NULL);
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (reqdata);
-#line 6741 "TumblrPublishing.c"
+#line 6761 "TumblrPublishing.c"
}
goto __finally38;
__catch38_g_file_error:
@@ -6763,93 +6783,93 @@ static void publishing_tumblr_tumblr_publisher_upload_transaction_real_execute (
GError* e = NULL;
const gchar* _tmp32_ = NULL;
GError* _tmp33_ = NULL;
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
e = _inner_error_;
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_inner_error_ = NULL;
-#line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 958 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp32_ = _ ("A temporary file needed for publishing is unavailable");
-#line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 958 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp33_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp32_);
-#line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 958 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_inner_error_ = _tmp33_;
-#line 957 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 958 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_error_free0 (e);
-#line 6761 "TumblrPublishing.c"
+#line 6781 "TumblrPublishing.c"
goto __finally38;
}
__finally38:
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_propagate_error (error, _inner_error_);
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (payload);
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 6775 "TumblrPublishing.c"
+#line 6795 "TumblrPublishing.c"
} else {
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (payload);
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.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 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_clear_error (&_inner_error_);
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 6785 "TumblrPublishing.c"
+#line 6805 "TumblrPublishing.c"
}
}
-#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 964 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp34_ = self->priv->session;
-#line 963 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 964 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_session_sign_transaction (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
-#line 965 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 966 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp35_ = publishing_tumblr_tumblr_publisher_upload_transaction_get_authorization_header_string (self);
-#line 965 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 966 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
authorization_header = _tmp35_;
-#line 967 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp36_ = authorization_header;
-#line 967 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:967: executing upload transaction: authorization" \
+#line 968 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:968: executing upload transaction: authorization" \
" header string = '%s'", _tmp36_);
-#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 970 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp37_ = authorization_header;
-#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 970 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Authorization", _tmp37_);
-#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp39_ = publishing_rest_support_transaction_get_arguments (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_tmp38_);
-#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
request_arguments = _tmp39_;
-#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
request_arguments_length1 = _tmp38_;
-#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _request_arguments_size_ = request_arguments_length1;
#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _request_arguments_size_ = request_arguments_length1;
+#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp40_ = request_arguments;
-#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp40__length1 = request_arguments_length1;
-#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_vala_assert (_tmp40__length1 > 0, "request_arguments.length > 0");
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp41_ = g_strdup ("");
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
request_data = _tmp41_;
-#line 6822 "TumblrPublishing.c"
+#line 6842 "TumblrPublishing.c"
{
gint i = 0;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
i = 0;
-#line 6827 "TumblrPublishing.c"
+#line 6847 "TumblrPublishing.c"
{
gboolean _tmp42_ = FALSE;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp42_ = TRUE;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
while (TRUE) {
-#line 6834 "TumblrPublishing.c"
+#line 6854 "TumblrPublishing.c"
gint _tmp44_ = 0;
PublishingRESTSupportArgument** _tmp45_ = NULL;
gint _tmp45__length1 = 0;
@@ -6872,133 +6892,133 @@ static void publishing_tumblr_tumblr_publisher_upload_transaction_real_execute (
gint _tmp60_ = 0;
PublishingRESTSupportArgument** _tmp61_ = NULL;
gint _tmp61__length1 = 0;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (!_tmp42_) {
-#line 6859 "TumblrPublishing.c"
+#line 6879 "TumblrPublishing.c"
gint _tmp43_ = 0;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp43_ = i;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
i = _tmp43_ + 1;
-#line 6865 "TumblrPublishing.c"
+#line 6885 "TumblrPublishing.c"
}
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp42_ = FALSE;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp44_ = i;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp45_ = request_arguments;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp45__length1 = request_arguments_length1;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (!(_tmp44_ < _tmp45__length1)) {
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
break;
-#line 6879 "TumblrPublishing.c"
+#line 6899 "TumblrPublishing.c"
}
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp46_ = request_data;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp47_ = request_arguments;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp47__length1 = request_arguments_length1;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp48_ = i;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp49_ = _tmp47_[_tmp48_];
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp50_ = _tmp49_->key;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp51_ = g_strconcat (_tmp50_, "=", NULL);
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp52_ = _tmp51_;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp53_ = request_arguments;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp53__length1 = request_arguments_length1;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp54_ = i;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp55_ = _tmp53_[_tmp54_];
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp56_ = _tmp55_->value;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp57_ = g_strconcat (_tmp52_, _tmp56_, NULL);
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp58_ = _tmp57_;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp59_ = g_strconcat (_tmp46_, _tmp58_, NULL);
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (request_data);
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
request_data = _tmp59_;
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp58_);
-#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp52_);
#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_free0 (_tmp52_);
+#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp60_ = i;
-#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp61_ = request_arguments;
-#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp61__length1 = request_arguments_length1;
-#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp60_ < (_tmp61__length1 - 1)) {
-#line 6929 "TumblrPublishing.c"
+#line 6949 "TumblrPublishing.c"
const gchar* _tmp62_ = NULL;
gchar* _tmp63_ = NULL;
-#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp62_ = request_data;
-#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp63_ = g_strconcat (_tmp62_, "&", NULL);
-#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (request_data);
-#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
request_data = _tmp63_;
-#line 6940 "TumblrPublishing.c"
+#line 6960 "TumblrPublishing.c"
}
}
}
}
-#line 980 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp64_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
-#line 980 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp65_ = _tmp64_;
-#line 980 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp66_ = soup_message_new ("POST", _tmp65_);
-#line 980 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp67_ = _tmp66_;
-#line 980 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp65_);
-#line 980 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- outbound_message = _tmp67_;
#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ outbound_message = _tmp67_;
+#line 982 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp68_ = outbound_message;
-#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 982 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp69_ = request_data;
-#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 982 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp70_ = string_get_data (_tmp69_, &_tmp70__length1);
-#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 982 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp71_ = _tmp70_;
-#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 982 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp71__length1 = _tmp70__length1;
-#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 982 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
soup_message_set_request (_tmp68_, "application/x-www-form-urlencoded", SOUP_MEMORY_COPY, _tmp71_, (gsize) _tmp71__length1);
-#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp72_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, PublishingRESTSupportUploadTransaction)->message_headers;
-#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp73_ = gee_abstract_map_map_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
-#line 984 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- i = _tmp73_;
#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ i = _tmp73_;
+#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp74_ = i;
-#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp75_ = gee_map_iterator_next (_tmp74_);
-#line 985 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- cont = _tmp75_;
#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ cont = _tmp75_;
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
while (TRUE) {
-#line 6983 "TumblrPublishing.c"
+#line 7003 "TumblrPublishing.c"
gboolean _tmp76_ = FALSE;
SoupMessage* _tmp77_ = NULL;
SoupMessageHeaders* _tmp78_ = NULL;
@@ -7010,142 +7030,142 @@ static void publishing_tumblr_tumblr_publisher_upload_transaction_real_execute (
gchar* _tmp84_ = NULL;
GeeMapIterator* _tmp85_ = NULL;
gboolean _tmp86_ = FALSE;
-#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp76_ = cont;
-#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (!_tmp76_) {
-#line 986 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
break;
-#line 7001 "TumblrPublishing.c"
+#line 7021 "TumblrPublishing.c"
}
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp77_ = outbound_message;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp78_ = _tmp77_->request_headers;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp79_ = i;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp80_ = gee_map_iterator_get_key (_tmp79_);
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp81_ = (gchar*) _tmp80_;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp82_ = i;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp83_ = gee_map_iterator_get_value (_tmp82_);
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp84_ = (gchar*) _tmp83_;
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
soup_message_headers_append (_tmp78_, _tmp81_, _tmp84_);
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp84_);
-#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp81_);
#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_free0 (_tmp81_);
+#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp85_ = i;
-#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp86_ = gee_map_iterator_next (_tmp85_);
-#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
cont = _tmp86_;
-#line 7031 "TumblrPublishing.c"
+#line 7051 "TumblrPublishing.c"
}
-#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp87_ = outbound_message;
-#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 991 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_set_message (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), _tmp87_);
-#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_set_is_executed (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), TRUE);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_send (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_propagate_error (error, _inner_error_);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (i);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (outbound_message);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (request_data);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (authorization_header);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (payload);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 7061 "TumblrPublishing.c"
+#line 7081 "TumblrPublishing.c"
} else {
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (i);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (outbound_message);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (request_data);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (authorization_header);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (payload);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.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 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_clear_error (&_inner_error_);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 995 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return;
-#line 7081 "TumblrPublishing.c"
+#line 7101 "TumblrPublishing.c"
}
}
-#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (i);
-#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (outbound_message);
-#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (request_data);
-#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
request_arguments = (_vala_array_free (request_arguments, request_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
-#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (authorization_header);
-#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (payload);
-#line 7096 "TumblrPublishing.c"
+#line 7116 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_upload_transaction_class_init (PublishingTumblrTumblrPublisherUploadTransactionClass * klass) {
-#line 873 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_upload_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 873 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
((PublishingRESTSupportTransactionClass *) klass)->finalize = publishing_tumblr_tumblr_publisher_upload_transaction_finalize;
-#line 873 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingTumblrTumblrPublisherUploadTransactionPrivate));
-#line 873 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
((PublishingRESTSupportTransactionClass *) klass)->execute = publishing_tumblr_tumblr_publisher_upload_transaction_real_execute;
-#line 7109 "TumblrPublishing.c"
+#line 7129 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_upload_transaction_instance_init (PublishingTumblrTumblrPublisherUploadTransaction * self) {
-#line 873 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv = PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_UPLOAD_TRANSACTION_GET_PRIVATE (self);
-#line 7116 "TumblrPublishing.c"
+#line 7136 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_upload_transaction_finalize (PublishingRESTSupportTransaction* obj) {
PublishingTumblrTumblrPublisherUploadTransaction * self;
-#line 873 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOAD_TRANSACTION, PublishingTumblrTumblrPublisherUploadTransaction);
#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _publishing_rest_support_session_unref0 (self->priv->session);
+ self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOAD_TRANSACTION, PublishingTumblrTumblrPublisherUploadTransaction);
#line 875 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _publishing_rest_support_session_unref0 (self->priv->session);
+#line 876 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->auth_header_fields = (_vala_array_free (self->priv->auth_header_fields, self->priv->auth_header_fields_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
-#line 873 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_tumblr_tumblr_publisher_upload_transaction_parent_class)->finalize (obj);
-#line 7130 "TumblrPublishing.c"
+#line 7150 "TumblrPublishing.c"
}
@@ -7168,36 +7188,36 @@ PublishingTumblrTumblrPublisherUploader* publishing_tumblr_tumblr_publisher_uplo
gint _tmp1__length1 = 0;
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (session), NULL);
-#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (blog_url != NULL, NULL);
#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (blog_url != NULL, NULL);
+#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = session;
-#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = publishables;
-#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1__length1 = publishables_length1;
-#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = (PublishingTumblrTumblrPublisherUploader*) publishing_rest_support_batch_uploader_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp1__length1);
#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = (PublishingTumblrTumblrPublisherUploader*) publishing_rest_support_batch_uploader_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp1__length1);
+#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = blog_url;
-#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->blog_url);
-#line 1004 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->blog_url = _tmp3_;
-#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self;
-#line 7175 "TumblrPublishing.c"
+#line 7195 "TumblrPublishing.c"
}
PublishingTumblrTumblrPublisherUploader* publishing_tumblr_tumblr_publisher_uploader_new (PublishingTumblrTumblrPublisherSession* session, SpitPublishingPublishable** publishables, int publishables_length1, const gchar* blog_url) {
-#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1003 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return publishing_tumblr_tumblr_publisher_uploader_construct (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOADER, session, publishables, publishables_length1, blog_url);
-#line 7182 "TumblrPublishing.c"
+#line 7202 "TumblrPublishing.c"
}
@@ -7211,72 +7231,72 @@ static PublishingRESTSupportTransaction* publishing_tumblr_tumblr_publisher_uplo
const gchar* _tmp4_ = NULL;
PublishingTumblrTumblrPublisherUploadTransaction* _tmp5_ = NULL;
PublishingRESTSupportTransaction* _tmp6_ = NULL;
-#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOADER, PublishingTumblrTumblrPublisherUploader);
-#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL);
-#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1011: Create upload transaction");
#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:1012: Create upload transaction");
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = publishing_rest_support_batch_uploader_get_session (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader));
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_SESSION, PublishingTumblrTumblrPublisherSession);
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = publishing_rest_support_batch_uploader_get_current_publishable (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader));
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = _tmp2_;
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = self->priv->blog_url;
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = publishing_tumblr_tumblr_publisher_upload_transaction_new (_tmp1_, _tmp3_, _tmp4_);
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction);
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_object_unref0 (_tmp3_);
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_publishing_rest_support_session_unref0 (_tmp1_);
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp6_;
-#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 7224 "TumblrPublishing.c"
+#line 7244 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_uploader_class_init (PublishingTumblrTumblrPublisherUploaderClass * klass) {
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_uploader_parent_class = g_type_class_peek_parent (klass);
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
((PublishingRESTSupportBatchUploaderClass *) klass)->finalize = publishing_tumblr_tumblr_publisher_uploader_finalize;
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingTumblrTumblrPublisherUploaderPrivate));
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
((PublishingRESTSupportBatchUploaderClass *) klass)->create_transaction = publishing_tumblr_tumblr_publisher_uploader_real_create_transaction;
-#line 7237 "TumblrPublishing.c"
+#line 7257 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_uploader_instance_init (PublishingTumblrTumblrPublisherUploader * self) {
gchar* _tmp0_ = NULL;
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv = PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_UPLOADER_GET_PRIVATE (self);
#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv = PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_UPLOADER_GET_PRIVATE (self);
+#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = g_strdup ("");
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->blog_url = _tmp0_;
-#line 7249 "TumblrPublishing.c"
+#line 7269 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_uploader_finalize (PublishingRESTSupportBatchUploader* obj) {
PublishingTumblrTumblrPublisherUploader * self;
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOADER, PublishingTumblrTumblrPublisherUploader);
#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOADER, PublishingTumblrTumblrPublisherUploader);
+#line 1002 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->blog_url);
-#line 1000 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_CLASS (publishing_tumblr_tumblr_publisher_uploader_parent_class)->finalize (obj);
-#line 7261 "TumblrPublishing.c"
+#line 7281 "TumblrPublishing.c"
}
@@ -7294,18 +7314,18 @@ GType publishing_tumblr_tumblr_publisher_uploader_get_type (void) {
PublishingTumblrTumblrPublisherSession* publishing_tumblr_tumblr_publisher_session_construct (GType object_type) {
PublishingTumblrTumblrPublisherSession* self = NULL;
-#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self = (PublishingTumblrTumblrPublisherSession*) publishing_rest_support_session_construct (object_type, PUBLISHING_TUMBLR_ENDPOINT_URL);
-#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self;
-#line 7283 "TumblrPublishing.c"
+#line 7303 "TumblrPublishing.c"
}
PublishingTumblrTumblrPublisherSession* publishing_tumblr_tumblr_publisher_session_new (void) {
-#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return publishing_tumblr_tumblr_publisher_session_construct (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_SESSION);
-#line 7290 "TumblrPublishing.c"
+#line 7310 "TumblrPublishing.c"
}
@@ -7314,29 +7334,29 @@ static gboolean publishing_tumblr_tumblr_publisher_session_real_is_authenticated
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
const gchar* _tmp1_ = NULL;
-#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_SESSION, PublishingTumblrTumblrPublisherSession);
#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_SESSION, PublishingTumblrTumblrPublisherSession);
+#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = self->priv->access_phase_token;
-#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp1_ != NULL) {
-#line 7305 "TumblrPublishing.c"
+#line 7325 "TumblrPublishing.c"
const gchar* _tmp2_ = NULL;
-#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = self->priv->access_phase_token_secret;
-#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = _tmp2_ != NULL;
-#line 7311 "TumblrPublishing.c"
+#line 7331 "TumblrPublishing.c"
} else {
-#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = FALSE;
-#line 7315 "TumblrPublishing.c"
+#line 7335 "TumblrPublishing.c"
}
-#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp0_;
-#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 7321 "TumblrPublishing.c"
+#line 7341 "TumblrPublishing.c"
}
@@ -7345,70 +7365,70 @@ void publishing_tumblr_tumblr_publisher_session_authenticate_from_persistent_cre
gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self));
-#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_if_fail (token != NULL);
-#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (secret != NULL);
#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (secret != NULL);
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = token;
-#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->access_phase_token);
-#line 1035 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->access_phase_token = _tmp1_;
#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->access_phase_token = _tmp1_;
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = secret;
-#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->access_phase_token_secret);
-#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->access_phase_token_secret = _tmp3_;
-#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), "authenticated");
-#line 7354 "TumblrPublishing.c"
+#line 7374 "TumblrPublishing.c"
}
void publishing_tumblr_tumblr_publisher_session_deauthenticate (PublishingTumblrTumblrPublisherSession* self) {
-#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self));
#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self));
+#line 1044 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->access_phase_token);
-#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->access_phase_token = NULL;
#line 1044 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->access_phase_token = NULL;
+#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->access_phase_token_secret);
-#line 1044 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1045 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->access_phase_token_secret = NULL;
-#line 7369 "TumblrPublishing.c"
+#line 7389 "TumblrPublishing.c"
}
static gpointer _publishing_rest_support_transaction_ref0 (gpointer self) {
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return self ? publishing_rest_support_transaction_ref (self) : NULL;
-#line 7376 "TumblrPublishing.c"
+#line 7396 "TumblrPublishing.c"
}
static void _vala_array_add23 (PublishingRESTSupportArgument*** array, int* length, int* size, PublishingRESTSupportArgument* value) {
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if ((*length) == (*size)) {
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
*array = g_renew (PublishingRESTSupportArgument*, *array, (*size) + 1);
-#line 7387 "TumblrPublishing.c"
+#line 7407 "TumblrPublishing.c"
}
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
(*array)[(*length)++] = value;
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
(*array)[*length] = NULL;
-#line 7393 "TumblrPublishing.c"
+#line 7413 "TumblrPublishing.c"
}
@@ -7470,89 +7490,89 @@ void publishing_tumblr_tumblr_publisher_session_sign_transaction (PublishingTumb
gchar* _tmp75_ = NULL;
const gchar* _tmp76_ = NULL;
PublishingTumblrTumblrPublisherUploadTransaction* _tmp77_ = NULL;
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self));
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn));
#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn));
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = txn;
-#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = publishing_rest_support_transaction_get_method (_tmp0_);
-#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = publishing_rest_support_http_method_to_string (_tmp1_);
-#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
http_method = _tmp2_;
-#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1050: signing transaction with parameters:");
#line 1051 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:1051: signing transaction with parameters:");
+#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = http_method;
-#line 1051 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = g_strconcat ("HTTP method = ", _tmp3_, NULL);
-#line 1051 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = _tmp4_;
-#line 1051 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1051: %s", _tmp5_);
-#line 1051 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp5_);
#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- signing_key = NULL;
+ g_debug ("TumblrPublishing.vala:1052: %s", _tmp5_);
+#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_free0 (_tmp5_);
#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ signing_key = NULL;
+#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = self->priv->access_phase_token_secret;
-#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp6_ != NULL) {
-#line 7485 "TumblrPublishing.c"
+#line 7505 "TumblrPublishing.c"
gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1054: access phase token secret available; using" \
+#line 1055 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:1055: access phase token secret available; using" \
" it as signing key");
-#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = publishing_tumblr_tumblr_publisher_session_get_access_phase_token_secret (self);
-#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8_ = _tmp7_;
-#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp9_ = g_strconcat (PUBLISHING_TUMBLR_API_SECRET "&", _tmp8_, NULL);
-#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (signing_key);
-#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
signing_key = _tmp9_;
-#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp8_);
-#line 7503 "TumblrPublishing.c"
+#line 7523 "TumblrPublishing.c"
} else {
gchar* _tmp10_ = NULL;
-#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1058: %s", "Access phase token secret not available; using API " "key as signing key");
-#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:1059: %s", "Access phase token secret not available; using API " "key as signing key");
+#line 1062 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp10_ = g_strdup (PUBLISHING_TUMBLR_API_SECRET "&");
-#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1062 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (signing_key);
-#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1062 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
signing_key = _tmp10_;
-#line 7514 "TumblrPublishing.c"
+#line 7534 "TumblrPublishing.c"
}
-#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp11_ = txn;
-#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp13_ = publishing_rest_support_transaction_get_arguments (_tmp11_, &_tmp12_);
-#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
base_string_arguments = _tmp13_;
-#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
base_string_arguments_length1 = _tmp12_;
-#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_base_string_arguments_size_ = base_string_arguments_length1;
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp14_ = txn;
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp15_ = _publishing_rest_support_transaction_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp14_, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_UPLOAD_TRANSACTION) ? ((PublishingTumblrTumblrPublisherUploadTransaction*) _tmp14_) : NULL);
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- upload_txn = _tmp15_;
#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ upload_txn = _tmp15_;
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp16_ = upload_txn;
-#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp16_ != NULL) {
-#line 7536 "TumblrPublishing.c"
+#line 7556 "TumblrPublishing.c"
PublishingRESTSupportArgument** auth_header_args = NULL;
PublishingTumblrTumblrPublisherUploadTransaction* _tmp17_ = NULL;
gint _tmp18_ = 0;
@@ -7561,97 +7581,97 @@ void publishing_tumblr_tumblr_publisher_session_sign_transaction (PublishingTumb
gint _auth_header_args_size_ = 0;
PublishingRESTSupportArgument** _tmp20_ = NULL;
gint _tmp20__length1 = 0;
-#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1069: %s", "this transaction is an UploadTransaction; including Authorization head" \
+#line 1070 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:1070: %s", "this transaction is an UploadTransaction; including Authorization head" \
"er " "fields in signature base string");
-#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp17_ = upload_txn;
-#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp19_ = publishing_tumblr_tumblr_publisher_upload_transaction_get_authorization_header_fields (_tmp17_, &_tmp18_);
-#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
auth_header_args = _tmp19_;
-#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
auth_header_args_length1 = _tmp18_;
-#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1073 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_auth_header_args_size_ = auth_header_args_length1;
-#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp20_ = auth_header_args;
-#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp20__length1 = auth_header_args_length1;
-#line 7561 "TumblrPublishing.c"
+#line 7581 "TumblrPublishing.c"
{
PublishingRESTSupportArgument** arg_collection = NULL;
gint arg_collection_length1 = 0;
gint _arg_collection_size_ = 0;
gint arg_it = 0;
-#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
arg_collection = _tmp20_;
-#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
arg_collection_length1 = _tmp20__length1;
-#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
for (arg_it = 0; arg_it < _tmp20__length1; arg_it = arg_it + 1) {
-#line 7573 "TumblrPublishing.c"
+#line 7593 "TumblrPublishing.c"
PublishingRESTSupportArgument* _tmp21_ = NULL;
PublishingRESTSupportArgument* arg = NULL;
-#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp21_ = _publishing_rest_support_argument_ref0 (arg_collection[arg_it]);
-#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
arg = _tmp21_;
-#line 7580 "TumblrPublishing.c"
+#line 7600 "TumblrPublishing.c"
{
PublishingRESTSupportArgument** _tmp22_ = NULL;
gint _tmp22__length1 = 0;
PublishingRESTSupportArgument* _tmp23_ = NULL;
PublishingRESTSupportArgument* _tmp24_ = NULL;
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp22_ = base_string_arguments;
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp22__length1 = base_string_arguments_length1;
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp23_ = arg;
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp24_ = _publishing_rest_support_argument_ref0 (_tmp23_);
-#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_vala_array_add23 (&base_string_arguments, &base_string_arguments_length1, &_base_string_arguments_size_, _tmp24_);
-#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_publishing_rest_support_argument_unref0 (arg);
-#line 7598 "TumblrPublishing.c"
+#line 7618 "TumblrPublishing.c"
}
}
}
-#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
auth_header_args = (_vala_array_free (auth_header_args, auth_header_args_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
-#line 7604 "TumblrPublishing.c"
+#line 7624 "TumblrPublishing.c"
}
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp25_ = base_string_arguments;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp25__length1 = base_string_arguments_length1;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp27_ = publishing_rest_support_argument_sort (_tmp25_, _tmp25__length1, &_tmp26_);
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
sorted_args = _tmp27_;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
sorted_args_length1 = _tmp26_;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_sorted_args_size_ = sorted_args_length1;
-#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp28_ = g_strdup ("");
-#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
arguments_string = _tmp28_;
-#line 7622 "TumblrPublishing.c"
+#line 7642 "TumblrPublishing.c"
{
gint i = 0;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
i = 0;
-#line 7627 "TumblrPublishing.c"
+#line 7647 "TumblrPublishing.c"
{
gboolean _tmp29_ = FALSE;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp29_ = TRUE;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
while (TRUE) {
-#line 7634 "TumblrPublishing.c"
+#line 7654 "TumblrPublishing.c"
gint _tmp31_ = 0;
PublishingRESTSupportArgument** _tmp32_ = NULL;
gint _tmp32__length1 = 0;
@@ -7674,216 +7694,216 @@ void publishing_tumblr_tumblr_publisher_session_sign_transaction (PublishingTumb
gint _tmp47_ = 0;
PublishingRESTSupportArgument** _tmp48_ = NULL;
gint _tmp48__length1 = 0;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (!_tmp29_) {
-#line 7659 "TumblrPublishing.c"
+#line 7679 "TumblrPublishing.c"
gint _tmp30_ = 0;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp30_ = i;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
i = _tmp30_ + 1;
-#line 7665 "TumblrPublishing.c"
+#line 7685 "TumblrPublishing.c"
}
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp29_ = FALSE;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp31_ = i;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp32_ = sorted_args;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp32__length1 = sorted_args_length1;
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (!(_tmp31_ < _tmp32__length1)) {
-#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
break;
-#line 7679 "TumblrPublishing.c"
+#line 7699 "TumblrPublishing.c"
}
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp33_ = arguments_string;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp34_ = sorted_args;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp34__length1 = sorted_args_length1;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp35_ = i;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp36_ = _tmp34_[_tmp35_];
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp37_ = _tmp36_->key;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp38_ = g_strconcat (_tmp37_, "=", NULL);
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp39_ = _tmp38_;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp40_ = sorted_args;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp40__length1 = sorted_args_length1;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp41_ = i;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp42_ = _tmp40_[_tmp41_];
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp43_ = _tmp42_->value;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp44_ = g_strconcat (_tmp39_, _tmp43_, NULL);
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp45_ = _tmp44_;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp46_ = g_strconcat (_tmp33_, _tmp45_, NULL);
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (arguments_string);
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
arguments_string = _tmp46_;
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp45_);
-#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (_tmp39_);
#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_free0 (_tmp39_);
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp47_ = i;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp48_ = sorted_args;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp48__length1 = sorted_args_length1;
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp47_ < (_tmp48__length1 - 1)) {
-#line 7729 "TumblrPublishing.c"
+#line 7749 "TumblrPublishing.c"
const gchar* _tmp49_ = NULL;
gchar* _tmp50_ = NULL;
-#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp49_ = arguments_string;
-#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp50_ = g_strconcat (_tmp49_, "&", NULL);
-#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (arguments_string);
-#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
arguments_string = _tmp50_;
-#line 7740 "TumblrPublishing.c"
+#line 7760 "TumblrPublishing.c"
}
}
}
}
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp51_ = http_method;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp52_ = g_strconcat (_tmp51_, "&", NULL);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp53_ = _tmp52_;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp54_ = txn;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp55_ = publishing_rest_support_transaction_get_endpoint_url (_tmp54_);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp56_ = _tmp55_;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp57_ = soup_uri_encode (_tmp56_, PUBLISHING_TUMBLR_ENCODE_RFC_3986_EXTRA);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp58_ = _tmp57_;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp59_ = g_strconcat (_tmp53_, _tmp58_, NULL);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp60_ = _tmp59_;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp61_ = g_strconcat (_tmp60_, "&", NULL);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp62_ = _tmp61_;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp63_ = arguments_string;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp64_ = soup_uri_encode (_tmp63_, PUBLISHING_TUMBLR_ENCODE_RFC_3986_EXTRA);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp65_ = _tmp64_;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp66_ = g_strconcat (_tmp62_, _tmp65_, NULL);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp67_ = _tmp66_;
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp65_);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp62_);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp60_);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp58_);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp56_);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp53_);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
signature_base_string = _tmp67_;
-#line 1094 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp68_ = signature_base_string;
-#line 1094 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1094: signature base string = '%s'", _tmp68_);
#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:1095: signature base string = '%s'", _tmp68_);
+#line 1096 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp69_ = signing_key;
-#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1095: signing key = '%s'", _tmp69_);
-#line 1098 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1096 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:1096: signing key = '%s'", _tmp69_);
+#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp70_ = signing_key;
-#line 1098 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp71_ = signature_base_string;
-#line 1098 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp72_ = publishing_rest_support_hmac_sha1 (_tmp70_, _tmp71_);
-#line 1098 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- signature = _tmp72_;
#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ signature = _tmp72_;
+#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp73_ = signature;
-#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1099: signature = '%s'", _tmp73_);
#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:1100: signature = '%s'", _tmp73_);
+#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp74_ = signature;
-#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp75_ = soup_uri_encode (_tmp74_, PUBLISHING_TUMBLR_ENCODE_RFC_3986_EXTRA);
-#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (signature);
-#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
signature = _tmp75_;
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp76_ = signature;
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_debug ("TumblrPublishing.vala:1102: signature after RFC encode = '%s'", _tmp76_);
-#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_debug ("TumblrPublishing.vala:1103: signature after RFC encode = '%s'", _tmp76_);
+#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp77_ = upload_txn;
-#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
if (_tmp77_ != NULL) {
-#line 7829 "TumblrPublishing.c"
+#line 7849 "TumblrPublishing.c"
PublishingTumblrTumblrPublisherUploadTransaction* _tmp78_ = NULL;
const gchar* _tmp79_ = NULL;
-#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp78_ = upload_txn;
-#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp79_ = signature;
-#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_upload_transaction_add_authorization_header_field (_tmp78_, "oauth_signature", _tmp79_);
-#line 7838 "TumblrPublishing.c"
+#line 7858 "TumblrPublishing.c"
} else {
PublishingRESTSupportTransaction* _tmp80_ = NULL;
const gchar* _tmp81_ = NULL;
-#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp80_ = txn;
-#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp81_ = signature;
-#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_rest_support_transaction_add_argument (_tmp80_, "oauth_signature", _tmp81_);
-#line 7848 "TumblrPublishing.c"
+#line 7868 "TumblrPublishing.c"
}
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (signature);
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (signature_base_string);
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (arguments_string);
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
sorted_args = (_vala_array_free (sorted_args, sorted_args_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_publishing_rest_support_transaction_unref0 (upload_txn);
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
base_string_arguments = (_vala_array_free (base_string_arguments, base_string_arguments_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (signing_key);
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1048 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (http_method);
-#line 7866 "TumblrPublishing.c"
+#line 7886 "TumblrPublishing.c"
}
@@ -7892,31 +7912,31 @@ void publishing_tumblr_tumblr_publisher_session_set_access_phase_credentials (Pu
gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self));
-#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_return_if_fail (token != NULL);
-#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_if_fail (secret != NULL);
#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_if_fail (secret != NULL);
+#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = token;
-#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->access_phase_token);
-#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->access_phase_token = _tmp1_;
#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->access_phase_token = _tmp1_;
+#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = secret;
-#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->access_phase_token_secret);
-#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->access_phase_token_secret = _tmp3_;
-#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1118 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), "authenticated");
-#line 7899 "TumblrPublishing.c"
+#line 7919 "TumblrPublishing.c"
}
@@ -7924,17 +7944,17 @@ gchar* publishing_tumblr_tumblr_publisher_session_get_access_phase_token (Publis
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self), NULL);
#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self), NULL);
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->access_phase_token;
-#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp1_;
-#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 7917 "TumblrPublishing.c"
+#line 7937 "TumblrPublishing.c"
}
@@ -7942,17 +7962,17 @@ gchar* publishing_tumblr_tumblr_publisher_session_get_access_phase_token_secret
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self), NULL);
#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self), NULL);
+#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = self->priv->access_phase_token_secret;
-#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp1_;
-#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 7935 "TumblrPublishing.c"
+#line 7955 "TumblrPublishing.c"
}
@@ -7971,47 +7991,47 @@ gchar* publishing_tumblr_tumblr_publisher_session_get_oauth_nonce (PublishingTum
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
-#line 1129 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self), NULL);
#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_get_current_time (&currtime);
+ g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self), NULL);
#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_get_current_time (&currtime);
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_get_current_time (&currtime);
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = currtime;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = _tmp0_.tv_sec;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = g_strdup_printf ("%li", _tmp1_);
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = _tmp2_;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = currtime;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp5_ = _tmp4_.tv_usec;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp6_ = g_strdup_printf ("%li", _tmp5_);
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp7_ = _tmp6_;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp8_ = g_strconcat (_tmp3_, _tmp7_, NULL);
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp9_ = _tmp8_;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp10_ = g_compute_checksum_for_string (G_CHECKSUM_MD5, _tmp9_, (gsize) -1);
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp11_ = _tmp10_;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp9_);
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp7_);
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp3_);
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp11_;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 7994 "TumblrPublishing.c"
+#line 8014 "TumblrPublishing.c"
}
@@ -8034,7 +8054,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
_tmp3_ = end;
#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
-#line 8017 "TumblrPublishing.c"
+#line 8037 "TumblrPublishing.c"
glong _tmp4_ = 0L;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
@@ -8042,7 +8062,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
result = _tmp4_;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 8025 "TumblrPublishing.c"
+#line 8045 "TumblrPublishing.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
@@ -8054,7 +8074,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
result = (glong) (_tmp5_ - _tmp6_);
#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 8037 "TumblrPublishing.c"
+#line 8057 "TumblrPublishing.c"
}
}
@@ -8078,21 +8098,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp1_ = offset;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
-#line 8061 "TumblrPublishing.c"
+#line 8081 "TumblrPublishing.c"
glong _tmp2_ = 0L;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = len;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
-#line 8067 "TumblrPublishing.c"
+#line 8087 "TumblrPublishing.c"
} else {
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
-#line 8071 "TumblrPublishing.c"
+#line 8091 "TumblrPublishing.c"
}
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 8075 "TumblrPublishing.c"
+#line 8095 "TumblrPublishing.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
@@ -8104,7 +8124,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = _tmp5_;
-#line 8087 "TumblrPublishing.c"
+#line 8107 "TumblrPublishing.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
@@ -8114,13 +8134,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp7_ = _tmp6_;
#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
-#line 8097 "TumblrPublishing.c"
+#line 8117 "TumblrPublishing.c"
}
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp8_ = offset;
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
-#line 8103 "TumblrPublishing.c"
+#line 8123 "TumblrPublishing.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
@@ -8134,7 +8154,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp11_ = offset;
#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
-#line 8117 "TumblrPublishing.c"
+#line 8137 "TumblrPublishing.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
@@ -8144,13 +8164,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp13_ = string_length;
#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
-#line 8127 "TumblrPublishing.c"
+#line 8147 "TumblrPublishing.c"
}
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp14_ = len;
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
-#line 8133 "TumblrPublishing.c"
+#line 8153 "TumblrPublishing.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -8159,7 +8179,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp16_ = offset;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
-#line 8142 "TumblrPublishing.c"
+#line 8162 "TumblrPublishing.c"
}
#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp17_ = offset;
@@ -8179,7 +8199,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
result = _tmp22_;
#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 8162 "TumblrPublishing.c"
+#line 8182 "TumblrPublishing.c"
}
@@ -8190,63 +8210,63 @@ gchar* publishing_tumblr_tumblr_publisher_session_get_oauth_timestamp (Publishin
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self), NULL);
#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_IS_SESSION (self), NULL);
+#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp0_ = g_get_real_time ();
-#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp1_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp0_);
-#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp2_ = _tmp1_;
-#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp3_ = string_substring (_tmp2_, (glong) 0, (glong) 10);
-#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_tmp4_ = _tmp3_;
-#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (_tmp2_);
-#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
result = _tmp4_;
-#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1139 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
return result;
-#line 8191 "TumblrPublishing.c"
+#line 8211 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_session_class_init (PublishingTumblrTumblrPublisherSessionClass * klass) {
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
publishing_tumblr_tumblr_publisher_session_parent_class = g_type_class_peek_parent (klass);
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
((PublishingRESTSupportSessionClass *) klass)->finalize = publishing_tumblr_tumblr_publisher_session_finalize;
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingTumblrTumblrPublisherSessionPrivate));
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
((PublishingRESTSupportSessionClass *) klass)->is_authenticated = publishing_tumblr_tumblr_publisher_session_real_is_authenticated;
-#line 8204 "TumblrPublishing.c"
+#line 8224 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_session_instance_init (PublishingTumblrTumblrPublisherSession * self) {
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv = PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_SESSION_GET_PRIVATE (self);
#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self->priv->access_phase_token = NULL;
+ self->priv = PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_SESSION_GET_PRIVATE (self);
#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ self->priv->access_phase_token = NULL;
+#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->access_phase_token_secret = NULL;
-#line 8215 "TumblrPublishing.c"
+#line 8235 "TumblrPublishing.c"
}
static void publishing_tumblr_tumblr_publisher_session_finalize (PublishingRESTSupportSession* obj) {
PublishingTumblrTumblrPublisherSession * self;
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_SESSION, PublishingTumblrTumblrPublisherSession);
#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
- _g_free0 (self->priv->access_phase_token);
+ self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_TUMBLR_TUMBLR_PUBLISHER_TYPE_SESSION, PublishingTumblrTumblrPublisherSession);
#line 1023 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+ _g_free0 (self->priv->access_phase_token);
+#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
_g_free0 (self->priv->access_phase_token_secret);
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
+#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_tumblr_tumblr_publisher_session_parent_class)->finalize (obj);
-#line 8229 "TumblrPublishing.c"
+#line 8249 "TumblrPublishing.c"
}
@@ -8273,7 +8293,7 @@ static void publishing_tumblr_tumblr_publisher_class_init (PublishingTumblrTumbl
g_type_class_add_private (klass, sizeof (PublishingTumblrTumblrPublisherPrivate));
#line 89 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_tumblr_tumblr_publisher_finalize;
-#line 8256 "TumblrPublishing.c"
+#line 8276 "TumblrPublishing.c"
}
@@ -8288,7 +8308,7 @@ static void publishing_tumblr_tumblr_publisher_spit_publishing_publisher_interfa
iface->start = (void (*)(SpitPublishingPublisher*)) publishing_tumblr_tumblr_publisher_real_start;
#line 89 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_tumblr_tumblr_publisher_real_stop;
-#line 8271 "TumblrPublishing.c"
+#line 8291 "TumblrPublishing.c"
}
@@ -8322,7 +8342,7 @@ static void publishing_tumblr_tumblr_publisher_instance_init (PublishingTumblrTu
_tmp0_ = g_strdup ("");
#line 99 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
self->priv->username = _tmp0_;
-#line 8305 "TumblrPublishing.c"
+#line 8325 "TumblrPublishing.c"
}
@@ -8362,7 +8382,7 @@ static void publishing_tumblr_tumblr_publisher_finalize (GObject* obj) {
_g_free0 (self->priv->username);
#line 89 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/TumblrPublishing.vala"
G_OBJECT_CLASS (publishing_tumblr_tumblr_publisher_parent_class)->finalize (obj);
-#line 8345 "TumblrPublishing.c"
+#line 8365 "TumblrPublishing.c"
}
diff --git a/plugins/shotwell-publishing-extras/TumblrPublishing.vala b/plugins/shotwell-publishing-extras/TumblrPublishing.vala
index bc6fcec..183bc31 100644
--- a/plugins/shotwell-publishing-extras/TumblrPublishing.vala
+++ b/plugins/shotwell-publishing-extras/TumblrPublishing.vala
@@ -308,7 +308,7 @@ public class TumblrPublisher : Spit.Publishing.Publisher, GLib.Object {
if (split_pair.length != 2)
host.post_error(new Spit.Publishing.PublishingError.MALFORMED_RESPONSE(
- _("“%s” isn’t a valid response to an OAuth authentication request")));
+ _("“%s” isn’t a valid response to an OAuth authentication request"), response));
if (split_pair[0] == "oauth_token")
oauth_token = split_pair[1];
@@ -318,7 +318,7 @@ public class TumblrPublisher : Spit.Publishing.Publisher, GLib.Object {
if (oauth_token == null || oauth_token_secret == null)
host.post_error(new Spit.Publishing.PublishingError.MALFORMED_RESPONSE(
- _("“%s” isn’t a valid response to an OAuth authentication request")));
+ _("“%s” isn’t a valid response to an OAuth authentication request"), response));
session.set_access_phase_credentials(oauth_token, oauth_token_secret);
}
@@ -602,7 +602,7 @@ internal class AuthenticationPane : Spit.Publishing.DialogPane, Object {
builder = new Gtk.Builder();
builder.add_from_resource (Resources.RESOURCE_PATH + "/tumblr_authentication_pane.ui");
builder.connect_signals(null);
- Gtk.Alignment align = builder.get_object("alignment") as Gtk.Alignment;
+ var content = builder.get_object ("content") as Gtk.Widget;
Gtk.Label message_label = builder.get_object("message_label") as Gtk.Label;
switch (mode) {
@@ -628,7 +628,8 @@ internal class AuthenticationPane : Spit.Publishing.DialogPane, Object {
password_entry.changed.connect(on_password_changed);
login_button.clicked.connect(on_login_button_clicked);
- align.reparent(pane_widget);
+ content.parent.remove (content);
+ pane_widget.add (content);
publisher.get_host().set_dialog_default_widget(login_button);
} catch (Error e) {
warning(_("Could not load UI: %s"), e.message);
diff --git a/plugins/shotwell-publishing-extras/YandexPublishing.c b/plugins/shotwell-publishing-extras/YandexPublishing.c
index 4e9b0a1..fb0a65b 100644
--- a/plugins/shotwell-publishing-extras/YandexPublishing.c
+++ b/plugins/shotwell-publishing-extras/YandexPublishing.c
@@ -386,6 +386,7 @@ enum {
PUBLISHING_YANDEX_UPLOAD_TRANSACTION_DUMMY_PROPERTY
};
static void _vala_SoupMultipart_free (SoupMultipart* self);
+static guint8* _vala_array_dup10 (guint8* self, int length);
static void _g_free0_ (gpointer var);
static void _vala_SoupBuffer_free (SoupBuffer* self);
#define PUBLISHING_YANDEX_YANDEX_PUBLISHER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_YANDEX_TYPE_YANDEX_PUBLISHER, PublishingYandexYandexPublisherPrivate))
@@ -462,7 +463,7 @@ static gint yandex_service_real_get_pluggable_interface (SpitPluggable* base, gi
result = _tmp2_;
#line 9 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 466 "YandexPublishing.c"
+#line 467 "YandexPublishing.c"
}
@@ -475,7 +476,7 @@ static const gchar* yandex_service_real_get_id (SpitPluggable* base) {
result = "org.yorba.shotwell.publishing.yandex-fotki";
#line 13 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 479 "YandexPublishing.c"
+#line 480 "YandexPublishing.c"
}
@@ -488,7 +489,7 @@ static const gchar* yandex_service_real_get_pluggable_name (SpitPluggable* base)
result = "Yandex.Fotki";
#line 17 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 492 "YandexPublishing.c"
+#line 493 "YandexPublishing.c"
}
@@ -555,7 +556,7 @@ static void yandex_service_real_get_info (SpitPluggable* base, SpitPluggableInfo
_g_free0 ((*info).license);
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
(*info).license = _tmp8_;
-#line 559 "YandexPublishing.c"
+#line 560 "YandexPublishing.c"
}
@@ -576,7 +577,7 @@ static SpitPublishingPublisher* yandex_service_real_create_publisher (SpitPublis
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher);
#line 32 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 580 "YandexPublishing.c"
+#line 581 "YandexPublishing.c"
}
@@ -589,7 +590,7 @@ static SpitPublishingPublisherMediaType yandex_service_real_get_supported_media
result = SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO;
#line 36 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 593 "YandexPublishing.c"
+#line 594 "YandexPublishing.c"
}
@@ -597,7 +598,7 @@ static void yandex_service_real_activation (SpitPluggable* base, gboolean enable
YandexService * self;
#line 39 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_YANDEX_SERVICE, YandexService);
-#line 601 "YandexPublishing.c"
+#line 602 "YandexPublishing.c"
}
@@ -607,21 +608,21 @@ YandexService* yandex_service_construct (GType object_type) {
self = (YandexService*) g_object_new (object_type, NULL);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 611 "YandexPublishing.c"
+#line 612 "YandexPublishing.c"
}
YandexService* yandex_service_new (void) {
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return yandex_service_construct (TYPE_YANDEX_SERVICE);
-#line 618 "YandexPublishing.c"
+#line 619 "YandexPublishing.c"
}
static void yandex_service_class_init (YandexServiceClass * klass) {
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
yandex_service_parent_class = g_type_class_peek_parent (klass);
-#line 625 "YandexPublishing.c"
+#line 626 "YandexPublishing.c"
}
@@ -638,7 +639,7 @@ static void yandex_service_spit_pluggable_interface_init (SpitPluggableIface * i
iface->get_info = (void (*)(SpitPluggable*, SpitPluggableInfo*)) yandex_service_real_get_info;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
iface->activation = (void (*)(SpitPluggable*, gboolean)) yandex_service_real_activation;
-#line 642 "YandexPublishing.c"
+#line 643 "YandexPublishing.c"
}
@@ -649,7 +650,7 @@ static void yandex_service_spit_publishing_service_interface_init (SpitPublishin
iface->create_publisher = (SpitPublishingPublisher* (*)(SpitPublishingService*, SpitPublishingPluginHost*)) yandex_service_real_create_publisher;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
iface->get_supported_media = (SpitPublishingPublisherMediaType (*)(SpitPublishingService*)) yandex_service_real_get_supported_media;
-#line 653 "YandexPublishing.c"
+#line 654 "YandexPublishing.c"
}
@@ -694,14 +695,14 @@ PublishingYandexTransaction* publishing_yandex_transaction_construct_with_url (G
publishing_yandex_transaction_add_headers (self);
#line 50 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 698 "YandexPublishing.c"
+#line 699 "YandexPublishing.c"
}
PublishingYandexTransaction* publishing_yandex_transaction_new_with_url (PublishingYandexSession* session, const gchar* url, PublishingRESTSupportHttpMethod method) {
#line 50 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return publishing_yandex_transaction_construct_with_url (PUBLISHING_YANDEX_TYPE_TRANSACTION, session, url, method);
-#line 705 "YandexPublishing.c"
+#line 706 "YandexPublishing.c"
}
@@ -724,7 +725,7 @@ static void publishing_yandex_transaction_add_headers (PublishingYandexTransacti
_publishing_rest_support_session_unref0 (_tmp1_);
#line 56 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_tmp3_) {
-#line 728 "YandexPublishing.c"
+#line 729 "YandexPublishing.c"
PublishingRESTSupportSession* _tmp4_ = NULL;
PublishingYandexSession* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
@@ -753,7 +754,7 @@ static void publishing_yandex_transaction_add_headers (PublishingYandexTransacti
_publishing_rest_support_session_unref0 (_tmp5_);
#line 58 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Connection", "close");
-#line 757 "YandexPublishing.c"
+#line 758 "YandexPublishing.c"
}
}
@@ -774,14 +775,14 @@ PublishingYandexTransaction* publishing_yandex_transaction_construct (GType obje
publishing_yandex_transaction_add_headers (self);
#line 62 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 778 "YandexPublishing.c"
+#line 779 "YandexPublishing.c"
}
PublishingYandexTransaction* publishing_yandex_transaction_new (PublishingYandexSession* session, PublishingRESTSupportHttpMethod method) {
#line 62 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return publishing_yandex_transaction_construct (PUBLISHING_YANDEX_TYPE_TRANSACTION, session, method);
-#line 785 "YandexPublishing.c"
+#line 786 "YandexPublishing.c"
}
@@ -800,14 +801,14 @@ void publishing_yandex_transaction_add_data (PublishingYandexTransaction* self,
_tmp1_ = type;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_rest_support_transaction_set_custom_payload (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), _tmp0_, _tmp1_, (gulong) 0);
-#line 804 "YandexPublishing.c"
+#line 805 "YandexPublishing.c"
}
static void publishing_yandex_transaction_class_init (PublishingYandexTransactionClass * klass) {
#line 49 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 811 "YandexPublishing.c"
+#line 812 "YandexPublishing.c"
}
@@ -833,14 +834,14 @@ PublishingYandexSession* publishing_yandex_session_construct (GType object_type)
self = (PublishingYandexSession*) publishing_rest_support_session_construct (object_type, NULL);
#line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 837 "YandexPublishing.c"
+#line 838 "YandexPublishing.c"
}
PublishingYandexSession* publishing_yandex_session_new (void) {
#line 75 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return publishing_yandex_session_construct (PUBLISHING_YANDEX_TYPE_SESSION);
-#line 844 "YandexPublishing.c"
+#line 845 "YandexPublishing.c"
}
@@ -856,7 +857,7 @@ static gboolean publishing_yandex_session_real_is_authenticated (PublishingRESTS
result = _tmp0_ != NULL;
#line 79 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 860 "YandexPublishing.c"
+#line 861 "YandexPublishing.c"
}
@@ -867,7 +868,7 @@ void publishing_yandex_session_deauthenticate (PublishingYandexSession* self) {
_g_free0 (self->priv->auth_token);
#line 83 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv->auth_token = NULL;
-#line 871 "YandexPublishing.c"
+#line 872 "YandexPublishing.c"
}
@@ -886,7 +887,7 @@ void publishing_yandex_session_set_auth_token (PublishingYandexSession* self, co
_g_free0 (self->priv->auth_token);
#line 87 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv->auth_token = _tmp1_;
-#line 890 "YandexPublishing.c"
+#line 891 "YandexPublishing.c"
}
@@ -904,7 +905,7 @@ gchar* publishing_yandex_session_get_auth_token (PublishingYandexSession* self)
result = _tmp1_;
#line 91 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 908 "YandexPublishing.c"
+#line 909 "YandexPublishing.c"
}
@@ -917,7 +918,7 @@ static void publishing_yandex_session_class_init (PublishingYandexSessionClass *
g_type_class_add_private (klass, sizeof (PublishingYandexSessionPrivate));
#line 72 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
((PublishingRESTSupportSessionClass *) klass)->is_authenticated = publishing_yandex_session_real_is_authenticated;
-#line 921 "YandexPublishing.c"
+#line 922 "YandexPublishing.c"
}
@@ -926,7 +927,7 @@ static void publishing_yandex_session_instance_init (PublishingYandexSession * s
self->priv = PUBLISHING_YANDEX_SESSION_GET_PRIVATE (self);
#line 73 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv->auth_token = NULL;
-#line 930 "YandexPublishing.c"
+#line 931 "YandexPublishing.c"
}
@@ -938,7 +939,7 @@ static void publishing_yandex_session_finalize (PublishingRESTSupportSession* ob
_g_free0 (self->priv->auth_token);
#line 72 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_yandex_session_parent_class)->finalize (obj);
-#line 942 "YandexPublishing.c"
+#line 943 "YandexPublishing.c"
}
@@ -965,14 +966,14 @@ PublishingYandexWebAuthPane* publishing_yandex_web_auth_pane_construct (GType ob
self = (PublishingYandexWebAuthPane*) g_object_new (object_type, "login-uri", _tmp0_, "preferred-geometry", SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE, NULL);
#line 101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 969 "YandexPublishing.c"
+#line 970 "YandexPublishing.c"
}
PublishingYandexWebAuthPane* publishing_yandex_web_auth_pane_new (const gchar* login_url) {
#line 101 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return publishing_yandex_web_auth_pane_construct (PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, login_url);
-#line 976 "YandexPublishing.c"
+#line 977 "YandexPublishing.c"
}
@@ -981,7 +982,7 @@ static gboolean _publishing_yandex_web_auth_pane_on_decide_policy_webkit_web_vie
result = publishing_yandex_web_auth_pane_on_decide_policy ((PublishingYandexWebAuthPane*) self, decision, type);
#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 985 "YandexPublishing.c"
+#line 986 "YandexPublishing.c"
}
@@ -992,7 +993,7 @@ static void publishing_yandex_web_auth_pane_real_constructed (GObject* base) {
GError * _inner_error_ = NULL;
#line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, PublishingYandexWebAuthPane);
-#line 996 "YandexPublishing.c"
+#line 997 "YandexPublishing.c"
{
GRegex* _tmp0_ = NULL;
GRegex* _tmp1_ = NULL;
@@ -1005,7 +1006,7 @@ static void publishing_yandex_web_auth_pane_real_constructed (GObject* base) {
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 1009 "YandexPublishing.c"
+#line 1010 "YandexPublishing.c"
goto __catch39_g_regex_error;
}
#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -1014,7 +1015,7 @@ static void publishing_yandex_web_auth_pane_real_constructed (GObject* base) {
g_clear_error (&_inner_error_);
#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 1018 "YandexPublishing.c"
+#line 1019 "YandexPublishing.c"
}
#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp2_ = _tmp0_;
@@ -1026,7 +1027,7 @@ static void publishing_yandex_web_auth_pane_real_constructed (GObject* base) {
self->priv->re = _tmp2_;
#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_regex_unref0 (_tmp0_);
-#line 1030 "YandexPublishing.c"
+#line 1031 "YandexPublishing.c"
}
goto __finally39;
__catch39_g_regex_error:
@@ -1040,7 +1041,7 @@ static void publishing_yandex_web_auth_pane_real_constructed (GObject* base) {
g_assert_not_reached ();
#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (e);
-#line 1044 "YandexPublishing.c"
+#line 1045 "YandexPublishing.c"
}
__finally39:
#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -1051,7 +1052,7 @@ static void publishing_yandex_web_auth_pane_real_constructed (GObject* base) {
g_clear_error (&_inner_error_);
#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 1055 "YandexPublishing.c"
+#line 1056 "YandexPublishing.c"
}
#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp3_ = shotwell_plugins_common_web_authentication_pane_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_WEB_AUTHENTICATION_PANE, ShotwellPluginsCommonWebAuthenticationPane));
@@ -1061,7 +1062,7 @@ static void publishing_yandex_web_auth_pane_real_constructed (GObject* base) {
g_signal_connect_object (_tmp4_, "decide-policy", (GCallback) _publishing_yandex_web_auth_pane_on_decide_policy_webkit_web_view_decide_policy, self, 0);
#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_object_unref0 (_tmp4_);
-#line 1065 "YandexPublishing.c"
+#line 1066 "YandexPublishing.c"
}
@@ -1069,35 +1070,35 @@ static void publishing_yandex_web_auth_pane_real_on_page_load (ShotwellPluginsCo
PublishingYandexWebAuthPane * self;
#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, PublishingYandexWebAuthPane);
-#line 1073 "YandexPublishing.c"
+#line 1074 "YandexPublishing.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 123 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self ? g_object_ref (self) : NULL;
-#line 1080 "YandexPublishing.c"
+#line 1081 "YandexPublishing.c"
}
static WebKitNavigationAction* _vala_WebKitNavigationAction_copy (WebKitNavigationAction* self) {
#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return g_boxed_copy (webkit_navigation_action_get_type (), self);
-#line 1087 "YandexPublishing.c"
+#line 1088 "YandexPublishing.c"
}
static gpointer __vala_WebKitNavigationAction_copy0 (gpointer self) {
#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self ? _vala_WebKitNavigationAction_copy (self) : NULL;
-#line 1094 "YandexPublishing.c"
+#line 1095 "YandexPublishing.c"
}
static void _vala_WebKitNavigationAction_free (WebKitNavigationAction* self) {
#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_boxed_free (webkit_navigation_action_get_type (), self);
-#line 1101 "YandexPublishing.c"
+#line 1102 "YandexPublishing.c"
}
@@ -1114,7 +1115,7 @@ static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYand
switch (_tmp0_) {
#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
case WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION:
-#line 1118 "YandexPublishing.c"
+#line 1119 "YandexPublishing.c"
{
WebKitNavigationPolicyDecision* n_decision = NULL;
WebKitPolicyDecision* _tmp1_ = NULL;
@@ -1183,7 +1184,7 @@ static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYand
info = _tmp15_;
#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_tmp16_) {
-#line 1187 "YandexPublishing.c"
+#line 1188 "YandexPublishing.c"
gchar* access_token = NULL;
GMatchInfo* _tmp17_ = NULL;
gchar** _tmp18_ = NULL;
@@ -1223,7 +1224,7 @@ static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYand
_tmp25_ = access_token;
#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_tmp25_ != NULL) {
-#line 1227 "YandexPublishing.c"
+#line 1228 "YandexPublishing.c"
const gchar* _tmp26_ = NULL;
WebKitPolicyDecision* _tmp27_ = NULL;
#line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -1246,15 +1247,15 @@ static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYand
_g_object_unref0 (n_decision);
#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 1250 "YandexPublishing.c"
+#line 1251 "YandexPublishing.c"
} else {
#line 140 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_signal_emit_by_name (self, "login-failed");
-#line 1254 "YandexPublishing.c"
+#line 1255 "YandexPublishing.c"
}
#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (access_token);
-#line 1258 "YandexPublishing.c"
+#line 1259 "YandexPublishing.c"
}
#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp28_ = decision;
@@ -1270,11 +1271,11 @@ static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYand
_g_object_unref0 (n_decision);
#line 143 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 1274 "YandexPublishing.c"
+#line 1275 "YandexPublishing.c"
}
#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
case WEBKIT_POLICY_DECISION_TYPE_RESPONSE:
-#line 1278 "YandexPublishing.c"
+#line 1279 "YandexPublishing.c"
{
WebKitPolicyDecision* _tmp29_ = NULL;
#line 145 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -1283,7 +1284,7 @@ static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYand
webkit_policy_decision_use (_tmp29_);
#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 1287 "YandexPublishing.c"
+#line 1288 "YandexPublishing.c"
}
default:
{
@@ -1291,14 +1292,14 @@ static gboolean publishing_yandex_web_auth_pane_on_decide_policy (PublishingYand
result = FALSE;
#line 148 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 1295 "YandexPublishing.c"
+#line 1296 "YandexPublishing.c"
}
}
#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
result = TRUE;
#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 1302 "YandexPublishing.c"
+#line 1303 "YandexPublishing.c"
}
@@ -1317,14 +1318,14 @@ static void publishing_yandex_web_auth_pane_class_init (PublishingYandexWebAuthP
g_signal_new ("login_succeeded", PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_signal_new ("login_failed", PUBLISHING_YANDEX_TYPE_WEB_AUTH_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 1321 "YandexPublishing.c"
+#line 1322 "YandexPublishing.c"
}
static void publishing_yandex_web_auth_pane_instance_init (PublishingYandexWebAuthPane * self) {
#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv = PUBLISHING_YANDEX_WEB_AUTH_PANE_GET_PRIVATE (self);
-#line 1328 "YandexPublishing.c"
+#line 1329 "YandexPublishing.c"
}
@@ -1336,7 +1337,7 @@ static void publishing_yandex_web_auth_pane_finalize (GObject* obj) {
_g_regex_unref0 (self->priv->re);
#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
G_OBJECT_CLASS (publishing_yandex_web_auth_pane_parent_class)->finalize (obj);
-#line 1340 "YandexPublishing.c"
+#line 1341 "YandexPublishing.c"
}
@@ -1358,21 +1359,21 @@ PublishingYandexPublishOptions* publishing_yandex_publish_options_construct (GTy
self = (PublishingYandexPublishOptions*) g_type_create_instance (object_type);
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 1362 "YandexPublishing.c"
+#line 1363 "YandexPublishing.c"
}
PublishingYandexPublishOptions* publishing_yandex_publish_options_new (void) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return publishing_yandex_publish_options_construct (PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS);
-#line 1369 "YandexPublishing.c"
+#line 1370 "YandexPublishing.c"
}
static void publishing_yandex_value_publish_options_init (GValue* value) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1376 "YandexPublishing.c"
+#line 1377 "YandexPublishing.c"
}
@@ -1381,7 +1382,7 @@ static void publishing_yandex_value_publish_options_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_publish_options_unref (value->data[0].v_pointer);
-#line 1385 "YandexPublishing.c"
+#line 1386 "YandexPublishing.c"
}
}
@@ -1391,11 +1392,11 @@ static void publishing_yandex_value_publish_options_copy_value (const GValue* sr
if (src_value->data[0].v_pointer) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
dest_value->data[0].v_pointer = publishing_yandex_publish_options_ref (src_value->data[0].v_pointer);
-#line 1395 "YandexPublishing.c"
+#line 1396 "YandexPublishing.c"
} else {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1399 "YandexPublishing.c"
+#line 1400 "YandexPublishing.c"
}
}
@@ -1403,37 +1404,37 @@ static void publishing_yandex_value_publish_options_copy_value (const GValue* sr
static gpointer publishing_yandex_value_publish_options_peek_pointer (const GValue* value) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return value->data[0].v_pointer;
-#line 1407 "YandexPublishing.c"
+#line 1408 "YandexPublishing.c"
}
static gchar* publishing_yandex_value_publish_options_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 1414 "YandexPublishing.c"
+#line 1415 "YandexPublishing.c"
PublishingYandexPublishOptions* object;
object = collect_values[0].v_pointer;
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1421 "YandexPublishing.c"
+#line 1422 "YandexPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.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 1425 "YandexPublishing.c"
+#line 1426 "YandexPublishing.c"
}
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
value->data[0].v_pointer = publishing_yandex_publish_options_ref (object);
-#line 1429 "YandexPublishing.c"
+#line 1430 "YandexPublishing.c"
} else {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1433 "YandexPublishing.c"
+#line 1434 "YandexPublishing.c"
}
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return NULL;
-#line 1437 "YandexPublishing.c"
+#line 1438 "YandexPublishing.c"
}
@@ -1444,25 +1445,25 @@ static gchar* publishing_yandex_value_publish_options_lcopy_value (const GValue*
if (!object_p) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1448 "YandexPublishing.c"
+#line 1449 "YandexPublishing.c"
}
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (!value->data[0].v_pointer) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
*object_p = NULL;
-#line 1454 "YandexPublishing.c"
+#line 1455 "YandexPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 1458 "YandexPublishing.c"
+#line 1459 "YandexPublishing.c"
} else {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
*object_p = publishing_yandex_publish_options_ref (value->data[0].v_pointer);
-#line 1462 "YandexPublishing.c"
+#line 1463 "YandexPublishing.c"
}
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return NULL;
-#line 1466 "YandexPublishing.c"
+#line 1467 "YandexPublishing.c"
}
@@ -1476,7 +1477,7 @@ GParamSpec* publishing_yandex_param_spec_publish_options (const gchar* name, con
G_PARAM_SPEC (spec)->value_type = object_type;
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 1480 "YandexPublishing.c"
+#line 1481 "YandexPublishing.c"
}
@@ -1485,7 +1486,7 @@ gpointer publishing_yandex_value_get_publish_options (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_YANDEX_TYPE_PUBLISH_OPTIONS), NULL);
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return value->data[0].v_pointer;
-#line 1489 "YandexPublishing.c"
+#line 1490 "YandexPublishing.c"
}
@@ -1505,17 +1506,17 @@ void publishing_yandex_value_set_publish_options (GValue* value, gpointer v_obje
value->data[0].v_pointer = v_object;
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_publish_options_ref (value->data[0].v_pointer);
-#line 1509 "YandexPublishing.c"
+#line 1510 "YandexPublishing.c"
} else {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1513 "YandexPublishing.c"
+#line 1514 "YandexPublishing.c"
}
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (old) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_publish_options_unref (old);
-#line 1519 "YandexPublishing.c"
+#line 1520 "YandexPublishing.c"
}
}
@@ -1534,17 +1535,17 @@ void publishing_yandex_value_take_publish_options (GValue* value, gpointer v_obj
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 1538 "YandexPublishing.c"
+#line 1539 "YandexPublishing.c"
} else {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1542 "YandexPublishing.c"
+#line 1543 "YandexPublishing.c"
}
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (old) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_publish_options_unref (old);
-#line 1548 "YandexPublishing.c"
+#line 1549 "YandexPublishing.c"
}
}
@@ -1554,7 +1555,7 @@ static void publishing_yandex_publish_options_class_init (PublishingYandexPublis
publishing_yandex_publish_options_parent_class = g_type_class_peek_parent (klass);
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
((PublishingYandexPublishOptionsClass *) klass)->finalize = publishing_yandex_publish_options_finalize;
-#line 1558 "YandexPublishing.c"
+#line 1559 "YandexPublishing.c"
}
@@ -1569,7 +1570,7 @@ static void publishing_yandex_publish_options_instance_init (PublishingYandexPub
self->destination_album_url = NULL;
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->ref_count = 1;
-#line 1573 "YandexPublishing.c"
+#line 1574 "YandexPublishing.c"
}
@@ -1585,7 +1586,7 @@ static void publishing_yandex_publish_options_finalize (PublishingYandexPublishO
_g_free0 (self->destination_album);
#line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (self->destination_album_url);
-#line 1589 "YandexPublishing.c"
+#line 1590 "YandexPublishing.c"
}
@@ -1610,7 +1611,7 @@ gpointer publishing_yandex_publish_options_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return instance;
-#line 1614 "YandexPublishing.c"
+#line 1615 "YandexPublishing.c"
}
@@ -1623,7 +1624,7 @@ void publishing_yandex_publish_options_unref (gpointer instance) {
PUBLISHING_YANDEX_PUBLISH_OPTIONS_GET_CLASS (self)->finalize (self);
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1627 "YandexPublishing.c"
+#line 1628 "YandexPublishing.c"
}
}
@@ -1637,7 +1638,7 @@ static SpitPublishingDialogPaneGeometryOptions publishing_yandex_publishing_opti
result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
#line 176 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 1641 "YandexPublishing.c"
+#line 1642 "YandexPublishing.c"
}
@@ -1645,7 +1646,7 @@ static void publishing_yandex_publishing_options_pane_real_on_pane_installed (Sp
PublishingYandexPublishingOptionsPane * self;
#line 178 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, PublishingYandexPublishingOptionsPane);
-#line 1649 "YandexPublishing.c"
+#line 1650 "YandexPublishing.c"
}
@@ -1653,7 +1654,7 @@ static void publishing_yandex_publishing_options_pane_real_on_pane_uninstalled (
PublishingYandexPublishingOptionsPane * self;
#line 180 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, PublishingYandexPublishingOptionsPane);
-#line 1657 "YandexPublishing.c"
+#line 1658 "YandexPublishing.c"
}
@@ -1672,21 +1673,21 @@ static GtkWidget* publishing_yandex_publishing_options_pane_real_get_widget (Spi
result = _tmp1_;
#line 183 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 1676 "YandexPublishing.c"
+#line 1677 "YandexPublishing.c"
}
static void _publishing_yandex_publishing_options_pane_on_publish_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_publishing_options_pane_on_publish_clicked ((PublishingYandexPublishingOptionsPane*) self);
-#line 1683 "YandexPublishing.c"
+#line 1684 "YandexPublishing.c"
}
static void _publishing_yandex_publishing_options_pane_on_logout_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_publishing_options_pane_on_logout_clicked ((PublishingYandexPublishingOptionsPane*) self);
-#line 1690 "YandexPublishing.c"
+#line 1691 "YandexPublishing.c"
}
@@ -1715,15 +1716,15 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
_g_object_unref0 (self->priv->box);
#line 190 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv->box = _tmp1_;
-#line 1719 "YandexPublishing.c"
+#line 1720 "YandexPublishing.c"
{
GtkBuilder* _tmp2_ = NULL;
GtkBuilder* _tmp3_ = NULL;
GtkBuilder* _tmp4_ = NULL;
- GtkAlignment* align = NULL;
+ GtkWidget* content = NULL;
GtkBuilder* _tmp5_ = NULL;
GObject* _tmp6_ = NULL;
- GtkAlignment* _tmp7_ = NULL;
+ GtkWidget* _tmp7_ = NULL;
GtkBuilder* _tmp8_ = NULL;
GObject* _tmp9_ = NULL;
GtkComboBoxText* _tmp10_ = NULL;
@@ -1736,10 +1737,12 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
GtkButton* _tmp29_ = NULL;
GtkButton* _tmp30_ = NULL;
GtkButton* _tmp31_ = NULL;
- GtkAlignment* _tmp32_ = NULL;
- GtkBox* _tmp33_ = NULL;
- GtkBox* _tmp34_ = NULL;
- GtkAlignment* _tmp35_ = NULL;
+ GtkWidget* _tmp32_ = NULL;
+ GtkContainer* _tmp33_ = NULL;
+ GtkContainer* _tmp34_ = NULL;
+ GtkWidget* _tmp35_ = NULL;
+ GtkBox* _tmp36_ = NULL;
+ GtkWidget* _tmp37_ = NULL;
#line 193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp2_ = gtk_builder_new ();
#line 193 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -1752,7 +1755,7 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
gtk_builder_add_from_resource (_tmp3_, PLUGIN_RESOURCE_PATH "/yandex_publish_model.ui", &_inner_error_);
#line 194 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1756 "YandexPublishing.c"
+#line 1759 "YandexPublishing.c"
goto __catch40_g_error;
}
#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -1762,11 +1765,11 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
#line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp5_ = self->priv->builder;
#line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp6_ = gtk_builder_get_object (_tmp5_, "alignment");
+ _tmp6_ = gtk_builder_get_object (_tmp5_, "content");
#line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, gtk_alignment_get_type ()) ? ((GtkAlignment*) _tmp6_) : NULL);
+ _tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp6_) : NULL);
#line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- align = _tmp7_;
+ content = _tmp7_;
#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp8_ = self->priv->builder;
#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -1777,7 +1780,7 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
_g_object_unref0 (self->priv->album_list);
#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv->album_list = _tmp10_;
-#line 1781 "YandexPublishing.c"
+#line 1784 "YandexPublishing.c"
{
GeeIterator* _key_it = NULL;
GeeHashMap* _tmp11_ = NULL;
@@ -1804,7 +1807,7 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
_key_it = _tmp16_;
#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
while (TRUE) {
-#line 1808 "YandexPublishing.c"
+#line 1811 "YandexPublishing.c"
GeeIterator* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
gchar* key = NULL;
@@ -1820,7 +1823,7 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
if (!_tmp18_) {
#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 1824 "YandexPublishing.c"
+#line 1827 "YandexPublishing.c"
}
#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp19_ = _key_it;
@@ -1836,11 +1839,11 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
gtk_combo_box_text_append_text (_tmp21_, _tmp22_);
#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (key);
-#line 1840 "YandexPublishing.c"
+#line 1843 "YandexPublishing.c"
}
#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_object_unref0 (_key_it);
-#line 1844 "YandexPublishing.c"
+#line 1847 "YandexPublishing.c"
}
#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp23_ = self->priv->album_list;
@@ -1875,40 +1878,44 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
#line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_signal_connect_object (_tmp31_, "clicked", (GCallback) _publishing_yandex_publishing_options_pane_on_logout_clicked_gtk_button_clicked, self, 0);
#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp32_ = align;
+ _tmp32_ = content;
#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp33_ = self->priv->box;
+ _tmp33_ = gtk_widget_get_parent (_tmp32_);
#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- gtk_widget_reparent (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget), G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_widget_get_type (), GtkWidget));
+ _tmp34_ = _tmp33_;
+#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
+ _tmp35_ = content;
+#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
+ gtk_container_remove (_tmp34_, _tmp35_);
#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp34_ = self->priv->box;
+ _tmp36_ = self->priv->box;
#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp35_ = align;
+ _tmp37_ = content;
#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- gtk_box_set_child_packing (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0, GTK_PACK_START);
+ gtk_box_pack_start (_tmp36_, _tmp37_, TRUE, TRUE, (guint) 0);
#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _g_object_unref0 (align);
-#line 1892 "YandexPublishing.c"
+ _g_object_unref0 (content);
+#line 1899 "YandexPublishing.c"
}
goto __finally40;
__catch40_g_error:
{
GError* e = NULL;
- GError* _tmp36_ = NULL;
- const gchar* _tmp37_ = NULL;
+ GError* _tmp38_ = NULL;
+ const gchar* _tmp39_ = NULL;
#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
e = _inner_error_;
#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_inner_error_ = NULL;
#line 214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp36_ = e;
+ _tmp38_ = e;
#line 214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp37_ = _tmp36_->message;
+ _tmp39_ = _tmp38_->message;
#line 214 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- g_warning ("YandexPublishing.vala:214: Could not load UI: %s", _tmp37_);
+ g_warning ("YandexPublishing.vala:214: Could not load UI: %s", _tmp39_);
#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (e);
-#line 1912 "YandexPublishing.c"
+#line 1919 "YandexPublishing.c"
}
__finally40:
#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -1919,18 +1926,18 @@ PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane
g_clear_error (&_inner_error_);
#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return NULL;
-#line 1923 "YandexPublishing.c"
+#line 1930 "YandexPublishing.c"
}
#line 186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 1927 "YandexPublishing.c"
+#line 1934 "YandexPublishing.c"
}
PublishingYandexPublishingOptionsPane* publishing_yandex_publishing_options_pane_new (PublishingYandexPublishOptions* options, GeeHashMap* list, SpitPublishingPluginHost* host) {
#line 186 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return publishing_yandex_publishing_options_pane_construct (PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, options, list, host);
-#line 1934 "YandexPublishing.c"
+#line 1941 "YandexPublishing.c"
}
@@ -1939,7 +1946,7 @@ static void publishing_yandex_publishing_options_pane_on_logout_clicked (Publish
g_return_if_fail (PUBLISHING_YANDEX_IS_PUBLISHING_OPTIONS_PANE (self));
#line 219 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_signal_emit_by_name (self, "logout");
-#line 1943 "YandexPublishing.c"
+#line 1950 "YandexPublishing.c"
}
@@ -2040,7 +2047,7 @@ static void publishing_yandex_publishing_options_pane_on_publish_clicked (Publis
_g_object_unref0 (access_type);
#line 222 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_object_unref0 (tmp);
-#line 2044 "YandexPublishing.c"
+#line 2051 "YandexPublishing.c"
}
@@ -2055,7 +2062,7 @@ static void publishing_yandex_publishing_options_pane_class_init (PublishingYand
g_signal_new ("publish", PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_signal_new ("logout", PUBLISHING_YANDEX_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 2059 "YandexPublishing.c"
+#line 2066 "YandexPublishing.c"
}
@@ -2070,14 +2077,14 @@ static void publishing_yandex_publishing_options_pane_spit_publishing_dialog_pan
iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_yandex_publishing_options_pane_real_on_pane_uninstalled;
#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_yandex_publishing_options_pane_real_get_widget;
-#line 2074 "YandexPublishing.c"
+#line 2081 "YandexPublishing.c"
}
static void publishing_yandex_publishing_options_pane_instance_init (PublishingYandexPublishingOptionsPane * self) {
#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv = PUBLISHING_YANDEX_PUBLISHING_OPTIONS_PANE_GET_PRIVATE (self);
-#line 2081 "YandexPublishing.c"
+#line 2088 "YandexPublishing.c"
}
@@ -2097,7 +2104,7 @@ static void publishing_yandex_publishing_options_pane_finalize (GObject* obj) {
_g_object_unref0 (self->priv->album_list);
#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
G_OBJECT_CLASS (publishing_yandex_publishing_options_pane_parent_class)->finalize (obj);
-#line 2101 "YandexPublishing.c"
+#line 2108 "YandexPublishing.c"
}
@@ -2139,14 +2146,14 @@ PublishingYandexUploader* publishing_yandex_uploader_construct (GType object_typ
self->priv->options = _tmp2_;
#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 2143 "YandexPublishing.c"
+#line 2150 "YandexPublishing.c"
}
PublishingYandexUploader* publishing_yandex_uploader_new (PublishingYandexSession* session, PublishingYandexPublishOptions* options, SpitPublishingPublishable** photos, int photos_length1) {
#line 241 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return publishing_yandex_uploader_construct (PUBLISHING_YANDEX_TYPE_UPLOADER, session, options, photos, photos_length1);
-#line 2150 "YandexPublishing.c"
+#line 2157 "YandexPublishing.c"
}
@@ -2188,7 +2195,7 @@ static PublishingRESTSupportTransaction* publishing_yandex_uploader_real_create_
result = _tmp6_;
#line 249 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 2192 "YandexPublishing.c"
+#line 2199 "YandexPublishing.c"
}
@@ -2201,14 +2208,14 @@ static void publishing_yandex_uploader_class_init (PublishingYandexUploaderClass
g_type_class_add_private (klass, sizeof (PublishingYandexUploaderPrivate));
#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
((PublishingRESTSupportBatchUploaderClass *) klass)->create_transaction = publishing_yandex_uploader_real_create_transaction;
-#line 2205 "YandexPublishing.c"
+#line 2212 "YandexPublishing.c"
}
static void publishing_yandex_uploader_instance_init (PublishingYandexUploader * self) {
#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv = PUBLISHING_YANDEX_UPLOADER_GET_PRIVATE (self);
-#line 2212 "YandexPublishing.c"
+#line 2219 "YandexPublishing.c"
}
@@ -2218,7 +2225,7 @@ static void publishing_yandex_uploader_finalize (PublishingRESTSupportBatchUploa
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_YANDEX_TYPE_UPLOADER, PublishingYandexUploader);
#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_CLASS (publishing_yandex_uploader_parent_class)->finalize (obj);
-#line 2222 "YandexPublishing.c"
+#line 2229 "YandexPublishing.c"
}
@@ -2238,7 +2245,7 @@ static gchar* bool_to_string (gboolean self) {
gchar* result = NULL;
#line 37 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (self) {
-#line 2242 "YandexPublishing.c"
+#line 2249 "YandexPublishing.c"
gchar* _tmp0_ = NULL;
#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup ("true");
@@ -2246,7 +2253,7 @@ static gchar* bool_to_string (gboolean self) {
result = _tmp0_;
#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 2250 "YandexPublishing.c"
+#line 2257 "YandexPublishing.c"
} else {
gchar* _tmp1_ = NULL;
#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -2255,7 +2262,7 @@ static gchar* bool_to_string (gboolean self) {
result = _tmp1_;
#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 2259 "YandexPublishing.c"
+#line 2266 "YandexPublishing.c"
}
}
@@ -2263,7 +2270,7 @@ static gchar* bool_to_string (gboolean self) {
static void _vala_SoupMultipart_free (SoupMultipart* self) {
#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_boxed_free (soup_multipart_get_type (), self);
-#line 2267 "YandexPublishing.c"
+#line 2274 "YandexPublishing.c"
}
@@ -2307,27 +2314,34 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
if (result_length1) {
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
-#line 2311 "YandexPublishing.c"
+#line 2318 "YandexPublishing.c"
}
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp4_;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 2317 "YandexPublishing.c"
+#line 2324 "YandexPublishing.c"
+}
+
+
+static guint8* _vala_array_dup10 (guint8* self, int length) {
+#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
+ return g_memdup (self, length * sizeof (guint8));
+#line 2331 "YandexPublishing.c"
}
static void _g_free0_ (gpointer var) {
#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
var = (g_free (var), NULL);
-#line 2324 "YandexPublishing.c"
+#line 2338 "YandexPublishing.c"
}
static void _vala_SoupBuffer_free (SoupBuffer* self) {
#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_boxed_free (soup_buffer_get_type (), self);
-#line 2331 "YandexPublishing.c"
+#line 2345 "YandexPublishing.c"
}
@@ -2369,36 +2383,38 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc
gint _tmp41__length1 = 0;
guint8* _tmp42_ = NULL;
gint _tmp42__length1 = 0;
- SoupBuffer* _tmp43_ = NULL;
- SpitPublishingPublishable* _tmp44_ = NULL;
- GFile* _tmp45_ = NULL;
+ guint8* _tmp43_ = NULL;
+ gint _tmp43__length1 = 0;
+ SoupBuffer* _tmp44_ = NULL;
+ SpitPublishingPublishable* _tmp45_ = NULL;
GFile* _tmp46_ = NULL;
- gchar* _tmp47_ = NULL;
+ GFile* _tmp47_ = NULL;
gchar* _tmp48_ = NULL;
+ gchar* _tmp49_ = NULL;
SoupMessageHeaders* image_part_header = NULL;
SoupBuffer* image_part_body = NULL;
- SoupMessageHeaders* _tmp49_ = NULL;
- SoupBuffer* _tmp50_ = NULL;
+ SoupMessageHeaders* _tmp50_ = NULL;
+ SoupBuffer* _tmp51_ = NULL;
GHashTable* _result_ = NULL;
- GHashFunc _tmp51_ = NULL;
- GEqualFunc _tmp52_ = NULL;
- GHashTable* _tmp53_ = NULL;
- gchar* _tmp54_ = NULL;
+ GHashFunc _tmp52_ = NULL;
+ GEqualFunc _tmp53_ = NULL;
+ GHashTable* _tmp54_ = NULL;
gchar* _tmp55_ = NULL;
gchar* _tmp56_ = NULL;
gchar* _tmp57_ = NULL;
- SoupMessage* outbound_message = NULL;
gchar* _tmp58_ = NULL;
+ SoupMessage* outbound_message = NULL;
gchar* _tmp59_ = NULL;
- SoupMessage* _tmp60_ = NULL;
+ gchar* _tmp60_ = NULL;
SoupMessage* _tmp61_ = NULL;
- SoupMessageHeaders* _tmp62_ = NULL;
- PublishingYandexSession* _tmp63_ = NULL;
- gchar* _tmp64_ = NULL;
+ SoupMessage* _tmp62_ = NULL;
+ SoupMessageHeaders* _tmp63_ = NULL;
+ PublishingYandexSession* _tmp64_ = NULL;
gchar* _tmp65_ = NULL;
gchar* _tmp66_ = NULL;
gchar* _tmp67_ = NULL;
- SoupMessageHeaders* _tmp68_ = NULL;
+ gchar* _tmp68_ = NULL;
+ SoupMessageHeaders* _tmp69_ = NULL;
GError * _inner_error_ = NULL;
#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_return_val_if_fail (PUBLISHING_YANDEX_IS_SESSION (session), NULL);
@@ -2484,7 +2500,7 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc
soup_multipart_append_form_string (message_parts, "access", _tmp25_);
#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (_tmp25_);
-#line 2488 "YandexPublishing.c"
+#line 2504 "YandexPublishing.c"
{
SpitPublishingPublishable* _tmp26_ = NULL;
GFile* _tmp27_ = NULL;
@@ -2519,7 +2535,7 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_inner_error_->domain == G_FILE_ERROR) {
-#line 2523 "YandexPublishing.c"
+#line 2539 "YandexPublishing.c"
goto __catch41_g_file_error;
}
#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -2532,7 +2548,7 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc
g_clear_error (&_inner_error_);
#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return NULL;
-#line 2536 "YandexPublishing.c"
+#line 2552 "YandexPublishing.c"
}
}
goto __finally41;
@@ -2572,7 +2588,7 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc
_g_object_unref0 (_tmp35_);
#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (e);
-#line 2576 "YandexPublishing.c"
+#line 2592 "YandexPublishing.c"
}
__finally41:
#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -2587,7 +2603,7 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc
g_clear_error (&_inner_error_);
#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return NULL;
-#line 2591 "YandexPublishing.c"
+#line 2607 "YandexPublishing.c"
}
#line 276 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp40_ = soup_multipart_get_length (message_parts);
@@ -2600,87 +2616,91 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc
#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp42__length1 = _tmp41__length1;
#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp43_ = soup_buffer_new (SOUP_MEMORY_COPY, _tmp42_ + 0, ((gint) data_length) - 0);
+ _tmp43_ = (_tmp42_ != NULL) ? _vala_array_dup10 (_tmp42_, _tmp42__length1) : ((gpointer) _tmp42_);
#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- bindable_data = _tmp43_;
+ _tmp43__length1 = _tmp42__length1;
+#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
+ _tmp44_ = soup_buffer_new_take (_tmp43_, _tmp43__length1);
+#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
+ bindable_data = _tmp44_;
#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp44_ = photo;
+ _tmp45_ = photo;
#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp45_ = spit_publishing_publishable_get_serialized_file (_tmp44_);
+ _tmp46_ = spit_publishing_publishable_get_serialized_file (_tmp45_);
#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp46_ = _tmp45_;
+ _tmp47_ = _tmp46_;
#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp47_ = g_file_get_path (_tmp46_);
+ _tmp48_ = g_file_get_path (_tmp47_);
#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp48_ = _tmp47_;
+ _tmp49_ = _tmp48_;
#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- soup_multipart_append_form_file (message_parts, "", _tmp48_, "image/jpeg", bindable_data);
+ soup_multipart_append_form_file (message_parts, "", _tmp49_, "image/jpeg", bindable_data);
#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _g_free0 (_tmp48_);
+ _g_free0 (_tmp49_);
#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _g_object_unref0 (_tmp46_);
+ _g_object_unref0 (_tmp47_);
#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- soup_multipart_get_part (message_parts, image_part_num, &_tmp49_, &_tmp50_);
+ soup_multipart_get_part (message_parts, image_part_num, &_tmp50_, &_tmp51_);
#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- image_part_header = _tmp49_;
+ image_part_header = _tmp50_;
#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- image_part_body = _tmp50_;
+ image_part_body = _tmp51_;
#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp51_ = g_str_hash;
+ _tmp52_ = g_str_hash;
#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp52_ = g_str_equal;
+ _tmp53_ = g_str_equal;
#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp53_ = g_hash_table_new_full (_tmp51_, _tmp52_, _g_free0_, _g_free0_);
+ _tmp54_ = g_hash_table_new_full (_tmp52_, _tmp53_, _g_free0_, _g_free0_);
#line 285 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _result_ = _tmp53_;
+ _result_ = _tmp54_;
#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp54_ = g_strdup ("name");
+ _tmp55_ = g_strdup ("name");
#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp55_ = g_strdup ("image");
+ _tmp56_ = g_strdup ("image");
#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- g_hash_table_insert (_result_, _tmp54_, _tmp55_);
+ g_hash_table_insert (_result_, _tmp55_, _tmp56_);
#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp56_ = g_strdup ("filename");
+ _tmp57_ = g_strdup ("filename");
#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp57_ = g_strdup ("unused");
+ _tmp58_ = g_strdup ("unused");
#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- g_hash_table_insert (_result_, _tmp56_, _tmp57_);
+ g_hash_table_insert (_result_, _tmp57_, _tmp58_);
#line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
soup_message_headers_set_content_disposition (image_part_header, "form-data", _result_);
#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp58_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
+ _tmp59_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp59_ = _tmp58_;
+ _tmp60_ = _tmp59_;
#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp60_ = soup_form_request_new_from_multipart (_tmp59_, message_parts);
+ _tmp61_ = soup_form_request_new_from_multipart (_tmp60_, message_parts);
#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp61_ = _tmp60_;
+ _tmp62_ = _tmp61_;
#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _g_free0 (_tmp59_);
+ _g_free0 (_tmp60_);
#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- outbound_message = _tmp61_;
+ outbound_message = _tmp62_;
#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp62_ = outbound_message->request_headers;
+ _tmp63_ = outbound_message->request_headers;
#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp63_ = session;
+ _tmp64_ = session;
#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp64_ = publishing_yandex_session_get_auth_token (_tmp63_);
+ _tmp65_ = publishing_yandex_session_get_auth_token (_tmp64_);
#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp65_ = _tmp64_;
+ _tmp66_ = _tmp65_;
#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp66_ = g_strdup_printf ("OAuth %s", _tmp65_);
+ _tmp67_ = g_strdup_printf ("OAuth %s", _tmp66_);
#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp67_ = _tmp66_;
+ _tmp68_ = _tmp67_;
#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- soup_message_headers_append (_tmp62_, "Authorization", _tmp67_);
+ soup_message_headers_append (_tmp63_, "Authorization", _tmp68_);
#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _g_free0 (_tmp67_);
+ _g_free0 (_tmp68_);
#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _g_free0 (_tmp65_);
+ _g_free0 (_tmp66_);
#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- _tmp68_ = outbound_message->request_headers;
+ _tmp69_ = outbound_message->request_headers;
#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
- soup_message_headers_append (_tmp68_, "Connection", "close");
+ soup_message_headers_append (_tmp69_, "Connection", "close");
#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_rest_support_transaction_set_message (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), outbound_message);
#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -2695,21 +2715,21 @@ PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_construc
__vala_SoupMultipart_free0 (message_parts);
#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 2699 "YandexPublishing.c"
+#line 2719 "YandexPublishing.c"
}
PublishingYandexUploadTransaction* publishing_yandex_upload_transaction_new (PublishingYandexSession* session, PublishingYandexPublishOptions* options, SpitPublishingPublishable* photo) {
#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return publishing_yandex_upload_transaction_construct (PUBLISHING_YANDEX_TYPE_UPLOAD_TRANSACTION, session, options, photo);
-#line 2706 "YandexPublishing.c"
+#line 2726 "YandexPublishing.c"
}
static void publishing_yandex_upload_transaction_class_init (PublishingYandexUploadTransactionClass * klass) {
#line 253 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_upload_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 2713 "YandexPublishing.c"
+#line 2733 "YandexPublishing.c"
}
@@ -2770,14 +2790,14 @@ PublishingYandexYandexPublisher* publishing_yandex_yandex_publisher_construct (G
self->priv->options = _tmp4_;
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return self;
-#line 2774 "YandexPublishing.c"
+#line 2794 "YandexPublishing.c"
}
PublishingYandexYandexPublisher* publishing_yandex_yandex_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host) {
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return publishing_yandex_yandex_publisher_construct (PUBLISHING_YANDEX_TYPE_YANDEX_PUBLISHER, service, host);
-#line 2781 "YandexPublishing.c"
+#line 2801 "YandexPublishing.c"
}
@@ -2795,7 +2815,7 @@ gchar* publishing_yandex_yandex_publisher_get_persistent_auth_token (PublishingY
result = _tmp1_;
#line 323 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 2799 "YandexPublishing.c"
+#line 2819 "YandexPublishing.c"
}
@@ -2812,7 +2832,7 @@ void publishing_yandex_yandex_publisher_set_persistent_auth_token (PublishingYan
_tmp1_ = auth_token;
#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "auth_token", _tmp1_);
-#line 2816 "YandexPublishing.c"
+#line 2836 "YandexPublishing.c"
}
@@ -2824,7 +2844,7 @@ void publishing_yandex_yandex_publisher_invalidate_persistent_session (Publishin
_tmp0_ = self->priv->host;
#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
spit_host_interface_unset_config_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "auth_token");
-#line 2828 "YandexPublishing.c"
+#line 2848 "YandexPublishing.c"
}
@@ -2847,7 +2867,7 @@ gboolean publishing_yandex_yandex_publisher_is_persistent_session_available (Pub
result = _tmp2_;
#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 2851 "YandexPublishing.c"
+#line 2871 "YandexPublishing.c"
}
@@ -2863,7 +2883,7 @@ static gboolean publishing_yandex_yandex_publisher_real_is_running (SpitPublishi
result = _tmp0_;
#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 2867 "YandexPublishing.c"
+#line 2887 "YandexPublishing.c"
}
@@ -2882,7 +2902,7 @@ static SpitPublishingService* publishing_yandex_yandex_publisher_real_get_servic
result = _tmp1_;
#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 2886 "YandexPublishing.c"
+#line 2906 "YandexPublishing.c"
}
@@ -2896,7 +2916,7 @@ static gchar* publishing_yandex_yandex_publisher_check_response (PublishingYande
result = NULL;
#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 2900 "YandexPublishing.c"
+#line 2920 "YandexPublishing.c"
}
@@ -2909,7 +2929,7 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
title = NULL;
#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
link = NULL;
-#line 2913 "YandexPublishing.c"
+#line 2933 "YandexPublishing.c"
{
xmlNode* c = NULL;
xmlNode* _tmp0_ = NULL;
@@ -2920,14 +2940,14 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
_tmp1_ = _tmp0_->children;
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
c = _tmp1_;
-#line 2924 "YandexPublishing.c"
+#line 2944 "YandexPublishing.c"
{
gboolean _tmp2_ = FALSE;
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp2_ = TRUE;
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
while (TRUE) {
-#line 2931 "YandexPublishing.c"
+#line 2951 "YandexPublishing.c"
xmlNode* _tmp5_ = NULL;
xmlNode* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
@@ -2938,7 +2958,7 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
const gchar* _tmp19_ = NULL;
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (!_tmp2_) {
-#line 2942 "YandexPublishing.c"
+#line 2962 "YandexPublishing.c"
xmlNode* _tmp3_ = NULL;
xmlNode* _tmp4_ = NULL;
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -2947,7 +2967,7 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
_tmp4_ = _tmp3_->next;
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
c = _tmp4_;
-#line 2951 "YandexPublishing.c"
+#line 2971 "YandexPublishing.c"
}
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp2_ = FALSE;
@@ -2957,7 +2977,7 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
if (!(_tmp5_ != NULL)) {
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 2961 "YandexPublishing.c"
+#line 2981 "YandexPublishing.c"
}
#line 355 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp6_ = c;
@@ -2965,7 +2985,7 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
_tmp7_ = _tmp6_->name;
#line 355 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (g_strcmp0 (_tmp7_, "title") == 0) {
-#line 2969 "YandexPublishing.c"
+#line 2989 "YandexPublishing.c"
xmlNode* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -2976,7 +2996,7 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
_g_free0 (title);
#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
title = _tmp9_;
-#line 2980 "YandexPublishing.c"
+#line 3000 "YandexPublishing.c"
}
#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp11_ = c;
@@ -2984,7 +3004,7 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
_tmp12_ = _tmp11_->name;
#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (g_strcmp0 (_tmp12_, "link") == 0) {
-#line 2988 "YandexPublishing.c"
+#line 3008 "YandexPublishing.c"
xmlNode* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
@@ -2998,15 +3018,15 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
_tmp10_ = g_strcmp0 (_tmp15_, "photos") == 0;
#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (_tmp15_);
-#line 3002 "YandexPublishing.c"
+#line 3022 "YandexPublishing.c"
} else {
#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp10_ = FALSE;
-#line 3006 "YandexPublishing.c"
+#line 3026 "YandexPublishing.c"
}
#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_tmp10_) {
-#line 3010 "YandexPublishing.c"
+#line 3030 "YandexPublishing.c"
xmlNode* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -3017,27 +3037,27 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
_g_free0 (link);
#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
link = _tmp17_;
-#line 3021 "YandexPublishing.c"
+#line 3041 "YandexPublishing.c"
}
#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp19_ = title;
#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_tmp19_ != NULL) {
-#line 3027 "YandexPublishing.c"
+#line 3047 "YandexPublishing.c"
const gchar* _tmp20_ = NULL;
#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp20_ = link;
#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp18_ = _tmp20_ != NULL;
-#line 3033 "YandexPublishing.c"
+#line 3053 "YandexPublishing.c"
} else {
#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp18_ = FALSE;
-#line 3037 "YandexPublishing.c"
+#line 3057 "YandexPublishing.c"
}
#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_tmp18_) {
-#line 3041 "YandexPublishing.c"
+#line 3061 "YandexPublishing.c"
const gchar* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
GeeHashMap* _tmp23_ = NULL;
@@ -3067,7 +3087,7 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
link = NULL;
#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 3071 "YandexPublishing.c"
+#line 3091 "YandexPublishing.c"
}
}
}
@@ -3076,7 +3096,7 @@ static void publishing_yandex_yandex_publisher_parse_album_entry (PublishingYand
_g_free0 (link);
#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (title);
-#line 3080 "YandexPublishing.c"
+#line 3100 "YandexPublishing.c"
}
@@ -3085,7 +3105,7 @@ static gchar* _publishing_yandex_yandex_publisher_check_response_publishing_rest
result = publishing_yandex_yandex_publisher_check_response ((PublishingYandexYandexPublisher*) self, doc);
#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return result;
-#line 3089 "YandexPublishing.c"
+#line 3109 "YandexPublishing.c"
}
@@ -3116,7 +3136,7 @@ void publishing_yandex_yandex_publisher_parse_album_creation (PublishingYandexYa
g_propagate_error (error, _inner_error_);
#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3120 "YandexPublishing.c"
+#line 3140 "YandexPublishing.c"
} else {
#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.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);
@@ -3124,7 +3144,7 @@ void publishing_yandex_yandex_publisher_parse_album_creation (PublishingYandexYa
g_clear_error (&_inner_error_);
#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3128 "YandexPublishing.c"
+#line 3148 "YandexPublishing.c"
}
}
#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -3147,7 +3167,7 @@ void publishing_yandex_yandex_publisher_parse_album_creation (PublishingYandexYa
_publishing_rest_support_xml_document_unref0 (doc);
#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3151 "YandexPublishing.c"
+#line 3171 "YandexPublishing.c"
} else {
#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
@@ -3157,12 +3177,12 @@ void publishing_yandex_yandex_publisher_parse_album_creation (PublishingYandexYa
g_clear_error (&_inner_error_);
#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3161 "YandexPublishing.c"
+#line 3181 "YandexPublishing.c"
}
}
#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 3166 "YandexPublishing.c"
+#line 3186 "YandexPublishing.c"
}
@@ -3192,7 +3212,7 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
g_propagate_error (error, _inner_error_);
#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3196 "YandexPublishing.c"
+#line 3216 "YandexPublishing.c"
} else {
#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.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);
@@ -3200,7 +3220,7 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
g_clear_error (&_inner_error_);
#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3204 "YandexPublishing.c"
+#line 3224 "YandexPublishing.c"
}
}
#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -3209,7 +3229,7 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
_tmp3_ = publishing_rest_support_xml_document_get_root_node (_tmp2_);
#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
root = _tmp3_;
-#line 3213 "YandexPublishing.c"
+#line 3233 "YandexPublishing.c"
{
xmlNode* e = NULL;
xmlNode* _tmp4_ = NULL;
@@ -3220,21 +3240,21 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
_tmp5_ = _tmp4_->children;
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
e = _tmp5_;
-#line 3224 "YandexPublishing.c"
+#line 3244 "YandexPublishing.c"
{
gboolean _tmp6_ = FALSE;
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp6_ = TRUE;
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
while (TRUE) {
-#line 3231 "YandexPublishing.c"
+#line 3251 "YandexPublishing.c"
xmlNode* _tmp9_ = NULL;
xmlNode* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
xmlNode* _tmp12_ = NULL;
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (!_tmp6_) {
-#line 3238 "YandexPublishing.c"
+#line 3258 "YandexPublishing.c"
xmlNode* _tmp7_ = NULL;
xmlNode* _tmp8_ = NULL;
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -3243,7 +3263,7 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
_tmp8_ = _tmp7_->next;
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
e = _tmp8_;
-#line 3247 "YandexPublishing.c"
+#line 3267 "YandexPublishing.c"
}
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp6_ = FALSE;
@@ -3253,7 +3273,7 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
if (!(_tmp9_ != NULL)) {
#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 3257 "YandexPublishing.c"
+#line 3277 "YandexPublishing.c"
}
#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp10_ = e;
@@ -3263,7 +3283,7 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
if (g_strcmp0 (_tmp11_, "entry") != 0) {
#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
continue;
-#line 3267 "YandexPublishing.c"
+#line 3287 "YandexPublishing.c"
}
#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp12_ = e;
@@ -3279,7 +3299,7 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
_publishing_rest_support_xml_document_unref0 (doc);
#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3283 "YandexPublishing.c"
+#line 3303 "YandexPublishing.c"
} else {
#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
@@ -3289,7 +3309,7 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
g_clear_error (&_inner_error_);
#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3293 "YandexPublishing.c"
+#line 3313 "YandexPublishing.c"
}
}
}
@@ -3297,21 +3317,21 @@ void publishing_yandex_yandex_publisher_parse_album_list (PublishingYandexYandex
}
#line 378 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 3301 "YandexPublishing.c"
+#line 3321 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_album_creation_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 391 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_album_creation_complete ((PublishingYandexYandexPublisher*) self, _sender);
-#line 3308 "YandexPublishing.c"
+#line 3328 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_album_creation_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_album_creation_error ((PublishingYandexYandexPublisher*) self, _sender, err);
-#line 3315 "YandexPublishing.c"
+#line 3335 "YandexPublishing.c"
}
@@ -3344,7 +3364,7 @@ static void publishing_yandex_yandex_publisher_album_creation_error (PublishingY
_tmp5_ = _tmp4_->message;
#line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_warning ("YandexPublishing.vala:394: Album creation error: %s", _tmp5_);
-#line 3348 "YandexPublishing.c"
+#line 3368 "YandexPublishing.c"
}
@@ -3376,7 +3396,7 @@ static void publishing_yandex_yandex_publisher_album_creation_complete (Publishi
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
#line 399 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_yandex_yandex_publisher_album_creation_error_publishing_rest_support_transaction_network_error, self);
-#line 3380 "YandexPublishing.c"
+#line 3400 "YandexPublishing.c"
{
PublishingRESTSupportTransaction* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
@@ -3395,7 +3415,7 @@ static void publishing_yandex_yandex_publisher_album_creation_complete (Publishi
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 3399 "YandexPublishing.c"
+#line 3419 "YandexPublishing.c"
goto __catch42_spit_publishing_publishing_error;
}
#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -3404,7 +3424,7 @@ static void publishing_yandex_yandex_publisher_album_creation_complete (Publishi
g_clear_error (&_inner_error_);
#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3408 "YandexPublishing.c"
+#line 3428 "YandexPublishing.c"
}
}
goto __finally42;
@@ -3427,7 +3447,7 @@ static void publishing_yandex_yandex_publisher_album_creation_complete (Publishi
_g_error_free0 (err);
#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3431 "YandexPublishing.c"
+#line 3451 "YandexPublishing.c"
}
__finally42:
#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -3438,7 +3458,7 @@ static void publishing_yandex_yandex_publisher_album_creation_complete (Publishi
g_clear_error (&_inner_error_);
#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3442 "YandexPublishing.c"
+#line 3462 "YandexPublishing.c"
}
#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp9_ = self->priv->album_list;
@@ -3458,7 +3478,7 @@ static void publishing_yandex_yandex_publisher_album_creation_complete (Publishi
if (_tmp14_) {
#line 409 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_start_upload (self);
-#line 3462 "YandexPublishing.c"
+#line 3482 "YandexPublishing.c"
} else {
SpitPublishingPluginHost* _tmp15_ = NULL;
GError* _tmp16_ = NULL;
@@ -3473,7 +3493,7 @@ static void publishing_yandex_yandex_publisher_album_creation_complete (Publishi
spit_publishing_plugin_host_post_error (_tmp15_, _tmp17_);
#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (_tmp17_);
-#line 3477 "YandexPublishing.c"
+#line 3497 "YandexPublishing.c"
}
}
@@ -3519,7 +3539,7 @@ static void publishing_yandex_yandex_publisher_create_destination_album (Publish
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_yandex_yandex_publisher_album_creation_complete_publishing_rest_support_transaction_completed, self, 0);
#line 423 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_yandex_yandex_publisher_album_creation_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 3522 "YandexPublishing.c"
+#line 3542 "YandexPublishing.c"
{
#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
@@ -3527,7 +3547,7 @@ static void publishing_yandex_yandex_publisher_create_destination_album (Publish
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 3530 "YandexPublishing.c"
+#line 3550 "YandexPublishing.c"
goto __catch43_spit_publishing_publishing_error;
}
#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -3542,7 +3562,7 @@ static void publishing_yandex_yandex_publisher_create_destination_album (Publish
g_clear_error (&_inner_error_);
#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3545 "YandexPublishing.c"
+#line 3565 "YandexPublishing.c"
}
}
goto __finally43;
@@ -3563,7 +3583,7 @@ static void publishing_yandex_yandex_publisher_create_destination_album (Publish
spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_);
#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (err);
-#line 3566 "YandexPublishing.c"
+#line 3586 "YandexPublishing.c"
}
__finally43:
#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -3580,7 +3600,7 @@ static void publishing_yandex_yandex_publisher_create_destination_album (Publish
g_clear_error (&_inner_error_);
#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3583 "YandexPublishing.c"
+#line 3603 "YandexPublishing.c"
}
#line 414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_publishing_rest_support_transaction_unref0 (t);
@@ -3588,21 +3608,21 @@ static void publishing_yandex_yandex_publisher_create_destination_album (Publish
_g_free0 (data);
#line 414 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (album);
-#line 3591 "YandexPublishing.c"
+#line 3611 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete (PublishingRESTSupportBatchUploader* _sender, gint num_photos_published, gpointer self) {
#line 433 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_on_upload_complete ((PublishingYandexYandexPublisher*) self, _sender, num_photos_published);
-#line 3598 "YandexPublishing.c"
+#line 3618 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error (PublishingRESTSupportBatchUploader* _sender, GError* err, gpointer self) {
#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_on_upload_error ((PublishingYandexYandexPublisher*) self, _sender, err);
-#line 3605 "YandexPublishing.c"
+#line 3625 "YandexPublishing.c"
}
@@ -3634,7 +3654,7 @@ static void publishing_yandex_yandex_publisher_on_upload_complete (PublishingYan
_tmp4_ = num_published;
#line 436 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_tmp4_ == 0) {
-#line 3637 "YandexPublishing.c"
+#line 3657 "YandexPublishing.c"
SpitPublishingPluginHost* _tmp5_ = NULL;
GError* _tmp6_ = NULL;
GError* _tmp7_ = NULL;
@@ -3648,7 +3668,7 @@ static void publishing_yandex_yandex_publisher_on_upload_complete (PublishingYan
spit_publishing_plugin_host_post_error (_tmp5_, _tmp7_);
#line 437 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (_tmp7_);
-#line 3651 "YandexPublishing.c"
+#line 3671 "YandexPublishing.c"
}
#line 439 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp8_ = self->priv->host;
@@ -3658,7 +3678,7 @@ static void publishing_yandex_yandex_publisher_on_upload_complete (PublishingYan
_tmp9_ = self->priv->host;
#line 441 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
spit_publishing_plugin_host_install_success_pane (_tmp9_);
-#line 3661 "YandexPublishing.c"
+#line 3681 "YandexPublishing.c"
}
@@ -3691,7 +3711,7 @@ static void publishing_yandex_yandex_publisher_on_upload_error (PublishingYandex
_tmp5_ = _tmp4_->message;
#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_warning ("YandexPublishing.vala:448: Photo upload error: %s", _tmp5_);
-#line 3694 "YandexPublishing.c"
+#line 3714 "YandexPublishing.c"
}
@@ -3726,14 +3746,14 @@ static void publishing_yandex_yandex_publisher_on_upload_status_updated (Publish
_tmp4_ = completed_fraction;
#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp2_ (_tmp3_, _tmp4_, _tmp2__target);
-#line 3728 "YandexPublishing.c"
+#line 3748 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) {
#line 470 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_on_upload_status_updated ((PublishingYandexYandexPublisher*) self, file_number, fraction_complete);
-#line 3735 "YandexPublishing.c"
+#line 3755 "YandexPublishing.c"
}
@@ -3824,7 +3844,7 @@ static void publishing_yandex_yandex_publisher_start_upload (PublishingYandexYan
_publishing_rest_support_batch_uploader_unref0 (uploader);
#line 459 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 3826 "YandexPublishing.c"
+#line 3846 "YandexPublishing.c"
}
@@ -3839,7 +3859,7 @@ static void publishing_yandex_yandex_publisher_on_logout (PublishingYandexYandex
if (!_tmp0_) {
#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 3841 "YandexPublishing.c"
+#line 3861 "YandexPublishing.c"
}
#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp1_ = self->priv->session;
@@ -3851,7 +3871,7 @@ static void publishing_yandex_yandex_publisher_on_logout (PublishingYandexYandex
self->priv->running = FALSE;
#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
spit_publishing_publisher_start (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher));
-#line 3853 "YandexPublishing.c"
+#line 3873 "YandexPublishing.c"
}
@@ -3907,11 +3927,11 @@ static void publishing_yandex_yandex_publisher_on_publish (PublishingYandexYande
if (_tmp12_) {
#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_create_destination_album (self);
-#line 3909 "YandexPublishing.c"
+#line 3929 "YandexPublishing.c"
} else {
#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_start_upload (self);
-#line 3913 "YandexPublishing.c"
+#line 3933 "YandexPublishing.c"
}
}
@@ -3919,14 +3939,14 @@ static void publishing_yandex_yandex_publisher_on_publish (PublishingYandexYande
static void _publishing_yandex_yandex_publisher_service_get_album_list_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_service_get_album_list_complete ((PublishingYandexYandexPublisher*) self, _sender);
-#line 3921 "YandexPublishing.c"
+#line 3941 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_service_get_album_list_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_service_get_album_list_error ((PublishingYandexYandexPublisher*) self, _sender, err);
-#line 3928 "YandexPublishing.c"
+#line 3948 "YandexPublishing.c"
}
@@ -3961,21 +3981,21 @@ void publishing_yandex_yandex_publisher_service_get_album_list_error (Publishing
_tmp5_ = _tmp4_->message;
#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_warning ("YandexPublishing.vala:498: Failed to get album list: %s", _tmp5_);
-#line 3963 "YandexPublishing.c"
+#line 3983 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_on_publish_publishing_yandex_publishing_options_pane_publish (PublishingYandexPublishingOptionsPane* _sender, gpointer self) {
#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_on_publish ((PublishingYandexYandexPublisher*) self);
-#line 3970 "YandexPublishing.c"
+#line 3990 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_on_logout_publishing_yandex_publishing_options_pane_logout (PublishingYandexPublishingOptionsPane* _sender, gpointer self) {
#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_on_logout ((PublishingYandexYandexPublisher*) self);
-#line 3977 "YandexPublishing.c"
+#line 3997 "YandexPublishing.c"
}
@@ -4020,7 +4040,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list_complete (Publish
g_debug ("YandexPublishing.vala:505: service_get_album_list_complete: %s", _tmp6_);
#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (_tmp6_);
-#line 4022 "YandexPublishing.c"
+#line 4042 "YandexPublishing.c"
{
PublishingRESTSupportTransaction* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
@@ -4039,7 +4059,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list_complete (Publish
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4041 "YandexPublishing.c"
+#line 4061 "YandexPublishing.c"
goto __catch44_spit_publishing_publishing_error;
}
#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4048,7 +4068,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list_complete (Publish
g_clear_error (&_inner_error_);
#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 4050 "YandexPublishing.c"
+#line 4070 "YandexPublishing.c"
}
}
goto __finally44;
@@ -4069,7 +4089,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list_complete (Publish
spit_publishing_plugin_host_post_error (_tmp10_, _tmp11_);
#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (err);
-#line 4071 "YandexPublishing.c"
+#line 4091 "YandexPublishing.c"
}
__finally44:
#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4080,7 +4100,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list_complete (Publish
g_clear_error (&_inner_error_);
#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 4082 "YandexPublishing.c"
+#line 4102 "YandexPublishing.c"
}
#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp12_ = self->priv->options;
@@ -4102,7 +4122,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list_complete (Publish
spit_publishing_plugin_host_install_dialog_pane (_tmp16_, G_TYPE_CHECK_INSTANCE_CAST (publishing_options_pane, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_object_unref0 (publishing_options_pane);
-#line 4104 "YandexPublishing.c"
+#line 4124 "YandexPublishing.c"
}
@@ -4138,7 +4158,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list (PublishingYandex
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_yandex_yandex_publisher_service_get_album_list_complete_publishing_rest_support_transaction_completed, self, 0);
#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_yandex_yandex_publisher_service_get_album_list_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 4140 "YandexPublishing.c"
+#line 4160 "YandexPublishing.c"
{
#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
@@ -4146,7 +4166,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list (PublishingYandex
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4148 "YandexPublishing.c"
+#line 4168 "YandexPublishing.c"
goto __catch45_spit_publishing_publishing_error;
}
#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4157,7 +4177,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list (PublishingYandex
g_clear_error (&_inner_error_);
#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 4159 "YandexPublishing.c"
+#line 4179 "YandexPublishing.c"
}
}
goto __finally45;
@@ -4178,7 +4198,7 @@ void publishing_yandex_yandex_publisher_service_get_album_list (PublishingYandex
spit_publishing_plugin_host_post_error (_tmp5_, _tmp6_);
#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (err);
-#line 4180 "YandexPublishing.c"
+#line 4200 "YandexPublishing.c"
}
__finally45:
#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4191,25 +4211,25 @@ void publishing_yandex_yandex_publisher_service_get_album_list (PublishingYandex
g_clear_error (&_inner_error_);
#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 4193 "YandexPublishing.c"
+#line 4213 "YandexPublishing.c"
}
#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_publishing_rest_support_transaction_unref0 (t);
-#line 4197 "YandexPublishing.c"
+#line 4217 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_fetch_account_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_fetch_account_complete ((PublishingYandexYandexPublisher*) self, _sender);
-#line 4204 "YandexPublishing.c"
+#line 4224 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_fetch_account_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_fetch_account_error ((PublishingYandexYandexPublisher*) self, _sender, err);
-#line 4211 "YandexPublishing.c"
+#line 4231 "YandexPublishing.c"
}
@@ -4242,7 +4262,7 @@ void publishing_yandex_yandex_publisher_fetch_account_error (PublishingYandexYan
_tmp5_ = _tmp4_->message;
#line 538 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_warning ("YandexPublishing.vala:538: Failed to fetch account info: %s", _tmp5_);
-#line 4244 "YandexPublishing.c"
+#line 4264 "YandexPublishing.c"
}
@@ -4281,7 +4301,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
g_debug ("YandexPublishing.vala:545: account info: %s", _tmp6_);
#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (_tmp6_);
-#line 4283 "YandexPublishing.c"
+#line 4303 "YandexPublishing.c"
{
PublishingRESTSupportXmlDocument* doc = NULL;
PublishingRESTSupportTransaction* _tmp7_ = NULL;
@@ -4310,7 +4330,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4312 "YandexPublishing.c"
+#line 4332 "YandexPublishing.c"
goto __catch46_spit_publishing_publishing_error;
}
#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4319,7 +4339,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
g_clear_error (&_inner_error_);
#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 4321 "YandexPublishing.c"
+#line 4341 "YandexPublishing.c"
}
#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp12_ = doc;
@@ -4327,7 +4347,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
_tmp13_ = publishing_rest_support_xml_document_get_root_node (_tmp12_);
#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
root = _tmp13_;
-#line 4329 "YandexPublishing.c"
+#line 4349 "YandexPublishing.c"
{
xmlNode* work = NULL;
xmlNode* _tmp14_ = NULL;
@@ -4338,20 +4358,20 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
_tmp15_ = _tmp14_->children;
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
work = _tmp15_;
-#line 4340 "YandexPublishing.c"
+#line 4360 "YandexPublishing.c"
{
gboolean _tmp16_ = FALSE;
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp16_ = TRUE;
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
while (TRUE) {
-#line 4347 "YandexPublishing.c"
+#line 4367 "YandexPublishing.c"
xmlNode* _tmp19_ = NULL;
xmlNode* _tmp20_ = NULL;
const gchar* _tmp21_ = NULL;
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (!_tmp16_) {
-#line 4353 "YandexPublishing.c"
+#line 4373 "YandexPublishing.c"
xmlNode* _tmp17_ = NULL;
xmlNode* _tmp18_ = NULL;
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4360,7 +4380,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
_tmp18_ = _tmp17_->next;
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
work = _tmp18_;
-#line 4362 "YandexPublishing.c"
+#line 4382 "YandexPublishing.c"
}
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp16_ = FALSE;
@@ -4370,7 +4390,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
if (!(_tmp19_ != NULL)) {
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 4372 "YandexPublishing.c"
+#line 4392 "YandexPublishing.c"
}
#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp20_ = work;
@@ -4380,7 +4400,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
if (g_strcmp0 (_tmp21_, "workspace") != 0) {
#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
continue;
-#line 4382 "YandexPublishing.c"
+#line 4402 "YandexPublishing.c"
}
{
xmlNode* c = NULL;
@@ -4392,14 +4412,14 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
_tmp23_ = _tmp22_->children;
#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
c = _tmp23_;
-#line 4394 "YandexPublishing.c"
+#line 4414 "YandexPublishing.c"
{
gboolean _tmp24_ = FALSE;
#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp24_ = TRUE;
#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
while (TRUE) {
-#line 4401 "YandexPublishing.c"
+#line 4421 "YandexPublishing.c"
xmlNode* _tmp27_ = NULL;
xmlNode* _tmp28_ = NULL;
const gchar* _tmp29_ = NULL;
@@ -4409,7 +4429,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
gboolean _tmp33_ = FALSE;
#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (!_tmp24_) {
-#line 4411 "YandexPublishing.c"
+#line 4431 "YandexPublishing.c"
xmlNode* _tmp25_ = NULL;
xmlNode* _tmp26_ = NULL;
#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4418,7 +4438,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
_tmp26_ = _tmp25_->next;
#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
c = _tmp26_;
-#line 4420 "YandexPublishing.c"
+#line 4440 "YandexPublishing.c"
}
#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp24_ = FALSE;
@@ -4428,7 +4448,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
if (!(_tmp27_ != NULL)) {
#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 4430 "YandexPublishing.c"
+#line 4450 "YandexPublishing.c"
}
#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp28_ = c;
@@ -4438,7 +4458,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
if (g_strcmp0 (_tmp29_, "collection") != 0) {
#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
continue;
-#line 4440 "YandexPublishing.c"
+#line 4460 "YandexPublishing.c"
}
#line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp30_ = c;
@@ -4452,7 +4472,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
_g_free0 (_tmp32_);
#line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_tmp33_) {
-#line 4454 "YandexPublishing.c"
+#line 4474 "YandexPublishing.c"
gchar* url = NULL;
xmlNode* _tmp34_ = NULL;
gchar* _tmp35_ = NULL;
@@ -4484,7 +4504,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
_g_free0 (url);
#line 562 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
break;
-#line 4486 "YandexPublishing.c"
+#line 4506 "YandexPublishing.c"
}
}
}
@@ -4494,7 +4514,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
}
#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 4496 "YandexPublishing.c"
+#line 4516 "YandexPublishing.c"
}
goto __finally46;
__catch46_spit_publishing_publishing_error:
@@ -4514,7 +4534,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
spit_publishing_plugin_host_post_error (_tmp40_, _tmp41_);
#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (err);
-#line 4516 "YandexPublishing.c"
+#line 4536 "YandexPublishing.c"
}
__finally46:
#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4525,7 +4545,7 @@ void publishing_yandex_yandex_publisher_fetch_account_complete (PublishingYandex
g_clear_error (&_inner_error_);
#line 546 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 4527 "YandexPublishing.c"
+#line 4547 "YandexPublishing.c"
}
}
@@ -4557,7 +4577,7 @@ void publishing_yandex_yandex_publisher_fetch_account_information (PublishingYan
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_yandex_yandex_publisher_fetch_account_complete_publishing_rest_support_transaction_completed, self, 0);
#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_yandex_yandex_publisher_fetch_account_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 4559 "YandexPublishing.c"
+#line 4579 "YandexPublishing.c"
{
#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (t, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
@@ -4565,7 +4585,7 @@ void publishing_yandex_yandex_publisher_fetch_account_information (PublishingYan
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4567 "YandexPublishing.c"
+#line 4587 "YandexPublishing.c"
goto __catch47_spit_publishing_publishing_error;
}
#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4576,7 +4596,7 @@ void publishing_yandex_yandex_publisher_fetch_account_information (PublishingYan
g_clear_error (&_inner_error_);
#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 4578 "YandexPublishing.c"
+#line 4598 "YandexPublishing.c"
}
}
goto __finally47;
@@ -4597,7 +4617,7 @@ void publishing_yandex_yandex_publisher_fetch_account_information (PublishingYan
spit_publishing_plugin_host_post_error (_tmp4_, _tmp5_);
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_error_free0 (err);
-#line 4599 "YandexPublishing.c"
+#line 4619 "YandexPublishing.c"
}
__finally47:
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
@@ -4610,11 +4630,11 @@ void publishing_yandex_yandex_publisher_fetch_account_information (PublishingYan
g_clear_error (&_inner_error_);
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 4612 "YandexPublishing.c"
+#line 4632 "YandexPublishing.c"
}
#line 571 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_publishing_rest_support_transaction_unref0 (t);
-#line 4616 "YandexPublishing.c"
+#line 4636 "YandexPublishing.c"
}
@@ -4643,7 +4663,7 @@ static void publishing_yandex_yandex_publisher_web_auth_login_succeeded (Publish
_tmp3_ = access_token;
#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_fetch_account_information (self, _tmp3_);
-#line 4645 "YandexPublishing.c"
+#line 4665 "YandexPublishing.c"
}
@@ -4652,21 +4672,21 @@ static void publishing_yandex_yandex_publisher_web_auth_login_failed (Publishing
g_return_if_fail (PUBLISHING_YANDEX_IS_YANDEX_PUBLISHER (self));
#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_debug ("YandexPublishing.vala:595: login failed");
-#line 4654 "YandexPublishing.c"
+#line 4674 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_web_auth_login_succeeded_publishing_yandex_web_auth_pane_login_succeeded (PublishingYandexWebAuthPane* _sender, const gchar* success_url, gpointer self) {
#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_web_auth_login_succeeded ((PublishingYandexYandexPublisher*) self, success_url);
-#line 4661 "YandexPublishing.c"
+#line 4681 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_web_auth_login_failed_publishing_yandex_web_auth_pane_login_failed (PublishingYandexWebAuthPane* _sender, gpointer self) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_web_auth_login_failed ((PublishingYandexYandexPublisher*) self);
-#line 4668 "YandexPublishing.c"
+#line 4688 "YandexPublishing.c"
}
@@ -4711,14 +4731,14 @@ static void publishing_yandex_yandex_publisher_start_web_auth (PublishingYandexY
_tmp7_ = self->priv->web_auth_pane;
#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
spit_publishing_plugin_host_install_dialog_pane (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
-#line 4713 "YandexPublishing.c"
+#line 4733 "YandexPublishing.c"
}
static void _publishing_yandex_yandex_publisher_start_web_auth_spit_publishing_login_callback (gpointer self) {
#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_start_web_auth ((PublishingYandexYandexPublisher*) self);
-#line 4720 "YandexPublishing.c"
+#line 4740 "YandexPublishing.c"
}
@@ -4733,7 +4753,7 @@ static void publishing_yandex_yandex_publisher_show_welcome_page (PublishingYand
_tmp1_ = _ ("You are not currently logged into Yandex.Fotki.");
#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
spit_publishing_plugin_host_install_welcome_pane (_tmp0_, _tmp1_, _publishing_yandex_yandex_publisher_start_web_auth_spit_publishing_login_callback, self);
-#line 4735 "YandexPublishing.c"
+#line 4755 "YandexPublishing.c"
}
@@ -4750,7 +4770,7 @@ static void publishing_yandex_yandex_publisher_real_start (SpitPublishingPublish
if (_tmp0_) {
#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
return;
-#line 4752 "YandexPublishing.c"
+#line 4772 "YandexPublishing.c"
}
#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_tmp1_ = self->priv->host;
@@ -4759,7 +4779,7 @@ static void publishing_yandex_yandex_publisher_real_start (SpitPublishingPublish
#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_error ("YandexPublishing.vala:618: YandexPublisher: start( ): can't start; thi" \
"s publisher is not restartable.");
-#line 4760 "YandexPublishing.c"
+#line 4780 "YandexPublishing.c"
}
#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
g_debug ("YandexPublishing.vala:620: YandexPublisher: starting interaction.");
@@ -4769,7 +4789,7 @@ static void publishing_yandex_yandex_publisher_real_start (SpitPublishingPublish
_tmp2_ = publishing_yandex_yandex_publisher_is_persistent_session_available (self);
#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
if (_tmp2_) {
-#line 4770 "YandexPublishing.c"
+#line 4790 "YandexPublishing.c"
PublishingYandexSession* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
@@ -4793,11 +4813,11 @@ static void publishing_yandex_yandex_publisher_real_start (SpitPublishingPublish
publishing_yandex_yandex_publisher_fetch_account_information (self, _tmp7_);
#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
_g_free0 (_tmp7_);
-#line 4794 "YandexPublishing.c"
+#line 4814 "YandexPublishing.c"
} else {
#line 629 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
publishing_yandex_yandex_publisher_show_welcome_page (self);
-#line 4798 "YandexPublishing.c"
+#line 4818 "YandexPublishing.c"
}
}
@@ -4812,7 +4832,7 @@ static void publishing_yandex_yandex_publisher_real_stop (SpitPublishingPublishe
self->priv->host = NULL;
#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv->running = FALSE;
-#line 4813 "YandexPublishing.c"
+#line 4833 "YandexPublishing.c"
}
@@ -4823,7 +4843,7 @@ static void publishing_yandex_yandex_publisher_class_init (PublishingYandexYande
g_type_class_add_private (klass, sizeof (PublishingYandexYandexPublisherPrivate));
#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_yandex_yandex_publisher_finalize;
-#line 4824 "YandexPublishing.c"
+#line 4844 "YandexPublishing.c"
}
@@ -4838,7 +4858,7 @@ static void publishing_yandex_yandex_publisher_spit_publishing_publisher_interfa
iface->start = (void (*)(SpitPublishingPublisher*)) publishing_yandex_yandex_publisher_real_start;
#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_yandex_yandex_publisher_real_stop;
-#line 4839 "YandexPublishing.c"
+#line 4859 "YandexPublishing.c"
}
@@ -4859,7 +4879,7 @@ static void publishing_yandex_yandex_publisher_instance_init (PublishingYandexYa
self->priv->running = FALSE;
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
self->priv->web_auth_pane = NULL;
-#line 4860 "YandexPublishing.c"
+#line 4880 "YandexPublishing.c"
}
@@ -4887,7 +4907,7 @@ static void publishing_yandex_yandex_publisher_finalize (GObject* obj) {
_publishing_rest_support_session_unref0 (self->priv->session);
#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/YandexPublishing.vala"
G_OBJECT_CLASS (publishing_yandex_yandex_publisher_parent_class)->finalize (obj);
-#line 4888 "YandexPublishing.c"
+#line 4908 "YandexPublishing.c"
}
diff --git a/plugins/shotwell-publishing-extras/YandexPublishing.vala b/plugins/shotwell-publishing-extras/YandexPublishing.vala
index 2eb78f3..dbfa3de 100644
--- a/plugins/shotwell-publishing-extras/YandexPublishing.vala
+++ b/plugins/shotwell-publishing-extras/YandexPublishing.vala
@@ -194,7 +194,7 @@ internal class PublishingOptionsPane: Spit.Publishing.DialogPane, GLib.Object {
builder.add_from_resource (Resources.RESOURCE_PATH + "/yandex_publish_model.ui");
builder.connect_signals(null);
- Gtk.Alignment align = builder.get_object("alignment") as Gtk.Alignment;
+ var content = builder.get_object ("content") as Gtk.Widget;
album_list = builder.get_object ("album_list") as Gtk.ComboBoxText;
foreach (string key in list.keys)
@@ -208,8 +208,8 @@ internal class PublishingOptionsPane: Spit.Publishing.DialogPane, GLib.Object {
publish_button.clicked.connect(on_publish_clicked);
logout_button.clicked.connect(on_logout_clicked);
- align.reparent(box);
- box.set_child_packing(align, true, true, 0, Gtk.PackType.START);
+ content.parent.remove (content);
+ box.pack_start (content, true, true, 0);
} catch (Error e) {
warning("Could not load UI: %s", e.message);
}
@@ -275,7 +275,7 @@ private class UploadTransaction: Transaction {
int image_part_num = message_parts.get_length();
- Soup.Buffer bindable_data = new Soup.Buffer(Soup.MemoryUse.COPY, photo_data.data[0:data_length]);
+ var bindable_data = new Soup.Buffer.take (photo_data.data);
message_parts.append_form_file("", photo.get_serialized_file().get_path(), "image/jpeg", bindable_data);
unowned Soup.MessageHeaders image_part_header;
diff --git a/plugins/shotwell-publishing-extras/rajce_authentication_pane.ui b/plugins/shotwell-publishing-extras/rajce_authentication_pane.ui
index 496304f..439a754 100644
--- a/plugins/shotwell-publishing-extras/rajce_authentication_pane.ui
+++ b/plugins/shotwell-publishing-extras/rajce_authentication_pane.ui
@@ -1,148 +1,138 @@
+
-
+
False
-
+
True
False
- 0.5
- 0.5
+ 30
+ 30
+ True
+ 8
-
+
True
False
- 30
- 30
True
- 8
+ True
+ label
+ True
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ 2
+ 2
+ 8
+ 2
+
+
+ True
+ False
+ _Email address
+ True
+ username_entry
+ 0
+
+
-
+
True
False
- True
- True
+ _Password
+ True
+ password_entry
0
- label
- True
- False
- True
- 0
+ 1
+ 2
-
+
True
- False
- 2
- 2
- 8
- 2
-
-
- True
- False
- 0
- _Email address
- True
- username_entry
-
-
-
-
- True
- False
- 0
- _Password
- True
- password_entry
-
-
- 1
- 2
-
-
-
-
- True
- True
- ●
-
-
- 1
- 2
-
-
-
-
- True
- True
- False
- ●
- True
-
-
- 1
- 2
- 1
- 2
-
-
+ True
+ ●
- True
- True
- 1
+ 1
+ 2
-
- _Remember
- False
+
True
True
- False
- False
- True
- 0
- True
+ False
+ ●
- True
- True
- 2
+ 1
+ 2
+ 1
+ 2
+
+
+ True
+ True
+ 1
+
+
+
+
+ _Remember
+ False
+ True
+ True
+ False
+ True
+ 0
+ True
+
+
+ True
+ True
+ 2
+
+
+
+
+ True
+ False
-
+
+ Log in
+ False
True
- False
-
-
- Log in
- False
- True
- True
- True
- False
-
-
- False
- False
- 0
-
-
+ True
+ True
- True
- True
- 3
+ False
+ False
+ 0
+
+ True
+ True
+ 3
+
diff --git a/plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui b/plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui
index 98f03b8..9752a7c 100644
--- a/plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui
+++ b/plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui
@@ -1,130 +1,121 @@
+
-
+
False
-
+
True
False
- 0.5
- 0.5
+ 30
+ 30
+ True
+ 8
-
+
True
False
- 30
- 30
True
- 8
+ True
+ label
+ True
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ 2
+ 2
+ 8
+ 2
+
+
+ True
+ False
+ _Email address
+ True
+ username_entry
+ 0
+
+
-
+
True
False
- True
- True
+ _Password
+ True
+ password_entry
0
- label
- True
- False
- True
- 0
+ 1
+ 2
-
+
True
- False
- 2
- 2
- 8
- 2
-
-
- True
- False
- 0
- _Email address
- True
- username_entry
-
-
-
-
- True
- False
- 0
- _Password
- True
- password_entry
-
-
- 1
- 2
-
-
-
-
- True
- True
- ●
-
-
- 1
- 2
-
-
-
-
- True
- True
- False
- ●
- True
-
-
- 1
- 2
- 1
- 2
-
-
+ True
+ ●
- True
- True
- 1
+ 1
+ 2
-
+
True
- False
-
-
- Log in
- False
- True
- True
- True
- False
-
-
- False
- False
- 0
-
-
+ True
+ False
+ ●
+
+
+ 1
+ 2
+ 1
+ 2
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ True
+ False
+
+
+ Log in
+ False
+ True
+ True
+ True
- True
- True
- 3
+ False
+ False
+ 0
+
+ True
+ True
+ 3
+
diff --git a/plugins/shotwell-publishing-extras/yandex_publish_model.ui b/plugins/shotwell-publishing-extras/yandex_publish_model.ui
index 175bafd..1d9cc22 100644
--- a/plugins/shotwell-publishing-extras/yandex_publish_model.ui
+++ b/plugins/shotwell-publishing-extras/yandex_publish_model.ui
@@ -1,175 +1,179 @@
+
-
-
+
+
+
+
+
+
+
+
+ Public
+
+
+ Friends
+
+
+ Private
+
+
+
+
+
+
+
+
+
+ False
-
+
True
- 0.30000001192092896
- 0.10000000149011612
- 0.10000000149011612
+ False
-
+
True
+ False
+ 2
+ 2
-
+
True
- 2
- 2
-
-
- True
- 0.30000001192092896
- _Albums (or write new):
- True
- album_list
-
-
- 1
- 2
-
-
-
-
- True
- 0
- 6
- Access _type:
- True
- access_type_list
-
-
-
-
- True
- liststore1
- 0
- 0
-
-
- 1
- 2
- 1
-
-
-
-
- True
- liststore2
- 0
- 0
-
-
- 1
- 2
- 1
- 2
- 1
-
-
+ False
+ _Albums (or write new):
+ True
+ album_list
+ 0.30000001192092896
- 0
+ 1
+ 2
-
+
+ True
+ False
+ 6
+ Access _type:
+ True
+ access_type_list
+ 0
+
-
-
- _Forbid downloading original photo
+
+ True
+ False
+ 0
+
+
+ 1
+ 2
+ 1
+ 2
+ 1
+
+
+
+
+ True
+ True
+ 0
+
+
+
+
+
+
+
+
+ True
+ True
+ 2
+ 2
+
+
+
+
+ _Forbid downloading original photo
+ True
+ True
+ False
+ True
+ 0.30000001192092896
+ True
+
+
+ True
+ True
+ 3
+
+
+
+
+ True
+ False
+ 2
+ spread
+
+
+ _Logout
True
True
- False
+ True
True
- 0.30000001192092896
- True
- 3
+ False
+ False
+ 0
-
+
+ _Publish
True
- 2
- spread
-
-
- _Logout
- True
- True
- True
- True
-
-
- False
- False
- 0
-
-
-
-
- _Publish
- True
- True
- True
- True
-
-
- False
- False
- 1
-
-
+ True
+ True
+ True
- 12
- 4
+ False
+ False
+ 1
+
+ True
+ True
+ 12
+ 4
+
-
-
-
-
-
-
-
- Public
-
-
- Friends
-
-
- Private
-
-
-
-
-
-
-
-
-
diff --git a/plugins/shotwell-publishing/FacebookPublishing.c b/plugins/shotwell-publishing/FacebookPublishing.c
index 7c88a45..da03420 100644
--- a/plugins/shotwell-publishing/FacebookPublishing.c
+++ b/plugins/shotwell-publishing/FacebookPublishing.c
@@ -10203,7 +10203,7 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
#line 1350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp34__length1 = payload_length1;
#line 1350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp35_ = soup_buffer_new (SOUP_MEMORY_TEMPORARY, _tmp34_, _tmp34__length1);
+ _tmp35_ = soup_buffer_new_with_owner (_tmp34_, _tmp34__length1, self, NULL);
#line 1350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
image_data = _tmp35_;
#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
diff --git a/plugins/shotwell-publishing/FacebookPublishing.vala b/plugins/shotwell-publishing/FacebookPublishing.vala
index 3fafe37..8c5222a 100644
--- a/plugins/shotwell-publishing/FacebookPublishing.vala
+++ b/plugins/shotwell-publishing/FacebookPublishing.vala
@@ -1347,7 +1347,7 @@ internal class GraphSession {
unowned uint8[] payload = (uint8[]) mapped_file.get_contents();
payload.length = (int) mapped_file.get_length();
- Soup.Buffer image_data = new Soup.Buffer(Soup.MemoryUse.TEMPORARY, payload);
+ var image_data = new Soup.Buffer.with_owner (payload, this, null);
Soup.Multipart mp_envelope = new Soup.Multipart("multipart/form-data");
@@ -1447,9 +1447,9 @@ internal class GraphSession {
// these error types are always recoverable given the unique behavior of the Facebook
// endpoint, so try again
- if (msg.status_code == Soup.KnownStatusCode.IO_ERROR ||
- msg.status_code == Soup.KnownStatusCode.MALFORMED ||
- msg.status_code == Soup.KnownStatusCode.TRY_AGAIN) {
+ if (msg.status_code == Soup.Status.IO_ERROR ||
+ msg.status_code == Soup.Status.MALFORMED ||
+ msg.status_code == Soup.Status.TRY_AGAIN) {
real_message.bytes_so_far = 0;
soup_session.queue_message(msg, null);
return;
@@ -1460,8 +1460,8 @@ internal class GraphSession {
Spit.Publishing.PublishingError? error = null;
switch (msg.status_code) {
- case Soup.KnownStatusCode.OK:
- case Soup.KnownStatusCode.CREATED: // HTTP code 201 (CREATED) signals that a new
+ case Soup.Status.OK:
+ case Soup.Status.CREATED: // HTTP code 201 (CREATED) signals that a new
// resource was created in response to a PUT
// or POST
break;
@@ -1471,14 +1471,14 @@ internal class GraphSession {
"OAuth Access Token has Expired. Logout user.");
break;
- case Soup.KnownStatusCode.CANT_RESOLVE:
- case Soup.KnownStatusCode.CANT_RESOLVE_PROXY:
+ case Soup.Status.CANT_RESOLVE:
+ case Soup.Status.CANT_RESOLVE_PROXY:
error = new Spit.Publishing.PublishingError.NO_ANSWER(
"Unable to resolve %s (error code %u)", real_message.get_uri(), msg.status_code);
break;
- case Soup.KnownStatusCode.CANT_CONNECT:
- case Soup.KnownStatusCode.CANT_CONNECT_PROXY:
+ case Soup.Status.CANT_CONNECT:
+ case Soup.Status.CANT_CONNECT_PROXY:
error = new Spit.Publishing.PublishingError.NO_ANSWER(
"Unable to connect to %s (error code %u)", real_message.get_uri(), msg.status_code);
break;
diff --git a/plugins/shotwell-publishing/FlickrPublishing.c b/plugins/shotwell-publishing/FlickrPublishing.c
index d65f678..a6ea1f8 100644
--- a/plugins/shotwell-publishing/FlickrPublishing.c
+++ b/plugins/shotwell-publishing/FlickrPublishing.c
@@ -495,7 +495,7 @@ static gint flickr_service_real_get_pluggable_interface (SpitPluggable* base, gi
static const gchar* flickr_service_real_get_id (SpitPluggable* base);
static const gchar* flickr_service_real_get_pluggable_name (SpitPluggable* base);
static void flickr_service_real_get_info (SpitPluggable* base, SpitPluggableInfo* info);
-static GdkPixbuf** _vala_array_dup7 (GdkPixbuf** self, int length);
+static GdkPixbuf** _vala_array_dup8 (GdkPixbuf** self, int length);
static void flickr_service_real_activation (SpitPluggable* base, gboolean enabled);
static SpitPublishingPublisher* flickr_service_real_create_publisher (SpitPublishingService* base, SpitPublishingPluginHost* host);
PublishingFlickrFlickrPublisher* publishing_flickr_flickr_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host);
@@ -693,7 +693,7 @@ void publishing_flickr_upload_transaction_add_authorization_header_field (Publis
static void _g_free0_ (gpointer var);
static void _vala_array_add18 (PublishingRESTSupportArgument*** array, int* length, int* size, PublishingRESTSupportArgument* value);
PublishingRESTSupportArgument** publishing_flickr_upload_transaction_get_authorization_header_fields (PublishingFlickrUploadTransaction* self, int* result_length1);
-static PublishingRESTSupportArgument** _vala_array_dup8 (PublishingRESTSupportArgument** self, int length);
+static PublishingRESTSupportArgument** _vala_array_dup9 (PublishingRESTSupportArgument** self, int length);
gchar* publishing_flickr_upload_transaction_get_authorization_header_string (PublishingFlickrUploadTransaction* self);
static void publishing_flickr_upload_transaction_real_execute (PublishingRESTSupportTransaction* base, GError** error);
static void publishing_flickr_upload_transaction_finalize (PublishingRESTSupportTransaction* obj);
@@ -875,7 +875,7 @@ static gpointer _g_object_ref0 (gpointer self) {
}
-static GdkPixbuf** _vala_array_dup7 (GdkPixbuf** self, int length) {
+static GdkPixbuf** _vala_array_dup8 (GdkPixbuf** self, int length) {
GdkPixbuf** result;
int i;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
@@ -965,7 +965,7 @@ static void flickr_service_real_get_info (SpitPluggable* base, SpitPluggableInfo
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
_tmp8__length1 = flickr_service_icon_pixbuf_set_length1;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
- _tmp9_ = (_tmp8_ != NULL) ? _vala_array_dup7 (_tmp8_, _tmp8__length1) : ((gpointer) _tmp8_);
+ _tmp9_ = (_tmp8_ != NULL) ? _vala_array_dup8 (_tmp8_, _tmp8__length1) : ((gpointer) _tmp8_);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
_tmp9__length1 = _tmp8__length1;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
@@ -6187,7 +6187,7 @@ static gpointer _publishing_rest_support_argument_ref0 (gpointer self) {
}
-static PublishingRESTSupportArgument** _vala_array_dup8 (PublishingRESTSupportArgument** self, int length) {
+static PublishingRESTSupportArgument** _vala_array_dup9 (PublishingRESTSupportArgument** self, int length) {
PublishingRESTSupportArgument** result;
int i;
#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
@@ -6223,7 +6223,7 @@ PublishingRESTSupportArgument** publishing_flickr_upload_transaction_get_authori
#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
_tmp0__length1 = self->priv->auth_header_fields_length1;
#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
- _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup8 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
+ _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup9 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
_tmp1__length1 = _tmp0__length1;
#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala"
diff --git a/plugins/shotwell-publishing/PicasaPublishing.c b/plugins/shotwell-publishing/PicasaPublishing.c
index b64f426..ea3cc5f 100644
--- a/plugins/shotwell-publishing/PicasaPublishing.c
+++ b/plugins/shotwell-publishing/PicasaPublishing.c
@@ -485,6 +485,7 @@ PublishingPicasaUploadTransaction* publishing_picasa_upload_transaction_new (Pub
PublishingPicasaUploadTransaction* publishing_picasa_upload_transaction_construct (GType object_type, PublishingRESTSupportGoogleSession* session, PublishingPicasaPublishingParameters* parameters, SpitPublishingPublishable* publishable);
gchar* publishing_picasa_publishing_parameters_get_target_album_feed_url (PublishingPicasaPublishingParameters* self);
static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSupportTransaction* base, GError** error);
+static guint8* _vala_array_dup5 (guint8* self, int length);
static void _vala_SoupBuffer_free (SoupBuffer* self);
static void _vala_SoupMultipart_free (SoupMultipart* self);
static void publishing_picasa_upload_transaction_finalize (PublishingRESTSupportTransaction* obj);
@@ -542,8 +543,8 @@ enum {
PUBLISHING_PICASA_PUBLISHING_PARAMETERS_DUMMY_PROPERTY
};
gchar* publishing_picasa_publishing_parameters_get_target_album_entry_url (PublishingPicasaPublishingParameters* self);
-static PublishingPicasaAlbum** _vala_array_dup5 (PublishingPicasaAlbum** self, int length);
static PublishingPicasaAlbum** _vala_array_dup6 (PublishingPicasaAlbum** self, int length);
+static PublishingPicasaAlbum** _vala_array_dup7 (PublishingPicasaAlbum** self, int length);
static void publishing_picasa_publishing_parameters_finalize (PublishingPicasaPublishingParameters* obj);
#define PUBLISHING_PICASA_UPLOADER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_PICASA_TYPE_UPLOADER, PublishingPicasaUploaderPrivate))
enum {
@@ -570,7 +571,7 @@ PicasaService* picasa_service_construct (GType object_type, GFile* resource_dire
_tmp0__length1 = picasa_service_icon_pixbuf_set_length1;
#line 13 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp0_ == NULL) {
-#line 562 "PicasaPublishing.c"
+#line 563 "PicasaPublishing.c"
gint _tmp1_ = 0;
GdkPixbuf** _tmp2_ = NULL;
#line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -583,18 +584,18 @@ PicasaService* picasa_service_construct (GType object_type, GFile* resource_dire
picasa_service_icon_pixbuf_set_length1 = _tmp1_;
#line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_picasa_service_icon_pixbuf_set_size_ = picasa_service_icon_pixbuf_set_length1;
-#line 575 "PicasaPublishing.c"
+#line 576 "PicasaPublishing.c"
}
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 579 "PicasaPublishing.c"
+#line 580 "PicasaPublishing.c"
}
PicasaService* picasa_service_new (GFile* resource_directory) {
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return picasa_service_construct (TYPE_PICASA_SERVICE, resource_directory);
-#line 586 "PicasaPublishing.c"
+#line 587 "PicasaPublishing.c"
}
@@ -616,7 +617,7 @@ static gint picasa_service_real_get_pluggable_interface (SpitPluggable* base, gi
result = _tmp2_;
#line 19 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 608 "PicasaPublishing.c"
+#line 609 "PicasaPublishing.c"
}
@@ -629,7 +630,7 @@ static const gchar* picasa_service_real_get_id (SpitPluggable* base) {
result = "org.yorba.shotwell.publishing.picasa";
#line 24 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 621 "PicasaPublishing.c"
+#line 622 "PicasaPublishing.c"
}
@@ -642,14 +643,14 @@ static const gchar* picasa_service_real_get_pluggable_name (SpitPluggable* base)
result = "Picasa Web Albums";
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 634 "PicasaPublishing.c"
+#line 635 "PicasaPublishing.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self ? g_object_ref (self) : NULL;
-#line 641 "PicasaPublishing.c"
+#line 642 "PicasaPublishing.c"
}
@@ -660,17 +661,17 @@ static GdkPixbuf** _vala_array_dup4 (GdkPixbuf** self, int length) {
result = g_new0 (GdkPixbuf*, length + 1);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
for (i = 0; i < length; i++) {
-#line 652 "PicasaPublishing.c"
+#line 653 "PicasaPublishing.c"
GdkPixbuf* _tmp0_ = NULL;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp0_ = _g_object_ref0 (self[i]);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
result[i] = _tmp0_;
-#line 658 "PicasaPublishing.c"
+#line 659 "PicasaPublishing.c"
}
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 662 "PicasaPublishing.c"
+#line 663 "PicasaPublishing.c"
}
@@ -752,7 +753,7 @@ static void picasa_service_real_get_info (SpitPluggable* base, SpitPluggableInfo
(*info).icons = _tmp9_;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*info).icons_length1 = _tmp9__length1;
-#line 744 "PicasaPublishing.c"
+#line 745 "PicasaPublishing.c"
}
@@ -773,7 +774,7 @@ static SpitPublishingPublisher* picasa_service_real_create_publisher (SpitPublis
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher);
#line 44 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 765 "PicasaPublishing.c"
+#line 766 "PicasaPublishing.c"
}
@@ -786,7 +787,7 @@ static SpitPublishingPublisherMediaType picasa_service_real_get_supported_media
result = SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO | SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO;
#line 48 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 778 "PicasaPublishing.c"
+#line 779 "PicasaPublishing.c"
}
@@ -794,7 +795,7 @@ static void picasa_service_real_activation (SpitPluggable* base, gboolean enable
PicasaService * self;
#line 52 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PICASA_SERVICE, PicasaService);
-#line 786 "PicasaPublishing.c"
+#line 787 "PicasaPublishing.c"
}
@@ -803,7 +804,7 @@ static void picasa_service_class_init (PicasaServiceClass * klass) {
picasa_service_parent_class = g_type_class_peek_parent (klass);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = picasa_service_finalize;
-#line 795 "PicasaPublishing.c"
+#line 796 "PicasaPublishing.c"
}
@@ -820,7 +821,7 @@ static void picasa_service_spit_pluggable_interface_init (SpitPluggableIface * i
iface->get_info = (void (*)(SpitPluggable*, SpitPluggableInfo*)) picasa_service_real_get_info;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
iface->activation = (void (*)(SpitPluggable*, gboolean)) picasa_service_real_activation;
-#line 812 "PicasaPublishing.c"
+#line 813 "PicasaPublishing.c"
}
@@ -831,7 +832,7 @@ static void picasa_service_spit_publishing_service_interface_init (SpitPublishin
iface->create_publisher = (SpitPublishingPublisher* (*)(SpitPublishingService*, SpitPublishingPluginHost*)) picasa_service_real_create_publisher;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
iface->get_supported_media = (SpitPublishingPublisherMediaType (*)(SpitPublishingService*)) picasa_service_real_get_supported_media;
-#line 823 "PicasaPublishing.c"
+#line 824 "PicasaPublishing.c"
}
@@ -845,7 +846,7 @@ static void picasa_service_finalize (GObject* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PICASA_SERVICE, PicasaService);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
G_OBJECT_CLASS (picasa_service_parent_class)->finalize (obj);
-#line 837 "PicasaPublishing.c"
+#line 838 "PicasaPublishing.c"
}
@@ -905,7 +906,7 @@ PublishingPicasaPicasaPublisher* publishing_picasa_picasa_publisher_construct (G
_tmp4_ = host;
#line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp6_ = spit_publishing_plugin_host_get_publishables (_tmp4_, &_tmp5_);
-#line 897 "PicasaPublishing.c"
+#line 898 "PicasaPublishing.c"
{
SpitPublishingPublishable** p_collection = NULL;
gint p_collection_length1 = 0;
@@ -917,14 +918,14 @@ PublishingPicasaPicasaPublisher* publishing_picasa_picasa_publisher_construct (G
p_collection_length1 = _tmp5_;
#line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
for (p_it = 0; p_it < _tmp5_; p_it = p_it + 1) {
-#line 909 "PicasaPublishing.c"
+#line 910 "PicasaPublishing.c"
SpitPublishingPublishable* _tmp7_ = NULL;
SpitPublishingPublishable* p = NULL;
#line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp7_ = _g_object_ref0 (p_collection[p_it]);
#line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
p = _tmp7_;
-#line 916 "PicasaPublishing.c"
+#line 917 "PicasaPublishing.c"
{
SpitPublishingPublisherMediaType _tmp8_ = 0;
SpitPublishingPublishable* _tmp9_ = NULL;
@@ -939,12 +940,12 @@ PublishingPicasaPicasaPublisher* publishing_picasa_picasa_publisher_construct (G
media_type = _tmp8_ | _tmp10_;
#line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_object_unref0 (p);
-#line 931 "PicasaPublishing.c"
+#line 932 "PicasaPublishing.c"
}
}
#line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
p_collection = (_vala_array_free (p_collection, p_collection_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 936 "PicasaPublishing.c"
+#line 937 "PicasaPublishing.c"
}
#line 78 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp11_ = self->priv->publishing_parameters;
@@ -976,14 +977,14 @@ PublishingPicasaPicasaPublisher* publishing_picasa_picasa_publisher_construct (G
self->priv->progress_reporter_target_destroy_notify = NULL;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 968 "PicasaPublishing.c"
+#line 969 "PicasaPublishing.c"
}
PublishingPicasaPicasaPublisher* publishing_picasa_picasa_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return publishing_picasa_picasa_publisher_construct (PUBLISHING_PICASA_TYPE_PICASA_PUBLISHER, service, host);
-#line 975 "PicasaPublishing.c"
+#line 976 "PicasaPublishing.c"
}
@@ -994,13 +995,13 @@ static void _vala_array_add12 (PublishingPicasaAlbum*** array, int* length, int*
*size = (*size) ? (2 * (*size)) : 4;
#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*array = g_renew (PublishingPicasaAlbum*, *array, (*size) + 1);
-#line 986 "PicasaPublishing.c"
+#line 987 "PicasaPublishing.c"
}
#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[(*length)++] = value;
#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[*length] = NULL;
-#line 992 "PicasaPublishing.c"
+#line 993 "PicasaPublishing.c"
}
@@ -1034,7 +1035,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_tmp2_ = _tmp1_->name;
#line 89 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (g_strcmp0 (_tmp2_, "feed") == 0) {
-#line 1026 "PicasaPublishing.c"
+#line 1027 "PicasaPublishing.c"
xmlNode* _tmp3_ = NULL;
xmlNode* _tmp4_ = NULL;
#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1043,7 +1044,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_tmp4_ = _tmp3_->children;
#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
doc_node_iter = _tmp4_;
-#line 1035 "PicasaPublishing.c"
+#line 1036 "PicasaPublishing.c"
} else {
xmlNode* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
@@ -1053,13 +1054,13 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_tmp6_ = _tmp5_->name;
#line 91 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (g_strcmp0 (_tmp6_, "entry") == 0) {
-#line 1045 "PicasaPublishing.c"
+#line 1046 "PicasaPublishing.c"
xmlNode* _tmp7_ = NULL;
#line 92 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp7_ = document_root;
#line 92 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
doc_node_iter = _tmp7_;
-#line 1051 "PicasaPublishing.c"
+#line 1052 "PicasaPublishing.c"
} else {
GError* _tmp8_ = NULL;
#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1074,7 +1075,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) publishing_picasa_album_unref), NULL);
#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return NULL;
-#line 1066 "PicasaPublishing.c"
+#line 1067 "PicasaPublishing.c"
} else {
#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) publishing_picasa_album_unref), NULL);
@@ -1084,7 +1085,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
g_clear_error (&_inner_error_);
#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return NULL;
-#line 1076 "PicasaPublishing.c"
+#line 1077 "PicasaPublishing.c"
}
}
}
@@ -1094,7 +1095,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_tmp9_ = TRUE;
#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
while (TRUE) {
-#line 1086 "PicasaPublishing.c"
+#line 1087 "PicasaPublishing.c"
xmlNode* _tmp12_ = NULL;
xmlNode* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
@@ -1110,7 +1111,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
PublishingPicasaAlbum* _tmp35_ = NULL;
#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (!_tmp9_) {
-#line 1102 "PicasaPublishing.c"
+#line 1103 "PicasaPublishing.c"
xmlNode* _tmp10_ = NULL;
xmlNode* _tmp11_ = NULL;
#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1119,7 +1120,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_tmp11_ = _tmp10_->next;
#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
doc_node_iter = _tmp11_;
-#line 1111 "PicasaPublishing.c"
+#line 1112 "PicasaPublishing.c"
}
#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp9_ = FALSE;
@@ -1129,7 +1130,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
if (!(_tmp12_ != NULL)) {
#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
break;
-#line 1121 "PicasaPublishing.c"
+#line 1122 "PicasaPublishing.c"
}
#line 98 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp13_ = doc_node_iter;
@@ -1139,7 +1140,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
if (g_strcmp0 (_tmp14_, "entry") != 0) {
#line 99 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
continue;
-#line 1131 "PicasaPublishing.c"
+#line 1132 "PicasaPublishing.c"
}
#line 101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
name_val = NULL;
@@ -1151,20 +1152,20 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_tmp16_ = _tmp15_->children;
#line 103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
album_node_iter = _tmp16_;
-#line 1143 "PicasaPublishing.c"
+#line 1144 "PicasaPublishing.c"
{
gboolean _tmp17_ = FALSE;
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp17_ = TRUE;
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
while (TRUE) {
-#line 1150 "PicasaPublishing.c"
+#line 1151 "PicasaPublishing.c"
xmlNode* _tmp20_ = NULL;
xmlNode* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (!_tmp17_) {
-#line 1156 "PicasaPublishing.c"
+#line 1157 "PicasaPublishing.c"
xmlNode* _tmp18_ = NULL;
xmlNode* _tmp19_ = NULL;
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1173,7 +1174,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_tmp19_ = _tmp18_->next;
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
album_node_iter = _tmp19_;
-#line 1165 "PicasaPublishing.c"
+#line 1166 "PicasaPublishing.c"
}
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp17_ = FALSE;
@@ -1183,7 +1184,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
if (!(_tmp20_ != NULL)) {
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
break;
-#line 1175 "PicasaPublishing.c"
+#line 1176 "PicasaPublishing.c"
}
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp21_ = album_node_iter;
@@ -1191,7 +1192,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_tmp22_ = _tmp21_->name;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (g_strcmp0 (_tmp22_, "title") == 0) {
-#line 1183 "PicasaPublishing.c"
+#line 1184 "PicasaPublishing.c"
xmlNode* _tmp23_ = NULL;
gchar* _tmp24_ = NULL;
#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1202,7 +1203,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_g_free0 (name_val);
#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
name_val = _tmp24_;
-#line 1194 "PicasaPublishing.c"
+#line 1195 "PicasaPublishing.c"
} else {
xmlNode* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
@@ -1212,7 +1213,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_tmp26_ = _tmp25_->name;
#line 107 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (g_strcmp0 (_tmp26_, "id") == 0) {
-#line 1204 "PicasaPublishing.c"
+#line 1205 "PicasaPublishing.c"
xmlNode* _tmp27_ = NULL;
xmlNs* _tmp28_ = NULL;
const gchar* _tmp29_ = NULL;
@@ -1228,7 +1229,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
if (_tmp29_ != NULL) {
#line 112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
continue;
-#line 1220 "PicasaPublishing.c"
+#line 1221 "PicasaPublishing.c"
}
#line 113 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp30_ = album_node_iter;
@@ -1238,7 +1239,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_g_free0 (url_val);
#line 113 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
url_val = _tmp31_;
-#line 1230 "PicasaPublishing.c"
+#line 1231 "PicasaPublishing.c"
}
}
}
@@ -1259,7 +1260,7 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
_g_free0 (url_val);
#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (name_val);
-#line 1251 "PicasaPublishing.c"
+#line 1252 "PicasaPublishing.c"
}
}
#line 120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1270,13 +1271,13 @@ static PublishingPicasaAlbum** publishing_picasa_picasa_publisher_extract_albums
if (result_length1) {
#line 120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*result_length1 = _tmp36__length1;
-#line 1262 "PicasaPublishing.c"
+#line 1263 "PicasaPublishing.c"
}
#line 120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
result = _tmp36_;
#line 120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 1268 "PicasaPublishing.c"
+#line 1269 "PicasaPublishing.c"
}
@@ -1323,7 +1324,7 @@ static void publishing_picasa_picasa_publisher_load_parameters_from_configuratio
publishing_picasa_publishing_parameters_set_target_album_name (_tmp6_, _tmp9_);
#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (_tmp9_);
-#line 1315 "PicasaPublishing.c"
+#line 1316 "PicasaPublishing.c"
}
@@ -1370,7 +1371,7 @@ static void publishing_picasa_picasa_publisher_save_parameters_to_configuration_
spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-album", _tmp9_);
#line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (_tmp9_);
-#line 1362 "PicasaPublishing.c"
+#line 1363 "PicasaPublishing.c"
}
@@ -1388,13 +1389,13 @@ static void publishing_picasa_picasa_publisher_on_service_welcome_login (Publish
if (!_tmp0_) {
#line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1379 "PicasaPublishing.c"
+#line 1380 "PicasaPublishing.c"
}
#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp1_ = self->priv->refresh_token;
#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_rest_support_google_publisher_start_oauth_flow (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher), _tmp1_);
-#line 1385 "PicasaPublishing.c"
+#line 1386 "PicasaPublishing.c"
}
@@ -1448,21 +1449,21 @@ static void publishing_picasa_picasa_publisher_real_on_login_flow_complete (Publ
_publishing_rest_support_session_unref0 (_tmp7_);
#line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_do_fetch_account_information (self);
-#line 1439 "PicasaPublishing.c"
+#line 1440 "PicasaPublishing.c"
}
static void _publishing_picasa_picasa_publisher_on_initial_album_fetch_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_initial_album_fetch_complete ((PublishingPicasaPicasaPublisher*) self, _sender);
-#line 1446 "PicasaPublishing.c"
+#line 1447 "PicasaPublishing.c"
}
static void _publishing_picasa_picasa_publisher_on_initial_album_fetch_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_initial_album_fetch_error ((PublishingPicasaPicasaPublisher*) self, _sender, err);
-#line 1453 "PicasaPublishing.c"
+#line 1454 "PicasaPublishing.c"
}
@@ -1495,7 +1496,7 @@ static void publishing_picasa_picasa_publisher_on_initial_album_fetch_complete (
if (!_tmp4_) {
#line 159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1486 "PicasaPublishing.c"
+#line 1487 "PicasaPublishing.c"
}
#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_debug ("PicasaPublishing.vala:161: EVENT: finished fetching account and album " \
@@ -1504,7 +1505,7 @@ static void publishing_picasa_picasa_publisher_on_initial_album_fetch_complete (
_tmp5_ = txn;
#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_do_parse_and_display_account_information (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_PICASA_TYPE_ALBUM_DIRECTORY_TRANSACTION, PublishingPicasaAlbumDirectoryTransaction));
-#line 1494 "PicasaPublishing.c"
+#line 1495 "PicasaPublishing.c"
}
@@ -1542,7 +1543,7 @@ static void publishing_picasa_picasa_publisher_on_initial_album_fetch_error (Pub
if (!_tmp4_) {
#line 172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1532 "PicasaPublishing.c"
+#line 1533 "PicasaPublishing.c"
}
#line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp5_ = bad_txn;
@@ -1563,7 +1564,7 @@ static void publishing_picasa_picasa_publisher_on_initial_album_fetch_error (Pub
if (_tmp10_ == ((guint) 403)) {
#line 177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp8_ = TRUE;
-#line 1552 "PicasaPublishing.c"
+#line 1553 "PicasaPublishing.c"
} else {
PublishingRESTSupportTransaction* _tmp11_ = NULL;
guint _tmp12_ = 0U;
@@ -1573,13 +1574,13 @@ static void publishing_picasa_picasa_publisher_on_initial_album_fetch_error (Pub
_tmp12_ = publishing_rest_support_transaction_get_status_code (_tmp11_);
#line 177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp8_ = _tmp12_ == ((guint) 404);
-#line 1562 "PicasaPublishing.c"
+#line 1563 "PicasaPublishing.c"
}
#line 177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp8_) {
#line 178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_rest_support_google_publisher_do_logout (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
-#line 1568 "PicasaPublishing.c"
+#line 1569 "PicasaPublishing.c"
} else {
SpitPublishingPluginHost* _tmp13_ = NULL;
GError* _tmp14_ = NULL;
@@ -1589,7 +1590,7 @@ static void publishing_picasa_picasa_publisher_on_initial_album_fetch_error (Pub
_tmp14_ = err;
#line 181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
spit_publishing_plugin_host_post_error (_tmp13_, _tmp14_);
-#line 1578 "PicasaPublishing.c"
+#line 1579 "PicasaPublishing.c"
}
}
@@ -1604,14 +1605,14 @@ static void publishing_picasa_picasa_publisher_on_publishing_options_logout (Pub
if (!_tmp0_) {
#line 187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1593 "PicasaPublishing.c"
+#line 1594 "PicasaPublishing.c"
}
#line 189 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_debug ("PicasaPublishing.vala:189: EVENT: user clicked 'Logout' in the publish" \
"ing options pane.");
#line 191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_rest_support_google_publisher_do_logout (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
-#line 1599 "PicasaPublishing.c"
+#line 1600 "PicasaPublishing.c"
}
@@ -1628,7 +1629,7 @@ static void publishing_picasa_picasa_publisher_on_publishing_options_publish (Pu
if (!_tmp0_) {
#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1616 "PicasaPublishing.c"
+#line 1617 "PicasaPublishing.c"
}
#line 198 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_debug ("PicasaPublishing.vala:198: EVENT: user clicked 'Publish' in the publis" \
@@ -1645,11 +1646,11 @@ static void publishing_picasa_picasa_publisher_on_publishing_options_publish (Pu
if (_tmp3_) {
#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_do_create_album (self);
-#line 1632 "PicasaPublishing.c"
+#line 1633 "PicasaPublishing.c"
} else {
#line 205 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_do_upload (self);
-#line 1636 "PicasaPublishing.c"
+#line 1637 "PicasaPublishing.c"
}
}
@@ -1657,21 +1658,21 @@ static void publishing_picasa_picasa_publisher_on_publishing_options_publish (Pu
static void _publishing_picasa_picasa_publisher_on_album_creation_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_album_creation_complete ((PublishingPicasaPicasaPublisher*) self, _sender);
-#line 1644 "PicasaPublishing.c"
+#line 1645 "PicasaPublishing.c"
}
static void _publishing_picasa_picasa_publisher_on_album_creation_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_album_creation_error ((PublishingPicasaPicasaPublisher*) self, _sender, err);
-#line 1651 "PicasaPublishing.c"
+#line 1652 "PicasaPublishing.c"
}
static gpointer _publishing_rest_support_transaction_ref0 (gpointer self) {
#line 218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self ? publishing_rest_support_transaction_ref (self) : NULL;
-#line 1658 "PicasaPublishing.c"
+#line 1659 "PicasaPublishing.c"
}
@@ -1680,7 +1681,7 @@ static gchar* _publishing_picasa_album_directory_transaction_validate_xml_publis
result = publishing_picasa_album_directory_transaction_validate_xml (doc);
#line 221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 1667 "PicasaPublishing.c"
+#line 1668 "PicasaPublishing.c"
}
@@ -1727,7 +1728,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
if (!_tmp4_) {
#line 214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1714 "PicasaPublishing.c"
+#line 1715 "PicasaPublishing.c"
}
#line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_debug ("PicasaPublishing.vala:216: EVENT: finished creating album on remote se" \
@@ -1738,7 +1739,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
_tmp6_ = _publishing_rest_support_transaction_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_PICASA_TYPE_ALBUM_CREATION_TRANSACTION, PublishingPicasaAlbumCreationTransaction));
#line 218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
downcast_txn = _tmp6_;
-#line 1724 "PicasaPublishing.c"
+#line 1725 "PicasaPublishing.c"
{
PublishingRESTSupportXmlDocument* _tmp7_ = NULL;
PublishingPicasaAlbumCreationTransaction* _tmp8_ = NULL;
@@ -1765,7 +1766,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 1751 "PicasaPublishing.c"
+#line 1752 "PicasaPublishing.c"
goto __catch7_spit_publishing_publishing_error;
}
#line 221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1778,7 +1779,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
g_clear_error (&_inner_error_);
#line 221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1764 "PicasaPublishing.c"
+#line 1765 "PicasaPublishing.c"
}
#line 221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp13_ = _tmp7_;
@@ -1790,7 +1791,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
response_doc = _tmp13_;
#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_publishing_rest_support_xml_document_unref0 (_tmp7_);
-#line 1776 "PicasaPublishing.c"
+#line 1777 "PicasaPublishing.c"
}
goto __finally7;
__catch7_spit_publishing_publishing_error:
@@ -1816,7 +1817,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
_publishing_rest_support_transaction_unref0 (downcast_txn);
#line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1802 "PicasaPublishing.c"
+#line 1803 "PicasaPublishing.c"
}
__finally7:
#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1831,7 +1832,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
g_clear_error (&_inner_error_);
#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1817 "PicasaPublishing.c"
+#line 1818 "PicasaPublishing.c"
}
{
PublishingPicasaAlbum** _tmp16_ = NULL;
@@ -1859,7 +1860,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 1845 "PicasaPublishing.c"
+#line 1846 "PicasaPublishing.c"
goto __catch8_spit_publishing_publishing_error;
}
#line 230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1874,7 +1875,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
g_clear_error (&_inner_error_);
#line 230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1860 "PicasaPublishing.c"
+#line 1861 "PicasaPublishing.c"
}
#line 230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp21_ = _tmp16_;
@@ -1894,7 +1895,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
_response_albums_size_ = response_albums_length1;
#line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) publishing_picasa_album_unref), NULL);
-#line 1880 "PicasaPublishing.c"
+#line 1881 "PicasaPublishing.c"
}
goto __finally8;
__catch8_spit_publishing_publishing_error:
@@ -1922,7 +1923,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
_publishing_rest_support_transaction_unref0 (downcast_txn);
#line 233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1908 "PicasaPublishing.c"
+#line 1909 "PicasaPublishing.c"
}
__finally8:
#line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -1939,7 +1940,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
g_clear_error (&_inner_error_);
#line 229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1925 "PicasaPublishing.c"
+#line 1926 "PicasaPublishing.c"
}
#line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp24_ = response_albums;
@@ -1947,7 +1948,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
_tmp24__length1 = response_albums_length1;
#line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp24__length1 != 1) {
-#line 1933 "PicasaPublishing.c"
+#line 1934 "PicasaPublishing.c"
SpitPublishingPluginHost* _tmp25_ = NULL;
GError* _tmp26_ = NULL;
GError* _tmp27_ = NULL;
@@ -1970,7 +1971,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
_publishing_rest_support_transaction_unref0 (downcast_txn);
#line 240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 1955 "PicasaPublishing.c"
+#line 1956 "PicasaPublishing.c"
}
#line 243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp28_ = self->priv->publishing_parameters;
@@ -1992,7 +1993,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_complete (Publi
_publishing_rest_support_xml_document_unref0 (response_doc);
#line 209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_publishing_rest_support_transaction_unref0 (downcast_txn);
-#line 1977 "PicasaPublishing.c"
+#line 1978 "PicasaPublishing.c"
}
@@ -2029,7 +2030,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_error (Publishi
if (!_tmp4_) {
#line 254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2014 "PicasaPublishing.c"
+#line 2015 "PicasaPublishing.c"
}
#line 256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp5_ = bad_txn;
@@ -2048,7 +2049,7 @@ static void publishing_picasa_picasa_publisher_on_album_creation_error (Publishi
_tmp9_ = err;
#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
spit_publishing_plugin_host_post_error (_tmp8_, _tmp9_);
-#line 2032 "PicasaPublishing.c"
+#line 2033 "PicasaPublishing.c"
}
@@ -2069,7 +2070,7 @@ static void publishing_picasa_picasa_publisher_on_upload_status_updated (Publish
if (!_tmp0_) {
#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2053 "PicasaPublishing.c"
+#line 2054 "PicasaPublishing.c"
}
#line 266 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp1_ = completed_fraction;
@@ -2092,21 +2093,21 @@ static void publishing_picasa_picasa_publisher_on_upload_status_updated (Publish
_tmp5_ = completed_fraction;
#line 270 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp3_ (_tmp4_, _tmp5_, _tmp3__target);
-#line 2075 "PicasaPublishing.c"
+#line 2076 "PicasaPublishing.c"
}
static void _publishing_picasa_picasa_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete (PublishingRESTSupportBatchUploader* _sender, gint num_photos_published, gpointer self) {
#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_upload_complete ((PublishingPicasaPicasaPublisher*) self, _sender, num_photos_published);
-#line 2082 "PicasaPublishing.c"
+#line 2083 "PicasaPublishing.c"
}
static void _publishing_picasa_picasa_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error (PublishingRESTSupportBatchUploader* _sender, GError* err, gpointer self) {
#line 281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_upload_error ((PublishingPicasaPicasaPublisher*) self, _sender, err);
-#line 2089 "PicasaPublishing.c"
+#line 2090 "PicasaPublishing.c"
}
@@ -2127,7 +2128,7 @@ static void publishing_picasa_picasa_publisher_on_upload_complete (PublishingPic
if (!_tmp0_) {
#line 276 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2110 "PicasaPublishing.c"
+#line 2111 "PicasaPublishing.c"
}
#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp1_ = num_published;
@@ -2148,7 +2149,7 @@ static void publishing_picasa_picasa_publisher_on_upload_complete (PublishingPic
g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _publishing_picasa_picasa_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self);
#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_do_show_success_pane (self);
-#line 2130 "PicasaPublishing.c"
+#line 2131 "PicasaPublishing.c"
}
@@ -2172,7 +2173,7 @@ static void publishing_picasa_picasa_publisher_on_upload_error (PublishingPicasa
if (!_tmp0_) {
#line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2154 "PicasaPublishing.c"
+#line 2155 "PicasaPublishing.c"
}
#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp1_ = err;
@@ -2199,14 +2200,14 @@ static void publishing_picasa_picasa_publisher_on_upload_error (PublishingPicasa
_tmp8_ = err;
#line 296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_);
-#line 2180 "PicasaPublishing.c"
+#line 2181 "PicasaPublishing.c"
}
static void _publishing_picasa_picasa_publisher_on_service_welcome_login_spit_publishing_login_callback (gpointer self) {
#line 302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_service_welcome_login ((PublishingPicasaPicasaPublisher*) self);
-#line 2187 "PicasaPublishing.c"
+#line 2188 "PicasaPublishing.c"
}
@@ -2220,7 +2221,7 @@ static void publishing_picasa_picasa_publisher_do_show_service_welcome_pane (Pub
_tmp0_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
#line 302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
spit_publishing_plugin_host_install_welcome_pane (_tmp0_, PUBLISHING_PICASA_SERVICE_WELCOME_MESSAGE, _publishing_picasa_picasa_publisher_on_service_welcome_login_spit_publishing_login_callback, self);
-#line 2201 "PicasaPublishing.c"
+#line 2202 "PicasaPublishing.c"
}
@@ -2262,7 +2263,7 @@ static void publishing_picasa_picasa_publisher_do_fetch_account_information (Pub
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (directory_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_picasa_picasa_publisher_on_initial_album_fetch_error_publishing_rest_support_transaction_network_error, self, 0);
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (directory_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_picasa_picasa_publisher_on_initial_album_fetch_complete_publishing_rest_support_transaction_completed, self, 0);
-#line 2242 "PicasaPublishing.c"
+#line 2243 "PicasaPublishing.c"
{
#line 317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (directory_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
@@ -2270,7 +2271,7 @@ static void publishing_picasa_picasa_publisher_do_fetch_account_information (Pub
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 2250 "PicasaPublishing.c"
+#line 2251 "PicasaPublishing.c"
goto __catch9_spit_publishing_publishing_error;
}
#line 317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2281,7 +2282,7 @@ static void publishing_picasa_picasa_publisher_do_fetch_account_information (Pub
g_clear_error (&_inner_error_);
#line 317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2261 "PicasaPublishing.c"
+#line 2262 "PicasaPublishing.c"
}
}
goto __finally9;
@@ -2299,7 +2300,7 @@ static void publishing_picasa_picasa_publisher_do_fetch_account_information (Pub
publishing_picasa_picasa_publisher_on_initial_album_fetch_error (self, G_TYPE_CHECK_INSTANCE_CAST (directory_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), _tmp6_);
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_error_free0 (err);
-#line 2279 "PicasaPublishing.c"
+#line 2280 "PicasaPublishing.c"
}
__finally9:
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2312,11 +2313,11 @@ static void publishing_picasa_picasa_publisher_do_fetch_account_information (Pub
g_clear_error (&_inner_error_);
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2292 "PicasaPublishing.c"
+#line 2293 "PicasaPublishing.c"
}
#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_publishing_rest_support_transaction_unref0 (directory_trans);
-#line 2296 "PicasaPublishing.c"
+#line 2297 "PicasaPublishing.c"
}
@@ -2330,7 +2331,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_debug ("PicasaPublishing.vala:327: ACTION: parsing account and album informati" \
"on from server response XML");
-#line 2309 "PicasaPublishing.c"
+#line 2310 "PicasaPublishing.c"
{
PublishingRESTSupportXmlDocument* _tmp0_ = NULL;
PublishingPicasaAlbumDirectoryTransaction* _tmp1_ = NULL;
@@ -2357,7 +2358,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 2336 "PicasaPublishing.c"
+#line 2337 "PicasaPublishing.c"
goto __catch10_spit_publishing_publishing_error;
}
#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2368,7 +2369,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
g_clear_error (&_inner_error_);
#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2347 "PicasaPublishing.c"
+#line 2348 "PicasaPublishing.c"
}
#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp6_ = _tmp0_;
@@ -2380,7 +2381,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
response_doc = _tmp6_;
#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_publishing_rest_support_xml_document_unref0 (_tmp0_);
-#line 2359 "PicasaPublishing.c"
+#line 2360 "PicasaPublishing.c"
}
goto __finally10;
__catch10_spit_publishing_publishing_error:
@@ -2404,7 +2405,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
_publishing_rest_support_xml_document_unref0 (response_doc);
#line 335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2383 "PicasaPublishing.c"
+#line 2384 "PicasaPublishing.c"
}
__finally10:
#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2417,7 +2418,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
g_clear_error (&_inner_error_);
#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2396 "PicasaPublishing.c"
+#line 2397 "PicasaPublishing.c"
}
{
PublishingPicasaAlbum** _tmp9_ = NULL;
@@ -2444,7 +2445,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 2423 "PicasaPublishing.c"
+#line 2424 "PicasaPublishing.c"
goto __catch11_spit_publishing_publishing_error;
}
#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2455,7 +2456,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
g_clear_error (&_inner_error_);
#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2434 "PicasaPublishing.c"
+#line 2435 "PicasaPublishing.c"
}
#line 339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp14_ = self->priv->publishing_parameters;
@@ -2463,7 +2464,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
publishing_picasa_publishing_parameters_set_albums (_tmp14_, _tmp9_, _tmp9__length1);
#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp9_ = (_vala_array_free (_tmp9_, _tmp9__length1, (GDestroyNotify) publishing_picasa_album_unref), NULL);
-#line 2442 "PicasaPublishing.c"
+#line 2443 "PicasaPublishing.c"
}
goto __finally11;
__catch11_spit_publishing_publishing_error:
@@ -2487,7 +2488,7 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
_publishing_rest_support_xml_document_unref0 (response_doc);
#line 342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2466 "PicasaPublishing.c"
+#line 2467 "PicasaPublishing.c"
}
__finally11:
#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2500,27 +2501,27 @@ static void publishing_picasa_picasa_publisher_do_parse_and_display_account_info
g_clear_error (&_inner_error_);
#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2479 "PicasaPublishing.c"
+#line 2480 "PicasaPublishing.c"
}
#line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_do_show_publishing_options_pane (self);
#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_publishing_rest_support_xml_document_unref0 (response_doc);
-#line 2485 "PicasaPublishing.c"
+#line 2486 "PicasaPublishing.c"
}
static void _publishing_picasa_picasa_publisher_on_publishing_options_publish_publishing_picasa_publishing_options_pane_publish (PublishingPicasaPublishingOptionsPane* _sender, gpointer self) {
#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_publishing_options_publish ((PublishingPicasaPicasaPublisher*) self);
-#line 2492 "PicasaPublishing.c"
+#line 2493 "PicasaPublishing.c"
}
static void _publishing_picasa_picasa_publisher_on_publishing_options_logout_publishing_picasa_publishing_options_pane_logout (PublishingPicasaPublishingOptionsPane* _sender, gpointer self) {
#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_publishing_options_logout ((PublishingPicasaPicasaPublisher*) self);
-#line 2499 "PicasaPublishing.c"
+#line 2500 "PicasaPublishing.c"
}
@@ -2545,7 +2546,7 @@ static void publishing_picasa_picasa_publisher_do_show_publishing_options_pane (
_tmp0_ = gtk_builder_new ();
#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
builder = _tmp0_;
-#line 2524 "PicasaPublishing.c"
+#line 2525 "PicasaPublishing.c"
{
GtkBuilder* _tmp1_ = NULL;
#line 355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2554,7 +2555,7 @@ static void publishing_picasa_picasa_publisher_do_show_publishing_options_pane (
gtk_builder_add_from_resource (_tmp1_, PLUGIN_RESOURCE_PATH "/" "picasa_publishing_options_pane.ui", &_inner_error_);
#line 355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2533 "PicasaPublishing.c"
+#line 2534 "PicasaPublishing.c"
goto __catch12_g_error;
}
}
@@ -2597,7 +2598,7 @@ static void publishing_picasa_picasa_publisher_do_show_publishing_options_pane (
_g_object_unref0 (builder);
#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2575 "PicasaPublishing.c"
+#line 2576 "PicasaPublishing.c"
}
__finally12:
#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2610,7 +2611,7 @@ static void publishing_picasa_picasa_publisher_do_show_publishing_options_pane (
g_clear_error (&_inner_error_);
#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2588 "PicasaPublishing.c"
+#line 2589 "PicasaPublishing.c"
}
#line 365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp8_ = builder;
@@ -2642,7 +2643,7 @@ static void publishing_picasa_picasa_publisher_do_show_publishing_options_pane (
_g_object_unref0 (opts_pane);
#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_object_unref0 (builder);
-#line 2620 "PicasaPublishing.c"
+#line 2621 "PicasaPublishing.c"
}
@@ -2709,7 +2710,7 @@ static void publishing_picasa_picasa_publisher_do_create_album (PublishingPicasa
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (creation_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_picasa_picasa_publisher_on_album_creation_error_publishing_rest_support_transaction_network_error, self, 0);
#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (creation_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_picasa_picasa_publisher_on_album_creation_complete_publishing_rest_support_transaction_completed, self, 0);
-#line 2686 "PicasaPublishing.c"
+#line 2687 "PicasaPublishing.c"
{
#line 388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (creation_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
@@ -2717,7 +2718,7 @@ static void publishing_picasa_picasa_publisher_do_create_album (PublishingPicasa
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 2694 "PicasaPublishing.c"
+#line 2695 "PicasaPublishing.c"
goto __catch13_spit_publishing_publishing_error;
}
#line 388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2728,7 +2729,7 @@ static void publishing_picasa_picasa_publisher_do_create_album (PublishingPicasa
g_clear_error (&_inner_error_);
#line 388 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2705 "PicasaPublishing.c"
+#line 2706 "PicasaPublishing.c"
}
}
goto __finally13;
@@ -2749,7 +2750,7 @@ static void publishing_picasa_picasa_publisher_do_create_album (PublishingPicasa
spit_publishing_plugin_host_post_error (_tmp13_, _tmp14_);
#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_error_free0 (err);
-#line 2726 "PicasaPublishing.c"
+#line 2727 "PicasaPublishing.c"
}
__finally13:
#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -2762,18 +2763,18 @@ static void publishing_picasa_picasa_publisher_do_create_album (PublishingPicasa
g_clear_error (&_inner_error_);
#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2739 "PicasaPublishing.c"
+#line 2740 "PicasaPublishing.c"
}
#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_publishing_rest_support_transaction_unref0 (creation_trans);
-#line 2743 "PicasaPublishing.c"
+#line 2744 "PicasaPublishing.c"
}
static void _publishing_picasa_picasa_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) {
#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_on_upload_status_updated ((PublishingPicasaPicasaPublisher*) self, file_number, fraction_complete);
-#line 2750 "PicasaPublishing.c"
+#line 2751 "PicasaPublishing.c"
}
@@ -2846,7 +2847,7 @@ static void publishing_picasa_picasa_publisher_do_upload (PublishingPicasaPicasa
if (!_tmp9_) {
#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2822 "PicasaPublishing.c"
+#line 2823 "PicasaPublishing.c"
}
#line 410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp10_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
@@ -2892,7 +2893,7 @@ static void publishing_picasa_picasa_publisher_do_upload (PublishingPicasaPicasa
_publishing_rest_support_batch_uploader_unref0 (uploader);
#line 394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 2868 "PicasaPublishing.c"
+#line 2869 "PicasaPublishing.c"
}
@@ -2911,7 +2912,7 @@ static void publishing_picasa_picasa_publisher_do_show_success_pane (PublishingP
_tmp1_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
#line 423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
spit_publishing_plugin_host_install_success_pane (_tmp1_);
-#line 2887 "PicasaPublishing.c"
+#line 2888 "PicasaPublishing.c"
}
@@ -2942,7 +2943,7 @@ static void publishing_picasa_picasa_publisher_real_do_logout (PublishingRESTSup
spit_host_interface_unset_config_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "refresh_token");
#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_do_show_service_welcome_pane (self);
-#line 2918 "PicasaPublishing.c"
+#line 2919 "PicasaPublishing.c"
}
@@ -2958,7 +2959,7 @@ static gboolean publishing_picasa_picasa_publisher_real_is_running (PublishingRE
result = _tmp0_;
#line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 2934 "PicasaPublishing.c"
+#line 2935 "PicasaPublishing.c"
}
@@ -2976,7 +2977,7 @@ static void publishing_picasa_picasa_publisher_real_start (PublishingRESTSupport
if (_tmp0_) {
#line 445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 2952 "PicasaPublishing.c"
+#line 2953 "PicasaPublishing.c"
}
#line 447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->running = TRUE;
@@ -2986,14 +2987,14 @@ static void publishing_picasa_picasa_publisher_real_start (PublishingRESTSupport
if (_tmp1_ == NULL) {
#line 450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_picasa_publisher_do_show_service_welcome_pane (self);
-#line 2962 "PicasaPublishing.c"
+#line 2963 "PicasaPublishing.c"
} else {
const gchar* _tmp2_ = NULL;
#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp2_ = self->priv->refresh_token;
#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_rest_support_google_publisher_start_oauth_flow (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher), _tmp2_);
-#line 2969 "PicasaPublishing.c"
+#line 2970 "PicasaPublishing.c"
}
}
@@ -3016,7 +3017,7 @@ static void publishing_picasa_picasa_publisher_real_stop (PublishingRESTSupportG
_publishing_rest_support_session_unref0 (_tmp1_);
#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->running = FALSE;
-#line 2992 "PicasaPublishing.c"
+#line 2993 "PicasaPublishing.c"
}
@@ -3037,14 +3038,14 @@ static void publishing_picasa_picasa_publisher_class_init (PublishingPicasaPicas
((PublishingRESTSupportGooglePublisherClass *) klass)->stop = publishing_picasa_picasa_publisher_real_stop;
#line 62 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_picasa_picasa_publisher_finalize;
-#line 3013 "PicasaPublishing.c"
+#line 3014 "PicasaPublishing.c"
}
static void publishing_picasa_picasa_publisher_instance_init (PublishingPicasaPicasaPublisher * self) {
#line 62 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv = PUBLISHING_PICASA_PICASA_PUBLISHER_GET_PRIVATE (self);
-#line 3020 "PicasaPublishing.c"
+#line 3021 "PicasaPublishing.c"
}
@@ -3066,7 +3067,7 @@ static void publishing_picasa_picasa_publisher_finalize (GObject* obj) {
_g_free0 (self->priv->refresh_token);
#line 62 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
G_OBJECT_CLASS (publishing_picasa_picasa_publisher_parent_class)->finalize (obj);
-#line 3042 "PicasaPublishing.c"
+#line 3043 "PicasaPublishing.c"
}
@@ -3112,21 +3113,21 @@ PublishingPicasaAlbum* publishing_picasa_album_construct (GType object_type, con
self->url = _tmp3_;
#line 468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 3088 "PicasaPublishing.c"
+#line 3089 "PicasaPublishing.c"
}
PublishingPicasaAlbum* publishing_picasa_album_new (const gchar* name, const gchar* url) {
#line 468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return publishing_picasa_album_construct (PUBLISHING_PICASA_TYPE_ALBUM, name, url);
-#line 3095 "PicasaPublishing.c"
+#line 3096 "PicasaPublishing.c"
}
static void publishing_picasa_value_album_init (GValue* value) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 3102 "PicasaPublishing.c"
+#line 3103 "PicasaPublishing.c"
}
@@ -3135,7 +3136,7 @@ static void publishing_picasa_value_album_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_album_unref (value->data[0].v_pointer);
-#line 3111 "PicasaPublishing.c"
+#line 3112 "PicasaPublishing.c"
}
}
@@ -3145,11 +3146,11 @@ static void publishing_picasa_value_album_copy_value (const GValue* src_value, G
if (src_value->data[0].v_pointer) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
dest_value->data[0].v_pointer = publishing_picasa_album_ref (src_value->data[0].v_pointer);
-#line 3121 "PicasaPublishing.c"
+#line 3122 "PicasaPublishing.c"
} else {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 3125 "PicasaPublishing.c"
+#line 3126 "PicasaPublishing.c"
}
}
@@ -3157,37 +3158,37 @@ static void publishing_picasa_value_album_copy_value (const GValue* src_value, G
static gpointer publishing_picasa_value_album_peek_pointer (const GValue* value) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return value->data[0].v_pointer;
-#line 3133 "PicasaPublishing.c"
+#line 3134 "PicasaPublishing.c"
}
static gchar* publishing_picasa_value_album_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 3140 "PicasaPublishing.c"
+#line 3141 "PicasaPublishing.c"
PublishingPicasaAlbum* object;
object = collect_values[0].v_pointer;
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 3147 "PicasaPublishing.c"
+#line 3148 "PicasaPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.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 3151 "PicasaPublishing.c"
+#line 3152 "PicasaPublishing.c"
}
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = publishing_picasa_album_ref (object);
-#line 3155 "PicasaPublishing.c"
+#line 3156 "PicasaPublishing.c"
} else {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 3159 "PicasaPublishing.c"
+#line 3160 "PicasaPublishing.c"
}
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return NULL;
-#line 3163 "PicasaPublishing.c"
+#line 3164 "PicasaPublishing.c"
}
@@ -3198,25 +3199,25 @@ static gchar* publishing_picasa_value_album_lcopy_value (const GValue* value, gu
if (!object_p) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 3174 "PicasaPublishing.c"
+#line 3175 "PicasaPublishing.c"
}
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (!value->data[0].v_pointer) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*object_p = NULL;
-#line 3180 "PicasaPublishing.c"
+#line 3181 "PicasaPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 3184 "PicasaPublishing.c"
+#line 3185 "PicasaPublishing.c"
} else {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*object_p = publishing_picasa_album_ref (value->data[0].v_pointer);
-#line 3188 "PicasaPublishing.c"
+#line 3189 "PicasaPublishing.c"
}
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return NULL;
-#line 3192 "PicasaPublishing.c"
+#line 3193 "PicasaPublishing.c"
}
@@ -3230,7 +3231,7 @@ GParamSpec* publishing_picasa_param_spec_album (const gchar* name, const gchar*
G_PARAM_SPEC (spec)->value_type = object_type;
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 3206 "PicasaPublishing.c"
+#line 3207 "PicasaPublishing.c"
}
@@ -3239,7 +3240,7 @@ gpointer publishing_picasa_value_get_album (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PICASA_TYPE_ALBUM), NULL);
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return value->data[0].v_pointer;
-#line 3215 "PicasaPublishing.c"
+#line 3216 "PicasaPublishing.c"
}
@@ -3259,17 +3260,17 @@ void publishing_picasa_value_set_album (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_album_ref (value->data[0].v_pointer);
-#line 3235 "PicasaPublishing.c"
+#line 3236 "PicasaPublishing.c"
} else {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 3239 "PicasaPublishing.c"
+#line 3240 "PicasaPublishing.c"
}
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (old) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_album_unref (old);
-#line 3245 "PicasaPublishing.c"
+#line 3246 "PicasaPublishing.c"
}
}
@@ -3288,17 +3289,17 @@ void publishing_picasa_value_take_album (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 3264 "PicasaPublishing.c"
+#line 3265 "PicasaPublishing.c"
} else {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 3268 "PicasaPublishing.c"
+#line 3269 "PicasaPublishing.c"
}
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (old) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_album_unref (old);
-#line 3274 "PicasaPublishing.c"
+#line 3275 "PicasaPublishing.c"
}
}
@@ -3308,14 +3309,14 @@ static void publishing_picasa_album_class_init (PublishingPicasaAlbumClass * kla
publishing_picasa_album_parent_class = g_type_class_peek_parent (klass);
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
((PublishingPicasaAlbumClass *) klass)->finalize = publishing_picasa_album_finalize;
-#line 3284 "PicasaPublishing.c"
+#line 3285 "PicasaPublishing.c"
}
static void publishing_picasa_album_instance_init (PublishingPicasaAlbum * self) {
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->ref_count = 1;
-#line 3291 "PicasaPublishing.c"
+#line 3292 "PicasaPublishing.c"
}
@@ -3329,7 +3330,7 @@ static void publishing_picasa_album_finalize (PublishingPicasaAlbum* obj) {
_g_free0 (self->name);
#line 466 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (self->url);
-#line 3305 "PicasaPublishing.c"
+#line 3306 "PicasaPublishing.c"
}
@@ -3354,7 +3355,7 @@ gpointer publishing_picasa_album_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return instance;
-#line 3330 "PicasaPublishing.c"
+#line 3331 "PicasaPublishing.c"
}
@@ -3367,7 +3368,7 @@ void publishing_picasa_album_unref (gpointer instance) {
PUBLISHING_PICASA_ALBUM_GET_CLASS (self)->finalize (self);
#line 464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 3343 "PicasaPublishing.c"
+#line 3344 "PicasaPublishing.c"
}
}
@@ -3383,14 +3384,14 @@ PublishingPicasaAlbumDirectoryTransaction* publishing_picasa_album_directory_tra
self = (PublishingPicasaAlbumDirectoryTransaction*) publishing_rest_support_google_publisher_authenticated_transaction_construct (object_type, _tmp0_, PUBLISHING_PICASA_ALBUM_DIRECTORY_TRANSACTION_ENDPOINT_URL, PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET);
#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 3359 "PicasaPublishing.c"
+#line 3360 "PicasaPublishing.c"
}
PublishingPicasaAlbumDirectoryTransaction* publishing_picasa_album_directory_transaction_new (PublishingRESTSupportGoogleSession* session) {
#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return publishing_picasa_album_directory_transaction_construct (PUBLISHING_PICASA_TYPE_ALBUM_DIRECTORY_TRANSACTION, session);
-#line 3366 "PicasaPublishing.c"
+#line 3367 "PicasaPublishing.c"
}
@@ -3418,7 +3419,7 @@ gchar* publishing_picasa_album_directory_transaction_validate_xml (PublishingRES
if (g_strcmp0 (_tmp4_, "feed") == 0) {
#line 485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp2_ = TRUE;
-#line 3394 "PicasaPublishing.c"
+#line 3395 "PicasaPublishing.c"
} else {
xmlNode* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
@@ -3428,7 +3429,7 @@ gchar* publishing_picasa_album_directory_transaction_validate_xml (PublishingRES
_tmp6_ = _tmp5_->name;
#line 485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp2_ = g_strcmp0 (_tmp6_, "entry") == 0;
-#line 3404 "PicasaPublishing.c"
+#line 3405 "PicasaPublishing.c"
}
#line 485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp2_) {
@@ -3436,7 +3437,7 @@ gchar* publishing_picasa_album_directory_transaction_validate_xml (PublishingRES
result = NULL;
#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 3412 "PicasaPublishing.c"
+#line 3413 "PicasaPublishing.c"
} else {
gchar* _tmp7_ = NULL;
#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -3445,7 +3446,7 @@ gchar* publishing_picasa_album_directory_transaction_validate_xml (PublishingRES
result = _tmp7_;
#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 3421 "PicasaPublishing.c"
+#line 3422 "PicasaPublishing.c"
}
}
@@ -3453,7 +3454,7 @@ gchar* publishing_picasa_album_directory_transaction_validate_xml (PublishingRES
static void publishing_picasa_album_directory_transaction_class_init (PublishingPicasaAlbumDirectoryTransactionClass * klass) {
#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_album_directory_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 3429 "PicasaPublishing.c"
+#line 3430 "PicasaPublishing.c"
}
@@ -3503,11 +3504,11 @@ PublishingPicasaAlbumCreationTransaction* publishing_picasa_album_creation_trans
if (_tmp3_) {
#line 504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp1_ = "public";
-#line 3479 "PicasaPublishing.c"
+#line 3480 "PicasaPublishing.c"
} else {
#line 504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp1_ = "private";
-#line 3483 "PicasaPublishing.c"
+#line 3484 "PicasaPublishing.c"
}
#line 502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp4_ = parameters;
@@ -3535,21 +3536,21 @@ PublishingPicasaAlbumCreationTransaction* publishing_picasa_album_creation_trans
_g_free0 (post_body);
#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 3511 "PicasaPublishing.c"
+#line 3512 "PicasaPublishing.c"
}
PublishingPicasaAlbumCreationTransaction* publishing_picasa_album_creation_transaction_new (PublishingRESTSupportGoogleSession* session, PublishingPicasaPublishingParameters* parameters) {
#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return publishing_picasa_album_creation_transaction_construct (PUBLISHING_PICASA_TYPE_ALBUM_CREATION_TRANSACTION, session, parameters);
-#line 3518 "PicasaPublishing.c"
+#line 3519 "PicasaPublishing.c"
}
static void publishing_picasa_album_creation_transaction_class_init (PublishingPicasaAlbumCreationTransactionClass * klass) {
#line 492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_album_creation_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 3525 "PicasaPublishing.c"
+#line 3526 "PicasaPublishing.c"
}
@@ -3572,14 +3573,14 @@ GType publishing_picasa_album_creation_transaction_get_type (void) {
static gpointer _publishing_rest_support_session_ref0 (gpointer self) {
#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self ? publishing_rest_support_session_ref (self) : NULL;
-#line 3548 "PicasaPublishing.c"
+#line 3549 "PicasaPublishing.c"
}
static gpointer _publishing_picasa_publishing_parameters_ref0 (gpointer self) {
#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self ? publishing_picasa_publishing_parameters_ref (self) : NULL;
-#line 3555 "PicasaPublishing.c"
+#line 3556 "PicasaPublishing.c"
}
@@ -3657,11 +3658,11 @@ PublishingPicasaUploadTransaction* publishing_picasa_upload_transaction_construc
if (_tmp14_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp12_ = "video/mpeg";
-#line 3633 "PicasaPublishing.c"
+#line 3634 "PicasaPublishing.c"
} else {
#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp12_ = "image/jpeg";
-#line 3637 "PicasaPublishing.c"
+#line 3638 "PicasaPublishing.c"
}
#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp15_ = g_strdup (_tmp12_);
@@ -3671,14 +3672,14 @@ PublishingPicasaUploadTransaction* publishing_picasa_upload_transaction_construc
self->priv->mime_type = _tmp15_;
#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 3647 "PicasaPublishing.c"
+#line 3648 "PicasaPublishing.c"
}
PublishingPicasaUploadTransaction* publishing_picasa_upload_transaction_new (PublishingRESTSupportGoogleSession* session, PublishingPicasaPublishingParameters* parameters, SpitPublishingPublishable* publishable) {
#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return publishing_picasa_upload_transaction_construct (PUBLISHING_PICASA_TYPE_UPLOAD_TRANSACTION, session, parameters, publishable);
-#line 3654 "PicasaPublishing.c"
+#line 3655 "PicasaPublishing.c"
}
@@ -3701,7 +3702,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
_tmp3_ = end;
#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
-#line 3677 "PicasaPublishing.c"
+#line 3678 "PicasaPublishing.c"
glong _tmp4_ = 0L;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
@@ -3709,7 +3710,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
result = _tmp4_;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 3685 "PicasaPublishing.c"
+#line 3686 "PicasaPublishing.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
@@ -3721,7 +3722,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
result = (glong) (_tmp5_ - _tmp6_);
#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 3697 "PicasaPublishing.c"
+#line 3698 "PicasaPublishing.c"
}
}
@@ -3745,21 +3746,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp1_ = offset;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
-#line 3721 "PicasaPublishing.c"
+#line 3722 "PicasaPublishing.c"
glong _tmp2_ = 0L;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = len;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
-#line 3727 "PicasaPublishing.c"
+#line 3728 "PicasaPublishing.c"
} else {
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
-#line 3731 "PicasaPublishing.c"
+#line 3732 "PicasaPublishing.c"
}
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 3735 "PicasaPublishing.c"
+#line 3736 "PicasaPublishing.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
@@ -3771,7 +3772,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = _tmp5_;
-#line 3747 "PicasaPublishing.c"
+#line 3748 "PicasaPublishing.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
@@ -3781,13 +3782,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp7_ = _tmp6_;
#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
-#line 3757 "PicasaPublishing.c"
+#line 3758 "PicasaPublishing.c"
}
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp8_ = offset;
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
-#line 3763 "PicasaPublishing.c"
+#line 3764 "PicasaPublishing.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
@@ -3801,7 +3802,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp11_ = offset;
#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
-#line 3777 "PicasaPublishing.c"
+#line 3778 "PicasaPublishing.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
@@ -3811,13 +3812,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp13_ = string_length;
#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
-#line 3787 "PicasaPublishing.c"
+#line 3788 "PicasaPublishing.c"
}
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp14_ = len;
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
-#line 3793 "PicasaPublishing.c"
+#line 3794 "PicasaPublishing.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -3826,7 +3827,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp16_ = offset;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
-#line 3802 "PicasaPublishing.c"
+#line 3803 "PicasaPublishing.c"
}
#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp17_ = offset;
@@ -3846,7 +3847,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
result = _tmp22_;
#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 3822 "PicasaPublishing.c"
+#line 3823 "PicasaPublishing.c"
}
@@ -3863,7 +3864,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
if (_tmp0_ == NULL) {
#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
separator = "";
-#line 3839 "PicasaPublishing.c"
+#line 3840 "PicasaPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
@@ -3873,7 +3874,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
if (_tmp3_ != NULL) {
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
-#line 3849 "PicasaPublishing.c"
+#line 3850 "PicasaPublishing.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
@@ -3883,13 +3884,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp4__length1 = str_array_length1;
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
-#line 3859 "PicasaPublishing.c"
+#line 3860 "PicasaPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp2_) {
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
-#line 3865 "PicasaPublishing.c"
+#line 3866 "PicasaPublishing.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
@@ -3900,7 +3901,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp6__length1 = str_array_length1;
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
-#line 3876 "PicasaPublishing.c"
+#line 3877 "PicasaPublishing.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
@@ -3912,19 +3913,19 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp8_ = _tmp7_[0];
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
-#line 3888 "PicasaPublishing.c"
+#line 3889 "PicasaPublishing.c"
} else {
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
-#line 3892 "PicasaPublishing.c"
+#line 3893 "PicasaPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
-#line 3896 "PicasaPublishing.c"
+#line 3897 "PicasaPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp1_) {
-#line 3900 "PicasaPublishing.c"
+#line 3901 "PicasaPublishing.c"
gint i = 0;
gsize len = 0UL;
gint _tmp31_ = 0;
@@ -3947,7 +3948,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp62_ = NULL;
#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = (gsize) 1;
-#line 3923 "PicasaPublishing.c"
+#line 3924 "PicasaPublishing.c"
{
gboolean _tmp9_ = FALSE;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -3956,7 +3957,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp9_ = TRUE;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
while (TRUE) {
-#line 3932 "PicasaPublishing.c"
+#line 3933 "PicasaPublishing.c"
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
gchar** _tmp13_ = NULL;
@@ -3969,13 +3970,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gsize _tmp30_ = 0UL;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp9_) {
-#line 3945 "PicasaPublishing.c"
+#line 3946 "PicasaPublishing.c"
gint _tmp10_ = 0;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp10_ = i;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
-#line 3951 "PicasaPublishing.c"
+#line 3952 "PicasaPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
@@ -3985,7 +3986,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp13__length1 = str_array_length1;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
-#line 3961 "PicasaPublishing.c"
+#line 3962 "PicasaPublishing.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
@@ -3997,17 +3998,17 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp15__length1 = str_array_length1;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
-#line 3973 "PicasaPublishing.c"
+#line 3974 "PicasaPublishing.c"
} else {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
-#line 3977 "PicasaPublishing.c"
+#line 3978 "PicasaPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp12_) {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
-#line 3983 "PicasaPublishing.c"
+#line 3984 "PicasaPublishing.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
@@ -4018,7 +4019,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp17__length1 = str_array_length1;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
-#line 3994 "PicasaPublishing.c"
+#line 3995 "PicasaPublishing.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
@@ -4033,21 +4034,21 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp20_ = _tmp18_[_tmp19_];
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
-#line 4009 "PicasaPublishing.c"
+#line 4010 "PicasaPublishing.c"
} else {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
-#line 4013 "PicasaPublishing.c"
+#line 4014 "PicasaPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
-#line 4017 "PicasaPublishing.c"
+#line 4018 "PicasaPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp11_) {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
break;
-#line 4023 "PicasaPublishing.c"
+#line 4024 "PicasaPublishing.c"
}
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
@@ -4059,7 +4060,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp24_ = _tmp22_[_tmp23_];
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
-#line 4035 "PicasaPublishing.c"
+#line 4036 "PicasaPublishing.c"
gchar** _tmp25_ = NULL;
gint _tmp25__length1 = 0;
gint _tmp26_ = 0;
@@ -4080,24 +4081,24 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp29_ = _tmp28_;
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
-#line 4056 "PicasaPublishing.c"
+#line 4057 "PicasaPublishing.c"
} else {
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp21_ = 0;
-#line 4060 "PicasaPublishing.c"
+#line 4061 "PicasaPublishing.c"
}
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp30_ = len;
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
-#line 4066 "PicasaPublishing.c"
+#line 4067 "PicasaPublishing.c"
}
}
#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp31_ = i;
#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
-#line 4073 "PicasaPublishing.c"
+#line 4074 "PicasaPublishing.c"
gchar* _tmp32_ = NULL;
#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
@@ -4105,7 +4106,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
result = _tmp32_;
#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 4081 "PicasaPublishing.c"
+#line 4082 "PicasaPublishing.c"
}
#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp33_ = i;
@@ -4143,7 +4144,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
ptr = _tmp45_;
-#line 4119 "PicasaPublishing.c"
+#line 4120 "PicasaPublishing.c"
{
gboolean _tmp46_ = FALSE;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -4152,7 +4153,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp46_ = TRUE;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
while (TRUE) {
-#line 4128 "PicasaPublishing.c"
+#line 4129 "PicasaPublishing.c"
gint _tmp48_ = 0;
gchar** _tmp49_ = NULL;
gint _tmp49__length1 = 0;
@@ -4168,13 +4169,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
void* _tmp61_ = NULL;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp46_) {
-#line 4144 "PicasaPublishing.c"
+#line 4145 "PicasaPublishing.c"
gint _tmp47_ = 0;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp47_ = i;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
-#line 4150 "PicasaPublishing.c"
+#line 4151 "PicasaPublishing.c"
}
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
@@ -4188,7 +4189,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
if (!(_tmp48_ < _tmp49__length1)) {
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
break;
-#line 4164 "PicasaPublishing.c"
+#line 4165 "PicasaPublishing.c"
}
#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
@@ -4208,7 +4209,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp56_ = _tmp54_[_tmp55_];
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
-#line 4184 "PicasaPublishing.c"
+#line 4185 "PicasaPublishing.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
@@ -4223,11 +4224,11 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp59_ = _tmp57_[_tmp58_];
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
-#line 4199 "PicasaPublishing.c"
+#line 4200 "PicasaPublishing.c"
} else {
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp53_ = "";
-#line 4203 "PicasaPublishing.c"
+#line 4204 "PicasaPublishing.c"
}
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
@@ -4235,7 +4236,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
ptr = _tmp61_;
-#line 4211 "PicasaPublishing.c"
+#line 4212 "PicasaPublishing.c"
}
}
#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -4246,7 +4247,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
result = (gchar*) _tmp62_;
#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 4222 "PicasaPublishing.c"
+#line 4223 "PicasaPublishing.c"
} else {
gchar* _tmp63_ = NULL;
#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -4255,7 +4256,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
result = _tmp63_;
#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 4231 "PicasaPublishing.c"
+#line 4232 "PicasaPublishing.c"
}
}
@@ -4300,27 +4301,34 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
if (result_length1) {
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
-#line 4276 "PicasaPublishing.c"
+#line 4277 "PicasaPublishing.c"
}
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp4_;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 4282 "PicasaPublishing.c"
+#line 4283 "PicasaPublishing.c"
+}
+
+
+static guint8* _vala_array_dup5 (guint8* self, int length) {
+#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
+ return g_memdup (self, length * sizeof (guint8));
+#line 4290 "PicasaPublishing.c"
}
static void _vala_SoupBuffer_free (SoupBuffer* self) {
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_boxed_free (soup_buffer_get_type (), self);
-#line 4289 "PicasaPublishing.c"
+#line 4297 "PicasaPublishing.c"
}
static void _vala_SoupMultipart_free (SoupMultipart* self) {
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_boxed_free (soup_multipart_get_type (), self);
-#line 4296 "PicasaPublishing.c"
+#line 4304 "PicasaPublishing.c"
}
@@ -4360,38 +4368,40 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
gint _tmp61__length1 = 0;
guint8* _tmp62_ = NULL;
gint _tmp62__length1 = 0;
- SoupBuffer* _tmp63_ = NULL;
- SoupMultipart* _tmp64_ = NULL;
- SoupBuffer* _tmp65_ = NULL;
+ guint8* _tmp63_ = NULL;
+ gint _tmp63__length1 = 0;
+ SoupBuffer* _tmp64_ = NULL;
+ SoupMultipart* _tmp65_ = NULL;
+ SoupBuffer* _tmp66_ = NULL;
guint8* photo_data = NULL;
- GMappedFile* _tmp87_ = NULL;
- gchar* _tmp88_ = NULL;
+ GMappedFile* _tmp88_ = NULL;
+ gchar* _tmp89_ = NULL;
gint photo_data_length1 = 0;
gint _photo_data_size_ = 0;
- GMappedFile* _tmp89_ = NULL;
- gsize _tmp90_ = 0UL;
- gint _tmp91_ = 0;
+ GMappedFile* _tmp90_ = NULL;
+ gsize _tmp91_ = 0UL;
+ gint _tmp92_ = 0;
SoupBuffer* bindable_data = NULL;
- SoupBuffer* _tmp92_ = NULL;
- SoupMultipart* _tmp93_ = NULL;
- SpitPublishingPublishable* _tmp94_ = NULL;
- GFile* _tmp95_ = NULL;
+ SoupBuffer* _tmp93_ = NULL;
+ SoupMultipart* _tmp94_ = NULL;
+ SpitPublishingPublishable* _tmp95_ = NULL;
GFile* _tmp96_ = NULL;
- gchar* _tmp97_ = NULL;
+ GFile* _tmp97_ = NULL;
gchar* _tmp98_ = NULL;
- const gchar* _tmp99_ = NULL;
+ gchar* _tmp99_ = NULL;
+ const gchar* _tmp100_ = NULL;
SoupMessage* outbound_message = NULL;
- gchar* _tmp100_ = NULL;
gchar* _tmp101_ = NULL;
- SoupMultipart* _tmp102_ = NULL;
- SoupMessage* _tmp103_ = NULL;
+ gchar* _tmp102_ = NULL;
+ SoupMultipart* _tmp103_ = NULL;
SoupMessage* _tmp104_ = NULL;
- SoupMessageHeaders* _tmp105_ = NULL;
- PublishingRESTSupportGoogleSession* _tmp106_ = NULL;
- gchar* _tmp107_ = NULL;
+ SoupMessage* _tmp105_ = NULL;
+ SoupMessageHeaders* _tmp106_ = NULL;
+ PublishingRESTSupportGoogleSession* _tmp107_ = NULL;
gchar* _tmp108_ = NULL;
gchar* _tmp109_ = NULL;
gchar* _tmp110_ = NULL;
+ gchar* _tmp111_ = NULL;
GError * _inner_error_ = NULL;
#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PICASA_TYPE_UPLOAD_TRANSACTION, PublishingPicasaUploadTransaction);
@@ -4415,7 +4425,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
_g_free0 (_tmp4_);
#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp5_) {
-#line 4391 "PicasaPublishing.c"
+#line 4401 "PicasaPublishing.c"
SpitPublishingPublishable* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
@@ -4442,7 +4452,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
_g_free0 (_tmp10_);
#line 537 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (_tmp8_);
-#line 4418 "PicasaPublishing.c"
+#line 4428 "PicasaPublishing.c"
}
#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp12_ = self->priv->publishable;
@@ -4464,7 +4474,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
_tmp16__length1 = keywords_length1;
#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp16__length1 > 0) {
-#line 4440 "PicasaPublishing.c"
+#line 4450 "PicasaPublishing.c"
const gchar* _tmp47_ = NULL;
gchar* _tmp48_ = NULL;
const gchar* _tmp49_ = NULL;
@@ -4473,14 +4483,14 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
gint i = 0;
#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
i = 0;
-#line 4449 "PicasaPublishing.c"
+#line 4459 "PicasaPublishing.c"
{
gboolean _tmp17_ = FALSE;
#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp17_ = TRUE;
#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
while (TRUE) {
-#line 4456 "PicasaPublishing.c"
+#line 4466 "PicasaPublishing.c"
gint _tmp19_ = 0;
gchar** _tmp20_ = NULL;
gint _tmp20__length1 = 0;
@@ -4497,13 +4507,13 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
gint _tmp39_ = 0;
#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (!_tmp17_) {
-#line 4473 "PicasaPublishing.c"
+#line 4483 "PicasaPublishing.c"
gint _tmp18_ = 0;
#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp18_ = i;
#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
i = _tmp18_ + 1;
-#line 4479 "PicasaPublishing.c"
+#line 4489 "PicasaPublishing.c"
}
#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp17_ = FALSE;
@@ -4517,7 +4527,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
if (!(_tmp19_ < _tmp20__length1)) {
#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
break;
-#line 4493 "PicasaPublishing.c"
+#line 4503 "PicasaPublishing.c"
}
#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp21_ = keywords;
@@ -4531,7 +4541,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
_tmp24_ = g_str_has_prefix (_tmp23_, "/");
#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp24_) {
-#line 4507 "PicasaPublishing.c"
+#line 4517 "PicasaPublishing.c"
gchar** _tmp25_ = NULL;
gint _tmp25__length1 = 0;
gint _tmp26_ = 0;
@@ -4564,7 +4574,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
_tmp_size_ = tmp_length1;
#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (_tmp29_);
-#line 4540 "PicasaPublishing.c"
+#line 4550 "PicasaPublishing.c"
} else {
gchar** _tmp32_ = NULL;
gint _tmp32__length1 = 0;
@@ -4590,7 +4600,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
tmp_length1 = _vala_array_length (_tmp35_);
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp_size_ = tmp_length1;
-#line 4566 "PicasaPublishing.c"
+#line 4576 "PicasaPublishing.c"
}
#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp37_ = keywords_string;
@@ -4600,7 +4610,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
_tmp39_ = _tmp38_;
#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp39_ > 0) {
-#line 4576 "PicasaPublishing.c"
+#line 4586 "PicasaPublishing.c"
const gchar* _tmp40_ = NULL;
gchar** _tmp41_ = NULL;
gint _tmp41__length1 = 0;
@@ -4625,7 +4635,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
keywords_string = _tmp44_;
#line 553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (_tmp43_);
-#line 4601 "PicasaPublishing.c"
+#line 4611 "PicasaPublishing.c"
} else {
gchar** _tmp45_ = NULL;
gint _tmp45__length1 = 0;
@@ -4640,11 +4650,11 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
_g_free0 (keywords_string);
#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
keywords_string = _tmp46_;
-#line 4616 "PicasaPublishing.c"
+#line 4626 "PicasaPublishing.c"
}
#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
tmp = (_vala_array_free (tmp, tmp_length1, (GDestroyNotify) g_free), NULL);
-#line 4620 "PicasaPublishing.c"
+#line 4630 "PicasaPublishing.c"
}
}
}
@@ -4664,7 +4674,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
_g_free0 (keywords_string);
#line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
keywords_string = _tmp50_;
-#line 4640 "PicasaPublishing.c"
+#line 4650 "PicasaPublishing.c"
}
#line 562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp51_ = self->priv->publishable;
@@ -4699,51 +4709,55 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp62__length1 = _tmp61__length1;
#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp63_ = soup_buffer_new (SOUP_MEMORY_COPY, _tmp62_, _tmp62__length1);
+ _tmp63_ = (_tmp62_ != NULL) ? _vala_array_dup5 (_tmp62_, _tmp62__length1) : ((gpointer) _tmp62_);
+#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
+ _tmp63__length1 = _tmp62__length1;
#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- metadata_buffer = _tmp63_;
+ _tmp64_ = soup_buffer_new_take (_tmp63_, _tmp63__length1);
+#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
+ metadata_buffer = _tmp64_;
#line 566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp64_ = message_parts;
+ _tmp65_ = message_parts;
#line 566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp65_ = metadata_buffer;
+ _tmp66_ = metadata_buffer;
#line 566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- soup_multipart_append_form_file (_tmp64_, "", "", "application/atom+xml", _tmp65_);
-#line 4684 "PicasaPublishing.c"
+ soup_multipart_append_form_file (_tmp65_, "", "", "application/atom+xml", _tmp66_);
+#line 4698 "PicasaPublishing.c"
{
- GMappedFile* _tmp66_ = NULL;
- SpitPublishingPublishable* _tmp67_ = NULL;
- GFile* _tmp68_ = NULL;
+ GMappedFile* _tmp67_ = NULL;
+ SpitPublishingPublishable* _tmp68_ = NULL;
GFile* _tmp69_ = NULL;
- gchar* _tmp70_ = NULL;
+ GFile* _tmp70_ = NULL;
gchar* _tmp71_ = NULL;
- GMappedFile* _tmp72_ = NULL;
+ gchar* _tmp72_ = NULL;
GMappedFile* _tmp73_ = NULL;
GMappedFile* _tmp74_ = NULL;
+ GMappedFile* _tmp75_ = NULL;
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp67_ = self->priv->publishable;
+ _tmp68_ = self->priv->publishable;
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp68_ = spit_publishing_publishable_get_serialized_file (_tmp67_);
+ _tmp69_ = spit_publishing_publishable_get_serialized_file (_tmp68_);
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp69_ = _tmp68_;
+ _tmp70_ = _tmp69_;
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp70_ = g_file_get_path (_tmp69_);
+ _tmp71_ = g_file_get_path (_tmp70_);
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp71_ = _tmp70_;
+ _tmp72_ = _tmp71_;
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp72_ = g_mapped_file_new (_tmp71_, FALSE, &_inner_error_);
+ _tmp73_ = g_mapped_file_new (_tmp72_, FALSE, &_inner_error_);
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp73_ = _tmp72_;
+ _tmp74_ = _tmp73_;
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_free0 (_tmp71_);
+ _g_free0 (_tmp72_);
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_object_unref0 (_tmp69_);
+ _g_object_unref0 (_tmp70_);
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp66_ = _tmp73_;
+ _tmp67_ = _tmp74_;
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_inner_error_->domain == G_FILE_ERROR) {
-#line 4719 "PicasaPublishing.c"
+#line 4733 "PicasaPublishing.c"
goto __catch14_g_file_error;
}
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -4764,80 +4778,80 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
g_clear_error (&_inner_error_);
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 4740 "PicasaPublishing.c"
+#line 4754 "PicasaPublishing.c"
}
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp74_ = _tmp66_;
+ _tmp75_ = _tmp67_;
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp66_ = NULL;
+ _tmp67_ = NULL;
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_mapped_file_unref0 (self->priv->mapped_file);
#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- self->priv->mapped_file = _tmp74_;
+ self->priv->mapped_file = _tmp75_;
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_mapped_file_unref0 (_tmp66_);
-#line 4752 "PicasaPublishing.c"
+ _g_mapped_file_unref0 (_tmp67_);
+#line 4766 "PicasaPublishing.c"
}
goto __finally14;
__catch14_g_file_error:
{
GError* e = NULL;
gchar* msg = NULL;
- SpitPublishingPublishable* _tmp75_ = NULL;
- GFile* _tmp76_ = NULL;
+ SpitPublishingPublishable* _tmp76_ = NULL;
GFile* _tmp77_ = NULL;
- gchar* _tmp78_ = NULL;
+ GFile* _tmp78_ = NULL;
gchar* _tmp79_ = NULL;
- GError* _tmp80_ = NULL;
- const gchar* _tmp81_ = NULL;
- gchar* _tmp82_ = NULL;
+ gchar* _tmp80_ = NULL;
+ GError* _tmp81_ = NULL;
+ const gchar* _tmp82_ = NULL;
gchar* _tmp83_ = NULL;
- const gchar* _tmp84_ = NULL;
+ gchar* _tmp84_ = NULL;
const gchar* _tmp85_ = NULL;
- GError* _tmp86_ = NULL;
+ const gchar* _tmp86_ = NULL;
+ GError* _tmp87_ = NULL;
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
e = _inner_error_;
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_inner_error_ = NULL;
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp75_ = self->priv->publishable;
+ _tmp76_ = self->priv->publishable;
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp76_ = spit_publishing_publishable_get_serialized_file (_tmp75_);
+ _tmp77_ = spit_publishing_publishable_get_serialized_file (_tmp76_);
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp77_ = _tmp76_;
+ _tmp78_ = _tmp77_;
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp78_ = g_file_get_path (_tmp77_);
+ _tmp79_ = g_file_get_path (_tmp78_);
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp79_ = _tmp78_;
+ _tmp80_ = _tmp79_;
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp80_ = e;
+ _tmp81_ = e;
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp81_ = _tmp80_->message;
+ _tmp82_ = _tmp81_->message;
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp82_ = g_strdup_printf ("Picasa: couldn't read data from %s: %s", _tmp79_, _tmp81_);
+ _tmp83_ = g_strdup_printf ("Picasa: couldn't read data from %s: %s", _tmp80_, _tmp82_);
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp83_ = _tmp82_;
+ _tmp84_ = _tmp83_;
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_free0 (_tmp79_);
+ _g_free0 (_tmp80_);
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_object_unref0 (_tmp77_);
+ _g_object_unref0 (_tmp78_);
#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- msg = _tmp83_;
+ msg = _tmp84_;
#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp84_ = msg;
+ _tmp85_ = msg;
#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- g_warning ("PicasaPublishing.vala:574: %s", _tmp84_);
+ g_warning ("PicasaPublishing.vala:574: %s", _tmp85_);
#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp85_ = msg;
+ _tmp86_ = msg;
#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp86_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp85_);
+ _tmp87_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp86_);
#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _inner_error_ = _tmp86_;
+ _inner_error_ = _tmp87_;
#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (msg);
#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_error_free0 (e);
-#line 4813 "PicasaPublishing.c"
+#line 4827 "PicasaPublishing.c"
goto __finally14;
}
__finally14:
@@ -4861,7 +4875,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
__vala_SoupMultipart_free0 (message_parts);
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 4837 "PicasaPublishing.c"
+#line 4851 "PicasaPublishing.c"
} else {
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
__vala_SoupBuffer_free0 (metadata_buffer);
@@ -4881,83 +4895,83 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
g_clear_error (&_inner_error_);
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 4857 "PicasaPublishing.c"
+#line 4871 "PicasaPublishing.c"
}
}
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp87_ = self->priv->mapped_file;
+ _tmp88_ = self->priv->mapped_file;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp88_ = g_mapped_file_get_contents (_tmp87_);
+ _tmp89_ = g_mapped_file_get_contents (_tmp88_);
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- photo_data = (guint8*) _tmp88_;
+ photo_data = (guint8*) _tmp89_;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
photo_data_length1 = -1;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_photo_data_size_ = photo_data_length1;
#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp89_ = self->priv->mapped_file;
+ _tmp90_ = self->priv->mapped_file;
#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp90_ = g_mapped_file_get_length (_tmp89_);
+ _tmp91_ = g_mapped_file_get_length (_tmp90_);
#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- photo_data_length1 = (gint) _tmp90_;
+ photo_data_length1 = (gint) _tmp91_;
#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp91_ = photo_data_length1;
+ _tmp92_ = photo_data_length1;
#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp92_ = soup_buffer_new (SOUP_MEMORY_TEMPORARY, photo_data, photo_data_length1);
+ _tmp93_ = soup_buffer_new_with_owner (photo_data, photo_data_length1, self, NULL);
#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- bindable_data = _tmp92_;
+ bindable_data = _tmp93_;
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp93_ = message_parts;
+ _tmp94_ = message_parts;
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp94_ = self->priv->publishable;
+ _tmp95_ = self->priv->publishable;
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp95_ = spit_publishing_publishable_get_serialized_file (_tmp94_);
+ _tmp96_ = spit_publishing_publishable_get_serialized_file (_tmp95_);
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp96_ = _tmp95_;
+ _tmp97_ = _tmp96_;
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp97_ = g_file_get_path (_tmp96_);
+ _tmp98_ = g_file_get_path (_tmp97_);
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp98_ = _tmp97_;
+ _tmp99_ = _tmp98_;
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp99_ = self->priv->mime_type;
+ _tmp100_ = self->priv->mime_type;
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- soup_multipart_append_form_file (_tmp93_, "", _tmp98_, _tmp99_, bindable_data);
+ soup_multipart_append_form_file (_tmp94_, "", _tmp99_, _tmp100_, bindable_data);
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_free0 (_tmp98_);
+ _g_free0 (_tmp99_);
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_object_unref0 (_tmp96_);
+ _g_object_unref0 (_tmp97_);
#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp100_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
+ _tmp101_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp101_ = _tmp100_;
+ _tmp102_ = _tmp101_;
#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp102_ = message_parts;
+ _tmp103_ = message_parts;
#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp103_ = soup_form_request_new_from_multipart (_tmp101_, _tmp102_);
+ _tmp104_ = soup_form_request_new_from_multipart (_tmp102_, _tmp103_);
#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp104_ = _tmp103_;
+ _tmp105_ = _tmp104_;
#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_free0 (_tmp101_);
+ _g_free0 (_tmp102_);
#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- outbound_message = _tmp104_;
+ outbound_message = _tmp105_;
#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp105_ = outbound_message->request_headers;
+ _tmp106_ = outbound_message->request_headers;
#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp106_ = self->priv->session;
+ _tmp107_ = self->priv->session;
#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp107_ = publishing_rest_support_google_session_get_access_token (_tmp106_);
+ _tmp108_ = publishing_rest_support_google_session_get_access_token (_tmp107_);
#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp108_ = _tmp107_;
+ _tmp109_ = _tmp108_;
#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp109_ = g_strconcat ("Bearer ", _tmp108_, NULL);
+ _tmp110_ = g_strconcat ("Bearer ", _tmp109_, NULL);
#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp110_ = _tmp109_;
+ _tmp111_ = _tmp110_;
#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- soup_message_headers_append (_tmp105_, "Authorization", _tmp110_);
+ soup_message_headers_append (_tmp106_, "Authorization", _tmp111_);
#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_free0 (_tmp110_);
+ _g_free0 (_tmp111_);
#line 592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _g_free0 (_tmp108_);
+ _g_free0 (_tmp109_);
#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_rest_support_transaction_set_message (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), outbound_message);
#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -4988,7 +5002,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
__vala_SoupMultipart_free0 (message_parts);
#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 4964 "PicasaPublishing.c"
+#line 4978 "PicasaPublishing.c"
} else {
#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_object_unref0 (outbound_message);
@@ -5012,7 +5026,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
g_clear_error (&_inner_error_);
#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return;
-#line 4988 "PicasaPublishing.c"
+#line 5002 "PicasaPublishing.c"
}
}
#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -5031,7 +5045,7 @@ static void publishing_picasa_upload_transaction_real_execute (PublishingRESTSup
_g_free0 (summary);
#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
__vala_SoupMultipart_free0 (message_parts);
-#line 5007 "PicasaPublishing.c"
+#line 5021 "PicasaPublishing.c"
}
@@ -5044,14 +5058,14 @@ static void publishing_picasa_upload_transaction_class_init (PublishingPicasaUpl
g_type_class_add_private (klass, sizeof (PublishingPicasaUploadTransactionPrivate));
#line 510 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
((PublishingRESTSupportTransactionClass *) klass)->execute = publishing_picasa_upload_transaction_real_execute;
-#line 5020 "PicasaPublishing.c"
+#line 5034 "PicasaPublishing.c"
}
static void publishing_picasa_upload_transaction_instance_init (PublishingPicasaUploadTransaction * self) {
#line 510 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv = PUBLISHING_PICASA_UPLOAD_TRANSACTION_GET_PRIVATE (self);
-#line 5027 "PicasaPublishing.c"
+#line 5041 "PicasaPublishing.c"
}
@@ -5071,7 +5085,7 @@ static void publishing_picasa_upload_transaction_finalize (PublishingRESTSupport
_g_mapped_file_unref0 (self->priv->mapped_file);
#line 510 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_picasa_upload_transaction_parent_class)->finalize (obj);
-#line 5047 "PicasaPublishing.c"
+#line 5061 "PicasaPublishing.c"
}
@@ -5090,42 +5104,42 @@ GType publishing_picasa_upload_transaction_get_type (void) {
static gpointer _publishing_picasa_publishing_options_pane_size_description_ref0 (gpointer self) {
#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self ? publishing_picasa_publishing_options_pane_size_description_ref (self) : NULL;
-#line 5066 "PicasaPublishing.c"
+#line 5080 "PicasaPublishing.c"
}
static void _publishing_picasa_publishing_options_pane_on_use_existing_radio_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_on_use_existing_radio_clicked ((PublishingPicasaPublishingOptionsPane*) self);
-#line 5073 "PicasaPublishing.c"
+#line 5087 "PicasaPublishing.c"
}
static void _publishing_picasa_publishing_options_pane_on_create_new_radio_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_on_create_new_radio_clicked ((PublishingPicasaPublishingOptionsPane*) self);
-#line 5080 "PicasaPublishing.c"
+#line 5094 "PicasaPublishing.c"
}
static void _publishing_picasa_publishing_options_pane_on_new_album_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_on_new_album_entry_changed ((PublishingPicasaPublishingOptionsPane*) self);
-#line 5087 "PicasaPublishing.c"
+#line 5101 "PicasaPublishing.c"
}
static void _publishing_picasa_publishing_options_pane_on_logout_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 683 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_on_logout_clicked ((PublishingPicasaPublishingOptionsPane*) self);
-#line 5094 "PicasaPublishing.c"
+#line 5108 "PicasaPublishing.c"
}
static void _publishing_picasa_publishing_options_pane_on_publish_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_on_publish_clicked ((PublishingPicasaPublishingOptionsPane*) self);
-#line 5101 "PicasaPublishing.c"
+#line 5115 "PicasaPublishing.c"
}
@@ -5397,7 +5411,7 @@ PublishingPicasaPublishingOptionsPane* publishing_picasa_publishing_options_pane
_tmp58_ = publishing_picasa_publishing_parameters_get_media_type (_tmp57_);
#line 664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if ((_tmp58_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) == 0) {
-#line 5373 "PicasaPublishing.c"
+#line 5387 "PicasaPublishing.c"
GtkLabel* _tmp59_ = NULL;
const gchar* _tmp60_ = NULL;
GtkComboBoxText* _tmp61_ = NULL;
@@ -5416,7 +5430,7 @@ PublishingPicasaPublishingOptionsPane* publishing_picasa_publishing_options_pane
_tmp62_ = self->priv->size_combo;
#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 5392 "PicasaPublishing.c"
+#line 5406 "PicasaPublishing.c"
} else {
GtkLabel* _tmp63_ = NULL;
const gchar* _tmp64_ = NULL;
@@ -5437,7 +5451,7 @@ PublishingPicasaPublishingOptionsPane* publishing_picasa_publishing_options_pane
_tmp65_ = self->priv->size_descriptions;
#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp65__length1 = self->priv->size_descriptions_length1;
-#line 5413 "PicasaPublishing.c"
+#line 5427 "PicasaPublishing.c"
{
PublishingPicasaPublishingOptionsPaneSizeDescription** desc_collection = NULL;
gint desc_collection_length1 = 0;
@@ -5449,14 +5463,14 @@ PublishingPicasaPublishingOptionsPane* publishing_picasa_publishing_options_pane
desc_collection_length1 = _tmp65__length1;
#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
for (desc_it = 0; desc_it < _tmp65__length1; desc_it = desc_it + 1) {
-#line 5425 "PicasaPublishing.c"
+#line 5439 "PicasaPublishing.c"
PublishingPicasaPublishingOptionsPaneSizeDescription* _tmp66_ = NULL;
PublishingPicasaPublishingOptionsPaneSizeDescription* desc = NULL;
#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp66_ = _publishing_picasa_publishing_options_pane_size_description_ref0 (desc_collection[desc_it]);
#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
desc = _tmp66_;
-#line 5432 "PicasaPublishing.c"
+#line 5446 "PicasaPublishing.c"
{
GtkComboBoxText* _tmp67_ = NULL;
PublishingPicasaPublishingOptionsPaneSizeDescription* _tmp68_ = NULL;
@@ -5471,7 +5485,7 @@ PublishingPicasaPublishingOptionsPane* publishing_picasa_publishing_options_pane
gtk_combo_box_text_append_text (_tmp67_, _tmp69_);
#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_publishing_picasa_publishing_options_pane_size_description_unref0 (desc);
-#line 5447 "PicasaPublishing.c"
+#line 5461 "PicasaPublishing.c"
}
}
}
@@ -5491,7 +5505,7 @@ PublishingPicasaPublishingOptionsPane* publishing_picasa_publishing_options_pane
_tmp74_ = publishing_picasa_publishing_parameters_get_major_axis_size_selection_id (_tmp73_);
#line 676 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_combo_box_get_type (), GtkComboBox), _tmp74_);
-#line 5467 "PicasaPublishing.c"
+#line 5481 "PicasaPublishing.c"
}
#line 680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp75_ = self->priv->use_existing_radio;
@@ -5515,14 +5529,14 @@ PublishingPicasaPublishingOptionsPane* publishing_picasa_publishing_options_pane
g_signal_connect_object (_tmp79_, "clicked", (GCallback) _publishing_picasa_publishing_options_pane_on_publish_clicked_gtk_button_clicked, self, 0);
#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 5491 "PicasaPublishing.c"
+#line 5505 "PicasaPublishing.c"
}
PublishingPicasaPublishingOptionsPane* publishing_picasa_publishing_options_pane_new (GtkBuilder* builder, PublishingPicasaPublishingParameters* parameters) {
#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return publishing_picasa_publishing_options_pane_construct (PUBLISHING_PICASA_TYPE_PUBLISHING_OPTIONS_PANE, builder, parameters);
-#line 5498 "PicasaPublishing.c"
+#line 5512 "PicasaPublishing.c"
}
@@ -5558,7 +5572,7 @@ static void publishing_picasa_publishing_options_pane_on_publish_clicked (Publis
_tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp2_ >= 0) {
-#line 5534 "PicasaPublishing.c"
+#line 5548 "PicasaPublishing.c"
GtkComboBoxText* _tmp3_ = NULL;
gint _tmp4_ = 0;
#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -5567,11 +5581,11 @@ static void publishing_picasa_publishing_options_pane_on_publish_clicked (Publis
_tmp4_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox));
#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp0_ = _tmp4_;
-#line 5543 "PicasaPublishing.c"
+#line 5557 "PicasaPublishing.c"
} else {
#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp0_ = 0;
-#line 5547 "PicasaPublishing.c"
+#line 5561 "PicasaPublishing.c"
}
#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
size_combo_last_active = _tmp0_;
@@ -5619,7 +5633,7 @@ static void publishing_picasa_publishing_options_pane_on_publish_clicked (Publis
_tmp19_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp19_) {
-#line 5595 "PicasaPublishing.c"
+#line 5609 "PicasaPublishing.c"
PublishingPicasaPublishingParameters* _tmp20_ = NULL;
GtkEntry* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
@@ -5649,7 +5663,7 @@ static void publishing_picasa_publishing_options_pane_on_publish_clicked (Publis
publishing_picasa_publishing_parameters_set_is_new_album_public (_tmp24_, _tmp26_);
#line 704 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_signal_emit_by_name (self, "publish");
-#line 5625 "PicasaPublishing.c"
+#line 5639 "PicasaPublishing.c"
} else {
PublishingPicasaPublishingParameters* _tmp27_ = NULL;
PublishingPicasaAlbum** _tmp28_ = NULL;
@@ -5704,11 +5718,11 @@ static void publishing_picasa_publishing_options_pane_on_publish_clicked (Publis
publishing_picasa_publishing_parameters_set_target_album_entry_url (_tmp34_, _tmp39_);
#line 709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_signal_emit_by_name (self, "publish");
-#line 5680 "PicasaPublishing.c"
+#line 5694 "PicasaPublishing.c"
}
#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
albums = (_vala_array_free (albums, albums_length1, (GDestroyNotify) publishing_picasa_album_unref), NULL);
-#line 5684 "PicasaPublishing.c"
+#line 5698 "PicasaPublishing.c"
}
@@ -5737,7 +5751,7 @@ static void publishing_picasa_publishing_options_pane_on_use_existing_radio_clic
_tmp3_ = self->priv->public_check;
#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 5713 "PicasaPublishing.c"
+#line 5727 "PicasaPublishing.c"
}
@@ -5766,7 +5780,7 @@ static void publishing_picasa_publishing_options_pane_on_create_new_radio_clicke
_tmp3_ = self->priv->public_check;
#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 5742 "PicasaPublishing.c"
+#line 5756 "PicasaPublishing.c"
}
@@ -5775,7 +5789,7 @@ static void publishing_picasa_publishing_options_pane_on_logout_clicked (Publish
g_return_if_fail (PUBLISHING_PICASA_IS_PUBLISHING_OPTIONS_PANE (self));
#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_signal_emit_by_name (self, "logout");
-#line 5751 "PicasaPublishing.c"
+#line 5765 "PicasaPublishing.c"
}
@@ -5798,7 +5812,7 @@ static gchar* string_strip (const gchar* self) {
result = _result_;
#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 5774 "PicasaPublishing.c"
+#line 5788 "PicasaPublishing.c"
}
@@ -5835,7 +5849,7 @@ static void publishing_picasa_publishing_options_pane_update_publish_button_sens
_g_free0 (_tmp6_);
#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp7_) {
-#line 5811 "PicasaPublishing.c"
+#line 5825 "PicasaPublishing.c"
GtkRadioButton* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
#line 736 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -5844,11 +5858,11 @@ static void publishing_picasa_publishing_options_pane_update_publish_button_sens
_tmp9_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 736 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp3_ = _tmp9_;
-#line 5820 "PicasaPublishing.c"
+#line 5834 "PicasaPublishing.c"
} else {
#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp3_ = FALSE;
-#line 5824 "PicasaPublishing.c"
+#line 5838 "PicasaPublishing.c"
}
#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp10_ = self->priv->publish_button;
@@ -5856,7 +5870,7 @@ static void publishing_picasa_publishing_options_pane_update_publish_button_sens
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), !_tmp3_);
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (album_name);
-#line 5832 "PicasaPublishing.c"
+#line 5846 "PicasaPublishing.c"
}
@@ -5865,7 +5879,7 @@ static void publishing_picasa_publishing_options_pane_on_new_album_entry_changed
g_return_if_fail (PUBLISHING_PICASA_IS_PUBLISHING_OPTIONS_PANE (self));
#line 740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_update_publish_button_sensitivity (self);
-#line 5841 "PicasaPublishing.c"
+#line 5855 "PicasaPublishing.c"
}
@@ -5876,13 +5890,13 @@ static void _vala_array_add13 (PublishingPicasaPublishingOptionsPaneSizeDescript
*size = (*size) ? (2 * (*size)) : 4;
#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*array = g_renew (PublishingPicasaPublishingOptionsPaneSizeDescription*, *array, (*size) + 1);
-#line 5852 "PicasaPublishing.c"
+#line 5866 "PicasaPublishing.c"
}
#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[(*length)++] = value;
#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[*length] = NULL;
-#line 5858 "PicasaPublishing.c"
+#line 5872 "PicasaPublishing.c"
}
@@ -5893,13 +5907,13 @@ static void _vala_array_add14 (PublishingPicasaPublishingOptionsPaneSizeDescript
*size = (*size) ? (2 * (*size)) : 4;
#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*array = g_renew (PublishingPicasaPublishingOptionsPaneSizeDescription*, *array, (*size) + 1);
-#line 5869 "PicasaPublishing.c"
+#line 5883 "PicasaPublishing.c"
}
#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[(*length)++] = value;
#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[*length] = NULL;
-#line 5875 "PicasaPublishing.c"
+#line 5889 "PicasaPublishing.c"
}
@@ -5910,13 +5924,13 @@ static void _vala_array_add15 (PublishingPicasaPublishingOptionsPaneSizeDescript
*size = (*size) ? (2 * (*size)) : 4;
#line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*array = g_renew (PublishingPicasaPublishingOptionsPaneSizeDescription*, *array, (*size) + 1);
-#line 5886 "PicasaPublishing.c"
+#line 5900 "PicasaPublishing.c"
}
#line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[(*length)++] = value;
#line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[*length] = NULL;
-#line 5892 "PicasaPublishing.c"
+#line 5906 "PicasaPublishing.c"
}
@@ -5927,13 +5941,13 @@ static void _vala_array_add16 (PublishingPicasaPublishingOptionsPaneSizeDescript
*size = (*size) ? (2 * (*size)) : 4;
#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*array = g_renew (PublishingPicasaPublishingOptionsPaneSizeDescription*, *array, (*size) + 1);
-#line 5903 "PicasaPublishing.c"
+#line 5917 "PicasaPublishing.c"
}
#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[(*length)++] = value;
#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[*length] = NULL;
-#line 5909 "PicasaPublishing.c"
+#line 5923 "PicasaPublishing.c"
}
@@ -5944,13 +5958,13 @@ static void _vala_array_add17 (PublishingPicasaPublishingOptionsPaneSizeDescript
*size = (*size) ? (2 * (*size)) : 4;
#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*array = g_renew (PublishingPicasaPublishingOptionsPaneSizeDescription*, *array, (*size) + 1);
-#line 5920 "PicasaPublishing.c"
+#line 5934 "PicasaPublishing.c"
}
#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[(*length)++] = value;
#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
(*array)[*length] = NULL;
-#line 5926 "PicasaPublishing.c"
+#line 5940 "PicasaPublishing.c"
}
@@ -6050,13 +6064,13 @@ static PublishingPicasaPublishingOptionsPaneSizeDescription** publishing_picasa_
if (result_length1) {
#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*result_length1 = _tmp16__length1;
-#line 6026 "PicasaPublishing.c"
+#line 6040 "PicasaPublishing.c"
}
#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
result = _tmp16_;
#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 6032 "PicasaPublishing.c"
+#line 6046 "PicasaPublishing.c"
}
@@ -6093,19 +6107,19 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
albums_length1 = _tmp3_;
#line 759 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_albums_size_ = albums_length1;
-#line 6069 "PicasaPublishing.c"
+#line 6083 "PicasaPublishing.c"
{
gint i = 0;
#line 761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
i = 0;
-#line 6074 "PicasaPublishing.c"
+#line 6088 "PicasaPublishing.c"
{
gboolean _tmp5_ = FALSE;
#line 761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp5_ = TRUE;
#line 761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
while (TRUE) {
-#line 6081 "PicasaPublishing.c"
+#line 6095 "PicasaPublishing.c"
gint _tmp7_ = 0;
PublishingPicasaAlbum** _tmp8_ = NULL;
gint _tmp8__length1 = 0;
@@ -6124,13 +6138,13 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
const gchar* _tmp19_ = NULL;
#line 761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (!_tmp5_) {
-#line 6100 "PicasaPublishing.c"
+#line 6114 "PicasaPublishing.c"
gint _tmp6_ = 0;
#line 761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp6_ = i;
#line 761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
i = _tmp6_ + 1;
-#line 6106 "PicasaPublishing.c"
+#line 6120 "PicasaPublishing.c"
}
#line 761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp5_ = FALSE;
@@ -6144,7 +6158,7 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
if (!(_tmp7_ < _tmp8__length1)) {
#line 761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
break;
-#line 6120 "PicasaPublishing.c"
+#line 6134 "PicasaPublishing.c"
}
#line 762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp9_ = self->priv->existing_albums_combo;
@@ -6176,7 +6190,7 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
if (g_strcmp0 (_tmp18_, _tmp19_) == 0) {
#line 763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp14_ = TRUE;
-#line 6152 "PicasaPublishing.c"
+#line 6166 "PicasaPublishing.c"
} else {
gboolean _tmp20_ = FALSE;
PublishingPicasaAlbum** _tmp21_ = NULL;
@@ -6196,31 +6210,31 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
_tmp24_ = _tmp23_->name;
#line 764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (g_strcmp0 (_tmp24_, PUBLISHING_PICASA_DEFAULT_ALBUM_NAME) == 0) {
-#line 6172 "PicasaPublishing.c"
+#line 6186 "PicasaPublishing.c"
gint _tmp25_ = 0;
#line 764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp25_ = default_album_id;
#line 764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp20_ = _tmp25_ == -1;
-#line 6178 "PicasaPublishing.c"
+#line 6192 "PicasaPublishing.c"
} else {
#line 764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp20_ = FALSE;
-#line 6182 "PicasaPublishing.c"
+#line 6196 "PicasaPublishing.c"
}
#line 764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp14_ = _tmp20_;
-#line 6186 "PicasaPublishing.c"
+#line 6200 "PicasaPublishing.c"
}
#line 763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp14_) {
-#line 6190 "PicasaPublishing.c"
+#line 6204 "PicasaPublishing.c"
gint _tmp26_ = 0;
#line 765 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp26_ = i;
#line 765 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
default_album_id = _tmp26_;
-#line 6196 "PicasaPublishing.c"
+#line 6210 "PicasaPublishing.c"
}
}
}
@@ -6231,7 +6245,7 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
_tmp27__length1 = albums_length1;
#line 768 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp27__length1 == 0) {
-#line 6207 "PicasaPublishing.c"
+#line 6221 "PicasaPublishing.c"
GtkComboBoxText* _tmp28_ = NULL;
GtkRadioButton* _tmp29_ = NULL;
GtkRadioButton* _tmp30_ = NULL;
@@ -6257,14 +6271,14 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
_tmp32_ = self->priv->new_album_entry;
#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
gtk_entry_set_text (_tmp32_, PUBLISHING_PICASA_DEFAULT_ALBUM_NAME);
-#line 6233 "PicasaPublishing.c"
+#line 6247 "PicasaPublishing.c"
} else {
gint _tmp33_ = 0;
#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp33_ = default_album_id;
#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (_tmp33_ >= 0) {
-#line 6240 "PicasaPublishing.c"
+#line 6254 "PicasaPublishing.c"
GtkRadioButton* _tmp34_ = NULL;
GtkComboBoxText* _tmp35_ = NULL;
gint _tmp36_ = 0;
@@ -6288,7 +6302,7 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
_tmp38_ = self->priv->public_check;
#line 779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 6264 "PicasaPublishing.c"
+#line 6278 "PicasaPublishing.c"
} else {
GtkRadioButton* _tmp39_ = NULL;
GtkComboBoxText* _tmp40_ = NULL;
@@ -6315,7 +6329,7 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
_tmp43_ = self->priv->public_check;
#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 6291 "PicasaPublishing.c"
+#line 6305 "PicasaPublishing.c"
}
}
#line 788 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -6324,7 +6338,7 @@ void publishing_picasa_publishing_options_pane_installed (PublishingPicasaPublis
albums = (_vala_array_free (albums, albums_length1, (GDestroyNotify) publishing_picasa_album_unref), NULL);
#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (last_album);
-#line 6300 "PicasaPublishing.c"
+#line 6314 "PicasaPublishing.c"
}
@@ -6343,7 +6357,7 @@ static GtkWidget* publishing_picasa_publishing_options_pane_real_get_widget (Spi
result = _tmp1_;
#line 792 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 6319 "PicasaPublishing.c"
+#line 6333 "PicasaPublishing.c"
}
@@ -6356,7 +6370,7 @@ static SpitPublishingDialogPaneGeometryOptions publishing_picasa_publishing_opti
result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
#line 796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 6332 "PicasaPublishing.c"
+#line 6346 "PicasaPublishing.c"
}
@@ -6366,7 +6380,7 @@ static void publishing_picasa_publishing_options_pane_real_on_pane_installed (Sp
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PICASA_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPicasaPublishingOptionsPane);
#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_installed (self);
-#line 6342 "PicasaPublishing.c"
+#line 6356 "PicasaPublishing.c"
}
@@ -6374,7 +6388,7 @@ static void publishing_picasa_publishing_options_pane_real_on_pane_uninstalled (
PublishingPicasaPublishingOptionsPane * self;
#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PICASA_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPicasaPublishingOptionsPane);
-#line 6350 "PicasaPublishing.c"
+#line 6364 "PicasaPublishing.c"
}
@@ -6401,21 +6415,21 @@ static PublishingPicasaPublishingOptionsPaneSizeDescription* publishing_picasa_p
self->major_axis_pixels = _tmp2_;
#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 6377 "PicasaPublishing.c"
+#line 6391 "PicasaPublishing.c"
}
static PublishingPicasaPublishingOptionsPaneSizeDescription* publishing_picasa_publishing_options_pane_size_description_new (const gchar* name, gint major_axis_pixels) {
#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return publishing_picasa_publishing_options_pane_size_description_construct (PUBLISHING_PICASA_PUBLISHING_OPTIONS_PANE_TYPE_SIZE_DESCRIPTION, name, major_axis_pixels);
-#line 6384 "PicasaPublishing.c"
+#line 6398 "PicasaPublishing.c"
}
static void publishing_picasa_publishing_options_pane_value_size_description_init (GValue* value) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 6391 "PicasaPublishing.c"
+#line 6405 "PicasaPublishing.c"
}
@@ -6424,7 +6438,7 @@ static void publishing_picasa_publishing_options_pane_value_size_description_fre
if (value->data[0].v_pointer) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_size_description_unref (value->data[0].v_pointer);
-#line 6400 "PicasaPublishing.c"
+#line 6414 "PicasaPublishing.c"
}
}
@@ -6434,11 +6448,11 @@ static void publishing_picasa_publishing_options_pane_value_size_description_cop
if (src_value->data[0].v_pointer) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
dest_value->data[0].v_pointer = publishing_picasa_publishing_options_pane_size_description_ref (src_value->data[0].v_pointer);
-#line 6410 "PicasaPublishing.c"
+#line 6424 "PicasaPublishing.c"
} else {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 6414 "PicasaPublishing.c"
+#line 6428 "PicasaPublishing.c"
}
}
@@ -6446,37 +6460,37 @@ static void publishing_picasa_publishing_options_pane_value_size_description_cop
static gpointer publishing_picasa_publishing_options_pane_value_size_description_peek_pointer (const GValue* value) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return value->data[0].v_pointer;
-#line 6422 "PicasaPublishing.c"
+#line 6436 "PicasaPublishing.c"
}
static gchar* publishing_picasa_publishing_options_pane_value_size_description_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 6429 "PicasaPublishing.c"
+#line 6443 "PicasaPublishing.c"
PublishingPicasaPublishingOptionsPaneSizeDescription* object;
object = collect_values[0].v_pointer;
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 6436 "PicasaPublishing.c"
+#line 6450 "PicasaPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.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 6440 "PicasaPublishing.c"
+#line 6454 "PicasaPublishing.c"
}
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = publishing_picasa_publishing_options_pane_size_description_ref (object);
-#line 6444 "PicasaPublishing.c"
+#line 6458 "PicasaPublishing.c"
} else {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 6448 "PicasaPublishing.c"
+#line 6462 "PicasaPublishing.c"
}
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return NULL;
-#line 6452 "PicasaPublishing.c"
+#line 6466 "PicasaPublishing.c"
}
@@ -6487,25 +6501,25 @@ static gchar* publishing_picasa_publishing_options_pane_value_size_description_l
if (!object_p) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 6463 "PicasaPublishing.c"
+#line 6477 "PicasaPublishing.c"
}
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (!value->data[0].v_pointer) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*object_p = NULL;
-#line 6469 "PicasaPublishing.c"
+#line 6483 "PicasaPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 6473 "PicasaPublishing.c"
+#line 6487 "PicasaPublishing.c"
} else {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*object_p = publishing_picasa_publishing_options_pane_size_description_ref (value->data[0].v_pointer);
-#line 6477 "PicasaPublishing.c"
+#line 6491 "PicasaPublishing.c"
}
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return NULL;
-#line 6481 "PicasaPublishing.c"
+#line 6495 "PicasaPublishing.c"
}
@@ -6519,7 +6533,7 @@ static GParamSpec* publishing_picasa_publishing_options_pane_param_spec_size_des
G_PARAM_SPEC (spec)->value_type = object_type;
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 6495 "PicasaPublishing.c"
+#line 6509 "PicasaPublishing.c"
}
@@ -6528,7 +6542,7 @@ static gpointer publishing_picasa_publishing_options_pane_value_get_size_descrip
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PICASA_PUBLISHING_OPTIONS_PANE_TYPE_SIZE_DESCRIPTION), NULL);
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return value->data[0].v_pointer;
-#line 6504 "PicasaPublishing.c"
+#line 6518 "PicasaPublishing.c"
}
@@ -6548,17 +6562,17 @@ static void publishing_picasa_publishing_options_pane_value_set_size_description
value->data[0].v_pointer = v_object;
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_size_description_ref (value->data[0].v_pointer);
-#line 6524 "PicasaPublishing.c"
+#line 6538 "PicasaPublishing.c"
} else {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 6528 "PicasaPublishing.c"
+#line 6542 "PicasaPublishing.c"
}
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (old) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_size_description_unref (old);
-#line 6534 "PicasaPublishing.c"
+#line 6548 "PicasaPublishing.c"
}
}
@@ -6577,17 +6591,17 @@ static void publishing_picasa_publishing_options_pane_value_take_size_descriptio
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 6553 "PicasaPublishing.c"
+#line 6567 "PicasaPublishing.c"
} else {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 6557 "PicasaPublishing.c"
+#line 6571 "PicasaPublishing.c"
}
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (old) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_options_pane_size_description_unref (old);
-#line 6563 "PicasaPublishing.c"
+#line 6577 "PicasaPublishing.c"
}
}
@@ -6597,14 +6611,14 @@ static void publishing_picasa_publishing_options_pane_size_description_class_ini
publishing_picasa_publishing_options_pane_size_description_parent_class = g_type_class_peek_parent (klass);
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
((PublishingPicasaPublishingOptionsPaneSizeDescriptionClass *) klass)->finalize = publishing_picasa_publishing_options_pane_size_description_finalize;
-#line 6573 "PicasaPublishing.c"
+#line 6587 "PicasaPublishing.c"
}
static void publishing_picasa_publishing_options_pane_size_description_instance_init (PublishingPicasaPublishingOptionsPaneSizeDescription * self) {
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->ref_count = 1;
-#line 6580 "PicasaPublishing.c"
+#line 6594 "PicasaPublishing.c"
}
@@ -6616,7 +6630,7 @@ static void publishing_picasa_publishing_options_pane_size_description_finalize
g_signal_handlers_destroy (self);
#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_g_free0 (self->name);
-#line 6592 "PicasaPublishing.c"
+#line 6606 "PicasaPublishing.c"
}
@@ -6641,7 +6655,7 @@ static gpointer publishing_picasa_publishing_options_pane_size_description_ref (
g_atomic_int_inc (&self->ref_count);
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return instance;
-#line 6617 "PicasaPublishing.c"
+#line 6631 "PicasaPublishing.c"
}
@@ -6654,7 +6668,7 @@ static void publishing_picasa_publishing_options_pane_size_description_unref (gp
PUBLISHING_PICASA_PUBLISHING_OPTIONS_PANE_SIZE_DESCRIPTION_GET_CLASS (self)->finalize (self);
#line 603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 6630 "PicasaPublishing.c"
+#line 6644 "PicasaPublishing.c"
}
}
@@ -6670,7 +6684,7 @@ static void publishing_picasa_publishing_options_pane_class_init (PublishingPica
g_signal_new ("publish", PUBLISHING_PICASA_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_signal_new ("logout", PUBLISHING_PICASA_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 6646 "PicasaPublishing.c"
+#line 6660 "PicasaPublishing.c"
}
@@ -6685,7 +6699,7 @@ static void publishing_picasa_publishing_options_pane_spit_publishing_dialog_pan
iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_picasa_publishing_options_pane_real_on_pane_installed;
#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_picasa_publishing_options_pane_real_on_pane_uninstalled;
-#line 6661 "PicasaPublishing.c"
+#line 6675 "PicasaPublishing.c"
}
@@ -6718,7 +6732,7 @@ static void publishing_picasa_publishing_options_pane_instance_init (PublishingP
self->priv->publish_button = NULL;
#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->logout_button = NULL;
-#line 6694 "PicasaPublishing.c"
+#line 6708 "PicasaPublishing.c"
}
@@ -6758,7 +6772,7 @@ static void publishing_picasa_publishing_options_pane_finalize (GObject* obj) {
_publishing_picasa_publishing_parameters_unref0 (self->priv->parameters);
#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
G_OBJECT_CLASS (publishing_picasa_publishing_options_pane_parent_class)->finalize (obj);
-#line 6734 "PicasaPublishing.c"
+#line 6748 "PicasaPublishing.c"
}
@@ -6817,14 +6831,14 @@ PublishingPicasaPublishingParameters* publishing_picasa_publishing_parameters_co
self->priv->to_new_album = TRUE;
#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 6793 "PicasaPublishing.c"
+#line 6807 "PicasaPublishing.c"
}
PublishingPicasaPublishingParameters* publishing_picasa_publishing_parameters_new (void) {
#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return publishing_picasa_publishing_parameters_construct (PUBLISHING_PICASA_TYPE_PUBLISHING_PARAMETERS);
-#line 6800 "PicasaPublishing.c"
+#line 6814 "PicasaPublishing.c"
}
@@ -6839,7 +6853,7 @@ gboolean publishing_picasa_publishing_parameters_is_to_new_album (PublishingPica
result = _tmp0_;
#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 6815 "PicasaPublishing.c"
+#line 6829 "PicasaPublishing.c"
}
@@ -6851,7 +6865,7 @@ void publishing_picasa_publishing_parameters_set_is_to_new_album (PublishingPica
_tmp0_ = to_new_album;
#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->to_new_album = _tmp0_;
-#line 6827 "PicasaPublishing.c"
+#line 6841 "PicasaPublishing.c"
}
@@ -6863,7 +6877,7 @@ void publishing_picasa_publishing_parameters_set_is_new_album_public (Publishing
_tmp0_ = album_public;
#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->album_public = _tmp0_;
-#line 6839 "PicasaPublishing.c"
+#line 6853 "PicasaPublishing.c"
}
@@ -6878,7 +6892,7 @@ gboolean publishing_picasa_publishing_parameters_is_new_album_public (Publishing
result = _tmp0_;
#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 6854 "PicasaPublishing.c"
+#line 6868 "PicasaPublishing.c"
}
@@ -6896,7 +6910,7 @@ gchar* publishing_picasa_publishing_parameters_get_target_album_name (Publishing
result = _tmp1_;
#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 6872 "PicasaPublishing.c"
+#line 6886 "PicasaPublishing.c"
}
@@ -6915,7 +6929,7 @@ void publishing_picasa_publishing_parameters_set_target_album_name (PublishingPi
_g_free0 (self->priv->target_album_name);
#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->target_album_name = _tmp1_;
-#line 6891 "PicasaPublishing.c"
+#line 6905 "PicasaPublishing.c"
}
@@ -6934,7 +6948,7 @@ void publishing_picasa_publishing_parameters_set_target_album_entry_url (Publish
_g_free0 (self->priv->target_album_url);
#line 859 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->target_album_url = _tmp1_;
-#line 6910 "PicasaPublishing.c"
+#line 6924 "PicasaPublishing.c"
}
@@ -6952,7 +6966,7 @@ gchar* publishing_picasa_publishing_parameters_get_target_album_entry_url (Publi
result = _tmp1_;
#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 6928 "PicasaPublishing.c"
+#line 6942 "PicasaPublishing.c"
}
@@ -6965,7 +6979,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_return_val_if_fail (old != NULL, NULL);
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
-#line 6941 "PicasaPublishing.c"
+#line 6955 "PicasaPublishing.c"
{
GRegex* regex = NULL;
const gchar* _tmp0_ = NULL;
@@ -6996,7 +7010,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 6972 "PicasaPublishing.c"
+#line 6986 "PicasaPublishing.c"
goto __catch15_g_regex_error;
}
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -7005,7 +7019,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 6981 "PicasaPublishing.c"
+#line 6995 "PicasaPublishing.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp6_ = regex;
@@ -7021,7 +7035,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 6997 "PicasaPublishing.c"
+#line 7011 "PicasaPublishing.c"
goto __catch15_g_regex_error;
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -7032,7 +7046,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 7008 "PicasaPublishing.c"
+#line 7022 "PicasaPublishing.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
@@ -7046,7 +7060,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 7022 "PicasaPublishing.c"
+#line 7036 "PicasaPublishing.c"
}
goto __finally15;
__catch15_g_regex_error:
@@ -7060,7 +7074,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_assert_not_reached ();
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_error_free0 (e);
-#line 7036 "PicasaPublishing.c"
+#line 7050 "PicasaPublishing.c"
}
__finally15:
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -7071,7 +7085,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 7047 "PicasaPublishing.c"
+#line 7061 "PicasaPublishing.c"
}
}
@@ -7098,7 +7112,7 @@ gchar* publishing_picasa_publishing_parameters_get_target_album_feed_url (Publis
_g_free0 (entry_url);
#line 870 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7074 "PicasaPublishing.c"
+#line 7088 "PicasaPublishing.c"
}
@@ -7116,7 +7130,7 @@ gchar* publishing_picasa_publishing_parameters_get_user_name (PublishingPicasaPu
result = _tmp1_;
#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7092 "PicasaPublishing.c"
+#line 7106 "PicasaPublishing.c"
}
@@ -7135,35 +7149,35 @@ void publishing_picasa_publishing_parameters_set_user_name (PublishingPicasaPubl
_g_free0 (self->priv->user_name);
#line 878 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->user_name = _tmp1_;
-#line 7111 "PicasaPublishing.c"
+#line 7125 "PicasaPublishing.c"
}
static gpointer _publishing_picasa_album_ref0 (gpointer self) {
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self ? publishing_picasa_album_ref (self) : NULL;
-#line 7118 "PicasaPublishing.c"
+#line 7132 "PicasaPublishing.c"
}
-static PublishingPicasaAlbum** _vala_array_dup5 (PublishingPicasaAlbum** self, int length) {
+static PublishingPicasaAlbum** _vala_array_dup6 (PublishingPicasaAlbum** self, int length) {
PublishingPicasaAlbum** result;
int i;
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
result = g_new0 (PublishingPicasaAlbum*, length + 1);
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
for (i = 0; i < length; i++) {
-#line 7129 "PicasaPublishing.c"
+#line 7143 "PicasaPublishing.c"
PublishingPicasaAlbum* _tmp0_ = NULL;
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp0_ = _publishing_picasa_album_ref0 (self[i]);
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
result[i] = _tmp0_;
-#line 7135 "PicasaPublishing.c"
+#line 7149 "PicasaPublishing.c"
}
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7139 "PicasaPublishing.c"
+#line 7153 "PicasaPublishing.c"
}
@@ -7182,7 +7196,7 @@ PublishingPicasaAlbum** publishing_picasa_publishing_parameters_get_albums (Publ
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp0__length1 = self->priv->albums_length1;
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup5 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
+ _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup6 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp1__length1 = _tmp0__length1;
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -7193,34 +7207,34 @@ PublishingPicasaAlbum** publishing_picasa_publishing_parameters_get_albums (Publ
if (result_length1) {
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*result_length1 = _tmp2__length1;
-#line 7169 "PicasaPublishing.c"
+#line 7183 "PicasaPublishing.c"
}
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
result = _tmp2_;
#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7175 "PicasaPublishing.c"
+#line 7189 "PicasaPublishing.c"
}
-static PublishingPicasaAlbum** _vala_array_dup6 (PublishingPicasaAlbum** self, int length) {
+static PublishingPicasaAlbum** _vala_array_dup7 (PublishingPicasaAlbum** self, int length) {
PublishingPicasaAlbum** result;
int i;
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
result = g_new0 (PublishingPicasaAlbum*, length + 1);
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
for (i = 0; i < length; i++) {
-#line 7186 "PicasaPublishing.c"
+#line 7200 "PicasaPublishing.c"
PublishingPicasaAlbum* _tmp0_ = NULL;
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp0_ = _publishing_picasa_album_ref0 (self[i]);
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
result[i] = _tmp0_;
-#line 7192 "PicasaPublishing.c"
+#line 7206 "PicasaPublishing.c"
}
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7196 "PicasaPublishing.c"
+#line 7210 "PicasaPublishing.c"
}
@@ -7236,7 +7250,7 @@ void publishing_picasa_publishing_parameters_set_albums (PublishingPicasaPublish
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp0__length1 = albums_length1;
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
- _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup6 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
+ _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup7 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
_tmp1__length1 = _tmp0__length1;
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
@@ -7247,7 +7261,7 @@ void publishing_picasa_publishing_parameters_set_albums (PublishingPicasaPublish
self->priv->albums_length1 = _tmp1__length1;
#line 886 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->_albums_size_ = self->priv->albums_length1;
-#line 7223 "PicasaPublishing.c"
+#line 7237 "PicasaPublishing.c"
}
@@ -7259,7 +7273,7 @@ void publishing_picasa_publishing_parameters_set_major_axis_size_pixels (Publish
_tmp0_ = pixels;
#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->major_axis_size_pixels = _tmp0_;
-#line 7235 "PicasaPublishing.c"
+#line 7249 "PicasaPublishing.c"
}
@@ -7274,7 +7288,7 @@ gint publishing_picasa_publishing_parameters_get_major_axis_size_pixels (Publish
result = _tmp0_;
#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7250 "PicasaPublishing.c"
+#line 7264 "PicasaPublishing.c"
}
@@ -7286,7 +7300,7 @@ void publishing_picasa_publishing_parameters_set_major_axis_size_selection_id (P
_tmp0_ = selection_id;
#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->major_axis_size_selection_id = _tmp0_;
-#line 7262 "PicasaPublishing.c"
+#line 7276 "PicasaPublishing.c"
}
@@ -7301,7 +7315,7 @@ gint publishing_picasa_publishing_parameters_get_major_axis_size_selection_id (P
result = _tmp0_;
#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7277 "PicasaPublishing.c"
+#line 7291 "PicasaPublishing.c"
}
@@ -7313,7 +7327,7 @@ void publishing_picasa_publishing_parameters_set_strip_metadata (PublishingPicas
_tmp0_ = strip_metadata;
#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->strip_metadata = _tmp0_;
-#line 7289 "PicasaPublishing.c"
+#line 7303 "PicasaPublishing.c"
}
@@ -7328,7 +7342,7 @@ gboolean publishing_picasa_publishing_parameters_get_strip_metadata (PublishingP
result = _tmp0_;
#line 910 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7304 "PicasaPublishing.c"
+#line 7318 "PicasaPublishing.c"
}
@@ -7340,7 +7354,7 @@ void publishing_picasa_publishing_parameters_set_media_type (PublishingPicasaPub
_tmp0_ = media_type;
#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->media_type = _tmp0_;
-#line 7316 "PicasaPublishing.c"
+#line 7330 "PicasaPublishing.c"
}
@@ -7355,14 +7369,14 @@ SpitPublishingPublisherMediaType publishing_picasa_publishing_parameters_get_med
result = _tmp0_;
#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7331 "PicasaPublishing.c"
+#line 7345 "PicasaPublishing.c"
}
static void publishing_picasa_value_publishing_parameters_init (GValue* value) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 7338 "PicasaPublishing.c"
+#line 7352 "PicasaPublishing.c"
}
@@ -7371,7 +7385,7 @@ static void publishing_picasa_value_publishing_parameters_free_value (GValue* va
if (value->data[0].v_pointer) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_parameters_unref (value->data[0].v_pointer);
-#line 7347 "PicasaPublishing.c"
+#line 7361 "PicasaPublishing.c"
}
}
@@ -7381,11 +7395,11 @@ static void publishing_picasa_value_publishing_parameters_copy_value (const GVal
if (src_value->data[0].v_pointer) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
dest_value->data[0].v_pointer = publishing_picasa_publishing_parameters_ref (src_value->data[0].v_pointer);
-#line 7357 "PicasaPublishing.c"
+#line 7371 "PicasaPublishing.c"
} else {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 7361 "PicasaPublishing.c"
+#line 7375 "PicasaPublishing.c"
}
}
@@ -7393,37 +7407,37 @@ static void publishing_picasa_value_publishing_parameters_copy_value (const GVal
static gpointer publishing_picasa_value_publishing_parameters_peek_pointer (const GValue* value) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return value->data[0].v_pointer;
-#line 7369 "PicasaPublishing.c"
+#line 7383 "PicasaPublishing.c"
}
static gchar* publishing_picasa_value_publishing_parameters_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 7376 "PicasaPublishing.c"
+#line 7390 "PicasaPublishing.c"
PublishingPicasaPublishingParameters* object;
object = collect_values[0].v_pointer;
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 7383 "PicasaPublishing.c"
+#line 7397 "PicasaPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.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 7387 "PicasaPublishing.c"
+#line 7401 "PicasaPublishing.c"
}
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = publishing_picasa_publishing_parameters_ref (object);
-#line 7391 "PicasaPublishing.c"
+#line 7405 "PicasaPublishing.c"
} else {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 7395 "PicasaPublishing.c"
+#line 7409 "PicasaPublishing.c"
}
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return NULL;
-#line 7399 "PicasaPublishing.c"
+#line 7413 "PicasaPublishing.c"
}
@@ -7434,25 +7448,25 @@ static gchar* publishing_picasa_value_publishing_parameters_lcopy_value (const G
if (!object_p) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 7410 "PicasaPublishing.c"
+#line 7424 "PicasaPublishing.c"
}
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (!value->data[0].v_pointer) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*object_p = NULL;
-#line 7416 "PicasaPublishing.c"
+#line 7430 "PicasaPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 7420 "PicasaPublishing.c"
+#line 7434 "PicasaPublishing.c"
} else {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
*object_p = publishing_picasa_publishing_parameters_ref (value->data[0].v_pointer);
-#line 7424 "PicasaPublishing.c"
+#line 7438 "PicasaPublishing.c"
}
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return NULL;
-#line 7428 "PicasaPublishing.c"
+#line 7442 "PicasaPublishing.c"
}
@@ -7466,7 +7480,7 @@ GParamSpec* publishing_picasa_param_spec_publishing_parameters (const gchar* nam
G_PARAM_SPEC (spec)->value_type = object_type;
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 7442 "PicasaPublishing.c"
+#line 7456 "PicasaPublishing.c"
}
@@ -7475,7 +7489,7 @@ gpointer publishing_picasa_value_get_publishing_parameters (const GValue* value)
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PICASA_TYPE_PUBLISHING_PARAMETERS), NULL);
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return value->data[0].v_pointer;
-#line 7451 "PicasaPublishing.c"
+#line 7465 "PicasaPublishing.c"
}
@@ -7495,17 +7509,17 @@ void publishing_picasa_value_set_publishing_parameters (GValue* value, gpointer
value->data[0].v_pointer = v_object;
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_parameters_ref (value->data[0].v_pointer);
-#line 7471 "PicasaPublishing.c"
+#line 7485 "PicasaPublishing.c"
} else {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 7475 "PicasaPublishing.c"
+#line 7489 "PicasaPublishing.c"
}
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (old) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_parameters_unref (old);
-#line 7481 "PicasaPublishing.c"
+#line 7495 "PicasaPublishing.c"
}
}
@@ -7524,17 +7538,17 @@ void publishing_picasa_value_take_publishing_parameters (GValue* value, gpointer
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 7500 "PicasaPublishing.c"
+#line 7514 "PicasaPublishing.c"
} else {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 7504 "PicasaPublishing.c"
+#line 7518 "PicasaPublishing.c"
}
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
if (old) {
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
publishing_picasa_publishing_parameters_unref (old);
-#line 7510 "PicasaPublishing.c"
+#line 7524 "PicasaPublishing.c"
}
}
@@ -7546,7 +7560,7 @@ static void publishing_picasa_publishing_parameters_class_init (PublishingPicasa
((PublishingPicasaPublishingParametersClass *) klass)->finalize = publishing_picasa_publishing_parameters_finalize;
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingPicasaPublishingParametersPrivate));
-#line 7522 "PicasaPublishing.c"
+#line 7536 "PicasaPublishing.c"
}
@@ -7555,7 +7569,7 @@ static void publishing_picasa_publishing_parameters_instance_init (PublishingPic
self->priv = PUBLISHING_PICASA_PUBLISHING_PARAMETERS_GET_PRIVATE (self);
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->ref_count = 1;
-#line 7531 "PicasaPublishing.c"
+#line 7545 "PicasaPublishing.c"
}
@@ -7573,7 +7587,7 @@ static void publishing_picasa_publishing_parameters_finalize (PublishingPicasaPu
_g_free0 (self->priv->user_name);
#line 817 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv->albums = (_vala_array_free (self->priv->albums, self->priv->albums_length1, (GDestroyNotify) publishing_picasa_album_unref), NULL);
-#line 7549 "PicasaPublishing.c"
+#line 7563 "PicasaPublishing.c"
}
@@ -7598,7 +7612,7 @@ gpointer publishing_picasa_publishing_parameters_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return instance;
-#line 7574 "PicasaPublishing.c"
+#line 7588 "PicasaPublishing.c"
}
@@ -7611,7 +7625,7 @@ void publishing_picasa_publishing_parameters_unref (gpointer instance) {
PUBLISHING_PICASA_PUBLISHING_PARAMETERS_GET_CLASS (self)->finalize (self);
#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 7587 "PicasaPublishing.c"
+#line 7601 "PicasaPublishing.c"
}
}
@@ -7645,14 +7659,14 @@ PublishingPicasaUploader* publishing_picasa_uploader_construct (GType object_typ
self->priv->parameters = _tmp3_;
#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return self;
-#line 7621 "PicasaPublishing.c"
+#line 7635 "PicasaPublishing.c"
}
PublishingPicasaUploader* publishing_picasa_uploader_new (PublishingRESTSupportGoogleSession* session, SpitPublishingPublishable** publishables, int publishables_length1, PublishingPicasaPublishingParameters* parameters) {
#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return publishing_picasa_uploader_construct (PUBLISHING_PICASA_TYPE_UPLOADER, session, publishables, publishables_length1, parameters);
-#line 7628 "PicasaPublishing.c"
+#line 7642 "PicasaPublishing.c"
}
@@ -7692,7 +7706,7 @@ static PublishingRESTSupportTransaction* publishing_picasa_uploader_real_create_
result = _tmp6_;
#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
return result;
-#line 7668 "PicasaPublishing.c"
+#line 7682 "PicasaPublishing.c"
}
@@ -7705,14 +7719,14 @@ static void publishing_picasa_uploader_class_init (PublishingPicasaUploaderClass
g_type_class_add_private (klass, sizeof (PublishingPicasaUploaderPrivate));
#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
((PublishingRESTSupportBatchUploaderClass *) klass)->create_transaction = publishing_picasa_uploader_real_create_transaction;
-#line 7681 "PicasaPublishing.c"
+#line 7695 "PicasaPublishing.c"
}
static void publishing_picasa_uploader_instance_init (PublishingPicasaUploader * self) {
#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
self->priv = PUBLISHING_PICASA_UPLOADER_GET_PRIVATE (self);
-#line 7688 "PicasaPublishing.c"
+#line 7702 "PicasaPublishing.c"
}
@@ -7724,7 +7738,7 @@ static void publishing_picasa_uploader_finalize (PublishingRESTSupportBatchUploa
_publishing_picasa_publishing_parameters_unref0 (self->priv->parameters);
#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PicasaPublishing.vala"
PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_CLASS (publishing_picasa_uploader_parent_class)->finalize (obj);
-#line 7700 "PicasaPublishing.c"
+#line 7714 "PicasaPublishing.c"
}
diff --git a/plugins/shotwell-publishing/PicasaPublishing.vala b/plugins/shotwell-publishing/PicasaPublishing.vala
index 621ae12..facbd1b 100644
--- a/plugins/shotwell-publishing/PicasaPublishing.vala
+++ b/plugins/shotwell-publishing/PicasaPublishing.vala
@@ -562,7 +562,7 @@ internal class UploadTransaction :
string metadata = METADATA_TEMPLATE.printf(Publishing.RESTSupport.decimal_entity_encode(
publishable.get_param_string(Spit.Publishing.Publishable.PARAM_STRING_BASENAME)),
summary, keywords_string);
- Soup.Buffer metadata_buffer = new Soup.Buffer(Soup.MemoryUse.COPY, metadata.data);
+ var metadata_buffer = new Soup.Buffer.take (metadata.data);
message_parts.append_form_file("", "", "application/atom+xml", metadata_buffer);
// attempt to map the binary image data from disk into memory
@@ -581,7 +581,7 @@ internal class UploadTransaction :
// bind the binary image data read from disk into a Soup.Buffer object so that we
// can attach it to the multipart request, then actaully append the buffer
// to the multipart request. Then, set the MIME type for this part.
- Soup.Buffer bindable_data = new Soup.Buffer(Soup.MemoryUse.TEMPORARY, photo_data);
+ var bindable_data = new Soup.Buffer.with_owner (photo_data, this, null);
message_parts.append_form_file("", publishable.get_serialized_file().get_path(), mime_type,
bindable_data);
diff --git a/plugins/shotwell-publishing/PiwigoPublishing.c b/plugins/shotwell-publishing/PiwigoPublishing.c
index ada0062..87af607 100644
--- a/plugins/shotwell-publishing/PiwigoPublishing.c
+++ b/plugins/shotwell-publishing/PiwigoPublishing.c
@@ -16,11 +16,12 @@
#include
#include "shotwell-plugin-common.h"
#include
-#include
#include
#include
+#include
#include
#include
+#include
#include
#include
#include
@@ -234,7 +235,6 @@ typedef struct _PublishingPiwigoUploaderPrivate PublishingPiwigoUploaderPrivate;
typedef struct _PublishingPiwigoImagesAddTransaction PublishingPiwigoImagesAddTransaction;
typedef struct _PublishingPiwigoImagesAddTransactionClass PublishingPiwigoImagesAddTransactionClass;
typedef struct _PublishingPiwigoSSLErrorPanePrivate PublishingPiwigoSSLErrorPanePrivate;
-typedef struct _Block1Data Block1Data;
#define _g_byte_array_unref0(var) ((var == NULL) ? NULL : (var = (g_byte_array_unref (var), NULL)))
typedef struct _PublishingPiwigoAuthenticationPanePrivate PublishingPiwigoAuthenticationPanePrivate;
typedef struct _PublishingPiwigoPublishingOptionsPanePrivate PublishingPiwigoPublishingOptionsPanePrivate;
@@ -380,56 +380,49 @@ struct _PublishingPiwigoUploaderPrivate {
};
struct _PublishingPiwigoSSLErrorPane {
- GObject parent_instance;
+ ShotwellPluginsCommonBuilderPane parent_instance;
PublishingPiwigoSSLErrorPanePrivate * priv;
};
struct _PublishingPiwigoSSLErrorPaneClass {
- GObjectClass parent_class;
+ ShotwellPluginsCommonBuilderPaneClass parent_class;
};
struct _PublishingPiwigoSSLErrorPanePrivate {
- GtkBuilder* builder;
- GtkWidget* content;
-};
-
-struct _Block1Data {
- int _ref_count_;
- PublishingPiwigoSSLErrorPane* self;
- GTlsCertificate* cert;
+ gchar* _host;
+ GTlsCertificate* _cert;
+ gchar* _error_text;
};
struct _PublishingPiwigoAuthenticationPane {
- GObject parent_instance;
+ ShotwellPluginsCommonBuilderPane parent_instance;
PublishingPiwigoAuthenticationPanePrivate * priv;
};
struct _PublishingPiwigoAuthenticationPaneClass {
- GObjectClass parent_class;
+ ShotwellPluginsCommonBuilderPaneClass parent_class;
};
struct _PublishingPiwigoAuthenticationPanePrivate {
- GtkBox* pane_widget;
- GtkBuilder* builder;
+ PublishingPiwigoAuthenticationPaneMode _mode;
+ PublishingPiwigoPiwigoPublisher* _publisher;
GtkEntry* url_entry;
GtkEntry* username_entry;
GtkEntry* password_entry;
- GtkCheckButton* remember_password_checkbutton;
+ GtkSwitch* remember_password_checkbutton;
GtkButton* login_button;
};
struct _PublishingPiwigoPublishingOptionsPane {
- GObject parent_instance;
+ ShotwellPluginsCommonBuilderPane parent_instance;
PublishingPiwigoPublishingOptionsPanePrivate * priv;
};
struct _PublishingPiwigoPublishingOptionsPaneClass {
- GObjectClass parent_class;
+ ShotwellPluginsCommonBuilderPaneClass parent_class;
};
struct _PublishingPiwigoPublishingOptionsPanePrivate {
- GtkBox* pane_widget;
- GtkBuilder* builder;
GtkRadioButton* use_existing_radio;
GtkRadioButton* create_new_radio;
GtkComboBoxText* existing_categories_combo;
@@ -445,20 +438,20 @@ struct _PublishingPiwigoPublishingOptionsPanePrivate {
GtkButton* publish_button;
GtkTextView* album_comment;
GtkLabel* album_comment_label;
- PublishingPiwigoCategory** existing_categories;
- gint existing_categories_length1;
- gint _existing_categories_size_;
PublishingPiwigoPermissionLevel** perm_levels;
gint perm_levels_length1;
gint _perm_levels_size_;
PublishingPiwigoSizeEntry** photo_sizes;
gint photo_sizes_length1;
gint _photo_sizes_size_;
- gint last_category;
- gint last_permission_level;
- gint last_photo_size;
- gboolean last_title_as_comment;
- gboolean last_no_upload_tags;
+ gint _last_category;
+ gint _last_permission_level;
+ gint _last_photo_size;
+ gboolean _last_title_as_comment;
+ gboolean _last_no_upload_tags;
+ gboolean _strip_metadata_enabled;
+ GeeList* _existing_categories;
+ gchar* _default_comment;
};
struct _PublishingPiwigoSession {
@@ -560,7 +553,6 @@ static gpointer publishing_piwigo_piwigo_publisher_parent_class = NULL;
static SpitPublishingPublisherIface* publishing_piwigo_piwigo_publisher_spit_publishing_publisher_parent_iface = NULL;
static gpointer publishing_piwigo_uploader_parent_class = NULL;
static gpointer publishing_piwigo_ssl_error_pane_parent_class = NULL;
-static SpitPublishingDialogPaneIface* publishing_piwigo_ssl_error_pane_spit_publishing_dialog_pane_parent_iface = NULL;
static gpointer publishing_piwigo_authentication_pane_parent_class = NULL;
static gchar* publishing_piwigo_authentication_pane_INTRO_MESSAGE;
static gchar* publishing_piwigo_authentication_pane_INTRO_MESSAGE = NULL;
@@ -568,11 +560,9 @@ static gchar* publishing_piwigo_authentication_pane_FAILED_RETRY_URL_MESSAGE;
static gchar* publishing_piwigo_authentication_pane_FAILED_RETRY_URL_MESSAGE = NULL;
static gchar* publishing_piwigo_authentication_pane_FAILED_RETRY_USER_MESSAGE;
static gchar* publishing_piwigo_authentication_pane_FAILED_RETRY_USER_MESSAGE = NULL;
-static SpitPublishingDialogPaneIface* publishing_piwigo_authentication_pane_spit_publishing_dialog_pane_parent_iface = NULL;
static gpointer publishing_piwigo_publishing_options_pane_parent_class = NULL;
static gchar* publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME;
static gchar* publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME = NULL;
-static SpitPublishingDialogPaneIface* publishing_piwigo_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = NULL;
static gpointer publishing_piwigo_session_parent_class = NULL;
static gpointer publishing_piwigo_transaction_parent_class = NULL;
static gpointer publishing_piwigo_session_login_transaction_parent_class = NULL;
@@ -593,7 +583,7 @@ static gint piwigo_service_real_get_pluggable_interface (SpitPluggable* base, gi
static const gchar* piwigo_service_real_get_id (SpitPluggable* base);
static const gchar* piwigo_service_real_get_pluggable_name (SpitPluggable* base);
static void piwigo_service_real_get_info (SpitPluggable* base, SpitPluggableInfo* info);
-static GdkPixbuf** _vala_array_dup10 (GdkPixbuf** self, int length);
+static GdkPixbuf** _vala_array_dup13 (GdkPixbuf** self, int length);
static void piwigo_service_real_activation (SpitPluggable* base, gboolean enabled);
static SpitPublishingPublisher* piwigo_service_real_create_publisher (SpitPublishingService* base, SpitPublishingPluginHost* host);
PublishingPiwigoPiwigoPublisher* publishing_piwigo_piwigo_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host);
@@ -620,6 +610,7 @@ PublishingPiwigoCategory* publishing_piwigo_category_construct (GType object_typ
PublishingPiwigoCategory* publishing_piwigo_category_new_local (const gchar* name, gint parent_id, const gchar* comment);
PublishingPiwigoCategory* publishing_piwigo_category_construct_local (GType object_type, const gchar* name, gint parent_id, const gchar* comment);
gboolean publishing_piwigo_category_is_local (PublishingPiwigoCategory* self);
+gboolean publishing_piwigo_category_equal (PublishingPiwigoCategory* _self_, PublishingPiwigoCategory* other);
static void publishing_piwigo_category_finalize (PublishingPiwigoCategory* obj);
gpointer publishing_piwigo_permission_level_ref (gpointer instance);
void publishing_piwigo_permission_level_unref (gpointer instance);
@@ -701,7 +692,6 @@ PublishingPiwigoAuthenticationPane* publishing_piwigo_authentication_pane_new (P
PublishingPiwigoAuthenticationPane* publishing_piwigo_authentication_pane_construct (GType object_type, PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoAuthenticationPaneMode mode);
static void publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clicked (PublishingPiwigoPiwigoPublisher* self, const gchar* url, const gchar* username, const gchar* password, gboolean remember_password);
static void _publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clicked_publishing_piwigo_authentication_pane_login (PublishingPiwigoAuthenticationPane* _sender, const gchar* url, const gchar* user, const gchar* password, gboolean remember_password, gpointer self);
-GtkWidget* publishing_piwigo_authentication_pane_get_default_widget (PublishingPiwigoAuthenticationPane* self);
GType publishing_piwigo_transaction_get_type (void) G_GNUC_CONST;
GType publishing_piwigo_session_login_transaction_get_type (void) G_GNUC_CONST;
static void publishing_piwigo_piwigo_publisher_do_show_ssl_downgrade_pane (PublishingPiwigoPiwigoPublisher* self, PublishingPiwigoSessionLoginTransaction* trans, const gchar* url);
@@ -710,7 +700,6 @@ PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_new (PublishingPi
PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_construct (GType object_type, PublishingPiwigoSessionLoginTransaction* transaction, const gchar* host);
static void __lambda6_ (PublishingPiwigoPiwigoPublisher* self);
static void ___lambda6__publishing_piwigo_ssl_error_pane_proceed (PublishingPiwigoSSLErrorPane* _sender, gpointer self);
-GtkWidget* publishing_piwigo_ssl_error_pane_get_default_widget (PublishingPiwigoSSLErrorPane* self);
static void _vala_SoupURI_free (SoupURI* self);
gchar* publishing_piwigo_piwigo_publisher_normalise_url (const gchar* url);
PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new (PublishingPiwigoSession* session, const gchar* url, const gchar* username, const gchar* password);
@@ -757,7 +746,6 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout
static void _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout_clicked_publishing_piwigo_publishing_options_pane_logout (PublishingPiwigoPublishingOptionsPane* _sender, gpointer self);
static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publish_clicked (PublishingPiwigoPiwigoPublisher* self, PublishingPiwigoPublishingParameters* parameters, gboolean strip_metadata);
static void _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publish_clicked_publishing_piwigo_publishing_options_pane_publish (PublishingPiwigoPublishingOptionsPane* _sender, PublishingPiwigoPublishingParameters* parameters, gboolean strip_metadata, gpointer self);
-GtkWidget* publishing_piwigo_publishing_options_pane_get_default_widget (PublishingPiwigoPublishingOptionsPane* self);
GType publishing_piwigo_session_logout_transaction_get_type (void) G_GNUC_CONST;
PublishingPiwigoSessionLogoutTransaction* publishing_piwigo_session_logout_transaction_new (PublishingPiwigoSession* session);
PublishingPiwigoSessionLogoutTransaction* publishing_piwigo_session_logout_transaction_construct (GType object_type, PublishingPiwigoSession* session);
@@ -802,23 +790,34 @@ GType publishing_piwigo_images_add_transaction_get_type (void) G_GNUC_CONST;
static void publishing_piwigo_uploader_finalize (PublishingRESTSupportBatchUploader* obj);
#define PUBLISHING_PIWIGO_SSL_ERROR_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPanePrivate))
enum {
- PUBLISHING_PIWIGO_SSL_ERROR_PANE_DUMMY_PROPERTY
+ PUBLISHING_PIWIGO_SSL_ERROR_PANE_DUMMY_PROPERTY,
+ PUBLISHING_PIWIGO_SSL_ERROR_PANE_HOST,
+ PUBLISHING_PIWIGO_SSL_ERROR_PANE_CERT,
+ PUBLISHING_PIWIGO_SSL_ERROR_PANE_ERROR_TEXT
};
-static Block1Data* block1_data_ref (Block1Data* _data1_);
-static void block1_data_unref (void * _userdata_);
-static void ___lambda4_ (Block1Data* _data1_);
-static void ____lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self);
-static void ___lambda5_ (PublishingPiwigoSSLErrorPane* self);
-static void ____lambda5__gtk_button_clicked (GtkButton* _sender, gpointer self);
-static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_ssl_error_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base);
-static GtkWidget* publishing_piwigo_ssl_error_pane_real_get_widget (SpitPublishingDialogPane* base);
-static void publishing_piwigo_ssl_error_pane_real_on_pane_installed (SpitPublishingDialogPane* base);
-static void publishing_piwigo_ssl_error_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base);
+static void publishing_piwigo_ssl_error_pane_real_constructed (GObject* base);
+gchar* publishing_piwigo_ssl_error_pane_get_host (PublishingPiwigoSSLErrorPane* self);
+gchar* publishing_piwigo_ssl_error_pane_get_error_text (PublishingPiwigoSSLErrorPane* self);
+static void __lambda4_ (PublishingPiwigoSSLErrorPane* self);
+static GTlsCertificate* publishing_piwigo_ssl_error_pane_get_cert (PublishingPiwigoSSLErrorPane* self);
+static void ___lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self);
+static void __lambda5_ (PublishingPiwigoSSLErrorPane* self);
+static void ___lambda5__gtk_button_clicked (GtkButton* _sender, gpointer self);
+static void publishing_piwigo_ssl_error_pane_set_host (PublishingPiwigoSSLErrorPane* self, const gchar* value);
+static void publishing_piwigo_ssl_error_pane_set_cert (PublishingPiwigoSSLErrorPane* self, GTlsCertificate* value);
+static void publishing_piwigo_ssl_error_pane_set_error_text (PublishingPiwigoSSLErrorPane* self, const gchar* value);
static void publishing_piwigo_ssl_error_pane_finalize (GObject* obj);
+static void _vala_publishing_piwigo_ssl_error_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
+static void _vala_publishing_piwigo_ssl_error_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define PUBLISHING_PIWIGO_AUTHENTICATION_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPanePrivate))
enum {
- PUBLISHING_PIWIGO_AUTHENTICATION_PANE_DUMMY_PROPERTY
+ PUBLISHING_PIWIGO_AUTHENTICATION_PANE_DUMMY_PROPERTY,
+ PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE,
+ PUBLISHING_PIWIGO_AUTHENTICATION_PANE_PUBLISHER
};
+static void publishing_piwigo_authentication_pane_real_constructed (GObject* base);
+PublishingPiwigoAuthenticationPaneMode publishing_piwigo_authentication_pane_get_mode (PublishingPiwigoAuthenticationPane* self);
+PublishingPiwigoPiwigoPublisher* publishing_piwigo_authentication_pane_get_publisher (PublishingPiwigoAuthenticationPane* self);
static void publishing_piwigo_authentication_pane_on_user_changed (PublishingPiwigoAuthenticationPane* self);
static void _publishing_piwigo_authentication_pane_on_user_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void publishing_piwigo_authentication_pane_on_url_changed (PublishingPiwigoAuthenticationPane* self);
@@ -828,16 +827,32 @@ static void _publishing_piwigo_authentication_pane_on_password_changed_gtk_edita
static void publishing_piwigo_authentication_pane_on_login_button_clicked (PublishingPiwigoAuthenticationPane* self);
static void _publishing_piwigo_authentication_pane_on_login_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void publishing_piwigo_authentication_pane_update_login_button_sensitivity (PublishingPiwigoAuthenticationPane* self);
-static GtkWidget* publishing_piwigo_authentication_pane_real_get_widget (SpitPublishingDialogPane* base);
-static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base);
-static void publishing_piwigo_authentication_pane_real_on_pane_installed (SpitPublishingDialogPane* base);
-static void publishing_piwigo_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base);
+static void publishing_piwigo_authentication_pane_real_on_pane_installed (ShotwellPluginsCommonBuilderPane* base);
+static void publishing_piwigo_authentication_pane_set_mode (PublishingPiwigoAuthenticationPane* self, PublishingPiwigoAuthenticationPaneMode value);
+static void publishing_piwigo_authentication_pane_set_publisher (PublishingPiwigoAuthenticationPane* self, PublishingPiwigoPiwigoPublisher* value);
static void g_cclosure_user_marshal_VOID__STRING_STRING_STRING_BOOLEAN (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);
static void publishing_piwigo_authentication_pane_finalize (GObject* obj);
+static void _vala_publishing_piwigo_authentication_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
+static void _vala_publishing_piwigo_authentication_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPanePrivate))
enum {
- PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_DUMMY_PROPERTY
+ PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_DUMMY_PROPERTY,
+ PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_CATEGORY,
+ PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_PERMISSION_LEVEL,
+ PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_PHOTO_SIZE,
+ PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_TITLE_AS_COMMENT,
+ PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_NO_UPLOAD_TAGS,
+ PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_STRIP_METADATA_ENABLED,
+ PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_EXISTING_CATEGORIES,
+ PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_DEFAULT_COMMENT
};
+static PublishingPiwigoCategory** _vala_array_dup14 (PublishingPiwigoCategory** self, int length);
+static gboolean _publishing_piwigo_category_equal_gee_equal_data_func (gconstpointer a, gconstpointer b, gpointer self);
+static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_possible (PublishingPiwigoPiwigoPublisher* publisher);
+static void publishing_piwigo_publishing_options_pane_real_constructed (GObject* base);
+static gboolean publishing_piwigo_publishing_options_pane_get_strip_metadata_enabled (PublishingPiwigoPublishingOptionsPane* self);
+static gboolean publishing_piwigo_publishing_options_pane_get_last_title_as_comment (PublishingPiwigoPublishingOptionsPane* self);
+static gboolean publishing_piwigo_publishing_options_pane_get_last_no_upload_tags (PublishingPiwigoPublishingOptionsPane* self);
static void publishing_piwigo_publishing_options_pane_on_logout_button_clicked (PublishingPiwigoPublishingOptionsPane* self);
static void _publishing_piwigo_publishing_options_pane_on_logout_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void publishing_piwigo_publishing_options_pane_on_publish_button_clicked (PublishingPiwigoPublishingOptionsPane* self);
@@ -850,10 +865,9 @@ static void publishing_piwigo_publishing_options_pane_on_new_category_entry_chan
static void _publishing_piwigo_publishing_options_pane_on_new_category_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void publishing_piwigo_publishing_options_pane_on_existing_combo_changed (PublishingPiwigoPublishingOptionsPane* self);
static void _publishing_piwigo_publishing_options_pane_on_existing_combo_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
-static PublishingPiwigoCategory** _vala_array_dup11 (PublishingPiwigoCategory** self, int length);
static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pane_create_perm_levels (PublishingPiwigoPublishingOptionsPane* self, int* result_length1);
static PublishingPiwigoSizeEntry** publishing_piwigo_publishing_options_pane_create_sizes (PublishingPiwigoPublishingOptionsPane* self, int* result_length1);
-static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_possible (PublishingPiwigoPublishingOptionsPane* self, PublishingPiwigoPiwigoPublisher* publisher);
+static const gchar* publishing_piwigo_publishing_options_pane_get_default_comment (PublishingPiwigoPublishingOptionsPane* self);
static void _vala_array_add35 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value);
static void _vala_array_add36 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value);
static void _vala_array_add37 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value);
@@ -864,21 +878,32 @@ static void _vala_array_add41 (PublishingPiwigoSizeEntry*** array, int* length,
static void _vala_array_add42 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value);
static void _vala_array_add43 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value);
static void _vala_array_add44 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value);
+static GeeList* publishing_piwigo_publishing_options_pane_get_existing_categories (PublishingPiwigoPublishingOptionsPane* self);
static void publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (PublishingPiwigoPublishingOptionsPane* self);
static gboolean publishing_piwigo_publishing_options_pane_category_already_exists (PublishingPiwigoPublishingOptionsPane* self, const gchar* category_name);
-static GtkWidget* publishing_piwigo_publishing_options_pane_real_get_widget (SpitPublishingDialogPane* base);
-static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_publishing_options_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base);
-static void publishing_piwigo_publishing_options_pane_real_on_pane_installed (SpitPublishingDialogPane* base);
+static void publishing_piwigo_publishing_options_pane_real_on_pane_installed (ShotwellPluginsCommonBuilderPane* base);
static void publishing_piwigo_publishing_options_pane_create_categories_combo (PublishingPiwigoPublishingOptionsPane* self);
static void publishing_piwigo_publishing_options_pane_create_within_categories_combo (PublishingPiwigoPublishingOptionsPane* self);
static void publishing_piwigo_publishing_options_pane_create_permissions_combo (PublishingPiwigoPublishingOptionsPane* self);
static void publishing_piwigo_publishing_options_pane_create_size_combo (PublishingPiwigoPublishingOptionsPane* self);
static gint publishing_piwigo_publishing_options_pane_find_category_index (PublishingPiwigoPublishingOptionsPane* self, gint category_id);
+static gint publishing_piwigo_publishing_options_pane_get_last_category (PublishingPiwigoPublishingOptionsPane* self);
static gint publishing_piwigo_publishing_options_pane_find_permission_level_index (PublishingPiwigoPublishingOptionsPane* self, gint permission_level_id);
+static gint publishing_piwigo_publishing_options_pane_get_last_permission_level (PublishingPiwigoPublishingOptionsPane* self);
static gint publishing_piwigo_publishing_options_pane_find_size_index (PublishingPiwigoPublishingOptionsPane* self, gint size_id);
-static void publishing_piwigo_publishing_options_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base);
+static gint publishing_piwigo_publishing_options_pane_get_last_photo_size (PublishingPiwigoPublishingOptionsPane* self);
+static void publishing_piwigo_publishing_options_pane_set_last_category (PublishingPiwigoPublishingOptionsPane* self, gint value);
+static void publishing_piwigo_publishing_options_pane_set_last_permission_level (PublishingPiwigoPublishingOptionsPane* self, gint value);
+static void publishing_piwigo_publishing_options_pane_set_last_photo_size (PublishingPiwigoPublishingOptionsPane* self, gint value);
+static void publishing_piwigo_publishing_options_pane_set_last_title_as_comment (PublishingPiwigoPublishingOptionsPane* self, gboolean value);
+static void publishing_piwigo_publishing_options_pane_set_last_no_upload_tags (PublishingPiwigoPublishingOptionsPane* self, gboolean value);
+static void publishing_piwigo_publishing_options_pane_set_strip_metadata_enabled (PublishingPiwigoPublishingOptionsPane* self, gboolean value);
+static void publishing_piwigo_publishing_options_pane_set_existing_categories (PublishingPiwigoPublishingOptionsPane* self, GeeList* value);
+static void publishing_piwigo_publishing_options_pane_set_default_comment (PublishingPiwigoPublishingOptionsPane* self, const gchar* value);
static void g_cclosure_user_marshal_VOID__PUBLISHING_PIWIGO_PUBLISHING_PARAMETERS_BOOLEAN (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);
static void publishing_piwigo_publishing_options_pane_finalize (GObject* obj);
+static void _vala_publishing_piwigo_publishing_options_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
+static void _vala_publishing_piwigo_publishing_options_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define PUBLISHING_PIWIGO_SESSION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_PIWIGO_TYPE_SESSION, PublishingPiwigoSessionPrivate))
enum {
PUBLISHING_PIWIGO_SESSION_DUMMY_PROPERTY
@@ -934,7 +959,7 @@ PiwigoService* piwigo_service_construct (GType object_type, GFile* resource_dire
_tmp0__length1 = piwigo_service_icon_pixbuf_set_length1;
#line 13 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp0_ == NULL) {
-#line 938 "PiwigoPublishing.c"
+#line 963 "PiwigoPublishing.c"
gint _tmp1_ = 0;
GdkPixbuf** _tmp2_ = NULL;
#line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
@@ -947,18 +972,18 @@ PiwigoService* piwigo_service_construct (GType object_type, GFile* resource_dire
piwigo_service_icon_pixbuf_set_length1 = _tmp1_;
#line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_piwigo_service_icon_pixbuf_set_size_ = piwigo_service_icon_pixbuf_set_length1;
-#line 951 "PiwigoPublishing.c"
+#line 976 "PiwigoPublishing.c"
}
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 955 "PiwigoPublishing.c"
+#line 980 "PiwigoPublishing.c"
}
PiwigoService* piwigo_service_new (GFile* resource_directory) {
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return piwigo_service_construct (TYPE_PIWIGO_SERVICE, resource_directory);
-#line 962 "PiwigoPublishing.c"
+#line 987 "PiwigoPublishing.c"
}
@@ -980,7 +1005,7 @@ static gint piwigo_service_real_get_pluggable_interface (SpitPluggable* base, gi
result = _tmp2_;
#line 19 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 984 "PiwigoPublishing.c"
+#line 1009 "PiwigoPublishing.c"
}
@@ -993,7 +1018,7 @@ static const gchar* piwigo_service_real_get_id (SpitPluggable* base) {
result = "org.yorba.shotwell.publishing.piwigo";
#line 24 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 997 "PiwigoPublishing.c"
+#line 1022 "PiwigoPublishing.c"
}
@@ -1006,35 +1031,35 @@ static const gchar* piwigo_service_real_get_pluggable_name (SpitPluggable* base)
result = "Piwigo";
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 1010 "PiwigoPublishing.c"
+#line 1035 "PiwigoPublishing.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self ? g_object_ref (self) : NULL;
-#line 1017 "PiwigoPublishing.c"
+#line 1042 "PiwigoPublishing.c"
}
-static GdkPixbuf** _vala_array_dup10 (GdkPixbuf** self, int length) {
+static GdkPixbuf** _vala_array_dup13 (GdkPixbuf** self, int length) {
GdkPixbuf** result;
int i;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = g_new0 (GdkPixbuf*, length + 1);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
for (i = 0; i < length; i++) {
-#line 1028 "PiwigoPublishing.c"
+#line 1053 "PiwigoPublishing.c"
GdkPixbuf* _tmp0_ = NULL;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = _g_object_ref0 (self[i]);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result[i] = _tmp0_;
-#line 1034 "PiwigoPublishing.c"
+#line 1059 "PiwigoPublishing.c"
}
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 1038 "PiwigoPublishing.c"
+#line 1063 "PiwigoPublishing.c"
}
@@ -1107,7 +1132,7 @@ static void piwigo_service_real_get_info (SpitPluggable* base, SpitPluggableInfo
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8__length1 = piwigo_service_icon_pixbuf_set_length1;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp9_ = (_tmp8_ != NULL) ? _vala_array_dup10 (_tmp8_, _tmp8__length1) : ((gpointer) _tmp8_);
+ _tmp9_ = (_tmp8_ != NULL) ? _vala_array_dup13 (_tmp8_, _tmp8__length1) : ((gpointer) _tmp8_);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9__length1 = _tmp8__length1;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
@@ -1116,7 +1141,7 @@ static void piwigo_service_real_get_info (SpitPluggable* base, SpitPluggableInfo
(*info).icons = _tmp9_;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*info).icons_length1 = _tmp9__length1;
-#line 1120 "PiwigoPublishing.c"
+#line 1145 "PiwigoPublishing.c"
}
@@ -1124,7 +1149,7 @@ static void piwigo_service_real_activation (SpitPluggable* base, gboolean enable
PiwigoService * self;
#line 43 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PIWIGO_SERVICE, PiwigoService);
-#line 1128 "PiwigoPublishing.c"
+#line 1153 "PiwigoPublishing.c"
}
@@ -1145,7 +1170,7 @@ static SpitPublishingPublisher* piwigo_service_real_create_publisher (SpitPublis
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher);
#line 47 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 1149 "PiwigoPublishing.c"
+#line 1174 "PiwigoPublishing.c"
}
@@ -1158,7 +1183,7 @@ static SpitPublishingPublisherMediaType piwigo_service_real_get_supported_media
result = SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO;
#line 51 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 1162 "PiwigoPublishing.c"
+#line 1187 "PiwigoPublishing.c"
}
@@ -1167,7 +1192,7 @@ static void piwigo_service_class_init (PiwigoServiceClass * klass) {
piwigo_service_parent_class = g_type_class_peek_parent (klass);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = piwigo_service_finalize;
-#line 1171 "PiwigoPublishing.c"
+#line 1196 "PiwigoPublishing.c"
}
@@ -1184,7 +1209,7 @@ static void piwigo_service_spit_pluggable_interface_init (SpitPluggableIface * i
iface->get_info = (void (*)(SpitPluggable*, SpitPluggableInfo*)) piwigo_service_real_get_info;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
iface->activation = (void (*)(SpitPluggable*, gboolean)) piwigo_service_real_activation;
-#line 1188 "PiwigoPublishing.c"
+#line 1213 "PiwigoPublishing.c"
}
@@ -1195,7 +1220,7 @@ static void piwigo_service_spit_publishing_service_interface_init (SpitPublishin
iface->create_publisher = (SpitPublishingPublisher* (*)(SpitPublishingService*, SpitPublishingPluginHost*)) piwigo_service_real_create_publisher;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
iface->get_supported_media = (SpitPublishingPublisherMediaType (*)(SpitPublishingService*)) piwigo_service_real_get_supported_media;
-#line 1199 "PiwigoPublishing.c"
+#line 1224 "PiwigoPublishing.c"
}
@@ -1209,7 +1234,7 @@ static void piwigo_service_finalize (GObject* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PIWIGO_SERVICE, PiwigoService);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (piwigo_service_parent_class)->finalize (obj);
-#line 1213 "PiwigoPublishing.c"
+#line 1238 "PiwigoPublishing.c"
}
@@ -1274,14 +1299,14 @@ PublishingPiwigoCategory* publishing_piwigo_category_construct (GType object_typ
self->comment = _tmp6_;
#line 69 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 1278 "PiwigoPublishing.c"
+#line 1303 "PiwigoPublishing.c"
}
PublishingPiwigoCategory* publishing_piwigo_category_new (gint id, const gchar* name, const gchar* uppercats, const gchar* comment) {
#line 69 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_category_construct (PUBLISHING_PIWIGO_TYPE_CATEGORY, id, name, uppercats, comment);
-#line 1285 "PiwigoPublishing.c"
+#line 1310 "PiwigoPublishing.c"
}
@@ -1325,14 +1350,14 @@ PublishingPiwigoCategory* publishing_piwigo_category_construct_local (GType obje
self->comment = _tmp5_;
#line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 1329 "PiwigoPublishing.c"
+#line 1354 "PiwigoPublishing.c"
}
PublishingPiwigoCategory* publishing_piwigo_category_new_local (const gchar* name, gint parent_id, const gchar* comment) {
#line 76 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_category_construct_local (PUBLISHING_PIWIGO_TYPE_CATEGORY, name, parent_id, comment);
-#line 1336 "PiwigoPublishing.c"
+#line 1361 "PiwigoPublishing.c"
}
@@ -1347,14 +1372,40 @@ gboolean publishing_piwigo_category_is_local (PublishingPiwigoCategory* self) {
result = _tmp0_ == PUBLISHING_PIWIGO_CATEGORY_NO_ID;
#line 86 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 1351 "PiwigoPublishing.c"
+#line 1376 "PiwigoPublishing.c"
+}
+
+
+gboolean publishing_piwigo_category_equal (PublishingPiwigoCategory* _self_, PublishingPiwigoCategory* other) {
+ gboolean result = FALSE;
+ PublishingPiwigoCategory* _tmp0_ = NULL;
+ gint _tmp1_ = 0;
+ PublishingPiwigoCategory* _tmp2_ = NULL;
+ gint _tmp3_ = 0;
+#line 89 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_CATEGORY (_self_), FALSE);
+#line 89 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_CATEGORY (other), FALSE);
+#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = _self_;
+#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = _tmp0_->id;
+#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp2_ = other;
+#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp3_ = _tmp2_->id;
+#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp1_ == _tmp3_;
+#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 1402 "PiwigoPublishing.c"
}
static void publishing_piwigo_value_category_init (GValue* value) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1358 "PiwigoPublishing.c"
+#line 1409 "PiwigoPublishing.c"
}
@@ -1363,7 +1414,7 @@ static void publishing_piwigo_value_category_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_category_unref (value->data[0].v_pointer);
-#line 1367 "PiwigoPublishing.c"
+#line 1418 "PiwigoPublishing.c"
}
}
@@ -1373,11 +1424,11 @@ static void publishing_piwigo_value_category_copy_value (const GValue* src_value
if (src_value->data[0].v_pointer) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
dest_value->data[0].v_pointer = publishing_piwigo_category_ref (src_value->data[0].v_pointer);
-#line 1377 "PiwigoPublishing.c"
+#line 1428 "PiwigoPublishing.c"
} else {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1381 "PiwigoPublishing.c"
+#line 1432 "PiwigoPublishing.c"
}
}
@@ -1385,37 +1436,37 @@ static void publishing_piwigo_value_category_copy_value (const GValue* src_value
static gpointer publishing_piwigo_value_category_peek_pointer (const GValue* value) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return value->data[0].v_pointer;
-#line 1389 "PiwigoPublishing.c"
+#line 1440 "PiwigoPublishing.c"
}
static gchar* publishing_piwigo_value_category_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 1396 "PiwigoPublishing.c"
+#line 1447 "PiwigoPublishing.c"
PublishingPiwigoCategory* object;
object = collect_values[0].v_pointer;
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1403 "PiwigoPublishing.c"
+#line 1454 "PiwigoPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 1407 "PiwigoPublishing.c"
+#line 1458 "PiwigoPublishing.c"
}
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = publishing_piwigo_category_ref (object);
-#line 1411 "PiwigoPublishing.c"
+#line 1462 "PiwigoPublishing.c"
} else {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1415 "PiwigoPublishing.c"
+#line 1466 "PiwigoPublishing.c"
}
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 1419 "PiwigoPublishing.c"
+#line 1470 "PiwigoPublishing.c"
}
@@ -1426,25 +1477,25 @@ static gchar* publishing_piwigo_value_category_lcopy_value (const GValue* value,
if (!object_p) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1430 "PiwigoPublishing.c"
+#line 1481 "PiwigoPublishing.c"
}
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!value->data[0].v_pointer) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = NULL;
-#line 1436 "PiwigoPublishing.c"
+#line 1487 "PiwigoPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 1440 "PiwigoPublishing.c"
+#line 1491 "PiwigoPublishing.c"
} else {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = publishing_piwigo_category_ref (value->data[0].v_pointer);
-#line 1444 "PiwigoPublishing.c"
+#line 1495 "PiwigoPublishing.c"
}
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 1448 "PiwigoPublishing.c"
+#line 1499 "PiwigoPublishing.c"
}
@@ -1458,7 +1509,7 @@ GParamSpec* publishing_piwigo_param_spec_category (const gchar* name, const gcha
G_PARAM_SPEC (spec)->value_type = object_type;
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 1462 "PiwigoPublishing.c"
+#line 1513 "PiwigoPublishing.c"
}
@@ -1467,7 +1518,7 @@ gpointer publishing_piwigo_value_get_category (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_CATEGORY), NULL);
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return value->data[0].v_pointer;
-#line 1471 "PiwigoPublishing.c"
+#line 1522 "PiwigoPublishing.c"
}
@@ -1487,17 +1538,17 @@ void publishing_piwigo_value_set_category (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_category_ref (value->data[0].v_pointer);
-#line 1491 "PiwigoPublishing.c"
+#line 1542 "PiwigoPublishing.c"
} else {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1495 "PiwigoPublishing.c"
+#line 1546 "PiwigoPublishing.c"
}
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (old) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_category_unref (old);
-#line 1501 "PiwigoPublishing.c"
+#line 1552 "PiwigoPublishing.c"
}
}
@@ -1516,17 +1567,17 @@ void publishing_piwigo_value_take_category (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 1520 "PiwigoPublishing.c"
+#line 1571 "PiwigoPublishing.c"
} else {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1524 "PiwigoPublishing.c"
+#line 1575 "PiwigoPublishing.c"
}
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (old) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_category_unref (old);
-#line 1530 "PiwigoPublishing.c"
+#line 1581 "PiwigoPublishing.c"
}
}
@@ -1536,14 +1587,14 @@ static void publishing_piwigo_category_class_init (PublishingPiwigoCategoryClass
publishing_piwigo_category_parent_class = g_type_class_peek_parent (klass);
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
((PublishingPiwigoCategoryClass *) klass)->finalize = publishing_piwigo_category_finalize;
-#line 1540 "PiwigoPublishing.c"
+#line 1591 "PiwigoPublishing.c"
}
static void publishing_piwigo_category_instance_init (PublishingPiwigoCategory * self) {
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->ref_count = 1;
-#line 1547 "PiwigoPublishing.c"
+#line 1598 "PiwigoPublishing.c"
}
@@ -1561,7 +1612,7 @@ static void publishing_piwigo_category_finalize (PublishingPiwigoCategory* obj)
_g_free0 (self->display_name);
#line 66 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->uppercats);
-#line 1565 "PiwigoPublishing.c"
+#line 1616 "PiwigoPublishing.c"
}
@@ -1586,7 +1637,7 @@ gpointer publishing_piwigo_category_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return instance;
-#line 1590 "PiwigoPublishing.c"
+#line 1641 "PiwigoPublishing.c"
}
@@ -1599,7 +1650,7 @@ void publishing_piwigo_category_unref (gpointer instance) {
PUBLISHING_PIWIGO_CATEGORY_GET_CLASS (self)->finalize (self);
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1603 "PiwigoPublishing.c"
+#line 1654 "PiwigoPublishing.c"
}
}
@@ -1609,240 +1660,240 @@ PublishingPiwigoPermissionLevel* publishing_piwigo_permission_level_construct (G
gint _tmp0_ = 0;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 98 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 98 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoPermissionLevel*) g_type_create_instance (object_type);
-#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 99 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = id;
-#line 95 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 99 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->id = _tmp0_;
-#line 96 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = name;
-#line 96 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 96 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->name);
-#line 96 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->name = _tmp2_;
-#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 98 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 1631 "PiwigoPublishing.c"
+#line 1682 "PiwigoPublishing.c"
}
PublishingPiwigoPermissionLevel* publishing_piwigo_permission_level_new (gint id, const gchar* name) {
-#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 98 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_permission_level_construct (PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL, id, name);
-#line 1638 "PiwigoPublishing.c"
+#line 1689 "PiwigoPublishing.c"
}
static void publishing_piwigo_value_permission_level_init (GValue* value) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1645 "PiwigoPublishing.c"
+#line 1696 "PiwigoPublishing.c"
}
static void publishing_piwigo_value_permission_level_free_value (GValue* value) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (value->data[0].v_pointer) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_permission_level_unref (value->data[0].v_pointer);
-#line 1654 "PiwigoPublishing.c"
+#line 1705 "PiwigoPublishing.c"
}
}
static void publishing_piwigo_value_permission_level_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (src_value->data[0].v_pointer) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
dest_value->data[0].v_pointer = publishing_piwigo_permission_level_ref (src_value->data[0].v_pointer);
-#line 1664 "PiwigoPublishing.c"
+#line 1715 "PiwigoPublishing.c"
} else {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1668 "PiwigoPublishing.c"
+#line 1719 "PiwigoPublishing.c"
}
}
static gpointer publishing_piwigo_value_permission_level_peek_pointer (const GValue* value) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return value->data[0].v_pointer;
-#line 1676 "PiwigoPublishing.c"
+#line 1727 "PiwigoPublishing.c"
}
static gchar* publishing_piwigo_value_permission_level_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 1683 "PiwigoPublishing.c"
+#line 1734 "PiwigoPublishing.c"
PublishingPiwigoPermissionLevel* object;
object = collect_values[0].v_pointer;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (object->parent_instance.g_class == NULL) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1690 "PiwigoPublishing.c"
+#line 1741 "PiwigoPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 1694 "PiwigoPublishing.c"
+#line 1745 "PiwigoPublishing.c"
}
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = publishing_piwigo_permission_level_ref (object);
-#line 1698 "PiwigoPublishing.c"
+#line 1749 "PiwigoPublishing.c"
} else {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1702 "PiwigoPublishing.c"
+#line 1753 "PiwigoPublishing.c"
}
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 1706 "PiwigoPublishing.c"
+#line 1757 "PiwigoPublishing.c"
}
static gchar* publishing_piwigo_value_permission_level_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PublishingPiwigoPermissionLevel** object_p;
object_p = collect_values[0].v_pointer;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!object_p) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1717 "PiwigoPublishing.c"
+#line 1768 "PiwigoPublishing.c"
}
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!value->data[0].v_pointer) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = NULL;
-#line 1723 "PiwigoPublishing.c"
+#line 1774 "PiwigoPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 1727 "PiwigoPublishing.c"
+#line 1778 "PiwigoPublishing.c"
} else {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = publishing_piwigo_permission_level_ref (value->data[0].v_pointer);
-#line 1731 "PiwigoPublishing.c"
+#line 1782 "PiwigoPublishing.c"
}
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 1735 "PiwigoPublishing.c"
+#line 1786 "PiwigoPublishing.c"
}
GParamSpec* publishing_piwigo_param_spec_permission_level (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
PublishingPiwigoParamSpecPermissionLevel* spec;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL), NULL);
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 1749 "PiwigoPublishing.c"
+#line 1800 "PiwigoPublishing.c"
}
gpointer publishing_piwigo_value_get_permission_level (const GValue* value) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL), NULL);
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return value->data[0].v_pointer;
-#line 1758 "PiwigoPublishing.c"
+#line 1809 "PiwigoPublishing.c"
}
void publishing_piwigo_value_set_permission_level (GValue* value, gpointer v_object) {
PublishingPiwigoPermissionLevel* old;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL));
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
old = value->data[0].v_pointer;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (v_object) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL));
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_permission_level_ref (value->data[0].v_pointer);
-#line 1778 "PiwigoPublishing.c"
+#line 1829 "PiwigoPublishing.c"
} else {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1782 "PiwigoPublishing.c"
+#line 1833 "PiwigoPublishing.c"
}
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (old) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_permission_level_unref (old);
-#line 1788 "PiwigoPublishing.c"
+#line 1839 "PiwigoPublishing.c"
}
}
void publishing_piwigo_value_take_permission_level (GValue* value, gpointer v_object) {
PublishingPiwigoPermissionLevel* old;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL));
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
old = value->data[0].v_pointer;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (v_object) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL));
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 1807 "PiwigoPublishing.c"
+#line 1858 "PiwigoPublishing.c"
} else {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1811 "PiwigoPublishing.c"
+#line 1862 "PiwigoPublishing.c"
}
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (old) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_permission_level_unref (old);
-#line 1817 "PiwigoPublishing.c"
+#line 1868 "PiwigoPublishing.c"
}
}
static void publishing_piwigo_permission_level_class_init (PublishingPiwigoPermissionLevelClass * klass) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_permission_level_parent_class = g_type_class_peek_parent (klass);
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
((PublishingPiwigoPermissionLevelClass *) klass)->finalize = publishing_piwigo_permission_level_finalize;
-#line 1827 "PiwigoPublishing.c"
+#line 1878 "PiwigoPublishing.c"
}
static void publishing_piwigo_permission_level_instance_init (PublishingPiwigoPermissionLevel * self) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->ref_count = 1;
-#line 1834 "PiwigoPublishing.c"
+#line 1885 "PiwigoPublishing.c"
}
static void publishing_piwigo_permission_level_finalize (PublishingPiwigoPermissionLevel* obj) {
PublishingPiwigoPermissionLevel * self;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_PERMISSION_LEVEL, PublishingPiwigoPermissionLevel);
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_destroy (self);
-#line 92 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 96 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->name);
-#line 1846 "PiwigoPublishing.c"
+#line 1897 "PiwigoPublishing.c"
}
@@ -1863,24 +1914,24 @@ GType publishing_piwigo_permission_level_get_type (void) {
gpointer publishing_piwigo_permission_level_ref (gpointer instance) {
PublishingPiwigoPermissionLevel* self;
self = instance;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_atomic_int_inc (&self->ref_count);
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return instance;
-#line 1871 "PiwigoPublishing.c"
+#line 1922 "PiwigoPublishing.c"
}
void publishing_piwigo_permission_level_unref (gpointer instance) {
PublishingPiwigoPermissionLevel* self;
self = instance;
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
PUBLISHING_PIWIGO_PERMISSION_LEVEL_GET_CLASS (self)->finalize (self);
-#line 90 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1884 "PiwigoPublishing.c"
+#line 1935 "PiwigoPublishing.c"
}
}
@@ -1890,240 +1941,240 @@ PublishingPiwigoSizeEntry* publishing_piwigo_size_entry_construct (GType object_
gint _tmp0_ = 0;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoSizeEntry*) g_type_create_instance (object_type);
-#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = id;
-#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->id = _tmp0_;
-#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = name;
-#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->name);
-#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->name = _tmp2_;
-#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 1912 "PiwigoPublishing.c"
+#line 1963 "PiwigoPublishing.c"
}
PublishingPiwigoSizeEntry* publishing_piwigo_size_entry_new (gint id, const gchar* name) {
-#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_size_entry_construct (PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY, id, name);
-#line 1919 "PiwigoPublishing.c"
+#line 1970 "PiwigoPublishing.c"
}
static void publishing_piwigo_value_size_entry_init (GValue* value) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1926 "PiwigoPublishing.c"
+#line 1977 "PiwigoPublishing.c"
}
static void publishing_piwigo_value_size_entry_free_value (GValue* value) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (value->data[0].v_pointer) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_size_entry_unref (value->data[0].v_pointer);
-#line 1935 "PiwigoPublishing.c"
+#line 1986 "PiwigoPublishing.c"
}
}
static void publishing_piwigo_value_size_entry_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (src_value->data[0].v_pointer) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
dest_value->data[0].v_pointer = publishing_piwigo_size_entry_ref (src_value->data[0].v_pointer);
-#line 1945 "PiwigoPublishing.c"
+#line 1996 "PiwigoPublishing.c"
} else {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1949 "PiwigoPublishing.c"
+#line 2000 "PiwigoPublishing.c"
}
}
static gpointer publishing_piwigo_value_size_entry_peek_pointer (const GValue* value) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return value->data[0].v_pointer;
-#line 1957 "PiwigoPublishing.c"
+#line 2008 "PiwigoPublishing.c"
}
static gchar* publishing_piwigo_value_size_entry_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 1964 "PiwigoPublishing.c"
+#line 2015 "PiwigoPublishing.c"
PublishingPiwigoSizeEntry* object;
object = collect_values[0].v_pointer;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (object->parent_instance.g_class == NULL) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1971 "PiwigoPublishing.c"
+#line 2022 "PiwigoPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 1975 "PiwigoPublishing.c"
+#line 2026 "PiwigoPublishing.c"
}
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = publishing_piwigo_size_entry_ref (object);
-#line 1979 "PiwigoPublishing.c"
+#line 2030 "PiwigoPublishing.c"
} else {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1983 "PiwigoPublishing.c"
+#line 2034 "PiwigoPublishing.c"
}
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 1987 "PiwigoPublishing.c"
+#line 2038 "PiwigoPublishing.c"
}
static gchar* publishing_piwigo_value_size_entry_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PublishingPiwigoSizeEntry** object_p;
object_p = collect_values[0].v_pointer;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!object_p) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1998 "PiwigoPublishing.c"
+#line 2049 "PiwigoPublishing.c"
}
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!value->data[0].v_pointer) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = NULL;
-#line 2004 "PiwigoPublishing.c"
+#line 2055 "PiwigoPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 2008 "PiwigoPublishing.c"
+#line 2059 "PiwigoPublishing.c"
} else {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = publishing_piwigo_size_entry_ref (value->data[0].v_pointer);
-#line 2012 "PiwigoPublishing.c"
+#line 2063 "PiwigoPublishing.c"
}
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 2016 "PiwigoPublishing.c"
+#line 2067 "PiwigoPublishing.c"
}
GParamSpec* publishing_piwigo_param_spec_size_entry (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
PublishingPiwigoParamSpecSizeEntry* spec;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY), NULL);
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 2030 "PiwigoPublishing.c"
+#line 2081 "PiwigoPublishing.c"
}
gpointer publishing_piwigo_value_get_size_entry (const GValue* value) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY), NULL);
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return value->data[0].v_pointer;
-#line 2039 "PiwigoPublishing.c"
+#line 2090 "PiwigoPublishing.c"
}
void publishing_piwigo_value_set_size_entry (GValue* value, gpointer v_object) {
PublishingPiwigoSizeEntry* old;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY));
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
old = value->data[0].v_pointer;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (v_object) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY));
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_size_entry_ref (value->data[0].v_pointer);
-#line 2059 "PiwigoPublishing.c"
+#line 2110 "PiwigoPublishing.c"
} else {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 2063 "PiwigoPublishing.c"
+#line 2114 "PiwigoPublishing.c"
}
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (old) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_size_entry_unref (old);
-#line 2069 "PiwigoPublishing.c"
+#line 2120 "PiwigoPublishing.c"
}
}
void publishing_piwigo_value_take_size_entry (GValue* value, gpointer v_object) {
PublishingPiwigoSizeEntry* old;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY));
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
old = value->data[0].v_pointer;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (v_object) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY));
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 2088 "PiwigoPublishing.c"
+#line 2139 "PiwigoPublishing.c"
} else {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 2092 "PiwigoPublishing.c"
+#line 2143 "PiwigoPublishing.c"
}
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (old) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_size_entry_unref (old);
-#line 2098 "PiwigoPublishing.c"
+#line 2149 "PiwigoPublishing.c"
}
}
static void publishing_piwigo_size_entry_class_init (PublishingPiwigoSizeEntryClass * klass) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_size_entry_parent_class = g_type_class_peek_parent (klass);
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
((PublishingPiwigoSizeEntryClass *) klass)->finalize = publishing_piwigo_size_entry_finalize;
-#line 2108 "PiwigoPublishing.c"
+#line 2159 "PiwigoPublishing.c"
}
static void publishing_piwigo_size_entry_instance_init (PublishingPiwigoSizeEntry * self) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->ref_count = 1;
-#line 2115 "PiwigoPublishing.c"
+#line 2166 "PiwigoPublishing.c"
}
static void publishing_piwigo_size_entry_finalize (PublishingPiwigoSizeEntry* obj) {
PublishingPiwigoSizeEntry * self;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_SIZE_ENTRY, PublishingPiwigoSizeEntry);
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_destroy (self);
-#line 102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->name);
-#line 2127 "PiwigoPublishing.c"
+#line 2178 "PiwigoPublishing.c"
}
@@ -2144,264 +2195,264 @@ GType publishing_piwigo_size_entry_get_type (void) {
gpointer publishing_piwigo_size_entry_ref (gpointer instance) {
PublishingPiwigoSizeEntry* self;
self = instance;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_atomic_int_inc (&self->ref_count);
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return instance;
-#line 2152 "PiwigoPublishing.c"
+#line 2203 "PiwigoPublishing.c"
}
void publishing_piwigo_size_entry_unref (gpointer instance) {
PublishingPiwigoSizeEntry* self;
self = instance;
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
PUBLISHING_PIWIGO_SIZE_ENTRY_GET_CLASS (self)->finalize (self);
-#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 2165 "PiwigoPublishing.c"
+#line 2216 "PiwigoPublishing.c"
}
}
PublishingPiwigoPublishingParameters* publishing_piwigo_publishing_parameters_construct (GType object_type) {
PublishingPiwigoPublishingParameters* self = NULL;
-#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoPublishingParameters*) g_type_create_instance (object_type);
-#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 2176 "PiwigoPublishing.c"
+#line 2227 "PiwigoPublishing.c"
}
PublishingPiwigoPublishingParameters* publishing_piwigo_publishing_parameters_new (void) {
-#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_publishing_parameters_construct (PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS);
-#line 2183 "PiwigoPublishing.c"
+#line 2234 "PiwigoPublishing.c"
}
static void publishing_piwigo_value_publishing_parameters_init (GValue* value) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 2190 "PiwigoPublishing.c"
+#line 2241 "PiwigoPublishing.c"
}
static void publishing_piwigo_value_publishing_parameters_free_value (GValue* value) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (value->data[0].v_pointer) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_parameters_unref (value->data[0].v_pointer);
-#line 2199 "PiwigoPublishing.c"
+#line 2250 "PiwigoPublishing.c"
}
}
static void publishing_piwigo_value_publishing_parameters_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (src_value->data[0].v_pointer) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
dest_value->data[0].v_pointer = publishing_piwigo_publishing_parameters_ref (src_value->data[0].v_pointer);
-#line 2209 "PiwigoPublishing.c"
+#line 2260 "PiwigoPublishing.c"
} else {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 2213 "PiwigoPublishing.c"
+#line 2264 "PiwigoPublishing.c"
}
}
static gpointer publishing_piwigo_value_publishing_parameters_peek_pointer (const GValue* value) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return value->data[0].v_pointer;
-#line 2221 "PiwigoPublishing.c"
+#line 2272 "PiwigoPublishing.c"
}
static gchar* publishing_piwigo_value_publishing_parameters_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 2228 "PiwigoPublishing.c"
+#line 2279 "PiwigoPublishing.c"
PublishingPiwigoPublishingParameters* object;
object = collect_values[0].v_pointer;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (object->parent_instance.g_class == NULL) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2235 "PiwigoPublishing.c"
+#line 2286 "PiwigoPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 2239 "PiwigoPublishing.c"
+#line 2290 "PiwigoPublishing.c"
}
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = publishing_piwigo_publishing_parameters_ref (object);
-#line 2243 "PiwigoPublishing.c"
+#line 2294 "PiwigoPublishing.c"
} else {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 2247 "PiwigoPublishing.c"
+#line 2298 "PiwigoPublishing.c"
}
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 2251 "PiwigoPublishing.c"
+#line 2302 "PiwigoPublishing.c"
}
static gchar* publishing_piwigo_value_publishing_parameters_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PublishingPiwigoPublishingParameters** object_p;
object_p = collect_values[0].v_pointer;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!object_p) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 2262 "PiwigoPublishing.c"
+#line 2313 "PiwigoPublishing.c"
}
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!value->data[0].v_pointer) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = NULL;
-#line 2268 "PiwigoPublishing.c"
+#line 2319 "PiwigoPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 2272 "PiwigoPublishing.c"
+#line 2323 "PiwigoPublishing.c"
} else {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*object_p = publishing_piwigo_publishing_parameters_ref (value->data[0].v_pointer);
-#line 2276 "PiwigoPublishing.c"
+#line 2327 "PiwigoPublishing.c"
}
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 2280 "PiwigoPublishing.c"
+#line 2331 "PiwigoPublishing.c"
}
GParamSpec* publishing_piwigo_param_spec_publishing_parameters (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
PublishingPiwigoParamSpecPublishingParameters* spec;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (g_type_is_a (object_type, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS), NULL);
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 2294 "PiwigoPublishing.c"
+#line 2345 "PiwigoPublishing.c"
}
gpointer publishing_piwigo_value_get_publishing_parameters (const GValue* value) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS), NULL);
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return value->data[0].v_pointer;
-#line 2303 "PiwigoPublishing.c"
+#line 2354 "PiwigoPublishing.c"
}
void publishing_piwigo_value_set_publishing_parameters (GValue* value, gpointer v_object) {
PublishingPiwigoPublishingParameters* old;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS));
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
old = value->data[0].v_pointer;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (v_object) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS));
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_parameters_ref (value->data[0].v_pointer);
-#line 2323 "PiwigoPublishing.c"
+#line 2374 "PiwigoPublishing.c"
} else {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 2327 "PiwigoPublishing.c"
+#line 2378 "PiwigoPublishing.c"
}
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (old) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_parameters_unref (old);
-#line 2333 "PiwigoPublishing.c"
+#line 2384 "PiwigoPublishing.c"
}
}
void publishing_piwigo_value_take_publishing_parameters (GValue* value, gpointer v_object) {
PublishingPiwigoPublishingParameters* old;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS));
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
old = value->data[0].v_pointer;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (v_object) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS));
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 2352 "PiwigoPublishing.c"
+#line 2403 "PiwigoPublishing.c"
} else {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 2356 "PiwigoPublishing.c"
+#line 2407 "PiwigoPublishing.c"
}
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (old) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_parameters_unref (old);
-#line 2362 "PiwigoPublishing.c"
+#line 2413 "PiwigoPublishing.c"
}
}
static void publishing_piwigo_publishing_parameters_class_init (PublishingPiwigoPublishingParametersClass * klass) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_parameters_parent_class = g_type_class_peek_parent (klass);
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
((PublishingPiwigoPublishingParametersClass *) klass)->finalize = publishing_piwigo_publishing_parameters_finalize;
-#line 2372 "PiwigoPublishing.c"
+#line 2423 "PiwigoPublishing.c"
}
static void publishing_piwigo_publishing_parameters_instance_init (PublishingPiwigoPublishingParameters * self) {
-#line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->category = NULL;
-#line 112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->perm_level = NULL;
-#line 113 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->photo_size = NULL;
-#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 118 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->title_as_comment = FALSE;
-#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 119 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->no_upload_tags = FALSE;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->ref_count = 1;
-#line 2389 "PiwigoPublishing.c"
+#line 2440 "PiwigoPublishing.c"
}
static void publishing_piwigo_publishing_parameters_finalize (PublishingPiwigoPublishingParameters* obj) {
PublishingPiwigoPublishingParameters * self;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS, PublishingPiwigoPublishingParameters);
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_destroy (self);
-#line 111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_category_unref0 (self->category);
-#line 112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_permission_level_unref0 (self->perm_level);
-#line 113 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_size_entry_unref0 (self->photo_size);
-#line 2405 "PiwigoPublishing.c"
+#line 2456 "PiwigoPublishing.c"
}
@@ -2422,24 +2473,24 @@ GType publishing_piwigo_publishing_parameters_get_type (void) {
gpointer publishing_piwigo_publishing_parameters_ref (gpointer instance) {
PublishingPiwigoPublishingParameters* self;
self = instance;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_atomic_int_inc (&self->ref_count);
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return instance;
-#line 2430 "PiwigoPublishing.c"
+#line 2481 "PiwigoPublishing.c"
}
void publishing_piwigo_publishing_parameters_unref (gpointer instance) {
PublishingPiwigoPublishingParameters* self;
self = instance;
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
PUBLISHING_PIWIGO_PUBLISHING_PARAMETERS_GET_CLASS (self)->finalize (self);
-#line 110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 2443 "PiwigoPublishing.c"
+#line 2494 "PiwigoPublishing.c"
}
}
@@ -2451,46 +2502,46 @@ PublishingPiwigoPiwigoPublisher* publishing_piwigo_piwigo_publisher_construct (G
SpitPublishingPluginHost* _tmp2_ = NULL;
SpitPublishingPluginHost* _tmp3_ = NULL;
PublishingPiwigoSession* _tmp4_ = NULL;
-#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_SERVICE (service), NULL);
-#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (host), NULL);
-#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoPiwigoPublisher*) g_object_new (object_type, NULL);
-#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:133: PiwigoPublisher instantiated.");
-#line 134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:137: PiwigoPublisher instantiated.");
+#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = service;
-#line 134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->service);
-#line 134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->service = _tmp1_;
-#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = host;
-#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->host);
-#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->host = _tmp3_;
-#line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = publishing_piwigo_session_new ();
-#line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_session_unref0 (self->priv->session);
-#line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->session = _tmp4_;
-#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 2487 "PiwigoPublishing.c"
+#line 2538 "PiwigoPublishing.c"
}
PublishingPiwigoPiwigoPublisher* publishing_piwigo_piwigo_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host) {
-#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_piwigo_publisher_construct (PUBLISHING_PIWIGO_TYPE_PIWIGO_PUBLISHER, service, host);
-#line 2494 "PiwigoPublishing.c"
+#line 2545 "PiwigoPublishing.c"
}
@@ -2499,17 +2550,17 @@ static SpitPublishingService* publishing_piwigo_piwigo_publisher_real_get_servic
SpitPublishingService* result = NULL;
SpitPublishingService* _tmp0_ = NULL;
SpitPublishingService* _tmp1_ = NULL;
-#line 141 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PIWIGO_PUBLISHER, PublishingPiwigoPiwigoPublisher);
-#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->service;
-#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2513 "PiwigoPublishing.c"
+#line 2564 "PiwigoPublishing.c"
}
@@ -2517,17 +2568,17 @@ SpitPublishingPluginHost* publishing_piwigo_piwigo_publisher_get_host (Publishin
SpitPublishingPluginHost* result = NULL;
SpitPublishingPluginHost* _tmp0_ = NULL;
SpitPublishingPluginHost* _tmp1_ = NULL;
-#line 145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), NULL);
-#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2531 "PiwigoPublishing.c"
+#line 2582 "PiwigoPublishing.c"
}
@@ -2535,15 +2586,15 @@ static gboolean publishing_piwigo_piwigo_publisher_real_is_running (SpitPublishi
PublishingPiwigoPiwigoPublisher * self;
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PIWIGO_PUBLISHER, PublishingPiwigoPiwigoPublisher);
-#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->running;
-#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp0_;
-#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2547 "PiwigoPublishing.c"
+#line 2598 "PiwigoPublishing.c"
}
@@ -2552,31 +2603,31 @@ static void publishing_piwigo_piwigo_publisher_real_start (SpitPublishingPublish
gboolean _tmp0_ = FALSE;
PublishingPiwigoSession* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 157 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PIWIGO_PUBLISHER, PublishingPiwigoPiwigoPublisher);
-#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 158 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = spit_publishing_publisher_is_running (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher));
-#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 158 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp0_) {
-#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 2564 "PiwigoPublishing.c"
+#line 2615 "PiwigoPublishing.c"
}
-#line 157 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:157: PiwigoPublisher: starting interaction.");
-#line 159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->running = TRUE;
#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:161: PiwigoPublisher: starting interaction.");
+#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->running = TRUE;
+#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->session;
-#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession));
-#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp2_) {
-#line 162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:162: PiwigoPublisher: session is authenticated.");
-#line 163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:166: PiwigoPublisher: session is authenticated.");
+#line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_fetch_categories (self);
-#line 2580 "PiwigoPublishing.c"
+#line 2631 "PiwigoPublishing.c"
} else {
gchar* persistent_url = NULL;
gchar* _tmp3_ = NULL;
@@ -2587,92 +2638,92 @@ static void publishing_piwigo_piwigo_publisher_real_start (SpitPublishingPublish
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
const gchar* _tmp8_ = NULL;
-#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:165: PiwigoPublisher: session is not authenticat" \
+#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:169: PiwigoPublisher: session is not authenticat" \
"ed.");
-#line 166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishing_piwigo_piwigo_publisher_get_persistent_url (self);
-#line 166 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
persistent_url = _tmp3_;
-#line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = publishing_piwigo_piwigo_publisher_get_persistent_username (self);
-#line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
persistent_username = _tmp4_;
-#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_piwigo_piwigo_publisher_get_persistent_password (self);
-#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
persistent_password = _tmp5_;
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = persistent_url;
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp8_ != NULL) {
-#line 2609 "PiwigoPublishing.c"
+#line 2660 "PiwigoPublishing.c"
const gchar* _tmp9_ = NULL;
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = persistent_username;
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _tmp9_ != NULL;
-#line 2615 "PiwigoPublishing.c"
+#line 2666 "PiwigoPublishing.c"
} else {
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = FALSE;
-#line 2619 "PiwigoPublishing.c"
+#line 2670 "PiwigoPublishing.c"
}
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp7_) {
-#line 2623 "PiwigoPublishing.c"
+#line 2674 "PiwigoPublishing.c"
const gchar* _tmp10_ = NULL;
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = persistent_password;
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp10_ != NULL;
-#line 2629 "PiwigoPublishing.c"
+#line 2680 "PiwigoPublishing.c"
} else {
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = FALSE;
-#line 2633 "PiwigoPublishing.c"
+#line 2684 "PiwigoPublishing.c"
}
-#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp6_) {
-#line 2637 "PiwigoPublishing.c"
+#line 2688 "PiwigoPublishing.c"
const gchar* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
const gchar* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
-#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = persistent_url;
-#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = persistent_username;
-#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = persistent_password;
-#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = publishing_piwigo_piwigo_publisher_get_remember_password (self);
-#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_network_login (self, _tmp11_, _tmp12_, _tmp13_, _tmp14_);
-#line 2652 "PiwigoPublishing.c"
+#line 2703 "PiwigoPublishing.c"
} else {
-#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_INTRO);
-#line 2656 "PiwigoPublishing.c"
+#line 2707 "PiwigoPublishing.c"
}
-#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (persistent_password);
-#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (persistent_username);
-#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 165 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (persistent_url);
-#line 2664 "PiwigoPublishing.c"
+#line 2715 "PiwigoPublishing.c"
}
}
static void publishing_piwigo_piwigo_publisher_real_stop (SpitPublishingPublisher* base) {
PublishingPiwigoPiwigoPublisher * self;
-#line 177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PIWIGO_PUBLISHER, PublishingPiwigoPiwigoPublisher);
-#line 178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->running = FALSE;
-#line 2675 "PiwigoPublishing.c"
+#line 2726 "PiwigoPublishing.c"
}
@@ -2680,34 +2731,34 @@ gchar* publishing_piwigo_piwigo_publisher_get_persistent_url (PublishingPiwigoPi
gchar* result = NULL;
SpitPublishingPluginHost* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), NULL);
-#line 184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "url", NULL);
-#line 184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2693 "PiwigoPublishing.c"
+#line 2744 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_persistent_url (PublishingPiwigoPiwigoPublisher* self, const gchar* url) {
SpitPublishingPluginHost* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (url != NULL);
-#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = url;
-#line 188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "url", _tmp1_);
-#line 2710 "PiwigoPublishing.c"
+#line 2761 "PiwigoPublishing.c"
}
@@ -2715,34 +2766,34 @@ gchar* publishing_piwigo_piwigo_publisher_get_persistent_username (PublishingPiw
gchar* result = NULL;
SpitPublishingPluginHost* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), NULL);
-#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "username", NULL);
-#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2728 "PiwigoPublishing.c"
+#line 2779 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_persistent_username (PublishingPiwigoPiwigoPublisher* self, const gchar* username) {
SpitPublishingPluginHost* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (username != NULL);
-#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = username;
-#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "username", _tmp1_);
-#line 2745 "PiwigoPublishing.c"
+#line 2796 "PiwigoPublishing.c"
}
@@ -2750,32 +2801,32 @@ gchar* publishing_piwigo_piwigo_publisher_get_persistent_password (PublishingPiw
gchar* result = NULL;
SpitPublishingPluginHost* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), NULL);
-#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "password", NULL);
-#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2763 "PiwigoPublishing.c"
+#line 2814 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_persistent_password (PublishingPiwigoPiwigoPublisher* self, const gchar* password) {
SpitPublishingPluginHost* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = password;
-#line 204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "password", _tmp1_);
-#line 2778 "PiwigoPublishing.c"
+#line 2829 "PiwigoPublishing.c"
}
@@ -2783,32 +2834,32 @@ gboolean publishing_piwigo_piwigo_publisher_get_remember_password (PublishingPiw
gboolean result = FALSE;
SpitPublishingPluginHost* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), FALSE);
-#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "remember-password", FALSE);
-#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2796 "PiwigoPublishing.c"
+#line 2847 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_remember_password (PublishingPiwigoPiwigoPublisher* self, gboolean remember_password) {
SpitPublishingPluginHost* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = remember_password;
-#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "remember-password", _tmp1_);
-#line 2811 "PiwigoPublishing.c"
+#line 2862 "PiwigoPublishing.c"
}
@@ -2816,32 +2867,32 @@ gint publishing_piwigo_piwigo_publisher_get_last_category (PublishingPiwigoPiwig
gint result = 0;
SpitPublishingPluginHost* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), 0);
-#line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-category", -1);
-#line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2829 "PiwigoPublishing.c"
+#line 2880 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_last_category (PublishingPiwigoPiwigoPublisher* self, gint last_category) {
SpitPublishingPluginHost* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 223 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = last_category;
-#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-category", _tmp1_);
-#line 2844 "PiwigoPublishing.c"
+#line 2895 "PiwigoPublishing.c"
}
@@ -2849,32 +2900,32 @@ gint publishing_piwigo_piwigo_publisher_get_last_permission_level (PublishingPiw
gint result = 0;
SpitPublishingPluginHost* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 223 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), 0);
-#line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-permission-level", -1);
-#line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2862 "PiwigoPublishing.c"
+#line 2913 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_last_permission_level (PublishingPiwigoPiwigoPublisher* self, gint last_permission_level) {
SpitPublishingPluginHost* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = last_permission_level;
-#line 228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-permission-level", _tmp1_);
-#line 2877 "PiwigoPublishing.c"
+#line 2928 "PiwigoPublishing.c"
}
@@ -2882,32 +2933,32 @@ gint publishing_piwigo_piwigo_publisher_get_last_photo_size (PublishingPiwigoPiw
gint result = 0;
SpitPublishingPluginHost* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 235 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), 0);
-#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-photo-size", -1);
-#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2895 "PiwigoPublishing.c"
+#line 2946 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_last_photo_size (PublishingPiwigoPiwigoPublisher* self, gint last_photo_size) {
SpitPublishingPluginHost* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 235 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 239 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = last_photo_size;
-#line 236 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-photo-size", _tmp1_);
-#line 2910 "PiwigoPublishing.c"
+#line 2961 "PiwigoPublishing.c"
}
@@ -2915,32 +2966,32 @@ static gboolean publishing_piwigo_piwigo_publisher_get_last_title_as_comment (Pu
gboolean result = FALSE;
SpitPublishingPluginHost* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 239 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), FALSE);
-#line 240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-title-as-comment", FALSE);
-#line 240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 240 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2928 "PiwigoPublishing.c"
+#line 2979 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_last_title_as_comment (PublishingPiwigoPiwigoPublisher* self, gboolean title_as_comment) {
SpitPublishingPluginHost* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = title_as_comment;
-#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-title-as-comment", _tmp1_);
-#line 2943 "PiwigoPublishing.c"
+#line 2994 "PiwigoPublishing.c"
}
@@ -2948,32 +2999,32 @@ static gboolean publishing_piwigo_piwigo_publisher_get_last_no_upload_tags (Publ
gboolean result = FALSE;
SpitPublishingPluginHost* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), FALSE);
-#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-no-upload-tags", FALSE);
-#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2961 "PiwigoPublishing.c"
+#line 3012 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_last_no_upload_tags (PublishingPiwigoPiwigoPublisher* self, gboolean no_upload_tags) {
SpitPublishingPluginHost* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = no_upload_tags;
-#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "last-no-upload-tags", _tmp1_);
-#line 2976 "PiwigoPublishing.c"
+#line 3027 "PiwigoPublishing.c"
}
@@ -2981,32 +3032,32 @@ static gboolean publishing_piwigo_piwigo_publisher_get_metadata_removal_choice (
gboolean result = FALSE;
SpitPublishingPluginHost* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), FALSE);
-#line 256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = spit_host_interface_get_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "strip_metadata", FALSE);
-#line 256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 2994 "PiwigoPublishing.c"
+#line 3045 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_set_metadata_removal_choice (PublishingPiwigoPiwigoPublisher* self, gboolean strip_metadata) {
SpitPublishingPluginHost* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = strip_metadata;
-#line 260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "strip_metadata", _tmp1_);
-#line 3009 "PiwigoPublishing.c"
+#line 3060 "PiwigoPublishing.c"
}
@@ -3022,9 +3073,9 @@ static void publishing_piwigo_piwigo_publisher_set_metadata_removal_choice (Publ
* @param mode the mode for the authentication pane
*/
static void _publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clicked_publishing_piwigo_authentication_pane_login (PublishingPiwigoAuthenticationPane* _sender, const gchar* url, const gchar* user, const gchar* password, gboolean remember_password, gpointer self) {
-#line 282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clicked ((PublishingPiwigoPiwigoPublisher*) self, url, user, password, remember_password);
-#line 3027 "PiwigoPublishing.c"
+#line 3078 "PiwigoPublishing.c"
}
@@ -3037,39 +3088,39 @@ static void publishing_piwigo_piwigo_publisher_do_show_authentication_pane (Publ
SpitPublishingPluginHost* _tmp4_ = NULL;
GtkWidget* _tmp5_ = NULL;
GtkWidget* _tmp6_ = NULL;
-#line 276 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:277: ACTION: installing authentication pane");
-#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:281: ACTION: installing authentication pane");
+#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_service_locked (_tmp0_, FALSE);
-#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = mode;
-#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = publishing_piwigo_authentication_pane_new (self, _tmp1_);
-#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
authentication_pane = _tmp2_;
-#line 282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (authentication_pane, "login", (GCallback) _publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clicked_publishing_piwigo_authentication_pane_login, self, 0);
-#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = self->priv->host;
-#line 283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_install_dialog_pane (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (authentication_pane, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE);
-#line 284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->host;
-#line 284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = publishing_piwigo_authentication_pane_get_default_widget (authentication_pane);
-#line 284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = shotwell_plugins_common_builder_pane_get_default_widget (G_TYPE_CHECK_INSTANCE_CAST (authentication_pane, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
+#line 288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp5_;
-#line 284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_dialog_default_widget (_tmp4_, _tmp6_);
-#line 284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (_tmp6_);
-#line 276 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (authentication_pane);
-#line 3072 "PiwigoPublishing.c"
+#line 3123 "PiwigoPublishing.c"
}
@@ -3085,105 +3136,105 @@ static void __lambda6_ (PublishingPiwigoPiwigoPublisher* self) {
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
const gchar* _tmp7_ = NULL;
-#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:293: SSL: User wants us to retry with broken cer" \
+#line 297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:297: SSL: User wants us to retry with broken cer" \
"tificate");
-#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = publishing_piwigo_session_new ();
-#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_session_unref0 (self->priv->session);
-#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->session = _tmp0_;
-#line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->session;
-#line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_session_set_insecure (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession));
-#line 297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = publishing_piwigo_piwigo_publisher_get_persistent_url (self);
-#line 297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
persistent_url = _tmp2_;
-#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishing_piwigo_piwigo_publisher_get_persistent_username (self);
-#line 298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
persistent_username = _tmp3_;
-#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = publishing_piwigo_piwigo_publisher_get_persistent_password (self);
-#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
persistent_password = _tmp4_;
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = persistent_url;
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp7_ != NULL) {
-#line 3116 "PiwigoPublishing.c"
+#line 3167 "PiwigoPublishing.c"
const gchar* _tmp8_ = NULL;
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = persistent_username;
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp8_ != NULL;
-#line 3122 "PiwigoPublishing.c"
+#line 3173 "PiwigoPublishing.c"
} else {
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = FALSE;
-#line 3126 "PiwigoPublishing.c"
+#line 3177 "PiwigoPublishing.c"
}
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp6_) {
-#line 3130 "PiwigoPublishing.c"
+#line 3181 "PiwigoPublishing.c"
const gchar* _tmp9_ = NULL;
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = persistent_password;
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = _tmp9_ != NULL;
-#line 3136 "PiwigoPublishing.c"
+#line 3187 "PiwigoPublishing.c"
} else {
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = FALSE;
-#line 3140 "PiwigoPublishing.c"
+#line 3191 "PiwigoPublishing.c"
}
-#line 300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp5_) {
-#line 3144 "PiwigoPublishing.c"
+#line 3195 "PiwigoPublishing.c"
const gchar* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
-#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = persistent_url;
-#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = persistent_username;
-#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = persistent_password;
-#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = publishing_piwigo_piwigo_publisher_get_remember_password (self);
-#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_network_login (self, _tmp10_, _tmp11_, _tmp12_, _tmp13_);
-#line 3159 "PiwigoPublishing.c"
+#line 3210 "PiwigoPublishing.c"
} else {
-#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_INTRO);
-#line 3163 "PiwigoPublishing.c"
+#line 3214 "PiwigoPublishing.c"
}
-#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (persistent_password);
-#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (persistent_username);
-#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (persistent_url);
-#line 3171 "PiwigoPublishing.c"
+#line 3222 "PiwigoPublishing.c"
}
static void ___lambda6__publishing_piwigo_ssl_error_pane_proceed (PublishingPiwigoSSLErrorPane* _sender, gpointer self) {
-#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
__lambda6_ ((PublishingPiwigoPiwigoPublisher*) self);
-#line 3178 "PiwigoPublishing.c"
+#line 3229 "PiwigoPublishing.c"
}
static void _vala_SoupURI_free (SoupURI* self) {
-#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_boxed_free (soup_uri_get_type (), self);
-#line 3185 "PiwigoPublishing.c"
+#line 3236 "PiwigoPublishing.c"
}
@@ -3200,51 +3251,51 @@ static void publishing_piwigo_piwigo_publisher_do_show_ssl_downgrade_pane (Publi
SpitPublishingPluginHost* _tmp7_ = NULL;
GtkWidget* _tmp8_ = NULL;
GtkWidget* _tmp9_ = NULL;
-#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION_LOGIN_TRANSACTION (trans));
-#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (url != NULL);
-#line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = url;
-#line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = soup_uri_new (_tmp0_);
-#line 289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
uri = _tmp1_;
-#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->host;
-#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_service_locked (_tmp2_, FALSE);
-#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = trans;
-#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = soup_uri_get_host (uri);
-#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_piwigo_ssl_error_pane_new (_tmp3_, _tmp4_);
-#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
ssl_pane = _tmp5_;
-#line 292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (ssl_pane, "proceed", (GCallback) ___lambda6__publishing_piwigo_ssl_error_pane_proceed, self, 0);
-#line 306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = self->priv->host;
-#line 306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_install_dialog_pane (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (ssl_pane, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE);
-#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = self->priv->host;
-#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp8_ = publishing_piwigo_ssl_error_pane_get_default_widget (ssl_pane);
-#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp8_ = shotwell_plugins_common_builder_pane_get_default_widget (G_TYPE_CHECK_INSTANCE_CAST (ssl_pane, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
+#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = _tmp8_;
-#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_dialog_default_widget (_tmp7_, _tmp9_);
-#line 308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (_tmp9_);
-#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (ssl_pane);
-#line 287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
__vala_SoupURI_free0 (uri);
-#line 3246 "PiwigoPublishing.c"
+#line 3297 "PiwigoPublishing.c"
}
@@ -3265,35 +3316,35 @@ static void publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clic
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (url != NULL);
-#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (username != NULL);
-#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_if_fail (password != NULL);
-#line 325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:325: EVENT: on_authentication_pane_login_clicked");
#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (password != NULL);
+#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:329: EVENT: on_authentication_pane_login_clicked");
+#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->running;
-#line 326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp0_) {
-#line 327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3283 "PiwigoPublishing.c"
+#line 3334 "PiwigoPublishing.c"
}
-#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = url;
-#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = username;
-#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = password;
-#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = remember_password;
-#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_network_login (self, _tmp1_, _tmp2_, _tmp3_, _tmp4_);
-#line 3295 "PiwigoPublishing.c"
+#line 3346 "PiwigoPublishing.c"
}
@@ -3309,16 +3360,16 @@ static void publishing_piwigo_piwigo_publisher_on_authentication_pane_login_clic
* @param password the password of the Piwigo user used to login
*/
static void _publishing_piwigo_piwigo_publisher_on_login_network_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
-#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_login_network_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err);
-#line 3313 "PiwigoPublishing.c"
+#line 3364 "PiwigoPublishing.c"
}
static void _publishing_piwigo_piwigo_publisher_on_login_network_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
-#line 357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_login_network_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender);
-#line 3320 "PiwigoPublishing.c"
+#line 3371 "PiwigoPublishing.c"
}
@@ -3337,88 +3388,88 @@ static void publishing_piwigo_piwigo_publisher_do_network_login (PublishingPiwig
PublishingPiwigoSessionLoginTransaction* _tmp11_ = NULL;
PublishingPiwigoSessionLoginTransaction* _tmp12_ = NULL;
GError * _inner_error_ = NULL;
-#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (url != NULL);
-#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (username != NULL);
-#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (password != NULL);
-#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:344: ACTION: logging in");
-#line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:348: ACTION: logging in");
+#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_service_locked (_tmp0_, TRUE);
-#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->host;
-#line 346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_install_login_wait_pane (_tmp1_);
-#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = remember_password;
-#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_remember_password (self, _tmp2_);
-#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = remember_password;
-#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp3_) {
-#line 3365 "PiwigoPublishing.c"
+#line 3416 "PiwigoPublishing.c"
const gchar* _tmp4_ = NULL;
-#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = password;
-#line 350 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_persistent_password (self, _tmp4_);
-#line 3371 "PiwigoPublishing.c"
+#line 3422 "PiwigoPublishing.c"
} else {
-#line 352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_persistent_password (self, NULL);
-#line 3375 "PiwigoPublishing.c"
+#line 3426 "PiwigoPublishing.c"
}
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = self->priv->session;
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = url;
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = publishing_piwigo_piwigo_publisher_normalise_url (_tmp6_);
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = _tmp7_;
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = username;
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = password;
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = publishing_piwigo_session_login_transaction_new (_tmp5_, _tmp8_, _tmp9_, _tmp10_);
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = _tmp11_;
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp8_);
-#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
login_trans = _tmp12_;
-#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (login_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (login_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_complete_publishing_rest_support_transaction_completed, self, 0);
-#line 3401 "PiwigoPublishing.c"
+#line 3452 "PiwigoPublishing.c"
{
-#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (login_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
-#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 3409 "PiwigoPublishing.c"
+#line 3460 "PiwigoPublishing.c"
goto __catch32_spit_publishing_publishing_error;
}
-#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (login_trans);
-#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 360 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3420 "PiwigoPublishing.c"
+#line 3471 "PiwigoPublishing.c"
}
}
goto __finally32;
@@ -3426,53 +3477,53 @@ static void publishing_piwigo_piwigo_publisher_do_network_login (PublishingPiwig
{
GError* err = NULL;
GError* _tmp13_ = NULL;
-#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = err;
-#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_error_matches (_tmp13_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_SSL_FAILED)) {
-#line 3436 "PiwigoPublishing.c"
+#line 3487 "PiwigoPublishing.c"
const gchar* _tmp14_ = NULL;
-#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:363: ERROR: SSL connection problems");
-#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:367: ERROR: SSL connection problems");
+#line 368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = url;
-#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_ssl_downgrade_pane (self, login_trans, _tmp14_);
-#line 3444 "PiwigoPublishing.c"
+#line 3495 "PiwigoPublishing.c"
} else {
GError* _tmp15_ = NULL;
-#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:366: ERROR: do_network_login");
-#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:370: ERROR: do_network_login");
+#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = err;
-#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp15_);
-#line 3453 "PiwigoPublishing.c"
+#line 3504 "PiwigoPublishing.c"
}
-#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 3457 "PiwigoPublishing.c"
+#line 3508 "PiwigoPublishing.c"
}
__finally32:
-#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (login_trans);
-#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3470 "PiwigoPublishing.c"
+#line 3521 "PiwigoPublishing.c"
}
-#line 343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (login_trans);
-#line 3474 "PiwigoPublishing.c"
+#line 3525 "PiwigoPublishing.c"
}
@@ -3486,95 +3537,95 @@ gchar* publishing_piwigo_piwigo_publisher_normalise_url (const gchar* url) {
gboolean _tmp10_ = FALSE;
const gchar* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
-#line 372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = url;
-#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
norm_url = _tmp1_;
-#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = norm_url;
-#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = g_str_has_suffix (_tmp2_, ".php");
-#line 375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp3_) {
-#line 3502 "PiwigoPublishing.c"
+#line 3553 "PiwigoPublishing.c"
const gchar* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
const gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = norm_url;
-#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = g_str_has_suffix (_tmp4_, "/");
-#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp5_) {
-#line 3513 "PiwigoPublishing.c"
+#line 3564 "PiwigoPublishing.c"
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = norm_url;
-#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = g_strconcat (_tmp6_, "/", NULL);
-#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (norm_url);
-#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
norm_url = _tmp7_;
-#line 3524 "PiwigoPublishing.c"
+#line 3575 "PiwigoPublishing.c"
}
-#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = norm_url;
-#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = g_strconcat (_tmp8_, PUBLISHING_PIWIGO_PIWIGO_WS, NULL);
-#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (norm_url);
-#line 379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
norm_url = _tmp9_;
-#line 3534 "PiwigoPublishing.c"
+#line 3585 "PiwigoPublishing.c"
}
-#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = norm_url;
-#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = g_str_has_prefix (_tmp11_, "http://");
-#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp12_) {
-#line 3542 "PiwigoPublishing.c"
+#line 3593 "PiwigoPublishing.c"
const gchar* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
-#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = norm_url;
-#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = g_str_has_prefix (_tmp13_, "https://");
-#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = !_tmp14_;
-#line 3551 "PiwigoPublishing.c"
+#line 3602 "PiwigoPublishing.c"
} else {
-#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = FALSE;
-#line 3555 "PiwigoPublishing.c"
+#line 3606 "PiwigoPublishing.c"
}
-#line 382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp10_) {
-#line 3559 "PiwigoPublishing.c"
+#line 3610 "PiwigoPublishing.c"
const gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
-#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = norm_url;
-#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = g_strconcat ("http://", _tmp15_, NULL);
-#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (norm_url);
-#line 383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
norm_url = _tmp16_;
-#line 3570 "PiwigoPublishing.c"
+#line 3621 "PiwigoPublishing.c"
}
-#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = norm_url;
-#line 386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 3576 "PiwigoPublishing.c"
+#line 3627 "PiwigoPublishing.c"
}
@@ -3594,18 +3645,18 @@ gchar* publishing_piwigo_piwigo_publisher_normalise_url (const gchar* url) {
static gchar* _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response (PublishingRESTSupportXmlDocument* doc, gpointer self) {
gchar* result;
result = publishing_piwigo_transaction_validate_xml (doc);
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 3598 "PiwigoPublishing.c"
+#line 3649 "PiwigoPublishing.c"
}
static gchar* _publishing_piwigo_transaction_get_error_code_publishing_rest_support_xml_document_check_for_error_response (PublishingRESTSupportXmlDocument* doc, gpointer self) {
gchar* result;
result = publishing_piwigo_transaction_get_error_code (doc);
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 3607 "PiwigoPublishing.c"
+#line 3658 "PiwigoPublishing.c"
}
@@ -3627,106 +3678,106 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis
const gchar* _tmp27_ = NULL;
const gchar* _tmp28_ = NULL;
GError * _inner_error_ = NULL;
-#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn));
-#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:403: EVENT: on_login_network_complete");
-#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:407: EVENT: on_login_network_complete");
+#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = txn;
-#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_complete_publishing_rest_support_transaction_completed, self);
-#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = txn;
-#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_error_publishing_rest_support_transaction_network_error, self);
-#line 3647 "PiwigoPublishing.c"
+#line 3698 "PiwigoPublishing.c"
{
PublishingRESTSupportTransaction* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
PublishingRESTSupportXmlDocument* _tmp7_ = NULL;
PublishingRESTSupportXmlDocument* _tmp8_ = NULL;
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = txn;
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_);
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp5_;
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = publishing_rest_support_xml_document_parse_string (_tmp6_, _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_);
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = _tmp7_;
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (_tmp8_);
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp6_);
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 3672 "PiwigoPublishing.c"
+#line 3723 "PiwigoPublishing.c"
goto __catch33_spit_publishing_publishing_error;
}
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3681 "PiwigoPublishing.c"
+#line 3732 "PiwigoPublishing.c"
}
}
goto __finally33;
__catch33_spit_publishing_publishing_error:
{
GError* err = NULL;
-#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 3692 "PiwigoPublishing.c"
+#line 3743 "PiwigoPublishing.c"
{
PublishingRESTSupportTransaction* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
PublishingRESTSupportXmlDocument* _tmp12_ = NULL;
PublishingRESTSupportXmlDocument* _tmp13_ = NULL;
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = txn;
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = publishing_rest_support_transaction_get_response (_tmp9_);
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = _tmp10_;
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = publishing_rest_support_xml_document_parse_string (_tmp11_, _publishing_piwigo_transaction_get_error_code_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_);
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = _tmp12_;
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (_tmp13_);
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp11_);
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 3717 "PiwigoPublishing.c"
+#line 3768 "PiwigoPublishing.c"
goto __catch34_spit_publishing_publishing_error;
}
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3728 "PiwigoPublishing.c"
+#line 3779 "PiwigoPublishing.c"
}
}
goto __finally34;
@@ -3738,110 +3789,110 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis
const gchar* _tmp15_ = NULL;
gint _tmp16_ = 0;
gint _tmp17_ = 0;
-#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
code = _inner_error_;
-#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _inner_error_ = NULL;
#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _inner_error_ = NULL;
+#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = code;
-#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = _tmp14_->message;
-#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = atoi (_tmp15_);
-#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
code_int = _tmp16_;
-#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = code_int;
-#line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp17_ == 999) {
-#line 418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:418: ERROR: on_login_network_complete, code 999");
-#line 419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:422: ERROR: on_login_network_complete, code 999");
+#line 423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_USER);
-#line 3760 "PiwigoPublishing.c"
+#line 3811 "PiwigoPublishing.c"
} else {
GError* _tmp18_ = NULL;
-#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:421: ERROR: on_login_network_complete");
-#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:425: ERROR: on_login_network_complete");
+#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = err;
-#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp18_);
-#line 3769 "PiwigoPublishing.c"
+#line 3820 "PiwigoPublishing.c"
}
-#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (code);
-#line 3773 "PiwigoPublishing.c"
+#line 3824 "PiwigoPublishing.c"
}
__finally34:
-#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3788 "PiwigoPublishing.c"
+#line 3839 "PiwigoPublishing.c"
}
-#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3794 "PiwigoPublishing.c"
+#line 3845 "PiwigoPublishing.c"
}
__finally33:
-#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3805 "PiwigoPublishing.c"
+#line 3856 "PiwigoPublishing.c"
}
-#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = txn;
-#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_ = publishing_rest_support_transaction_get_endpoint_url (_tmp19_);
-#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
endpoint_url = _tmp20_;
-#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp21_ = endpoint_url;
-#line 429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:429: Setting endpoint URL to %s", _tmp21_);
-#line 430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:433: Setting endpoint URL to %s", _tmp21_);
+#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp22_ = txn;
-#line 430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp23_ = publishing_piwigo_piwigo_publisher_get_pwg_id_from_transaction (self, _tmp22_);
-#line 430 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
pwg_id = _tmp23_;
-#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp24_ = pwg_id;
-#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:431: Setting session pwg_id to %s", _tmp24_);
-#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:435: Setting session pwg_id to %s", _tmp24_);
+#line 436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp25_ = self->priv->session;
-#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp26_ = pwg_id;
-#line 432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_session_set_pwg_id (_tmp25_, _tmp26_);
-#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp27_ = endpoint_url;
-#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp28_ = pwg_id;
-#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_fetch_session_status (self, _tmp27_, _tmp28_);
-#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (pwg_id);
-#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (endpoint_url);
-#line 3843 "PiwigoPublishing.c"
+#line 3894 "PiwigoPublishing.c"
}
@@ -3863,37 +3914,37 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_error (Publishin
guint _tmp3_ = 0U;
PublishingPiwigoSession* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn));
#line 452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:452: EVENT: on_login_network_error");
-#line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn));
+#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:456: EVENT: on_login_network_error");
+#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = bad_txn;
-#line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 453 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_complete_publishing_rest_support_transaction_completed, self);
-#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = bad_txn;
-#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 454 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_login_network_error_publishing_rest_support_transaction_network_error, self);
-#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->session;
-#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession));
-#line 456 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 460 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp5_) {
-#line 457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3891 "PiwigoPublishing.c"
+#line 3942 "PiwigoPublishing.c"
}
-#line 459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_URL);
-#line 3895 "PiwigoPublishing.c"
+#line 3946 "PiwigoPublishing.c"
}
@@ -3908,16 +3959,16 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_error (Publishin
* identity.
*/
static void _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
-#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_session_get_status_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err);
-#line 3912 "PiwigoPublishing.c"
+#line 3963 "PiwigoPublishing.c"
}
static void _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
-#line 480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_session_get_status_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender);
-#line 3919 "PiwigoPublishing.c"
+#line 3970 "PiwigoPublishing.c"
}
@@ -3927,29 +3978,29 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi
PublishingPiwigoSession* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
GError * _inner_error_ = NULL;
-#line 472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (url != NULL);
-#line 472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (pwg_id != NULL);
-#line 473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:473: ACTION: fetching session status");
-#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:477: ACTION: fetching session status");
+#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_service_locked (_tmp0_, TRUE);
-#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->host;
-#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_install_account_fetch_wait_pane (_tmp1_);
-#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->session;
-#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession));
-#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp3_) {
-#line 3951 "PiwigoPublishing.c"
+#line 4002 "PiwigoPublishing.c"
PublishingPiwigoSessionGetStatusTransaction* status_txn = NULL;
PublishingPiwigoSession* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
@@ -3957,47 +4008,47 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi
PublishingPiwigoSessionGetStatusTransaction* _tmp7_ = NULL;
PublishingPiwigoSessionGetStatusTransaction* _tmp8_ = NULL;
PublishingPiwigoSessionGetStatusTransaction* _tmp9_ = NULL;
-#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->session;
-#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = url;
-#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = pwg_id;
-#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = publishing_piwigo_session_get_status_transaction_new_unauthenticated (_tmp4_, _tmp5_, _tmp6_);
-#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
status_txn = _tmp7_;
-#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = status_txn;
-#line 479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = status_txn;
-#line 480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed, self, 0);
-#line 3977 "PiwigoPublishing.c"
+#line 4028 "PiwigoPublishing.c"
{
PublishingPiwigoSessionGetStatusTransaction* _tmp10_ = NULL;
-#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = status_txn;
-#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
-#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 3988 "PiwigoPublishing.c"
+#line 4039 "PiwigoPublishing.c"
goto __catch35_spit_publishing_publishing_error;
}
-#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (status_txn);
-#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 3999 "PiwigoPublishing.c"
+#line 4050 "PiwigoPublishing.c"
}
}
goto __finally35;
@@ -4005,80 +4056,80 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi
{
GError* err = NULL;
GError* _tmp11_ = NULL;
-#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:485: ERROR: do_fetch_session_status, not authent" \
+#line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:489: ERROR: do_fetch_session_status, not authent" \
"icated");
-#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = err;
-#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp11_);
-#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 4019 "PiwigoPublishing.c"
+#line 4070 "PiwigoPublishing.c"
}
__finally35:
-#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (status_txn);
-#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4032 "PiwigoPublishing.c"
+#line 4083 "PiwigoPublishing.c"
}
-#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (status_txn);
-#line 4036 "PiwigoPublishing.c"
+#line 4087 "PiwigoPublishing.c"
} else {
PublishingPiwigoSessionGetStatusTransaction* status_txn = NULL;
PublishingPiwigoSession* _tmp12_ = NULL;
PublishingPiwigoSessionGetStatusTransaction* _tmp13_ = NULL;
PublishingPiwigoSessionGetStatusTransaction* _tmp14_ = NULL;
PublishingPiwigoSessionGetStatusTransaction* _tmp15_ = NULL;
-#line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = self->priv->session;
-#line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = publishing_piwigo_session_get_status_transaction_new (_tmp12_);
-#line 489 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
status_txn = _tmp13_;
-#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = status_txn;
-#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = status_txn;
-#line 491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed, self, 0);
-#line 4057 "PiwigoPublishing.c"
+#line 4108 "PiwigoPublishing.c"
{
PublishingPiwigoSessionGetStatusTransaction* _tmp16_ = NULL;
-#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = status_txn;
-#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
-#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4068 "PiwigoPublishing.c"
+#line 4119 "PiwigoPublishing.c"
goto __catch36_spit_publishing_publishing_error;
}
-#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (status_txn);
-#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4079 "PiwigoPublishing.c"
+#line 4130 "PiwigoPublishing.c"
}
}
goto __finally36;
@@ -4086,37 +4137,37 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi
{
GError* err = NULL;
GError* _tmp17_ = NULL;
-#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:496: ERROR: do_fetch_session_status, authenticat" \
+#line 500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:500: ERROR: do_fetch_session_status, authenticat" \
"ed");
-#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = err;
-#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp17_);
-#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 4099 "PiwigoPublishing.c"
+#line 4150 "PiwigoPublishing.c"
}
__finally36:
-#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (status_txn);
-#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4112 "PiwigoPublishing.c"
+#line 4163 "PiwigoPublishing.c"
}
-#line 477 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (status_txn);
-#line 4116 "PiwigoPublishing.c"
+#line 4167 "PiwigoPublishing.c"
}
}
@@ -4136,31 +4187,31 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P
PublishingPiwigoSession* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
GError * _inner_error_ = NULL;
-#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn));
-#line 510 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:510: EVENT: on_session_get_status_complete");
-#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:514: EVENT: on_session_get_status_complete");
+#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = txn;
-#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 511 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed, self);
-#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = txn;
-#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error, self);
-#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->session;
-#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession));
-#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp5_) {
-#line 4160 "PiwigoPublishing.c"
+#line 4211 "PiwigoPublishing.c"
gchar* endpoint_url = NULL;
PublishingRESTSupportTransaction* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
@@ -4168,23 +4219,23 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P
PublishingPiwigoSession* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
const gchar* _tmp10_ = NULL;
-#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = txn;
-#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = publishing_rest_support_transaction_get_endpoint_url (_tmp6_);
-#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
endpoint_url = _tmp7_;
-#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = self->priv->session;
-#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = publishing_piwigo_session_get_pwg_id (_tmp8_);
-#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
pwg_id = _tmp9_;
-#line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = pwg_id;
-#line 517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:517: Fetching session status for pwg_id %s", _tmp10_);
-#line 4184 "PiwigoPublishing.c"
+#line 521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:521: Fetching session status for pwg_id %s", _tmp10_);
+#line 4235 "PiwigoPublishing.c"
{
PublishingRESTSupportXmlDocument* doc = NULL;
PublishingRESTSupportTransaction* _tmp11_ = NULL;
@@ -4196,46 +4247,46 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P
PublishingRESTSupportXmlDocument* _tmp16_ = NULL;
xmlNode* _tmp17_ = NULL;
xmlNode* username_node = NULL;
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = txn;
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = publishing_rest_support_transaction_get_response (_tmp11_);
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = _tmp12_;
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = publishing_rest_support_xml_document_parse_string (_tmp13_, _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_);
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = _tmp14_;
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp13_);
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
doc = _tmp15_;
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4214 "PiwigoPublishing.c"
+#line 4265 "PiwigoPublishing.c"
goto __catch37_spit_publishing_publishing_error;
}
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (pwg_id);
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (endpoint_url);
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4227 "PiwigoPublishing.c"
+#line 4278 "PiwigoPublishing.c"
}
-#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = doc;
-#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = publishing_rest_support_xml_document_get_root_node (_tmp16_);
-#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
root = _tmp17_;
-#line 4235 "PiwigoPublishing.c"
+#line 4286 "PiwigoPublishing.c"
{
xmlNode* _tmp18_ = NULL;
PublishingRESTSupportXmlDocument* _tmp19_ = NULL;
@@ -4255,189 +4306,189 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P
PublishingPiwigoSession* _tmp32_ = NULL;
gchar* _tmp33_ = NULL;
gchar* _tmp34_ = NULL;
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = doc;
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_ = root;
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp21_ = publishing_rest_support_xml_document_get_named_child (_tmp19_, _tmp20_, "username", &_inner_error_);
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = _tmp21_;
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4267 "PiwigoPublishing.c"
+#line 4318 "PiwigoPublishing.c"
goto __catch38_spit_publishing_publishing_error;
}
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (pwg_id);
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (endpoint_url);
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4282 "PiwigoPublishing.c"
+#line 4333 "PiwigoPublishing.c"
}
-#line 526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
username_node = _tmp18_;
-#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp22_ = username_node;
-#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp23_ = (gchar*) xmlNodeGetContent (_tmp22_);
-#line 527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
username = _tmp23_;
-#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp24_ = username;
-#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:528: Returned username is %s", _tmp24_);
-#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:532: Returned username is %s", _tmp24_);
+#line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp25_ = self->priv->session;
-#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp26_ = endpoint_url;
-#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp27_ = username;
-#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp28_ = pwg_id;
-#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 533 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_session_authenticate (_tmp25_, _tmp26_, _tmp27_, _tmp28_);
-#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp29_ = self->priv->session;
-#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp30_ = publishing_piwigo_session_get_pwg_url (_tmp29_);
-#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp31_ = _tmp30_;
-#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_persistent_url (self, _tmp31_);
-#line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp31_);
-#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp32_ = self->priv->session;
-#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp33_ = publishing_piwigo_session_get_username (_tmp32_);
-#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp34_ = _tmp33_;
-#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_persistent_username (self, _tmp34_);
-#line 531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp34_);
-#line 532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_fetch_categories (self);
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (username);
-#line 4330 "PiwigoPublishing.c"
+#line 4381 "PiwigoPublishing.c"
}
goto __finally38;
__catch38_spit_publishing_publishing_error:
{
GError* err2 = NULL;
GError* _tmp35_ = NULL;
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err2 = _inner_error_;
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:534: ERROR: on_session_get_status_complete, inne" \
+#line 538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:538: ERROR: on_session_get_status_complete, inne" \
"r");
-#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp35_ = err2;
-#line 535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp35_);
-#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err2);
-#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (pwg_id);
-#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (endpoint_url);
-#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4357 "PiwigoPublishing.c"
+#line 4408 "PiwigoPublishing.c"
}
__finally38:
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4366 "PiwigoPublishing.c"
+#line 4417 "PiwigoPublishing.c"
goto __catch37_spit_publishing_publishing_error;
}
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (pwg_id);
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (endpoint_url);
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4381 "PiwigoPublishing.c"
+#line 4432 "PiwigoPublishing.c"
}
-#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 4385 "PiwigoPublishing.c"
+#line 4436 "PiwigoPublishing.c"
}
goto __finally37;
__catch37_spit_publishing_publishing_error:
{
GError* err = NULL;
GError* _tmp36_ = NULL;
-#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:539: ERROR: on_session_get_status_complete, oute" \
+#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:543: ERROR: on_session_get_status_complete, oute" \
"r");
-#line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp36_ = err;
-#line 540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp36_);
-#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (pwg_id);
-#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (endpoint_url);
-#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4410 "PiwigoPublishing.c"
+#line 4461 "PiwigoPublishing.c"
}
__finally37:
-#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (pwg_id);
-#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (endpoint_url);
-#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 519 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4425 "PiwigoPublishing.c"
+#line 4476 "PiwigoPublishing.c"
}
-#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (pwg_id);
-#line 514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (endpoint_url);
-#line 4431 "PiwigoPublishing.c"
+#line 4482 "PiwigoPublishing.c"
} else {
-#line 547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_fetch_categories (self);
-#line 4435 "PiwigoPublishing.c"
+#line 4486 "PiwigoPublishing.c"
}
}
@@ -4452,31 +4503,31 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_error (Publ
guint _tmp3_ = 0U;
PublishingRESTSupportTransaction* _tmp4_ = NULL;
GError* _tmp5_ = NULL;
-#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn));
#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:558: EVENT: on_session_get_status_error");
-#line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn));
+#line 562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:562: EVENT: on_session_get_status_error");
+#line 563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = bad_txn;
-#line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 559 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_complete_publishing_rest_support_transaction_completed, self);
-#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = bad_txn;
-#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_session_get_status_error_publishing_rest_support_transaction_network_error, self);
-#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = bad_txn;
-#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = err;
-#line 561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_network_error (self, _tmp4_, _tmp5_);
-#line 4474 "PiwigoPublishing.c"
+#line 4525 "PiwigoPublishing.c"
}
@@ -4487,16 +4538,16 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_error (Publ
* to populate the publishing pane presented to the user.
*/
static void _publishing_piwigo_piwigo_publisher_on_category_fetch_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
-#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_category_fetch_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err);
-#line 4487 "PiwigoPublishing.c"
+#line 4538 "PiwigoPublishing.c"
}
static void _publishing_piwigo_piwigo_publisher_on_category_fetch_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
-#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_category_fetch_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender);
-#line 4494 "PiwigoPublishing.c"
+#line 4545 "PiwigoPublishing.c"
}
@@ -4507,48 +4558,48 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi
PublishingPiwigoSession* _tmp2_ = NULL;
PublishingPiwigoCategoriesGetListTransaction* _tmp3_ = NULL;
GError * _inner_error_ = NULL;
-#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:571: ACTION: fetching categories");
-#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:575: ACTION: fetching categories");
+#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_service_locked (_tmp0_, TRUE);
-#line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->host;
-#line 573 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_install_account_fetch_wait_pane (_tmp1_);
-#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->session;
-#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishing_piwigo_categories_get_list_transaction_new (_tmp2_);
-#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
cat_trans = _tmp3_;
-#line 576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (cat_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 577 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (cat_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_complete_publishing_rest_support_transaction_completed, self, 0);
-#line 4527 "PiwigoPublishing.c"
+#line 4578 "PiwigoPublishing.c"
{
-#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (cat_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
-#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4535 "PiwigoPublishing.c"
+#line 4586 "PiwigoPublishing.c"
goto __catch39_spit_publishing_publishing_error;
}
-#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (cat_trans);
-#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4546 "PiwigoPublishing.c"
+#line 4597 "PiwigoPublishing.c"
}
}
goto __finally39;
@@ -4556,36 +4607,36 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi
{
GError* err = NULL;
GError* _tmp4_ = NULL;
-#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _inner_error_ = NULL;
-#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:582: ERROR: do_fetch_categories");
#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _inner_error_ = NULL;
+#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:586: ERROR: do_fetch_categories");
+#line 587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = err;
-#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp4_);
-#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 4566 "PiwigoPublishing.c"
+#line 4617 "PiwigoPublishing.c"
}
__finally39:
-#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (cat_trans);
-#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4579 "PiwigoPublishing.c"
+#line 4630 "PiwigoPublishing.c"
}
-#line 570 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (cat_trans);
-#line 4583 "PiwigoPublishing.c"
+#line 4634 "PiwigoPublishing.c"
}
@@ -4597,19 +4648,19 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi
* publishing options pane.
*/
static void _vala_array_add34 (PublishingPiwigoCategory*** array, int* length, int* size, PublishingPiwigoCategory* value) {
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoCategory*, *array, (*size) + 1);
-#line 4601 "PiwigoPublishing.c"
+#line 4652 "PiwigoPublishing.c"
}
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 4607 "PiwigoPublishing.c"
+#line 4658 "PiwigoPublishing.c"
}
@@ -4624,49 +4675,49 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi
PublishingPiwigoCategory** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
GError * _inner_error_ = NULL;
-#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn));
-#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:595: EVENT: on_category_fetch_complete");
-#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:599: EVENT: on_category_fetch_complete");
+#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = txn;
-#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_complete_publishing_rest_support_transaction_completed, self);
-#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = txn;
-#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_error_publishing_rest_support_transaction_network_error, self);
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = txn;
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_);
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp5_;
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:598: PiwigoConnector: list of categories: %s", _tmp6_);
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:602: PiwigoConnector: list of categories: %s", _tmp6_);
+#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp6_);
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = self->priv->categories;
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7__length1 = self->priv->categories_length1;
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp7_ != NULL) {
-#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->categories = (_vala_array_free (self->priv->categories, self->priv->categories_length1, (GDestroyNotify) publishing_piwigo_category_unref), NULL);
-#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->categories = NULL;
-#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->categories_length1 = 0;
-#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->_categories_size_ = self->priv->categories_length1;
-#line 4664 "PiwigoPublishing.c"
+#line 4715 "PiwigoPublishing.c"
}
{
PublishingRESTSupportXmlDocument* doc = NULL;
@@ -4692,578 +4743,525 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi
gchar* _tmp20_ = NULL;
gchar* uppercats = NULL;
gchar* _tmp21_ = NULL;
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ GeeHashMap* id_map = NULL;
+ GeeHashMap* _tmp22_ = NULL;
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = txn;
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = publishing_rest_support_transaction_get_response (_tmp8_);
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = _tmp9_;
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = publishing_rest_support_xml_document_parse_string (_tmp10_, _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_);
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = _tmp11_;
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp10_);
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
doc = _tmp12_;
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4708 "PiwigoPublishing.c"
+#line 4761 "PiwigoPublishing.c"
goto __catch40_spit_publishing_publishing_error;
}
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4717 "PiwigoPublishing.c"
+#line 4770 "PiwigoPublishing.c"
}
-#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = doc;
-#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = publishing_rest_support_xml_document_get_root_node (_tmp13_);
-#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
root = _tmp14_;
-#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = root;
-#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = xmlFirstElementChild (_tmp15_);
-#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
categories_node = _tmp16_;
-#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = categories_node;
-#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = _tmp17_->children;
-#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
category_node_iter = _tmp18_;
-#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = g_strdup ("");
-#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
name = _tmp19_;
-#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_ = g_strdup ("");
-#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
id_string = _tmp20_;
-#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp21_ = g_strdup ("");
-#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
uppercats = _tmp21_;
-#line 4749 "PiwigoPublishing.c"
+#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp22_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ id_map = _tmp22_;
+#line 4806 "PiwigoPublishing.c"
{
- gboolean _tmp22_ = FALSE;
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp22_ = TRUE;
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gboolean _tmp23_ = FALSE;
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp23_ = TRUE;
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
while (TRUE) {
-#line 4756 "PiwigoPublishing.c"
- xmlNode* _tmp25_ = NULL;
+#line 4813 "PiwigoPublishing.c"
xmlNode* _tmp26_ = NULL;
- PublishingRESTSupportXmlDocument* _tmp27_ = NULL;
- xmlNode* _tmp28_ = NULL;
+ xmlNode* _tmp27_ = NULL;
+ PublishingRESTSupportXmlDocument* _tmp28_ = NULL;
xmlNode* _tmp29_ = NULL;
xmlNode* _tmp30_ = NULL;
- gchar* _tmp31_ = NULL;
- xmlNode* _tmp32_ = NULL;
- PublishingRESTSupportXmlDocument* _tmp33_ = NULL;
- xmlNode* _tmp34_ = NULL;
+ xmlNode* _tmp31_ = NULL;
+ gchar* _tmp32_ = NULL;
+ xmlNode* _tmp33_ = NULL;
+ PublishingRESTSupportXmlDocument* _tmp34_ = NULL;
xmlNode* _tmp35_ = NULL;
xmlNode* _tmp36_ = NULL;
- gchar* _tmp37_ = NULL;
- xmlNode* _tmp38_ = NULL;
- gchar* _tmp39_ = NULL;
- PublishingPiwigoCategory** _tmp40_ = NULL;
- gint _tmp40__length1 = 0;
- PublishingPiwigoCategory** _tmp42_ = NULL;
- gint _tmp42__length1 = 0;
+ xmlNode* _tmp37_ = NULL;
+ gchar* _tmp38_ = NULL;
+ xmlNode* _tmp39_ = NULL;
+ gchar* _tmp40_ = NULL;
+ GeeHashMap* _tmp41_ = NULL;
+ const gchar* _tmp42_ = NULL;
const gchar* _tmp43_ = NULL;
- gint _tmp44_ = 0;
- const gchar* _tmp45_ = NULL;
- const gchar* _tmp46_ = NULL;
- PublishingPiwigoCategory* _tmp47_ = NULL;
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!_tmp22_) {
-#line 4783 "PiwigoPublishing.c"
- xmlNode* _tmp23_ = NULL;
+ PublishingPiwigoCategory** _tmp44_ = NULL;
+ gint _tmp44__length1 = 0;
+ PublishingPiwigoCategory** _tmp46_ = NULL;
+ gint _tmp46__length1 = 0;
+ const gchar* _tmp47_ = NULL;
+ gint _tmp48_ = 0;
+ const gchar* _tmp49_ = NULL;
+ const gchar* _tmp50_ = NULL;
+ PublishingPiwigoCategory* _tmp51_ = NULL;
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (!_tmp23_) {
+#line 4843 "PiwigoPublishing.c"
xmlNode* _tmp24_ = NULL;
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp23_ = category_node_iter;
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp24_ = _tmp23_->next;
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- category_node_iter = _tmp24_;
-#line 4792 "PiwigoPublishing.c"
+ xmlNode* _tmp25_ = NULL;
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp24_ = category_node_iter;
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp25_ = _tmp24_->next;
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ category_node_iter = _tmp25_;
+#line 4852 "PiwigoPublishing.c"
}
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp22_ = FALSE;
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp25_ = category_node_iter;
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!(_tmp25_ != NULL)) {
-#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp23_ = FALSE;
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp26_ = category_node_iter;
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (!(_tmp26_ != NULL)) {
+#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 4802 "PiwigoPublishing.c"
+#line 4862 "PiwigoPublishing.c"
}
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp27_ = doc;
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp28_ = category_node_iter;
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp29_ = publishing_rest_support_xml_document_get_named_child (_tmp27_, _tmp28_, "name", &_inner_error_);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp26_ = _tmp29_;
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp28_ = doc;
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp29_ = category_node_iter;
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp30_ = publishing_rest_support_xml_document_get_named_child (_tmp28_, _tmp29_, "name", &_inner_error_);
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp27_ = _tmp30_;
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (id_map);
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (uppercats);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (id_string);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (name);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4824 "PiwigoPublishing.c"
+#line 4886 "PiwigoPublishing.c"
goto __catch40_spit_publishing_publishing_error;
}
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (id_map);
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (uppercats);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (id_string);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (name);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4841 "PiwigoPublishing.c"
+#line 4905 "PiwigoPublishing.c"
}
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- name_node = _tmp26_;
-#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp30_ = name_node;
-#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp31_ = (gchar*) xmlNodeGetContent (_tmp30_);
-#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ name_node = _tmp27_;
+#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp31_ = name_node;
+#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp32_ = (gchar*) xmlNodeGetContent (_tmp31_);
+#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (name);
-#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- name = _tmp31_;
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp33_ = doc;
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp34_ = category_node_iter;
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp35_ = publishing_rest_support_xml_document_get_named_child (_tmp33_, _tmp34_, "uppercats", &_inner_error_);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp32_ = _tmp35_;
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ name = _tmp32_;
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp34_ = doc;
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp35_ = category_node_iter;
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp36_ = publishing_rest_support_xml_document_get_named_child (_tmp34_, _tmp35_, "uppercats", &_inner_error_);
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp33_ = _tmp36_;
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (id_map);
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (uppercats);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (id_string);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (name);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 4873 "PiwigoPublishing.c"
+#line 4939 "PiwigoPublishing.c"
goto __catch40_spit_publishing_publishing_error;
}
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (id_map);
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (uppercats);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (id_string);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (name);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 4890 "PiwigoPublishing.c"
+#line 4958 "PiwigoPublishing.c"
}
-#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- uppercats_node = _tmp32_;
-#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp36_ = uppercats_node;
-#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp37_ = (gchar*) xmlNodeGetContent (_tmp36_);
-#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ uppercats_node = _tmp33_;
+#line 626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp37_ = uppercats_node;
+#line 626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp38_ = (gchar*) xmlNodeGetContent (_tmp37_);
+#line 626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (uppercats);
-#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- uppercats = (gchar*) _tmp37_;
-#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp38_ = category_node_iter;
-#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp39_ = (gchar*) xmlGetProp (_tmp38_, (xmlChar*) "id");
-#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ uppercats = (gchar*) _tmp38_;
+#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp39_ = category_node_iter;
+#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp40_ = (gchar*) xmlGetProp (_tmp39_, (xmlChar*) "id");
+#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (id_string);
-#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- id_string = _tmp39_;
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp40_ = self->priv->categories;
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp40__length1 = self->priv->categories_length1;
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp40_ == NULL) {
-#line 4916 "PiwigoPublishing.c"
- PublishingPiwigoCategory** _tmp41_ = NULL;
-#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp41_ = g_new0 (PublishingPiwigoCategory*, 0 + 1);
-#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ id_string = _tmp40_;
+#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp41_ = id_map;
+#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp42_ = id_string;
+#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp43_ = name;
+#line 628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp42_, _tmp43_);
+#line 630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp44_ = self->priv->categories;
+#line 630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp44__length1 = self->priv->categories_length1;
+#line 630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (_tmp44_ == NULL) {
+#line 4992 "PiwigoPublishing.c"
+ PublishingPiwigoCategory** _tmp45_ = NULL;
+#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp45_ = g_new0 (PublishingPiwigoCategory*, 0 + 1);
+#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->categories = (_vala_array_free (self->priv->categories, self->priv->categories_length1, (GDestroyNotify) publishing_piwigo_category_unref), NULL);
-#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->categories = _tmp41_;
-#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->categories = _tmp45_;
+#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->categories_length1 = 0;
-#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->_categories_size_ = self->priv->categories_length1;
-#line 4928 "PiwigoPublishing.c"
+#line 5004 "PiwigoPublishing.c"
}
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp42_ = self->priv->categories;
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp42__length1 = self->priv->categories_length1;
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp43_ = id_string;
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp44_ = atoi (_tmp43_);
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp45_ = name;
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp46_ = uppercats;
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp47_ = publishing_piwigo_category_new (_tmp44_, _tmp45_, _tmp46_, "");
-#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _vala_array_add34 (&self->priv->categories, &self->priv->categories_length1, &self->priv->_categories_size_, _tmp47_);
-#line 4946 "PiwigoPublishing.c"
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp46_ = self->priv->categories;
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp46__length1 = self->priv->categories_length1;
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp47_ = id_string;
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp48_ = atoi (_tmp47_);
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp49_ = name;
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp50_ = uppercats;
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp51_ = publishing_piwigo_category_new (_tmp48_, _tmp49_, _tmp50_, "");
+#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _vala_array_add34 (&self->priv->categories, &self->priv->categories_length1, &self->priv->_categories_size_, _tmp51_);
+#line 5022 "PiwigoPublishing.c"
}
}
{
gint i = 0;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
i = 0;
-#line 4953 "PiwigoPublishing.c"
+#line 5029 "PiwigoPublishing.c"
{
- gboolean _tmp48_ = FALSE;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp48_ = TRUE;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gboolean _tmp52_ = FALSE;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp52_ = TRUE;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
while (TRUE) {
-#line 4960 "PiwigoPublishing.c"
- gint _tmp50_ = 0;
- PublishingPiwigoCategory** _tmp51_ = NULL;
- gint _tmp51__length1 = 0;
+#line 5036 "PiwigoPublishing.c"
+ gint _tmp54_ = 0;
+ PublishingPiwigoCategory** _tmp55_ = NULL;
+ gint _tmp55__length1 = 0;
gchar** upcatids = NULL;
- PublishingPiwigoCategory** _tmp52_ = NULL;
- gint _tmp52__length1 = 0;
- gint _tmp53_ = 0;
- PublishingPiwigoCategory* _tmp54_ = NULL;
- const gchar* _tmp55_ = NULL;
- gchar** _tmp56_ = NULL;
- gchar** _tmp57_ = NULL;
+ PublishingPiwigoCategory** _tmp56_ = NULL;
+ gint _tmp56__length1 = 0;
+ gint _tmp57_ = 0;
+ PublishingPiwigoCategory* _tmp58_ = NULL;
+ const gchar* _tmp59_ = NULL;
+ gchar** _tmp60_ = NULL;
+ gchar** _tmp61_ = NULL;
gint upcatids_length1 = 0;
gint _upcatids_size_ = 0;
GString* builder = NULL;
- GString* _tmp58_ = NULL;
- PublishingPiwigoCategory** _tmp84_ = NULL;
- gint _tmp84__length1 = 0;
- gint _tmp85_ = 0;
- PublishingPiwigoCategory* _tmp86_ = NULL;
- GString* _tmp87_ = NULL;
- const gchar* _tmp88_ = NULL;
- gchar* _tmp89_ = NULL;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!_tmp48_) {
-#line 4985 "PiwigoPublishing.c"
- gint _tmp49_ = 0;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp49_ = i;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- i = _tmp49_ + 1;
-#line 4991 "PiwigoPublishing.c"
+ GString* _tmp62_ = NULL;
+ PublishingPiwigoCategory** _tmp76_ = NULL;
+ gint _tmp76__length1 = 0;
+ gint _tmp77_ = 0;
+ PublishingPiwigoCategory* _tmp78_ = NULL;
+ GString* _tmp79_ = NULL;
+ const gchar* _tmp80_ = NULL;
+ gchar* _tmp81_ = NULL;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (!_tmp52_) {
+#line 5061 "PiwigoPublishing.c"
+ gint _tmp53_ = 0;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp53_ = i;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ i = _tmp53_ + 1;
+#line 5067 "PiwigoPublishing.c"
}
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp48_ = FALSE;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp50_ = i;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp51_ = self->priv->categories;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp51__length1 = self->priv->categories_length1;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!(_tmp50_ < _tmp51__length1)) {
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp52_ = FALSE;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp54_ = i;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp55_ = self->priv->categories;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp55__length1 = self->priv->categories_length1;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (!(_tmp54_ < _tmp55__length1)) {
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 5005 "PiwigoPublishing.c"
+#line 5081 "PiwigoPublishing.c"
}
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp52_ = self->priv->categories;
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp52__length1 = self->priv->categories_length1;
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp53_ = i;
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp54_ = _tmp52_[_tmp53_];
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp55_ = _tmp54_->uppercats;
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp57_ = _tmp56_ = g_strsplit (_tmp55_, ",", 0);
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- upcatids = _tmp57_;
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- upcatids_length1 = _vala_array_length (_tmp56_);
-#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp56_ = self->priv->categories;
+#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp56__length1 = self->priv->categories_length1;
+#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp57_ = i;
+#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp58_ = _tmp56_[_tmp57_];
+#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp59_ = _tmp58_->uppercats;
+#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp61_ = _tmp60_ = g_strsplit (_tmp59_, ",", 0);
+#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ upcatids = _tmp61_;
+#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ upcatids_length1 = _vala_array_length (_tmp60_);
+#line 638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_upcatids_size_ = upcatids_length1;
-#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp58_ = g_string_new ("");
-#line 635 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- builder = _tmp58_;
-#line 5029 "PiwigoPublishing.c"
- {
- gint j = 0;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- j = 0;
-#line 5034 "PiwigoPublishing.c"
- {
- gboolean _tmp59_ = FALSE;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp59_ = TRUE;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- while (TRUE) {
-#line 5041 "PiwigoPublishing.c"
- gint _tmp61_ = 0;
- gchar** _tmp62_ = NULL;
- gint _tmp62__length1 = 0;
- GString* _tmp63_ = NULL;
- GString* _tmp83_ = NULL;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!_tmp59_) {
-#line 5049 "PiwigoPublishing.c"
- gint _tmp60_ = 0;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp60_ = j;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- j = _tmp60_ + 1;
-#line 5055 "PiwigoPublishing.c"
- }
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp59_ = FALSE;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp61_ = j;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp62_ = upcatids;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp62__length1 = upcatids_length1;
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!(_tmp61_ < _tmp62__length1)) {
-#line 636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- break;
-#line 5069 "PiwigoPublishing.c"
- }
-#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp63_ = builder;
-#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_string_append (_tmp63_, "/ ");
-#line 5075 "PiwigoPublishing.c"
- {
- gint k = 0;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- k = 0;
-#line 5080 "PiwigoPublishing.c"
- {
- gboolean _tmp64_ = FALSE;
#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp64_ = TRUE;
+ _tmp62_ = g_string_new ("");
#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- while (TRUE) {
-#line 5087 "PiwigoPublishing.c"
- gint _tmp66_ = 0;
- PublishingPiwigoCategory** _tmp67_ = NULL;
- gint _tmp67__length1 = 0;
- gchar** _tmp68_ = NULL;
- gint _tmp68__length1 = 0;
- gint _tmp69_ = 0;
- const gchar* _tmp70_ = NULL;
- PublishingPiwigoCategory** _tmp71_ = NULL;
- gint _tmp71__length1 = 0;
- gint _tmp72_ = 0;
- PublishingPiwigoCategory* _tmp73_ = NULL;
- gint _tmp74_ = 0;
- gchar* _tmp75_ = NULL;
- gchar* _tmp76_ = NULL;
- gboolean _tmp77_ = FALSE;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!_tmp64_) {
+ builder = _tmp62_;
#line 5105 "PiwigoPublishing.c"
- gint _tmp65_ = 0;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp65_ = k;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- k = _tmp65_ + 1;
-#line 5111 "PiwigoPublishing.c"
- }
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp64_ = FALSE;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp66_ = k;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp67_ = self->priv->categories;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp67__length1 = self->priv->categories_length1;
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!(_tmp66_ < _tmp67__length1)) {
-#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- break;
-#line 5125 "PiwigoPublishing.c"
- }
-#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp68_ = upcatids;
-#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp68__length1 = upcatids_length1;
+ {
+ gint j = 0;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp69_ = j;
+ j = 0;
+#line 5110 "PiwigoPublishing.c"
+ {
+ gboolean _tmp63_ = FALSE;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp70_ = _tmp68_[_tmp69_];
+ _tmp63_ = TRUE;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp71_ = self->priv->categories;
+ while (TRUE) {
+#line 5117 "PiwigoPublishing.c"
+ gint _tmp65_ = 0;
+ gchar** _tmp66_ = NULL;
+ gint _tmp66__length1 = 0;
+ GString* _tmp67_ = NULL;
+ GString* _tmp68_ = NULL;
+ GeeHashMap* _tmp69_ = NULL;
+ gchar** _tmp70_ = NULL;
+ gint _tmp70__length1 = 0;
+ gint _tmp71_ = 0;
+ const gchar* _tmp72_ = NULL;
+ gpointer _tmp73_ = NULL;
+ gchar* _tmp74_ = NULL;
+ GString* _tmp75_ = NULL;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp71__length1 = self->priv->categories_length1;
+ if (!_tmp63_) {
+#line 5133 "PiwigoPublishing.c"
+ gint _tmp64_ = 0;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp72_ = k;
+ _tmp64_ = j;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp73_ = _tmp71_[_tmp72_];
+ j = _tmp64_ + 1;
+#line 5139 "PiwigoPublishing.c"
+ }
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp74_ = _tmp73_->id;
+ _tmp63_ = FALSE;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp75_ = g_strdup_printf ("%i", _tmp74_);
+ _tmp65_ = j;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp76_ = _tmp75_;
+ _tmp66_ = upcatids;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp77_ = g_strcmp0 (_tmp70_, _tmp76_) == 0;
+ _tmp66__length1 = upcatids_length1;
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (_tmp76_);
+ if (!(_tmp65_ < _tmp66__length1)) {
#line 640 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp77_) {
-#line 5155 "PiwigoPublishing.c"
- GString* _tmp78_ = NULL;
- PublishingPiwigoCategory** _tmp79_ = NULL;
- gint _tmp79__length1 = 0;
- gint _tmp80_ = 0;
- PublishingPiwigoCategory* _tmp81_ = NULL;
- const gchar* _tmp82_ = NULL;
-#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp78_ = builder;
-#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp79_ = self->priv->categories;
-#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp79__length1 = self->priv->categories_length1;
-#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp80_ = k;
-#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp81_ = _tmp79_[_tmp80_];
+ break;
+#line 5153 "PiwigoPublishing.c"
+ }
#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp82_ = _tmp81_->name;
+ _tmp67_ = builder;
#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_string_append (_tmp78_, _tmp82_);
+ g_string_append (_tmp67_, "/ ");
#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- break;
-#line 5178 "PiwigoPublishing.c"
- }
- }
- }
- }
-#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp83_ = builder;
-#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_string_append (_tmp83_, " ");
-#line 5187 "PiwigoPublishing.c"
+ _tmp68_ = builder;
+#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp69_ = id_map;
+#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp70_ = upcatids;
+#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp70__length1 = upcatids_length1;
+#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp71_ = j;
+#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp72_ = _tmp70_[_tmp71_];
+#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp73_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp72_);
+#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp74_ = (gchar*) _tmp73_;
+#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_string_append (_tmp68_, _tmp74_);
+#line 642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp74_);
+#line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp75_ = builder;
+#line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_string_append (_tmp75_, " ");
+#line 5183 "PiwigoPublishing.c"
}
}
}
-#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp84_ = self->priv->categories;
-#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp84__length1 = self->priv->categories_length1;
-#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp85_ = i;
-#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp86_ = _tmp84_[_tmp85_];
-#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp87_ = builder;
-#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp88_ = _tmp87_->str;
-#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp89_ = g_strdup (_tmp88_);
-#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (_tmp86_->display_name);
-#line 647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp86_->display_name = _tmp89_;
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp76_ = self->priv->categories;
+#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp76__length1 = self->priv->categories_length1;
+#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp77_ = i;
+#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp78_ = _tmp76_[_tmp77_];
+#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp79_ = builder;
+#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp80_ = _tmp79_->str;
+#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp81_ = g_strdup (_tmp80_);
+#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp78_->display_name);
+#line 645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp78_->display_name = _tmp81_;
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_string_free0 (builder);
-#line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
upcatids = (_vala_array_free (upcatids, upcatids_length1, (GDestroyNotify) g_free), NULL);
-#line 5213 "PiwigoPublishing.c"
+#line 5209 "PiwigoPublishing.c"
}
}
}
-#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (id_map);
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (uppercats);
-#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (id_string);
-#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (name);
-#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 5225 "PiwigoPublishing.c"
+#line 5223 "PiwigoPublishing.c"
}
goto __finally40;
__catch40_spit_publishing_publishing_error:
{
GError* err = NULL;
- GError* _tmp90_ = NULL;
-#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ GError* _tmp82_ = NULL;
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
+#line 648 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:648: ERROR: on_category_fetch_complete");
+#line 649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp82_ = err;
+#line 649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp82_);
#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:650: ERROR: on_category_fetch_complete");
-#line 651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp90_ = err;
-#line 651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp90_);
-#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 652 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 5246 "PiwigoPublishing.c"
+#line 5244 "PiwigoPublishing.c"
}
__finally40:
-#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 5257 "PiwigoPublishing.c"
+#line 5255 "PiwigoPublishing.c"
}
-#line 655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_publishing_options_pane (self);
-#line 5261 "PiwigoPublishing.c"
+#line 5259 "PiwigoPublishing.c"
}
@@ -5278,31 +5276,31 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_error (Publishi
guint _tmp3_ = 0U;
PublishingRESTSupportTransaction* _tmp4_ = NULL;
GError* _tmp5_ = NULL;
-#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 660 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn));
-#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:666: EVENT: on_category_fetch_error");
-#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:664: EVENT: on_category_fetch_error");
+#line 665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = bad_txn;
-#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_complete_publishing_rest_support_transaction_completed, self);
-#line 668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = bad_txn;
-#line 668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_fetch_error_publishing_rest_support_transaction_network_error, self);
-#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = bad_txn;
-#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = err;
-#line 669 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_network_error (self, _tmp4_, _tmp5_);
-#line 5300 "PiwigoPublishing.c"
+#line 5298 "PiwigoPublishing.c"
}
@@ -5312,16 +5310,16 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_error (Publishi
* This action method shows the publishing options pane.
*/
static void _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout_clicked_publishing_piwigo_publishing_options_pane_logout (PublishingPiwigoPublishingOptionsPane* _sender, gpointer self) {
-#line 684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout_clicked ((PublishingPiwigoPiwigoPublisher*) self);
-#line 5312 "PiwigoPublishing.c"
+#line 5310 "PiwigoPublishing.c"
}
static void _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publish_clicked_publishing_piwigo_publishing_options_pane_publish (PublishingPiwigoPublishingOptionsPane* _sender, PublishingPiwigoPublishingParameters* parameters, gboolean strip_metadata, gpointer self) {
-#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 683 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publish_clicked ((PublishingPiwigoPiwigoPublisher*) self, parameters, strip_metadata);
-#line 5319 "PiwigoPublishing.c"
+#line 5317 "PiwigoPublishing.c"
}
@@ -5341,55 +5339,55 @@ static void publishing_piwigo_piwigo_publisher_do_show_publishing_options_pane (
SpitPublishingPluginHost* _tmp10_ = NULL;
GtkWidget* _tmp11_ = NULL;
GtkWidget* _tmp12_ = NULL;
-#line 677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 675 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
+#line 676 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:676: ACTION: installing publishing options pane");
#line 678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:678: ACTION: installing publishing options pane");
-#line 680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_service_locked (_tmp0_, FALSE);
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->categories;
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1__length1 = self->priv->categories_length1;
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = publishing_piwigo_piwigo_publisher_get_last_category (self);
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishing_piwigo_piwigo_publisher_get_last_permission_level (self);
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = publishing_piwigo_piwigo_publisher_get_last_photo_size (self);
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_piwigo_piwigo_publisher_get_last_title_as_comment (self);
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = publishing_piwigo_piwigo_publisher_get_last_no_upload_tags (self);
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = publishing_piwigo_piwigo_publisher_get_metadata_removal_choice (self);
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = publishing_piwigo_publishing_options_pane_new (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_, _tmp4_, _tmp5_, _tmp6_, _tmp7_);
-#line 681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
opts_pane = _tmp8_;
-#line 684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (opts_pane, "logout", (GCallback) _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout_clicked_publishing_piwigo_publishing_options_pane_logout, self, 0);
-#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 683 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (opts_pane, "publish", (GCallback) _publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publish_clicked_publishing_piwigo_publishing_options_pane_publish, self, 0);
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = self->priv->host;
-#line 686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_install_dialog_pane (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (opts_pane, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE);
-#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = self->priv->host;
-#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp11_ = publishing_piwigo_publishing_options_pane_get_default_widget (opts_pane);
-#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = shotwell_plugins_common_builder_pane_get_default_widget (G_TYPE_CHECK_INSTANCE_CAST (opts_pane, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
+#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = _tmp11_;
-#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_dialog_default_widget (_tmp10_, _tmp12_);
-#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (_tmp12_);
-#line 677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 675 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (opts_pane);
-#line 5387 "PiwigoPublishing.c"
+#line 5385 "PiwigoPublishing.c"
}
@@ -5397,16 +5395,16 @@ static void publishing_piwigo_piwigo_publisher_do_show_publishing_options_pane (
* Event triggered when the user clicks logout in the publishing options pane.
*/
static void _publishing_piwigo_piwigo_publisher_on_logout_network_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
-#line 696 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_logout_network_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err);
-#line 5397 "PiwigoPublishing.c"
+#line 5395 "PiwigoPublishing.c"
}
static void _publishing_piwigo_piwigo_publisher_on_logout_network_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
-#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_logout_network_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender);
-#line 5404 "PiwigoPublishing.c"
+#line 5402 "PiwigoPublishing.c"
}
@@ -5415,41 +5413,41 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout
PublishingPiwigoSession* _tmp0_ = NULL;
PublishingPiwigoSessionLogoutTransaction* _tmp1_ = NULL;
GError * _inner_error_ = NULL;
-#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:694: EVENT: on_publishing_options_pane_logout_cl" \
+#line 692 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:692: EVENT: on_publishing_options_pane_logout_cl" \
"icked");
-#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->session;
-#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = publishing_piwigo_session_logout_transaction_new (_tmp0_);
-#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
logout_trans = _tmp1_;
-#line 696 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (logout_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 695 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (logout_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_complete_publishing_rest_support_transaction_completed, self, 0);
-#line 5427 "PiwigoPublishing.c"
+#line 5425 "PiwigoPublishing.c"
{
-#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (logout_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
-#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 5435 "PiwigoPublishing.c"
+#line 5433 "PiwigoPublishing.c"
goto __catch41_spit_publishing_publishing_error;
}
-#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (logout_trans);
-#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 5446 "PiwigoPublishing.c"
+#line 5444 "PiwigoPublishing.c"
}
}
goto __finally41;
@@ -5457,37 +5455,37 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout
{
GError* err = NULL;
GError* _tmp2_ = NULL;
-#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:702: ERROR: on_publishing_options_pane_logout_cl" \
+#line 700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:700: ERROR: on_publishing_options_pane_logout_cl" \
"icked");
-#line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = err;
-#line 703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp2_);
-#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 5466 "PiwigoPublishing.c"
+#line 5464 "PiwigoPublishing.c"
}
__finally41:
-#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (logout_trans);
-#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 5479 "PiwigoPublishing.c"
+#line 5477 "PiwigoPublishing.c"
}
-#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (logout_trans);
-#line 5483 "PiwigoPublishing.c"
+#line 5481 "PiwigoPublishing.c"
}
@@ -5503,31 +5501,31 @@ static void publishing_piwigo_piwigo_publisher_on_logout_network_complete (Publi
PublishingRESTSupportTransaction* _tmp2_ = NULL;
guint _tmp3_ = 0U;
PublishingPiwigoSession* _tmp4_ = NULL;
-#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 711 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 711 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn));
-#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:714: EVENT: on_logout_network_complete");
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 712 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:712: EVENT: on_logout_network_complete");
+#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = txn;
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 715 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 713 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_complete_publishing_rest_support_transaction_completed, self);
-#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = txn;
-#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_error_publishing_rest_support_transaction_network_error, self);
-#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->session;
-#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_session_deauthenticate (_tmp4_);
-#line 720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_INTRO);
-#line 5523 "PiwigoPublishing.c"
+#line 5521 "PiwigoPublishing.c"
}
@@ -5541,31 +5539,31 @@ static void publishing_piwigo_piwigo_publisher_on_logout_network_error (Publishi
guint _tmp3_ = 0U;
PublishingRESTSupportTransaction* _tmp4_ = NULL;
GError* _tmp5_ = NULL;
-#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn));
-#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:730: EVENT: on_logout_network_error");
-#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 728 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:728: EVENT: on_logout_network_error");
+#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = bad_txn;
-#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 729 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_complete_publishing_rest_support_transaction_completed, self);
-#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = bad_txn;
-#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 732 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_logout_network_error_publishing_rest_support_transaction_network_error, self);
-#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = bad_txn;
-#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = err;
-#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 731 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_network_error (self, _tmp4_, _tmp5_);
-#line 5561 "PiwigoPublishing.c"
+#line 5559 "PiwigoPublishing.c"
}
@@ -5580,9 +5578,9 @@ static void publishing_piwigo_piwigo_publisher_on_logout_network_error (Publishi
* @param parameters the publishing parameters
*/
static gpointer _publishing_piwigo_publishing_parameters_ref0 (gpointer self) {
-#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self ? publishing_piwigo_publishing_parameters_ref (self) : NULL;
-#line 5578 "PiwigoPublishing.c"
+#line 5576 "PiwigoPublishing.c"
}
@@ -5593,50 +5591,50 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_publis
PublishingPiwigoPublishingParameters* _tmp3_ = NULL;
PublishingPiwigoCategory* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_PARAMETERS (parameters));
-#line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:748: EVENT: on_publishing_options_pane_publish_c" \
+#line 746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:746: EVENT: on_publishing_options_pane_publish_c" \
"licked");
-#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = parameters;
-#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _publishing_piwigo_publishing_parameters_ref0 (_tmp0_);
-#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters);
-#line 749 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->parameters = _tmp1_;
-#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = strip_metadata;
-#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 748 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->strip_metadata = _tmp2_;
-#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = parameters;
-#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _tmp3_->category;
-#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_piwigo_category_is_local (_tmp4_);
-#line 752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp5_) {
-#line 5615 "PiwigoPublishing.c"
+#line 5613 "PiwigoPublishing.c"
PublishingPiwigoPublishingParameters* _tmp6_ = NULL;
PublishingPiwigoCategory* _tmp7_ = NULL;
-#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = parameters;
-#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _tmp6_->category;
-#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_create_category (self, _tmp7_);
-#line 5624 "PiwigoPublishing.c"
+#line 5622 "PiwigoPublishing.c"
} else {
gboolean _tmp8_ = FALSE;
-#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = self->priv->strip_metadata;
-#line 755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_upload (self, _tmp8_);
-#line 5631 "PiwigoPublishing.c"
+#line 5629 "PiwigoPublishing.c"
}
}
@@ -5671,21 +5669,21 @@ static gchar* string_strip (const gchar* self) {
result = _result_;
#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 5666 "PiwigoPublishing.c"
+#line 5664 "PiwigoPublishing.c"
}
static void _publishing_piwigo_piwigo_publisher_on_category_add_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
-#line 779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_category_add_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err);
-#line 5673 "PiwigoPublishing.c"
+#line 5671 "PiwigoPublishing.c"
}
static void _publishing_piwigo_piwigo_publisher_on_category_add_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
-#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 778 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_category_add_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender);
-#line 5680 "PiwigoPublishing.c"
+#line 5678 "PiwigoPublishing.c"
}
@@ -5717,100 +5715,100 @@ static void publishing_piwigo_piwigo_publisher_do_create_category (PublishingPiw
PublishingPiwigoCategoriesAddTransaction* _tmp23_ = NULL;
PublishingPiwigoCategoriesAddTransaction* _tmp24_ = NULL;
GError * _inner_error_ = NULL;
-#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 768 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 768 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_CATEGORY (category));
-#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = category;
-#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _tmp0_->name;
-#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = g_strdup_printf ("ACTION: creating a new category: %s", _tmp1_);
-#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = _tmp2_;
-#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:771: %s", _tmp3_);
-#line 771 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:769: %s", _tmp3_);
+#line 769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp3_);
-#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = category;
-#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_piwigo_category_is_local (_tmp4_);
-#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_assert (_tmp5_, "category.is_local()");
-#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = self->priv->host;
-#line 774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_service_locked (_tmp6_, TRUE);
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = self->priv->host;
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = _ ("Creating album %s…");
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = category;
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = _tmp9_->name;
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = g_strdup_printf (_tmp8_, _tmp10_);
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = _tmp11_;
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_install_static_message_pane (_tmp7_, _tmp12_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
-#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp12_);
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = self->priv->session;
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = category;
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = _tmp14_->name;
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = string_strip (_tmp15_);
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = _tmp16_;
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = category;
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = _tmp18_->uppercats;
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_ = atoi (_tmp19_);
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp21_ = category;
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp22_ = _tmp21_->comment;
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp23_ = publishing_piwigo_categories_add_transaction_new (_tmp13_, _tmp17_, _tmp20_, _tmp22_);
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp24_ = _tmp23_;
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp17_);
-#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
creation_trans = _tmp24_;
-#line 779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (creation_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_error_publishing_rest_support_transaction_network_error, self, 0);
-#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 778 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (creation_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_complete_publishing_rest_support_transaction_completed, self, 0);
-#line 5786 "PiwigoPublishing.c"
+#line 5784 "PiwigoPublishing.c"
{
-#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (creation_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
-#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 5794 "PiwigoPublishing.c"
+#line 5792 "PiwigoPublishing.c"
goto __catch42_spit_publishing_publishing_error;
}
-#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (creation_trans);
-#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 5805 "PiwigoPublishing.c"
+#line 5803 "PiwigoPublishing.c"
}
}
goto __finally42;
@@ -5818,36 +5816,36 @@ static void publishing_piwigo_piwigo_publisher_do_create_category (PublishingPiw
{
GError* err = NULL;
GError* _tmp25_ = NULL;
-#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 785 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:785: ERROR: do_create_category");
-#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:783: ERROR: do_create_category");
+#line 784 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp25_ = err;
-#line 786 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 784 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp25_);
-#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 5825 "PiwigoPublishing.c"
+#line 5823 "PiwigoPublishing.c"
}
__finally42:
-#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (creation_trans);
-#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 5838 "PiwigoPublishing.c"
+#line 5836 "PiwigoPublishing.c"
}
-#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 768 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_transaction_unref0 (creation_trans);
-#line 5842 "PiwigoPublishing.c"
+#line 5840 "PiwigoPublishing.c"
}
@@ -5864,25 +5862,25 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_complete (Publish
PublishingRESTSupportTransaction* _tmp2_ = NULL;
guint _tmp3_ = 0U;
GError * _inner_error_ = NULL;
-#line 797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 795 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 795 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn));
-#line 798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:798: EVENT: on_category_add_complete");
-#line 799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:796: EVENT: on_category_add_complete");
+#line 797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = txn;
-#line 799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_complete_publishing_rest_support_transaction_completed, self);
-#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = txn;
-#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_error_publishing_rest_support_transaction_network_error, self);
-#line 5877 "PiwigoPublishing.c"
+#line 5875 "PiwigoPublishing.c"
{
PublishingRESTSupportXmlDocument* doc = NULL;
PublishingRESTSupportTransaction* _tmp4_ = NULL;
@@ -5908,129 +5906,129 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_complete (Publish
PublishingPiwigoCategory* _tmp20_ = NULL;
gint _tmp21_ = 0;
gboolean _tmp22_ = FALSE;
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = txn;
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_rest_support_transaction_get_response (_tmp4_);
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp5_;
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = publishing_rest_support_xml_document_parse_string (_tmp6_, _publishing_piwigo_transaction_validate_xml_publishing_rest_support_xml_document_check_for_error_response, NULL, &_inner_error_);
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = _tmp7_;
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp6_);
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
doc = _tmp8_;
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 5921 "PiwigoPublishing.c"
+#line 5919 "PiwigoPublishing.c"
goto __catch43_spit_publishing_publishing_error;
}
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 5930 "PiwigoPublishing.c"
+#line 5928 "PiwigoPublishing.c"
}
-#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = doc;
-#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = publishing_rest_support_xml_document_get_root_node (_tmp9_);
-#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
rsp = _tmp10_;
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = doc;
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = rsp;
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = publishing_rest_support_xml_document_get_named_child (_tmp12_, _tmp13_, "id", &_inner_error_);
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = _tmp14_;
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 5952 "PiwigoPublishing.c"
+#line 5950 "PiwigoPublishing.c"
goto __catch43_spit_publishing_publishing_error;
}
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 5963 "PiwigoPublishing.c"
+#line 5961 "PiwigoPublishing.c"
}
-#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
id_node = _tmp11_;
-#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = id_node;
-#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = (gchar*) xmlNodeGetContent (_tmp15_);
-#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 808 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
id_string = _tmp16_;
-#line 811 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = id_string;
-#line 811 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = atoi (_tmp17_);
-#line 811 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 809 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
id = _tmp18_;
-#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = self->priv->parameters;
-#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_ = _tmp19_->category;
-#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp21_ = id;
-#line 812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_->id = _tmp21_;
-#line 813 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 811 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp22_ = self->priv->strip_metadata;
-#line 813 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 811 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_upload (self, _tmp22_);
-#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (id_string);
-#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_xml_document_unref0 (doc);
-#line 5995 "PiwigoPublishing.c"
+#line 5993 "PiwigoPublishing.c"
}
goto __finally43;
__catch43_spit_publishing_publishing_error:
{
GError* err = NULL;
GError* _tmp23_ = NULL;
-#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:815: ERROR: on_category_add_complete");
-#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 813 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:813: ERROR: on_category_add_complete");
+#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp23_ = err;
-#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 814 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp23_);
-#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 6014 "PiwigoPublishing.c"
+#line 6012 "PiwigoPublishing.c"
}
__finally43:
-#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 803 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 6025 "PiwigoPublishing.c"
+#line 6023 "PiwigoPublishing.c"
}
}
@@ -6045,31 +6043,31 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_error (Publishing
guint _tmp3_ = 0U;
PublishingRESTSupportTransaction* _tmp4_ = NULL;
GError* _tmp5_ = NULL;
-#line 823 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 823 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn));
-#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:827: EVENT: on_category_add_error");
-#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:825: EVENT: on_category_add_error");
+#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = bad_txn;
-#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("completed", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp1_, NULL, FALSE);
-#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_complete_publishing_rest_support_transaction_completed, self);
-#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = bad_txn;
-#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("network-error", PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, &_tmp3_, NULL, FALSE);
-#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 827 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_category_add_error_publishing_rest_support_transaction_network_error, self);
-#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = bad_txn;
-#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = err;
-#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 828 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_network_error (self, _tmp4_, _tmp5_);
-#line 6064 "PiwigoPublishing.c"
+#line 6062 "PiwigoPublishing.c"
}
@@ -6077,23 +6075,23 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_error (Publishing
* Upload action: the big one, the one we've been waiting for!
*/
static void _publishing_piwigo_piwigo_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete (PublishingRESTSupportBatchUploader* _sender, gint num_photos_published, gpointer self) {
-#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_upload_complete ((PublishingPiwigoPiwigoPublisher*) self, _sender, num_photos_published);
-#line 6074 "PiwigoPublishing.c"
+#line 6072 "PiwigoPublishing.c"
}
static void _publishing_piwigo_piwigo_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error (PublishingRESTSupportBatchUploader* _sender, GError* err, gpointer self) {
-#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_upload_error ((PublishingPiwigoPiwigoPublisher*) self, _sender, err);
-#line 6081 "PiwigoPublishing.c"
+#line 6079 "PiwigoPublishing.c"
}
static void _publishing_piwigo_piwigo_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) {
-#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_on_upload_status_updated ((PublishingPiwigoPiwigoPublisher*) self, file_number, fraction_complete);
-#line 6088 "PiwigoPublishing.c"
+#line 6086 "PiwigoPublishing.c"
}
@@ -6132,113 +6130,113 @@ static void publishing_piwigo_piwigo_publisher_do_upload (PublishingPiwigoPiwigo
PublishingPiwigoSession* _tmp27_ = NULL;
PublishingPiwigoPublishingParameters* _tmp28_ = NULL;
PublishingPiwigoUploader* _tmp29_ = NULL;
-#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = strip_metadata;
-#line 837 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 835 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->strip_metadata = _tmp0_;
+#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:836: ACTION: uploading pictures");
#line 838 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:838: ACTION: uploading pictures");
-#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->host;
-#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 838 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_service_locked (_tmp1_, TRUE);
-#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->parameters;
-#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = _tmp2_->category;
-#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _tmp3_->id;
-#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 840 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_last_category (self, _tmp4_);
-#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = self->priv->parameters;
-#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp5_->perm_level;
-#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _tmp6_->id;
-#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 841 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_last_permission_level (self, _tmp7_);
-#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = self->priv->parameters;
-#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = _tmp8_->photo_size;
-#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = _tmp9_->id;
-#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 842 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_last_photo_size (self, _tmp10_);
-#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = self->priv->parameters;
-#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = _tmp11_->title_as_comment;
-#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_last_title_as_comment (self, _tmp12_);
-#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = self->priv->parameters;
-#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = _tmp13_->no_upload_tags;
-#line 846 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_last_no_upload_tags (self, _tmp14_);
-#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = strip_metadata;
-#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_set_metadata_removal_choice (self, _tmp15_);
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = self->priv->host;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = self->priv->parameters;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = _tmp17_->photo_size;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = _tmp18_->id;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_ = self->priv->strip_metadata;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp23_ = spit_publishing_plugin_host_serialize_publishables (_tmp16_, _tmp19_, _tmp20_, &_tmp21_, &_tmp22_);
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(self->priv->progress_reporter_target_destroy_notify == NULL) ? NULL : (self->priv->progress_reporter_target_destroy_notify (self->priv->progress_reporter_target), NULL);
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter = NULL;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter_target = NULL;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter_target_destroy_notify = NULL;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter = _tmp23_;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter_target = _tmp21_;
-#line 849 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 847 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter_target_destroy_notify = _tmp22_;
-#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp24_ = self->priv->host;
-#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp26_ = spit_publishing_plugin_host_get_publishables (_tmp24_, &_tmp25_);
-#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishables = _tmp26_;
-#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishables_length1 = _tmp25_;
-#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 848 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishables_size_ = publishables_length1;
-#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp27_ = self->priv->session;
-#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp28_ = self->priv->parameters;
-#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp29_ = publishing_piwigo_uploader_new (_tmp27_, publishables, publishables_length1, _tmp28_);
-#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 850 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
uploader = _tmp29_;
-#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (uploader, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader), "upload-complete", (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete, self, 0);
-#line 854 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 852 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (uploader, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader), "upload-error", (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self, 0);
-#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 853 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_batch_uploader_upload (G_TYPE_CHECK_INSTANCE_CAST (uploader, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader), _publishing_piwigo_piwigo_publisher_on_upload_status_updated_spit_publishing_progress_callback, self);
-#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_batch_uploader_unref0 (uploader);
-#line 836 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 834 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 6233 "PiwigoPublishing.c"
+#line 6231 "PiwigoPublishing.c"
}
@@ -6251,27 +6249,27 @@ static void publishing_piwigo_piwigo_publisher_on_upload_complete (PublishingPiw
guint _tmp1_ = 0U;
PublishingRESTSupportBatchUploader* _tmp2_ = NULL;
guint _tmp3_ = 0U;
-#line 862 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 862 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (uploader));
-#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:863: EVENT: on_upload_complete");
-#line 864 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 861 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:861: EVENT: on_upload_complete");
+#line 862 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = uploader;
-#line 864 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 862 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("upload-complete", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp1_, NULL, FALSE);
-#line 864 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 862 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete, self);
-#line 865 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = uploader;
-#line 865 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("upload-error", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp3_, NULL, FALSE);
-#line 865 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self);
-#line 869 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 867 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_success_pane (self);
-#line 6266 "PiwigoPublishing.c"
+#line 6264 "PiwigoPublishing.c"
}
@@ -6285,29 +6283,29 @@ static void publishing_piwigo_piwigo_publisher_on_upload_error (PublishingPiwigo
PublishingRESTSupportBatchUploader* _tmp2_ = NULL;
guint _tmp3_ = 0U;
GError* _tmp4_ = NULL;
-#line 876 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 876 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_BATCH_UPLOADER (uploader));
-#line 880 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:880: EVENT: on_upload_error");
-#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 878 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:878: EVENT: on_upload_error");
+#line 879 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = uploader;
-#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 879 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("upload-complete", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp1_, NULL, FALSE);
-#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 879 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete, self);
-#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 880 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = uploader;
-#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 880 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_parse_name ("upload-error", PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, &_tmp3_, NULL, FALSE);
-#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 880 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _publishing_piwigo_piwigo_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error, self);
-#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = err;
-#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 882 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp4_);
-#line 6302 "PiwigoPublishing.c"
+#line 6300 "PiwigoPublishing.c"
}
@@ -6323,38 +6321,38 @@ static void publishing_piwigo_piwigo_publisher_on_upload_status_updated (Publish
void* _tmp3__target = NULL;
gint _tmp4_ = 0;
gdouble _tmp5_ = 0.0;
-#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = spit_publishing_publisher_is_running (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher));
-#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp0_) {
-#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 890 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 6326 "PiwigoPublishing.c"
+#line 6324 "PiwigoPublishing.c"
}
-#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = completed_fraction;
-#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:894: EVENT: uploader reports upload %.2f percent" \
+#line 892 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:892: EVENT: uploader reports upload %.2f percent" \
" complete.", 100.0 * _tmp1_);
-#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->progress_reporter;
-#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2__target = self->priv->progress_reporter_target;
-#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_assert (_tmp2_ != NULL, "progress_reporter != null");
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = self->priv->progress_reporter;
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3__target = self->priv->progress_reporter_target;
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = file_number;
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = completed_fraction;
-#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 896 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ (_tmp4_, _tmp5_, _tmp3__target);
-#line 6348 "PiwigoPublishing.c"
+#line 6346 "PiwigoPublishing.c"
}
@@ -6364,19 +6362,19 @@ static void publishing_piwigo_piwigo_publisher_on_upload_status_updated (Publish
static void publishing_piwigo_piwigo_publisher_do_show_success_pane (PublishingPiwigoPiwigoPublisher* self) {
SpitPublishingPluginHost* _tmp0_ = NULL;
SpitPublishingPluginHost* _tmp1_ = NULL;
-#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 902 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
+#line 903 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:903: ACTION: installing success pane");
#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:905: ACTION: installing success pane");
-#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 907 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_set_service_locked (_tmp0_, FALSE);
-#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->host;
-#line 908 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_install_success_pane (_tmp1_);
-#line 6370 "PiwigoPublishing.c"
+#line 6368 "PiwigoPublishing.c"
}
@@ -6385,17 +6383,17 @@ static void publishing_piwigo_piwigo_publisher_do_show_success_pane (PublishingP
*/
static void publishing_piwigo_piwigo_publisher_on_network_error (PublishingPiwigoPiwigoPublisher* self, PublishingRESTSupportTransaction* bad_txn, GError* err) {
GError* _tmp0_ = NULL;
-#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (bad_txn));
-#line 918 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:918: EVENT: on_network_error");
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:916: EVENT: on_network_error");
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = err;
-#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error (self, _tmp0_);
-#line 6389 "PiwigoPublishing.c"
+#line 6387 "PiwigoPublishing.c"
}
@@ -6412,130 +6410,130 @@ static void publishing_piwigo_piwigo_publisher_do_show_error (PublishingPiwigoPi
gchar* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
const gchar* _tmp21_ = NULL;
-#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:926: ACTION: do_show_error");
-#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 924 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:924: ACTION: do_show_error");
+#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = g_strdup ("UNKNOWN");
-#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
error_type = _tmp0_;
-#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = e;
-#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 926 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_error_matches (_tmp1_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_NO_ANSWER)) {
-#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 927 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_authentication_pane (self, PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_URL);
-#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (error_type);
-#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return;
-#line 6424 "PiwigoPublishing.c"
+#line 6422 "PiwigoPublishing.c"
} else {
GError* _tmp2_ = NULL;
-#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = e;
-#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 929 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_error_matches (_tmp2_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_COMMUNICATION_FAILED)) {
-#line 6431 "PiwigoPublishing.c"
+#line 6429 "PiwigoPublishing.c"
gchar* _tmp3_ = NULL;
-#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = g_strdup ("COMMUNICATION_FAILED");
-#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (error_type);
-#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 930 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
error_type = _tmp3_;
-#line 6439 "PiwigoPublishing.c"
+#line 6437 "PiwigoPublishing.c"
} else {
GError* _tmp4_ = NULL;
-#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = e;
-#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 931 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_error_matches (_tmp4_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_PROTOCOL_ERROR)) {
-#line 6446 "PiwigoPublishing.c"
+#line 6444 "PiwigoPublishing.c"
gchar* _tmp5_ = NULL;
-#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = g_strdup ("PROTOCOL_ERROR");
-#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (error_type);
-#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 932 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
error_type = _tmp5_;
-#line 6454 "PiwigoPublishing.c"
+#line 6452 "PiwigoPublishing.c"
} else {
GError* _tmp6_ = NULL;
-#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = e;
-#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_error_matches (_tmp6_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_SERVICE_ERROR)) {
-#line 6461 "PiwigoPublishing.c"
+#line 6459 "PiwigoPublishing.c"
gchar* _tmp7_ = NULL;
-#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = g_strdup ("SERVICE_ERROR");
-#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (error_type);
-#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 934 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
error_type = _tmp7_;
-#line 6469 "PiwigoPublishing.c"
+#line 6467 "PiwigoPublishing.c"
} else {
GError* _tmp8_ = NULL;
-#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = e;
-#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 935 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_error_matches (_tmp8_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_MALFORMED_RESPONSE)) {
-#line 6476 "PiwigoPublishing.c"
+#line 6474 "PiwigoPublishing.c"
gchar* _tmp9_ = NULL;
-#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = g_strdup ("MALFORMED_RESPONSE");
-#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (error_type);
-#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
error_type = _tmp9_;
-#line 6484 "PiwigoPublishing.c"
+#line 6482 "PiwigoPublishing.c"
} else {
GError* _tmp10_ = NULL;
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = e;
-#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_error_matches (_tmp10_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR)) {
-#line 6491 "PiwigoPublishing.c"
+#line 6489 "PiwigoPublishing.c"
gchar* _tmp11_ = NULL;
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = g_strdup ("LOCAL_FILE_ERROR");
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (error_type);
-#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 938 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
error_type = _tmp11_;
-#line 6499 "PiwigoPublishing.c"
+#line 6497 "PiwigoPublishing.c"
} else {
GError* _tmp12_ = NULL;
-#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = e;
-#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 939 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_error_matches (_tmp12_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_EXPIRED_SESSION)) {
-#line 6506 "PiwigoPublishing.c"
+#line 6504 "PiwigoPublishing.c"
gchar* _tmp13_ = NULL;
-#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = g_strdup ("EXPIRED_SESSION");
-#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (error_type);
-#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
error_type = _tmp13_;
-#line 6514 "PiwigoPublishing.c"
+#line 6512 "PiwigoPublishing.c"
} else {
GError* _tmp14_ = NULL;
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = e;
-#line 943 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_error_matches (_tmp14_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_SSL_FAILED)) {
-#line 6521 "PiwigoPublishing.c"
+#line 6519 "PiwigoPublishing.c"
gchar* _tmp15_ = NULL;
-#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = g_strdup ("SECURE_CONNECTION_FAILED");
-#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (error_type);
-#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 942 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
error_type = _tmp15_;
-#line 6529 "PiwigoPublishing.c"
+#line 6527 "PiwigoPublishing.c"
}
}
}
@@ -6544,27 +6542,27 @@ static void publishing_piwigo_piwigo_publisher_do_show_error (PublishingPiwigoPi
}
}
}
-#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = error_type;
-#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = e;
-#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = _tmp17_->message;
-#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = g_strdup_printf ("Unhandled error: type=%s; message='%s'", _tmp16_, _tmp18_);
-#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_ = _tmp19_;
-#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:947: %s", _tmp20_);
-#line 947 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:945: %s", _tmp20_);
+#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp20_);
-#line 948 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp21_ = _ ("An error message occurred when publishing to Piwigo. Please try again.");
-#line 948 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 946 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_do_show_error_message (self, _tmp21_);
-#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 923 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (error_type);
-#line 6558 "PiwigoPublishing.c"
+#line 6556 "PiwigoPublishing.c"
}
@@ -6574,19 +6572,19 @@ static void publishing_piwigo_piwigo_publisher_do_show_error (PublishingPiwigoPi
static void publishing_piwigo_piwigo_publisher_do_show_error_message (PublishingPiwigoPiwigoPublisher* self, const gchar* message) {
SpitPublishingPluginHost* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self));
-#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 952 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (message != NULL);
-#line 955 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:955: ACTION: do_show_error_message");
-#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:953: ACTION: do_show_error_message");
+#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->host;
-#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = message;
-#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
spit_publishing_plugin_host_install_static_message_pane (_tmp0_, _tmp1_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE);
-#line 6580 "PiwigoPublishing.c"
+#line 6578 "PiwigoPublishing.c"
}
@@ -6600,39 +6598,39 @@ static void publishing_piwigo_piwigo_publisher_do_show_error_message (Publishing
* @return the value of pwg_id if present or null if not found
*/
static SoupCookie* _vala_SoupCookie_copy (SoupCookie* self) {
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return g_boxed_copy (soup_cookie_get_type (), self);
-#line 6596 "PiwigoPublishing.c"
+#line 6594 "PiwigoPublishing.c"
}
static gpointer __vala_SoupCookie_copy0 (gpointer self) {
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self ? _vala_SoupCookie_copy (self) : NULL;
-#line 6603 "PiwigoPublishing.c"
+#line 6601 "PiwigoPublishing.c"
}
static void _vala_SoupCookie_free (SoupCookie* self) {
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_boxed_free (soup_cookie_get_type (), self);
-#line 6610 "PiwigoPublishing.c"
+#line 6608 "PiwigoPublishing.c"
}
static void __vala_SoupCookie_free0_ (gpointer var) {
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(var == NULL) ? NULL : (var = (_vala_SoupCookie_free (var), NULL));
-#line 6617 "PiwigoPublishing.c"
+#line 6615 "PiwigoPublishing.c"
}
static void _g_slist_free___vala_SoupCookie_free0_ (GSList* self) {
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_slist_foreach (self, (GFunc) __vala_SoupCookie_free0_, NULL);
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_slist_free (self);
-#line 6626 "PiwigoPublishing.c"
+#line 6624 "PiwigoPublishing.c"
}
@@ -6644,159 +6642,159 @@ static gchar* publishing_piwigo_piwigo_publisher_get_pwg_id_from_transaction (Pu
SoupMessage* _tmp2_ = NULL;
GSList* _tmp3_ = NULL;
GSList* _tmp4_ = NULL;
-#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (self), NULL);
-#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 969 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_TRANSACTION (txn), NULL);
-#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 970 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
pwg_id = NULL;
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = txn;
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = publishing_rest_support_transaction_get_message (_tmp0_);
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = _tmp1_;
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = soup_cookies_from_response (_tmp2_);
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _tmp3_;
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (_tmp2_);
-#line 6656 "PiwigoPublishing.c"
+#line 6654 "PiwigoPublishing.c"
{
GSList* cookie_collection = NULL;
GSList* cookie_it = NULL;
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
cookie_collection = _tmp4_;
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
for (cookie_it = cookie_collection; cookie_it != NULL; cookie_it = cookie_it->next) {
-#line 6664 "PiwigoPublishing.c"
+#line 6662 "PiwigoPublishing.c"
SoupCookie* _tmp5_ = NULL;
SoupCookie* cookie = NULL;
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = __vala_SoupCookie_copy0 ((SoupCookie*) cookie_it->data);
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
cookie = _tmp5_;
-#line 6671 "PiwigoPublishing.c"
+#line 6669 "PiwigoPublishing.c"
{
SoupCookie* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = cookie;
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = soup_cookie_get_name (_tmp6_);
-#line 975 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_strcmp0 (_tmp7_, "pwg_id") == 0) {
-#line 6681 "PiwigoPublishing.c"
+#line 6679 "PiwigoPublishing.c"
SoupCookie* _tmp8_ = NULL;
const gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
-#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = cookie;
-#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = soup_cookie_get_value (_tmp8_);
-#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = g_strdup (_tmp9_);
-#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (pwg_id);
-#line 978 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
pwg_id = _tmp10_;
-#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = pwg_id;
-#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:979: Found pwg_id %s", _tmp11_);
-#line 6700 "PiwigoPublishing.c"
+#line 977 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:977: Found pwg_id %s", _tmp11_);
+#line 6698 "PiwigoPublishing.c"
}
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
__vala_SoupCookie_free0 (cookie);
-#line 6704 "PiwigoPublishing.c"
+#line 6702 "PiwigoPublishing.c"
}
}
-#line 974 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 972 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
__g_slist_free___vala_SoupCookie_free0_0 (cookie_collection);
-#line 6709 "PiwigoPublishing.c"
+#line 6707 "PiwigoPublishing.c"
}
-#line 983 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = pwg_id;
-#line 983 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 981 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 6715 "PiwigoPublishing.c"
+#line 6713 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_class_init (PublishingPiwigoPiwigoPublisherClass * klass) {
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_parent_class = g_type_class_peek_parent (klass);
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingPiwigoPiwigoPublisherPrivate));
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_piwigo_piwigo_publisher_finalize;
-#line 6726 "PiwigoPublishing.c"
+#line 6724 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_spit_publishing_publisher_interface_init (SpitPublishingPublisherIface * iface) {
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_piwigo_publisher_spit_publishing_publisher_parent_iface = g_type_interface_peek_parent (iface);
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
iface->get_service = (SpitPublishingService* (*)(SpitPublishingPublisher*)) publishing_piwigo_piwigo_publisher_real_get_service;
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
iface->is_running = (gboolean (*)(SpitPublishingPublisher*)) publishing_piwigo_piwigo_publisher_real_is_running;
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
iface->start = (void (*)(SpitPublishingPublisher*)) publishing_piwigo_piwigo_publisher_real_start;
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_piwigo_piwigo_publisher_real_stop;
-#line 6741 "PiwigoPublishing.c"
+#line 6739 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_instance_init (PublishingPiwigoPiwigoPublisher * self) {
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv = PUBLISHING_PIWIGO_PIWIGO_PUBLISHER_GET_PRIVATE (self);
-#line 124 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->running = FALSE;
-#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->strip_metadata = FALSE;
-#line 127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->categories = NULL;
-#line 127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->categories_length1 = 0;
-#line 127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->_categories_size_ = self->priv->categories_length1;
-#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->parameters = NULL;
-#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter = NULL;
-#line 6762 "PiwigoPublishing.c"
+#line 6760 "PiwigoPublishing.c"
}
static void publishing_piwigo_piwigo_publisher_finalize (GObject* obj) {
PublishingPiwigoPiwigoPublisher * self;
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_PIWIGO_PUBLISHER, PublishingPiwigoPiwigoPublisher);
-#line 122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->service);
-#line 123 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->host);
-#line 126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_session_unref0 (self->priv->session);
-#line 127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->categories = (_vala_array_free (self->priv->categories, self->priv->categories_length1, (GDestroyNotify) publishing_piwigo_category_unref), NULL);
-#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters);
-#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(self->priv->progress_reporter_target_destroy_notify == NULL) ? NULL : (self->priv->progress_reporter_target_destroy_notify (self->priv->progress_reporter_target), NULL);
-#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter = NULL;
-#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter_target = NULL;
-#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->progress_reporter_target_destroy_notify = NULL;
-#line 121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (publishing_piwigo_piwigo_publisher_parent_class)->finalize (obj);
-#line 6790 "PiwigoPublishing.c"
+#line 6788 "PiwigoPublishing.c"
}
@@ -6821,36 +6819,36 @@ PublishingPiwigoUploader* publishing_piwigo_uploader_construct (GType object_typ
gint _tmp1__length1 = 0;
PublishingPiwigoPublishingParameters* _tmp2_ = NULL;
PublishingPiwigoPublishingParameters* _tmp3_ = NULL;
-#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_PARAMETERS (parameters), NULL);
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = publishables;
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1__length1 = publishables_length1;
-#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoUploader*) publishing_rest_support_batch_uploader_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp1__length1);
-#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = parameters;
-#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = _publishing_piwigo_publishing_parameters_ref0 (_tmp2_);
-#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters);
-#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 994 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->parameters = _tmp3_;
-#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 6837 "PiwigoPublishing.c"
+#line 6835 "PiwigoPublishing.c"
}
PublishingPiwigoUploader* publishing_piwigo_uploader_new (PublishingPiwigoSession* session, SpitPublishingPublishable** publishables, int publishables_length1, PublishingPiwigoPublishingParameters* parameters) {
-#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_uploader_construct (PUBLISHING_PIWIGO_TYPE_UPLOADER, session, publishables, publishables_length1, parameters);
-#line 6844 "PiwigoPublishing.c"
+#line 6842 "PiwigoPublishing.c"
}
@@ -6863,61 +6861,61 @@ static PublishingRESTSupportTransaction* publishing_piwigo_uploader_real_create_
SpitPublishingPublishable* _tmp3_ = NULL;
PublishingPiwigoImagesAddTransaction* _tmp4_ = NULL;
PublishingRESTSupportTransaction* _tmp5_ = NULL;
-#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_UPLOADER, PublishingPiwigoUploader);
-#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL);
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = publishing_rest_support_batch_uploader_get_session (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader));
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_PIWIGO_TYPE_SESSION, PublishingPiwigoSession);
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->parameters;
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishable;
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = publishing_piwigo_images_add_transaction_new (_tmp1_, _tmp2_, _tmp3_);
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction);
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_session_unref0 (_tmp1_);
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp5_;
-#line 1001 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 999 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 6879 "PiwigoPublishing.c"
+#line 6877 "PiwigoPublishing.c"
}
static void publishing_piwigo_uploader_class_init (PublishingPiwigoUploaderClass * klass) {
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_uploader_parent_class = g_type_class_peek_parent (klass);
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
((PublishingRESTSupportBatchUploaderClass *) klass)->finalize = publishing_piwigo_uploader_finalize;
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingPiwigoUploaderPrivate));
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
((PublishingRESTSupportBatchUploaderClass *) klass)->create_transaction = publishing_piwigo_uploader_real_create_transaction;
-#line 6892 "PiwigoPublishing.c"
+#line 6890 "PiwigoPublishing.c"
}
static void publishing_piwigo_uploader_instance_init (PublishingPiwigoUploader * self) {
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv = PUBLISHING_PIWIGO_UPLOADER_GET_PRIVATE (self);
-#line 6899 "PiwigoPublishing.c"
+#line 6897 "PiwigoPublishing.c"
}
static void publishing_piwigo_uploader_finalize (PublishingRESTSupportBatchUploader* obj) {
PublishingPiwigoUploader * self;
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_UPLOADER, PublishingPiwigoUploader);
-#line 990 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 988 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters);
-#line 989 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_CLASS (publishing_piwigo_uploader_parent_class)->finalize (obj);
-#line 6911 "PiwigoPublishing.c"
+#line 6909 "PiwigoPublishing.c"
}
@@ -6933,37 +6931,50 @@ GType publishing_piwigo_uploader_get_type (void) {
}
-static Block1Data* block1_data_ref (Block1Data* _data1_) {
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_atomic_int_inc (&_data1_->_ref_count_);
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return _data1_;
-#line 6932 "PiwigoPublishing.c"
-}
-
-
-static void block1_data_unref (void * _userdata_) {
- Block1Data* _data1_;
- _data1_ = (Block1Data*) _userdata_;
+PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_construct (GType object_type, PublishingPiwigoSessionLoginTransaction* transaction, const gchar* host) {
+ PublishingPiwigoSSLErrorPane * self = NULL;
+ GTlsCertificate* cert = NULL;
+ gchar* text = NULL;
+ PublishingPiwigoSessionLoginTransaction* _tmp0_ = NULL;
+ GTlsCertificate* _tmp1_ = NULL;
+ gchar* _tmp2_ = NULL;
+ const gchar* _tmp3_ = NULL;
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION_LOGIN_TRANSACTION (transaction), NULL);
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (host != NULL, NULL);
#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
-#line 6941 "PiwigoPublishing.c"
- PublishingPiwigoSSLErrorPane* self;
+ _tmp0_ = transaction;
#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = _data1_->self;
+ _tmp2_ = publishing_rest_support_transaction_detailed_error_from_tls_flags (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_tmp1_);
#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (_data1_->cert);
+ _g_object_unref0 (cert);
#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self);
+ cert = _tmp1_;
#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_slice_free (Block1Data, _data1_);
-#line 6951 "PiwigoPublishing.c"
- }
+ text = _tmp2_;
+#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp3_ = host;
+#line 1017 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self = (PublishingPiwigoSSLErrorPane*) g_object_new (object_type, "resource-path", PLUGIN_RESOURCE_PATH "/piwigo_ssl_failure_pane.ui", "default-id", "default", "cert", cert, "error-text", text, "host", _tmp3_, NULL);
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (text);
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (cert);
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return self;
+#line 6957 "PiwigoPublishing.c"
+}
+
+
+PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_new (PublishingPiwigoSessionLoginTransaction* transaction, const gchar* host) {
+#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return publishing_piwigo_ssl_error_pane_construct (PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, transaction, host);
+#line 6964 "PiwigoPublishing.c"
}
-static void ___lambda4_ (Block1Data* _data1_) {
- PublishingPiwigoSSLErrorPane* self;
+static void __lambda4_ (PublishingPiwigoSSLErrorPane* self) {
GcrSimpleCertificate* simple_cert = NULL;
GTlsCertificate* _tmp0_ = NULL;
GByteArray* _tmp1_ = NULL;
@@ -6974,450 +6985,449 @@ static void ___lambda4_ (Block1Data* _data1_) {
GcrSimpleCertificate* _tmp5_ = NULL;
GcrSimpleCertificate* _tmp6_ = NULL;
GcrCertificateWidget* widget = NULL;
- GcrCertificateWidget* _tmp7_ = NULL;
+ GcrSimpleCertificate* _tmp7_ = NULL;
+ GcrCertificateWidget* _tmp8_ = NULL;
+ gboolean use_header = FALSE;
+ GtkSettings* _tmp9_ = NULL;
+ GtkDialogFlags flags = 0;
+ gboolean _tmp10_ = FALSE;
GtkDialog* dialog = NULL;
- GtkDialog* _tmp8_ = NULL;
- GtkBox* _tmp9_ = NULL;
-#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = _data1_->self;
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = _data1_->cert;
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ const gchar* _tmp12_ = NULL;
+ gchar* _tmp13_ = NULL;
+ gchar* _tmp14_ = NULL;
+ gchar* _tmp15_ = NULL;
+ gchar* _tmp16_ = NULL;
+ gchar* _tmp17_ = NULL;
+ GtkDialogFlags _tmp18_ = 0;
+ const gchar* _tmp19_ = NULL;
+ GtkDialog* _tmp20_ = NULL;
+ GtkDialog* _tmp21_ = NULL;
+ GtkBox* _tmp22_ = NULL;
+ GcrCertificateWidget* _tmp23_ = NULL;
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_cert;
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_object_get (_tmp0_, "certificate", &_tmp1_, NULL);
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = _tmp1_;
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = _tmp2_;
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _tmp3_->data;
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4__length1 = (gint) _tmp3_->len;
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = (GcrSimpleCertificate*) gcr_simple_certificate_new (_tmp4_, _tmp4__length1);
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp5_;
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_byte_array_unref0 (_tmp3_);
-#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
simple_cert = _tmp6_;
-#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp7_ = gcr_certificate_widget_new (G_TYPE_CHECK_INSTANCE_CAST (simple_cert, gcr_certificate_get_type (), GcrCertificate));
-#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_object_ref_sink (_tmp7_);
-#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- widget = _tmp7_;
-#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp8_ = (GtkDialog*) gtk_dialog_new ();
-#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7_ = simple_cert;
+#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp8_ = gcr_certificate_widget_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gcr_certificate_get_type (), GcrCertificate));
+#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_object_ref_sink (_tmp8_);
-#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- dialog = _tmp8_;
-#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp9_ = (GtkBox*) gtk_dialog_get_content_area (dialog);
-#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (widget, gtk_widget_get_type (), GtkWidget));
-#line 1038 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_dialog_add_button (dialog, "_OK", (gint) GTK_RESPONSE_OK);
#line 1039 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_dialog_set_default_response (dialog, (gint) GTK_RESPONSE_OK);
+ widget = _tmp8_;
#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_window_set_default_size (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), 640, -1);
+ use_header = TRUE;
#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
+ _tmp9_ = gtk_settings_get_default ();
+#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
#line 1042 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_dialog_run (dialog);
+ flags = (GtkDialogFlags) 0;
+#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp10_ = use_header;
#line 1043 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (_tmp10_) {
+#line 7038 "PiwigoPublishing.c"
+ GtkDialogFlags _tmp11_ = 0;
+#line 1044 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = flags;
+#line 1044 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ flags = _tmp11_ | GTK_DIALOG_USE_HEADER_BAR;
+#line 7044 "PiwigoPublishing.c"
+ }
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp12_ = _ ("Certificate of %s");
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp13_ = publishing_piwigo_ssl_error_pane_get_host (self);
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp14_ = _tmp13_;
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp15_ = _tmp14_;
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp16_ = g_strdup_printf (_tmp12_, _tmp15_);
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp17_ = _tmp16_;
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp18_ = flags;
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp19_ = _ ("_OK");
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp20_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp17_, NULL, _tmp18_, _tmp19_, GTK_RESPONSE_OK, NULL);
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_ref_sink (_tmp20_);
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp21_ = _tmp20_;
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp17_);
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp15_);
+#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ dialog = _tmp21_;
+#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp22_ = (GtkBox*) gtk_dialog_get_content_area (dialog);
+#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp23_ = widget;
+#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget));
+#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_dialog_set_default_response (dialog, (gint) GTK_RESPONSE_OK);
+#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_window_set_default_size (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), 640, -1);
+#line 1055 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
+#line 1056 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_dialog_run (dialog);
+#line 1057 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (dialog);
-#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (widget);
-#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (simple_cert);
-#line 7028 "PiwigoPublishing.c"
+#line 7096 "PiwigoPublishing.c"
}
-static void ____lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- ___lambda4_ (self);
-#line 7035 "PiwigoPublishing.c"
+static void ___lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self) {
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ __lambda4_ ((PublishingPiwigoSSLErrorPane*) self);
+#line 7103 "PiwigoPublishing.c"
}
-static void ___lambda5_ (PublishingPiwigoSSLErrorPane* self) {
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+static void __lambda5_ (PublishingPiwigoSSLErrorPane* self) {
+#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_emit_by_name (self, "proceed");
-#line 7042 "PiwigoPublishing.c"
+#line 7110 "PiwigoPublishing.c"
}
-static void ____lambda5__gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- ___lambda5_ ((PublishingPiwigoSSLErrorPane*) self);
-#line 7049 "PiwigoPublishing.c"
+static void ___lambda5__gtk_button_clicked (GtkButton* _sender, gpointer self) {
+#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ __lambda5_ ((PublishingPiwigoSSLErrorPane*) self);
+#line 7117 "PiwigoPublishing.c"
}
-PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_construct (GType object_type, PublishingPiwigoSessionLoginTransaction* transaction, const gchar* host) {
- PublishingPiwigoSSLErrorPane * self = NULL;
- GError * _inner_error_ = NULL;
-#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION_LOGIN_TRANSACTION (transaction), NULL);
-#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_val_if_fail (host != NULL, NULL);
-#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = (PublishingPiwigoSSLErrorPane*) g_object_new (object_type, NULL);
-#line 7062 "PiwigoPublishing.c"
- {
- Block1Data* _data1_;
- GtkBuilder* _tmp0_ = NULL;
- GtkBuilder* _tmp1_ = NULL;
- GtkBuilder* _tmp2_ = NULL;
- GObject* _tmp3_ = NULL;
- GtkWidget* _tmp4_ = NULL;
- GtkLabel* label = NULL;
- GtkBuilder* _tmp5_ = NULL;
- GObject* _tmp6_ = NULL;
- GtkLabel* _tmp7_ = NULL;
- GtkLabel* _tmp8_ = NULL;
- const gchar* _tmp9_ = NULL;
- const gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- GtkLabel* _tmp13_ = NULL;
- GtkBuilder* _tmp14_ = NULL;
- GObject* _tmp15_ = NULL;
- GtkLabel* _tmp16_ = NULL;
- gchar* text = NULL;
- PublishingPiwigoSessionLoginTransaction* _tmp17_ = NULL;
- GTlsCertificate* _tmp18_ = NULL;
- gchar* _tmp19_ = NULL;
- GtkLabel* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
- GtkButton* info = NULL;
- GtkBuilder* _tmp22_ = NULL;
- GObject* _tmp23_ = NULL;
- GtkButton* _tmp24_ = NULL;
- GtkButton* _tmp25_ = NULL;
- GtkButton* proceed = NULL;
- GtkBuilder* _tmp26_ = NULL;
- GObject* _tmp27_ = NULL;
- GtkButton* _tmp28_ = NULL;
- GtkButton* _tmp29_ = NULL;
- GtkWidget* _tmp30_ = NULL;
- GtkContainer* _tmp31_ = NULL;
- GtkContainer* _tmp32_ = NULL;
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _data1_ = g_slice_new0 (Block1Data);
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _data1_->_ref_count_ = 1;
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _data1_->self = g_object_ref (self);
-#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = gtk_builder_new ();
-#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->builder);
-#line 1018 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->builder = _tmp0_;
-#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = self->priv->builder;
-#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_builder_add_from_resource (_tmp1_, PLUGIN_RESOURCE_PATH "/piwigo_ssl_failure_pane.ui", &_inner_error_);
-#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- block1_data_unref (_data1_);
-#line 1019 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _data1_ = NULL;
-#line 7124 "PiwigoPublishing.c"
- goto __catch44_g_error;
- }
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp2_ = self->priv->builder;
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp3_ = gtk_builder_get_object (_tmp2_, "content");
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp3_) : NULL);
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->content);
-#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->content = _tmp4_;
-#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = self->priv->builder;
-#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp6_ = gtk_builder_get_object (_tmp5_, "main_text");
-#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp6_) : NULL);
-#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- label = _tmp7_;
-#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp8_ = label;
-#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp9_ = _ ("This does not look like the real %s . Attackers might be trying " \
-"to steal or alter information going to or from this site (for example," \
-" private messages, credit card information, or passwords).");
-#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp10_ = host;
-#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp11_ = g_strdup_printf (_tmp9_, _tmp10_);
-#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp12_ = _tmp11_;
-#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_label_set_text (_tmp8_, _tmp12_);
-#line 1024 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (_tmp12_);
-#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp13_ = label;
+static void publishing_piwigo_ssl_error_pane_real_constructed (GObject* base) {
+ PublishingPiwigoSSLErrorPane * self;
+ GtkLabel* label = NULL;
+ GtkBuilder* _tmp0_ = NULL;
+ GtkBuilder* _tmp1_ = NULL;
+ GObject* _tmp2_ = NULL;
+ GtkLabel* _tmp3_ = NULL;
+ GtkLabel* _tmp4_ = NULL;
+ GtkLabel* _tmp5_ = NULL;
+ const gchar* _tmp6_ = NULL;
+ gchar* _tmp7_ = NULL;
+ gchar* _tmp8_ = NULL;
+ gchar* _tmp9_ = NULL;
+ gchar* _tmp10_ = NULL;
+ gchar* _tmp11_ = NULL;
+ GtkLabel* _tmp12_ = NULL;
+ GtkBuilder* _tmp13_ = NULL;
+ GtkBuilder* _tmp14_ = NULL;
+ GObject* _tmp15_ = NULL;
+ GtkLabel* _tmp16_ = NULL;
+ GtkLabel* _tmp17_ = NULL;
+ gchar* _tmp18_ = NULL;
+ gchar* _tmp19_ = NULL;
+ gchar* _tmp20_ = NULL;
+ GtkButton* info = NULL;
+ GtkBuilder* _tmp21_ = NULL;
+ GtkBuilder* _tmp22_ = NULL;
+ GObject* _tmp23_ = NULL;
+ GtkButton* _tmp24_ = NULL;
+ GtkButton* _tmp25_ = NULL;
+ GtkButton* proceed = NULL;
+ GtkBuilder* _tmp26_ = NULL;
+ GtkBuilder* _tmp27_ = NULL;
+ GObject* _tmp28_ = NULL;
+ GtkButton* _tmp29_ = NULL;
+ GtkButton* _tmp30_ = NULL;
#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_label_set_use_markup (_tmp13_, TRUE);
-#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp14_ = self->priv->builder;
-#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp15_ = gtk_builder_get_object (_tmp14_, "ssl_errors");
-#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp16_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp15_) : NULL);
-#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (label);
-#line 1027 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- label = _tmp16_;
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane);
+#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_CLASS (publishing_piwigo_ssl_error_pane_parent_class)->constructed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane), G_TYPE_OBJECT, GObject));
#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp17_ = transaction;
+ _tmp0_ = shotwell_plugins_common_builder_pane_get_builder (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp19_ = publishing_rest_support_transaction_detailed_error_from_tls_flags (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_tmp18_);
+ _tmp1_ = _tmp0_;
#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (_data1_->cert);
+ _tmp2_ = gtk_builder_get_object (_tmp1_, "main_text");
#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _data1_->cert = _tmp18_;
+ _tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp2_) : NULL);
#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- text = _tmp19_;
-#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp20_ = label;
-#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp21_ = text;
-#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_label_set_text (_tmp20_, _tmp21_);
-#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp22_ = self->priv->builder;
-#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp23_ = gtk_builder_get_object (_tmp22_, "default");
+ _tmp4_ = _tmp3_;
+#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_tmp1_);
+#line 1028 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ label = _tmp4_;
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = label;
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp6_ = _ ("This does not look like the real %s . Attackers might be trying " \
+"to steal or alter information going to or from this site (for example," \
+" private messages, credit card information, or passwords).");
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7_ = publishing_piwigo_ssl_error_pane_get_host (self);
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp8_ = _tmp7_;
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp9_ = _tmp8_;
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp10_ = g_strdup_printf (_tmp6_, _tmp9_);
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = _tmp10_;
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_label_set_text (_tmp5_, _tmp11_);
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp11_);
+#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp9_);
#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp23_, gtk_button_get_type ()) ? ((GtkButton*) _tmp23_) : NULL);
+ _tmp12_ = label;
#line 1031 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- info = _tmp24_;
-#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp25_ = info;
-#line 1032 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_data (_tmp25_, "clicked", (GCallback) ____lambda4__gtk_button_clicked, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp26_ = self->priv->builder;
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp27_ = gtk_builder_get_object (_tmp26_, "proceed_button");
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp28_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp27_, gtk_button_get_type ()) ? ((GtkButton*) _tmp27_) : NULL);
-#line 1046 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- proceed = _tmp28_;
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp29_ = proceed;
-#line 1047 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (_tmp29_, "clicked", (GCallback) ____lambda5__gtk_button_clicked, self, 0);
-#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp30_ = self->priv->content;
-#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp31_ = gtk_widget_get_parent (_tmp30_);
-#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp32_ = _tmp31_;
-#line 1049 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp32_ != NULL) {
-#line 7221 "PiwigoPublishing.c"
- GtkWidget* _tmp33_ = NULL;
- GtkContainer* _tmp34_ = NULL;
- GtkContainer* _tmp35_ = NULL;
- GtkWidget* _tmp36_ = NULL;
-#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp33_ = self->priv->content;
-#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp34_ = gtk_widget_get_parent (_tmp33_);
-#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp35_ = _tmp34_;
-#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp36_ = self->priv->content;
-#line 1050 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_container_remove (_tmp35_, _tmp36_);
-#line 7236 "PiwigoPublishing.c"
- }
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (proceed);
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (info);
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (text);
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (label);
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- block1_data_unref (_data1_);
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _data1_ = NULL;
-#line 7250 "PiwigoPublishing.c"
- }
- goto __finally44;
- __catch44_g_error:
- {
- GError* _error_ = NULL;
- const gchar* _tmp37_ = NULL;
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _error_ = _inner_error_;
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _inner_error_ = NULL;
-#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp37_ = _error_->message;
-#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_warning ("PiwigoPublishing.vala:1053: Failed to create ui file: %s", _tmp37_);
-#line 1054 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_assert_not_reached ();
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_error_free0 (_error_);
-#line 7269 "PiwigoPublishing.c"
- }
- __finally44:
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_clear_error (&_inner_error_);
-#line 1016 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return NULL;
-#line 7280 "PiwigoPublishing.c"
- }
-#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return self;
-#line 7284 "PiwigoPublishing.c"
+ gtk_label_set_use_markup (_tmp12_, TRUE);
+#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp13_ = shotwell_plugins_common_builder_pane_get_builder (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
+#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp14_ = _tmp13_;
+#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp15_ = gtk_builder_get_object (_tmp14_, "ssl_errors");
+#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp16_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp15_) : NULL);
+#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (label);
+#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ label = _tmp16_;
+#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_tmp14_);
+#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp17_ = label;
+#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp18_ = publishing_piwigo_ssl_error_pane_get_error_text (self);
+#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp19_ = _tmp18_;
+#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp20_ = _tmp19_;
+#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_label_set_text (_tmp17_, _tmp20_);
+#line 1034 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp20_);
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp21_ = shotwell_plugins_common_builder_pane_get_builder (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp22_ = _tmp21_;
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp23_ = gtk_builder_get_object (_tmp22_, "default");
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp23_, gtk_button_get_type ()) ? ((GtkButton*) _tmp23_) : NULL);
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp25_ = _tmp24_;
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_tmp22_);
+#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ info = _tmp25_;
+#line 1037 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_signal_connect_object (info, "clicked", (GCallback) ___lambda4__gtk_button_clicked, self, 0);
+#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp26_ = shotwell_plugins_common_builder_pane_get_builder (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
+#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp27_ = _tmp26_;
+#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp28_ = gtk_builder_get_object (_tmp27_, "proceed_button");
+#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, gtk_button_get_type ()) ? ((GtkButton*) _tmp28_) : NULL);
+#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp30_ = _tmp29_;
+#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_tmp27_);
+#line 1060 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ proceed = _tmp30_;
+#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_signal_connect_object (proceed, "clicked", (GCallback) ___lambda5__gtk_button_clicked, self, 0);
+#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (proceed);
+#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (info);
+#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (label);
+#line 7263 "PiwigoPublishing.c"
}
-PublishingPiwigoSSLErrorPane* publishing_piwigo_ssl_error_pane_new (PublishingPiwigoSessionLoginTransaction* transaction, const gchar* host) {
-#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return publishing_piwigo_ssl_error_pane_construct (PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, transaction, host);
-#line 7291 "PiwigoPublishing.c"
+gchar* publishing_piwigo_ssl_error_pane_get_host (PublishingPiwigoSSLErrorPane* self) {
+ gchar* result;
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE (self), NULL);
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_host;
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp1_;
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 7281 "PiwigoPublishing.c"
}
-static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_ssl_error_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) {
- PublishingPiwigoSSLErrorPane * self;
- SpitPublishingDialogPaneGeometryOptions result = 0;
-#line 1058 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane);
-#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
-#line 1059 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return result;
-#line 7304 "PiwigoPublishing.c"
+static void publishing_piwigo_ssl_error_pane_set_host (PublishingPiwigoSSLErrorPane* self, const gchar* value) {
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE (self));
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (self->priv->_host);
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_host = _tmp1_;
+#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "host");
+#line 7300 "PiwigoPublishing.c"
}
-static GtkWidget* publishing_piwigo_ssl_error_pane_real_get_widget (SpitPublishingDialogPane* base) {
- PublishingPiwigoSSLErrorPane * self;
- GtkWidget* result = NULL;
- GtkWidget* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
-#line 1062 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane);
-#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = self->priv->content;
-#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = _tmp1_;
-#line 1063 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+static GTlsCertificate* publishing_piwigo_ssl_error_pane_get_cert (PublishingPiwigoSSLErrorPane* self) {
+ GTlsCertificate* result;
+ GTlsCertificate* _tmp0_ = NULL;
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE (self), NULL);
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_cert;
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 7323 "PiwigoPublishing.c"
+#line 7315 "PiwigoPublishing.c"
}
-GtkWidget* publishing_piwigo_ssl_error_pane_get_default_widget (PublishingPiwigoSSLErrorPane* self) {
- GtkWidget* result = NULL;
- GtkBuilder* _tmp0_ = NULL;
- GObject* _tmp1_ = NULL;
- GtkWidget* _tmp2_ = NULL;
-#line 1066 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE (self), NULL);
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = self->priv->builder;
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = gtk_builder_get_object (_tmp0_, "default");
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp1_) : NULL);
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = _tmp2_;
-#line 1067 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return result;
-#line 7344 "PiwigoPublishing.c"
+static void publishing_piwigo_ssl_error_pane_set_cert (PublishingPiwigoSSLErrorPane* self, GTlsCertificate* value) {
+ GTlsCertificate* _tmp0_ = NULL;
+ GTlsCertificate* _tmp1_ = NULL;
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE (self));
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = _g_object_ref0 (_tmp0_);
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->_cert);
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_cert = _tmp1_;
+#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "cert");
+#line 7334 "PiwigoPublishing.c"
}
-static void publishing_piwigo_ssl_error_pane_real_on_pane_installed (SpitPublishingDialogPane* base) {
- PublishingPiwigoSSLErrorPane * self;
-#line 1070 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane);
+gchar* publishing_piwigo_ssl_error_pane_get_error_text (PublishingPiwigoSSLErrorPane* self) {
+ gchar* result;
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE (self), NULL);
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_error_text;
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp1_;
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
#line 7352 "PiwigoPublishing.c"
}
-static void publishing_piwigo_ssl_error_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) {
- PublishingPiwigoSSLErrorPane * self;
-#line 1072 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane);
-#line 7360 "PiwigoPublishing.c"
+static void publishing_piwigo_ssl_error_pane_set_error_text (PublishingPiwigoSSLErrorPane* self, const gchar* value) {
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_SSL_ERROR_PANE (self));
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (self->priv->_error_text);
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_error_text = _tmp1_;
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "error-text");
+#line 7371 "PiwigoPublishing.c"
}
static void publishing_piwigo_ssl_error_pane_class_init (PublishingPiwigoSSLErrorPaneClass * klass) {
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_ssl_error_pane_parent_class = g_type_class_peek_parent (klass);
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingPiwigoSSLErrorPanePrivate));
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ ((GObjectClass *) klass)->constructed = publishing_piwigo_ssl_error_pane_real_constructed;
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_CLASS (klass)->get_property = _vala_publishing_piwigo_ssl_error_pane_get_property;
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_CLASS (klass)->set_property = _vala_publishing_piwigo_ssl_error_pane_set_property;
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_piwigo_ssl_error_pane_finalize;
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_SSL_ERROR_PANE_HOST, g_param_spec_string ("host", "host", "host", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_SSL_ERROR_PANE_CERT, g_param_spec_object ("cert", "cert", "cert", g_tls_certificate_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_SSL_ERROR_PANE_ERROR_TEXT, g_param_spec_string ("error-text", "error-text", "error-text", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_new ("proceed", PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 7373 "PiwigoPublishing.c"
-}
-
-
-static void publishing_piwigo_ssl_error_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) {
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- publishing_piwigo_ssl_error_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface);
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_piwigo_ssl_error_pane_real_get_preferred_geometry;
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_piwigo_ssl_error_pane_real_get_widget;
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_ssl_error_pane_real_on_pane_installed;
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_ssl_error_pane_real_on_pane_uninstalled;
-#line 7388 "PiwigoPublishing.c"
+#line 7396 "PiwigoPublishing.c"
}
static void publishing_piwigo_ssl_error_pane_instance_init (PublishingPiwigoSSLErrorPane * self) {
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv = PUBLISHING_PIWIGO_SSL_ERROR_PANE_GET_PRIVATE (self);
-#line 7395 "PiwigoPublishing.c"
+#line 7403 "PiwigoPublishing.c"
}
static void publishing_piwigo_ssl_error_pane_finalize (GObject* obj) {
PublishingPiwigoSSLErrorPane * self;
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane);
#line 1009 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->builder);
+ _g_free0 (self->priv->_host);
#line 1010 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->content);
-#line 1008 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->_cert);
+#line 1011 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (self->priv->_error_text);
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (publishing_piwigo_ssl_error_pane_parent_class)->finalize (obj);
-#line 7409 "PiwigoPublishing.c"
+#line 7419 "PiwigoPublishing.c"
}
@@ -7425,16 +7435,82 @@ GType publishing_piwigo_ssl_error_pane_get_type (void) {
static volatile gsize publishing_piwigo_ssl_error_pane_type_id__volatile = 0;
if (g_once_init_enter (&publishing_piwigo_ssl_error_pane_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (PublishingPiwigoSSLErrorPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_piwigo_ssl_error_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingPiwigoSSLErrorPane), 0, (GInstanceInitFunc) publishing_piwigo_ssl_error_pane_instance_init, NULL };
- static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) publishing_piwigo_ssl_error_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
GType publishing_piwigo_ssl_error_pane_type_id;
- publishing_piwigo_ssl_error_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "PublishingPiwigoSSLErrorPane", &g_define_type_info, 0);
- g_type_add_interface_static (publishing_piwigo_ssl_error_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info);
+ publishing_piwigo_ssl_error_pane_type_id = g_type_register_static (SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, "PublishingPiwigoSSLErrorPane", &g_define_type_info, 0);
g_once_init_leave (&publishing_piwigo_ssl_error_pane_type_id__volatile, publishing_piwigo_ssl_error_pane_type_id);
}
return publishing_piwigo_ssl_error_pane_type_id__volatile;
}
+static void _vala_publishing_piwigo_ssl_error_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
+ PublishingPiwigoSSLErrorPane * self;
+ self = G_TYPE_CHECK_INSTANCE_CAST (object, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane);
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ switch (property_id) {
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_SSL_ERROR_PANE_HOST:
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_take_string (value, publishing_piwigo_ssl_error_pane_get_host (self));
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_SSL_ERROR_PANE_CERT:
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_object (value, publishing_piwigo_ssl_error_pane_get_cert (self));
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_SSL_ERROR_PANE_ERROR_TEXT:
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_take_string (value, publishing_piwigo_ssl_error_pane_get_error_text (self));
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 7458 "PiwigoPublishing.c"
+ default:
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 7464 "PiwigoPublishing.c"
+ }
+}
+
+
+static void _vala_publishing_piwigo_ssl_error_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
+ PublishingPiwigoSSLErrorPane * self;
+ self = G_TYPE_CHECK_INSTANCE_CAST (object, PUBLISHING_PIWIGO_TYPE_SSL_ERROR_PANE, PublishingPiwigoSSLErrorPane);
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ switch (property_id) {
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_SSL_ERROR_PANE_HOST:
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_ssl_error_pane_set_host (self, g_value_get_string (value));
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_SSL_ERROR_PANE_CERT:
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_ssl_error_pane_set_cert (self, g_value_get_object (value));
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_SSL_ERROR_PANE_ERROR_TEXT:
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_ssl_error_pane_set_error_text (self, g_value_get_string (value));
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 7492 "PiwigoPublishing.c"
+ default:
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+#line 1006 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 7498 "PiwigoPublishing.c"
+ }
+}
+
+
GType publishing_piwigo_authentication_pane_mode_get_type (void) {
static volatile gsize publishing_piwigo_authentication_pane_mode_type_id__volatile = 0;
if (g_once_init_enter (&publishing_piwigo_authentication_pane_mode_type_id__volatile)) {
@@ -7447,444 +7523,361 @@ GType publishing_piwigo_authentication_pane_mode_get_type (void) {
}
+PublishingPiwigoAuthenticationPane* publishing_piwigo_authentication_pane_construct (GType object_type, PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoAuthenticationPaneMode mode) {
+ PublishingPiwigoAuthenticationPane * self = NULL;
+ PublishingPiwigoAuthenticationPaneMode _tmp0_ = 0;
+ PublishingPiwigoPiwigoPublisher* _tmp1_ = NULL;
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (publisher), NULL);
+#line 1092 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = mode;
+#line 1092 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = publisher;
+#line 1092 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self = (PublishingPiwigoAuthenticationPane*) g_object_new (object_type, "resource-path", PLUGIN_RESOURCE_PATH "/piwigo_authentication_pane.ui", "connect-signals", TRUE, "default-id", "login_button", "mode", _tmp0_, "publisher", _tmp1_, NULL);
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return self;
+#line 7529 "PiwigoPublishing.c"
+}
+
+
+PublishingPiwigoAuthenticationPane* publishing_piwigo_authentication_pane_new (PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoAuthenticationPaneMode mode) {
+#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return publishing_piwigo_authentication_pane_construct (PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, publisher, mode);
+#line 7536 "PiwigoPublishing.c"
+}
+
+
static void _publishing_piwigo_authentication_pane_on_user_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
-#line 1146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_on_user_changed ((PublishingPiwigoAuthenticationPane*) self);
-#line 7442 "PiwigoPublishing.c"
+#line 7543 "PiwigoPublishing.c"
}
static void _publishing_piwigo_authentication_pane_on_url_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
-#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_on_url_changed ((PublishingPiwigoAuthenticationPane*) self);
-#line 7449 "PiwigoPublishing.c"
+#line 7550 "PiwigoPublishing.c"
}
static void _publishing_piwigo_authentication_pane_on_password_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
-#line 1148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_on_password_changed ((PublishingPiwigoAuthenticationPane*) self);
-#line 7456 "PiwigoPublishing.c"
+#line 7557 "PiwigoPublishing.c"
}
static void _publishing_piwigo_authentication_pane_on_login_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_on_login_button_clicked ((PublishingPiwigoAuthenticationPane*) self);
-#line 7463 "PiwigoPublishing.c"
+#line 7564 "PiwigoPublishing.c"
}
-PublishingPiwigoAuthenticationPane* publishing_piwigo_authentication_pane_construct (GType object_type, PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoAuthenticationPaneMode mode) {
- PublishingPiwigoAuthenticationPane * self = NULL;
- GtkBox* _tmp0_ = NULL;
- GError * _inner_error_ = NULL;
-#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (publisher), NULL);
-#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = (PublishingPiwigoAuthenticationPane*) g_object_new (object_type, NULL);
-#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_object_ref_sink (_tmp0_);
-#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->pane_widget);
+static void publishing_piwigo_authentication_pane_real_constructed (GObject* base) {
+ PublishingPiwigoAuthenticationPane * self;
+ GtkBuilder* builder = NULL;
+ GtkBuilder* _tmp0_ = NULL;
+ GtkLabel* message_label = NULL;
+ GtkBuilder* _tmp1_ = NULL;
+ GObject* _tmp2_ = NULL;
+ GtkLabel* _tmp3_ = NULL;
+ PublishingPiwigoAuthenticationPaneMode _tmp4_ = 0;
+ GtkBuilder* _tmp17_ = NULL;
+ GObject* _tmp18_ = NULL;
+ GtkEntry* _tmp19_ = NULL;
+ gchar* persistent_url = NULL;
+ PublishingPiwigoPiwigoPublisher* _tmp20_ = NULL;
+ gchar* _tmp21_ = NULL;
+ const gchar* _tmp22_ = NULL;
+ GtkBuilder* _tmp25_ = NULL;
+ GObject* _tmp26_ = NULL;
+ GtkEntry* _tmp27_ = NULL;
+ gchar* persistent_username = NULL;
+ PublishingPiwigoPiwigoPublisher* _tmp28_ = NULL;
+ gchar* _tmp29_ = NULL;
+ const gchar* _tmp30_ = NULL;
+ GtkBuilder* _tmp33_ = NULL;
+ GObject* _tmp34_ = NULL;
+ GtkEntry* _tmp35_ = NULL;
+ gchar* persistent_password = NULL;
+ PublishingPiwigoPiwigoPublisher* _tmp36_ = NULL;
+ gchar* _tmp37_ = NULL;
+ const gchar* _tmp38_ = NULL;
+ GtkBuilder* _tmp41_ = NULL;
+ GObject* _tmp42_ = NULL;
+ GtkSwitch* _tmp43_ = NULL;
+ GtkSwitch* _tmp44_ = NULL;
+ PublishingPiwigoPiwigoPublisher* _tmp45_ = NULL;
+ gboolean _tmp46_ = FALSE;
+ GtkBuilder* _tmp47_ = NULL;
+ GObject* _tmp48_ = NULL;
+ GtkButton* _tmp49_ = NULL;
+ GtkEntry* _tmp50_ = NULL;
+ GtkEntry* _tmp51_ = NULL;
+ GtkEntry* _tmp52_ = NULL;
+ GtkButton* _tmp53_ = NULL;
+ PublishingPiwigoPiwigoPublisher* _tmp54_ = NULL;
+ SpitPublishingPluginHost* _tmp55_ = NULL;
+ SpitPublishingPluginHost* _tmp56_ = NULL;
+ GtkButton* _tmp57_ = NULL;
#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->pane_widget = _tmp0_;
-#line 7483 "PiwigoPublishing.c"
- {
- GtkBuilder* _tmp1_ = NULL;
- GtkBuilder* _tmp2_ = NULL;
- GtkBuilder* _tmp3_ = NULL;
- GtkAlignment* align = NULL;
- GtkBuilder* _tmp4_ = NULL;
- GObject* _tmp5_ = NULL;
- GtkAlignment* _tmp6_ = NULL;
- GtkLabel* message_label = NULL;
- GtkBuilder* _tmp7_ = NULL;
- GObject* _tmp8_ = NULL;
- GtkLabel* _tmp9_ = NULL;
- PublishingPiwigoAuthenticationPaneMode _tmp10_ = 0;
- GtkBuilder* _tmp23_ = NULL;
- GObject* _tmp24_ = NULL;
- GtkEntry* _tmp25_ = NULL;
- gchar* persistent_url = NULL;
- PublishingPiwigoPiwigoPublisher* _tmp26_ = NULL;
- gchar* _tmp27_ = NULL;
- const gchar* _tmp28_ = NULL;
- GtkBuilder* _tmp31_ = NULL;
- GObject* _tmp32_ = NULL;
- GtkEntry* _tmp33_ = NULL;
- gchar* persistent_username = NULL;
- PublishingPiwigoPiwigoPublisher* _tmp34_ = NULL;
- gchar* _tmp35_ = NULL;
- const gchar* _tmp36_ = NULL;
- GtkBuilder* _tmp39_ = NULL;
- GObject* _tmp40_ = NULL;
- GtkEntry* _tmp41_ = NULL;
- gchar* persistent_password = NULL;
- PublishingPiwigoPiwigoPublisher* _tmp42_ = NULL;
- gchar* _tmp43_ = NULL;
- const gchar* _tmp44_ = NULL;
- GtkBuilder* _tmp47_ = NULL;
- GObject* _tmp48_ = NULL;
- GtkCheckButton* _tmp49_ = NULL;
- GtkCheckButton* _tmp50_ = NULL;
- PublishingPiwigoPiwigoPublisher* _tmp51_ = NULL;
- gboolean _tmp52_ = FALSE;
- GtkBuilder* _tmp53_ = NULL;
- GObject* _tmp54_ = NULL;
- GtkButton* _tmp55_ = NULL;
- GtkEntry* _tmp56_ = NULL;
- GtkEntry* _tmp57_ = NULL;
- GtkEntry* _tmp58_ = NULL;
- GtkButton* _tmp59_ = NULL;
- GtkAlignment* _tmp60_ = NULL;
- GtkBox* _tmp61_ = NULL;
- PublishingPiwigoPiwigoPublisher* _tmp62_ = NULL;
- SpitPublishingPluginHost* _tmp63_ = NULL;
- SpitPublishingPluginHost* _tmp64_ = NULL;
- GtkButton* _tmp65_ = NULL;
-#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = gtk_builder_new ();
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane);
+#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_CLASS (publishing_piwigo_authentication_pane_parent_class)->constructed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane), G_TYPE_OBJECT, GObject));
#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->builder);
+ _tmp0_ = shotwell_plugins_common_builder_pane_get_builder (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
#line 1103 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->builder = _tmp1_;
+ builder = _tmp0_;
#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp2_ = self->priv->builder;
+ _tmp1_ = builder;
#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_builder_add_from_resource (_tmp2_, PLUGIN_RESOURCE_PATH "/piwigo_authentication_pane.ui", &_inner_error_);
+ _tmp2_ = gtk_builder_get_object (_tmp1_, "message_label");
#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7549 "PiwigoPublishing.c"
- goto __catch45_g_error;
- }
+ _tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp2_) : NULL);
+#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ message_label = _tmp3_;
#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp3_ = self->priv->builder;
+ _tmp4_ = self->priv->_mode;
#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_builder_connect_signals (_tmp3_, NULL);
-#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp4_ = self->priv->builder;
-#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = gtk_builder_get_object (_tmp4_, "alignment");
-#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_alignment_get_type ()) ? ((GtkAlignment*) _tmp5_) : NULL);
-#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- align = _tmp6_;
-#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp7_ = self->priv->builder;
-#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp8_ = gtk_builder_get_object (_tmp7_, "message_label");
-#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp8_) : NULL);
+ switch (_tmp4_) {
+#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_INTRO:
+#line 7637 "PiwigoPublishing.c"
+ {
+ GtkLabel* _tmp5_ = NULL;
+ const gchar* _tmp6_ = NULL;
+#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = message_label;
+#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp6_ = publishing_piwigo_authentication_pane_INTRO_MESSAGE;
+#line 1107 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_label_set_text (_tmp5_, _tmp6_);
#line 1108 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- message_label = _tmp9_;
-#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp10_ = mode;
-#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- switch (_tmp10_) {
-#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_INTRO:
-#line 7578 "PiwigoPublishing.c"
- {
- GtkLabel* _tmp11_ = NULL;
- const gchar* _tmp12_ = NULL;
+ break;
+#line 7649 "PiwigoPublishing.c"
+ }
+#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_URL:
+#line 7653 "PiwigoPublishing.c"
+ {
+ GtkLabel* _tmp7_ = NULL;
+ const gchar* _tmp8_ = NULL;
+ const gchar* _tmp9_ = NULL;
+ gchar* _tmp10_ = NULL;
+ gchar* _tmp11_ = NULL;
#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp11_ = message_label;
+ _tmp7_ = message_label;
#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp12_ = publishing_piwigo_authentication_pane_INTRO_MESSAGE;
+ _tmp8_ = _ ("Invalid URL");
#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_label_set_text (_tmp11_, _tmp12_);
-#line 1112 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- break;
-#line 7590 "PiwigoPublishing.c"
- }
-#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_URL:
-#line 7594 "PiwigoPublishing.c"
- {
- GtkLabel* _tmp13_ = NULL;
- const gchar* _tmp14_ = NULL;
- const gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
-#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp13_ = message_label;
-#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp14_ = _ ("Invalid URL");
-#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp15_ = publishing_piwigo_authentication_pane_FAILED_RETRY_URL_MESSAGE;
-#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp16_ = g_strdup_printf ("%s \n\n%s", _tmp14_, _tmp15_);
-#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp17_ = _tmp16_;
-#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_label_set_markup (_tmp13_, _tmp17_);
-#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (_tmp17_);
-#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- break;
-#line 7617 "PiwigoPublishing.c"
- }
-#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_USER:
-#line 7621 "PiwigoPublishing.c"
- {
- GtkLabel* _tmp18_ = NULL;
- const gchar* _tmp19_ = NULL;
- const gchar* _tmp20_ = NULL;
- gchar* _tmp21_ = NULL;
- gchar* _tmp22_ = NULL;
-#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp18_ = message_label;
-#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp19_ = _ ("Invalid User Name or Password");
-#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp20_ = publishing_piwigo_authentication_pane_FAILED_RETRY_USER_MESSAGE;
-#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp21_ = g_strdup_printf ("%s \n\n%s", _tmp19_, _tmp20_);
-#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp22_ = _tmp21_;
-#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_label_set_markup (_tmp18_, _tmp22_);
-#line 1120 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (_tmp22_);
-#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- break;
-#line 7644 "PiwigoPublishing.c"
- }
- default:
-#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp9_ = publishing_piwigo_authentication_pane_FAILED_RETRY_URL_MESSAGE;
+#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp10_ = g_strdup_printf ("%s \n\n%s", _tmp8_, _tmp9_);
+#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = _tmp10_;
+#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_label_set_markup (_tmp7_, _tmp11_);
+#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp11_);
+#line 1113 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 7649 "PiwigoPublishing.c"
+#line 7676 "PiwigoPublishing.c"
+ }
+#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE_FAILED_RETRY_USER:
+#line 7680 "PiwigoPublishing.c"
+ {
+ GtkLabel* _tmp12_ = NULL;
+ const gchar* _tmp13_ = NULL;
+ const gchar* _tmp14_ = NULL;
+ gchar* _tmp15_ = NULL;
+ gchar* _tmp16_ = NULL;
+#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp12_ = message_label;
+#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp13_ = _ ("Invalid User Name or Password");
+#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp14_ = publishing_piwigo_authentication_pane_FAILED_RETRY_USER_MESSAGE;
+#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp15_ = g_strdup_printf ("%s \n\n%s", _tmp13_, _tmp14_);
+#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp16_ = _tmp15_;
+#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_label_set_markup (_tmp12_, _tmp16_);
+#line 1116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp16_);
+#line 1118 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 7703 "PiwigoPublishing.c"
}
-#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp23_ = self->priv->builder;
-#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp24_ = gtk_builder_get_object (_tmp23_, "url_entry");
-#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp25_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp24_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp24_) : NULL);
-#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->url_entry);
-#line 1125 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->url_entry = _tmp25_;
+ default:
+#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 7708 "PiwigoPublishing.c"
+ }
+#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp17_ = builder;
+#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp18_ = gtk_builder_get_object (_tmp17_, "url_entry");
+#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp19_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp18_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp18_) : NULL);
+#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->url_entry);
+#line 1121 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->url_entry = _tmp19_;
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp20_ = self->priv->_publisher;
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp21_ = publishing_piwigo_piwigo_publisher_get_persistent_url (_tmp20_);
+#line 1122 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ persistent_url = _tmp21_;
+#line 1123 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp22_ = persistent_url;
+#line 1123 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (_tmp22_ != NULL) {
+#line 7730 "PiwigoPublishing.c"
+ GtkEntry* _tmp23_ = NULL;
+ const gchar* _tmp24_ = NULL;
+#line 1124 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp23_ = self->priv->url_entry;
+#line 1124 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp24_ = persistent_url;
+#line 1124 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_entry_set_text (_tmp23_, _tmp24_);
+#line 7739 "PiwigoPublishing.c"
+ }
+#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp25_ = builder;
#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp26_ = publisher;
+ _tmp26_ = gtk_builder_get_object (_tmp25_, "username_entry");
#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp27_ = publishing_piwigo_piwigo_publisher_get_persistent_url (_tmp26_);
+ _tmp27_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp26_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp26_) : NULL);
+#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->username_entry);
#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- persistent_url = _tmp27_;
+ self->priv->username_entry = _tmp27_;
#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp28_ = persistent_url;
+ _tmp28_ = self->priv->_publisher;
#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp28_ != NULL) {
-#line 7671 "PiwigoPublishing.c"
- GtkEntry* _tmp29_ = NULL;
- const gchar* _tmp30_ = NULL;
-#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp29_ = self->priv->url_entry;
+ _tmp29_ = publishing_piwigo_piwigo_publisher_get_persistent_username (_tmp28_);
+#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ persistent_username = _tmp29_;
#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp30_ = persistent_url;
+ _tmp30_ = persistent_username;
#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_entry_set_text (_tmp29_, _tmp30_);
-#line 7680 "PiwigoPublishing.c"
- }
-#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp31_ = self->priv->builder;
-#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp32_ = gtk_builder_get_object (_tmp31_, "username_entry");
-#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp33_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp32_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp32_) : NULL);
-#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->username_entry);
-#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->username_entry = _tmp33_;
+ if (_tmp30_ != NULL) {
+#line 7761 "PiwigoPublishing.c"
+ GtkEntry* _tmp31_ = NULL;
+ const gchar* _tmp32_ = NULL;
+#line 1129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp31_ = self->priv->username_entry;
+#line 1129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp32_ = persistent_username;
+#line 1129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_entry_set_text (_tmp31_, _tmp32_);
+#line 7770 "PiwigoPublishing.c"
+ }
+#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp33_ = builder;
#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp34_ = publisher;
+ _tmp34_ = gtk_builder_get_object (_tmp33_, "password_entry");
#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp35_ = publishing_piwigo_piwigo_publisher_get_persistent_username (_tmp34_);
+ _tmp35_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp34_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp34_) : NULL);
+#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->password_entry);
#line 1131 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- persistent_username = _tmp35_;
+ self->priv->password_entry = _tmp35_;
#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp36_ = persistent_username;
+ _tmp36_ = self->priv->_publisher;
#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp36_ != NULL) {
-#line 7702 "PiwigoPublishing.c"
- GtkEntry* _tmp37_ = NULL;
- const gchar* _tmp38_ = NULL;
-#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp37_ = self->priv->username_entry;
+ _tmp37_ = publishing_piwigo_piwigo_publisher_get_persistent_password (_tmp36_);
+#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ persistent_password = _tmp37_;
#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp38_ = persistent_username;
+ _tmp38_ = persistent_password;
#line 1133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_entry_set_text (_tmp37_, _tmp38_);
-#line 7711 "PiwigoPublishing.c"
- }
-#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp39_ = self->priv->builder;
-#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp40_ = gtk_builder_get_object (_tmp39_, "password_entry");
-#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp41_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp40_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp40_) : NULL);
-#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->password_entry);
-#line 1135 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->password_entry = _tmp41_;
+ if (_tmp38_ != NULL) {
+#line 7792 "PiwigoPublishing.c"
+ GtkEntry* _tmp39_ = NULL;
+ const gchar* _tmp40_ = NULL;
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp39_ = self->priv->password_entry;
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp40_ = persistent_password;
+#line 1134 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_entry_set_text (_tmp39_, _tmp40_);
+#line 7801 "PiwigoPublishing.c"
+ }
#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp42_ = publisher;
+ _tmp41_ = builder;
#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp43_ = publishing_piwigo_piwigo_publisher_get_persistent_password (_tmp42_);
+ _tmp42_ = gtk_builder_get_object (_tmp41_, "remember_password_checkbutton");
#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- persistent_password = _tmp43_;
-#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp44_ = persistent_password;
-#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp44_ != NULL) {
-#line 7733 "PiwigoPublishing.c"
- GtkEntry* _tmp45_ = NULL;
- const gchar* _tmp46_ = NULL;
+ _tmp43_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp42_, gtk_switch_get_type ()) ? ((GtkSwitch*) _tmp42_) : NULL);
+#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->remember_password_checkbutton);
+#line 1136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->remember_password_checkbutton = _tmp43_;
#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp45_ = self->priv->password_entry;
+ _tmp44_ = self->priv->remember_password_checkbutton;
#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp46_ = persistent_password;
+ _tmp45_ = self->priv->_publisher;
#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_entry_set_text (_tmp45_, _tmp46_);
-#line 7742 "PiwigoPublishing.c"
- }
+ _tmp46_ = publishing_piwigo_piwigo_publisher_get_remember_password (_tmp45_);
+#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_switch_set_active (_tmp44_, _tmp46_);
#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp47_ = self->priv->builder;
+ _tmp47_ = builder;
#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp48_ = gtk_builder_get_object (_tmp47_, "remember_password_checkbutton");
+ _tmp48_ = gtk_builder_get_object (_tmp47_, "login_button");
#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp49_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp48_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp48_) : NULL);
+ _tmp49_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp48_, gtk_button_get_type ()) ? ((GtkButton*) _tmp48_) : NULL);
#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->remember_password_checkbutton);
+ _g_object_unref0 (self->priv->login_button);
#line 1140 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->remember_password_checkbutton = _tmp49_;
-#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp50_ = self->priv->remember_password_checkbutton;
+ self->priv->login_button = _tmp49_;
#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp51_ = publisher;
+ _tmp50_ = self->priv->username_entry;
#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp52_ = publishing_piwigo_piwigo_publisher_get_remember_password (_tmp51_);
-#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp52_);
-#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp53_ = self->priv->builder;
-#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp54_ = gtk_builder_get_object (_tmp53_, "login_button");
-#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp55_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp54_, gtk_button_get_type ()) ? ((GtkButton*) _tmp54_) : NULL);
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_authentication_pane_on_user_changed_gtk_editable_changed, self, 0);
+#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp51_ = self->priv->url_entry;
+#line 1143 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_authentication_pane_on_url_changed_gtk_editable_changed, self, 0);
#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->login_button);
+ _tmp52_ = self->priv->password_entry;
#line 1144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->login_button = _tmp55_;
-#line 1146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp56_ = self->priv->username_entry;
-#line 1146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_authentication_pane_on_user_changed_gtk_editable_changed, self, 0);
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_authentication_pane_on_password_changed_gtk_editable_changed, self, 0);
+#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp53_ = self->priv->login_button;
+#line 1145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_signal_connect_object (_tmp53_, "clicked", (GCallback) _publishing_piwigo_authentication_pane_on_login_button_clicked_gtk_button_clicked, self, 0);
#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp57_ = self->priv->url_entry;
+ _tmp54_ = self->priv->_publisher;
#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_authentication_pane_on_url_changed_gtk_editable_changed, self, 0);
-#line 1148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp58_ = self->priv->password_entry;
-#line 1148 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_authentication_pane_on_password_changed_gtk_editable_changed, self, 0);
-#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp59_ = self->priv->login_button;
-#line 1149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (_tmp59_, "clicked", (GCallback) _publishing_piwigo_authentication_pane_on_login_button_clicked_gtk_button_clicked, self, 0);
-#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp60_ = align;
-#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp61_ = self->priv->pane_widget;
-#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_reparent (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget), G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_widget_get_type (), GtkWidget));
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp62_ = publisher;
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp63_ = publishing_piwigo_piwigo_publisher_get_host (_tmp62_);
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp64_ = _tmp63_;
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp65_ = self->priv->login_button;
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- spit_publishing_plugin_host_set_dialog_default_widget (_tmp64_, G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_widget_get_type (), GtkWidget));
-#line 1152 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (_tmp64_);
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (persistent_password);
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (persistent_username);
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (persistent_url);
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (message_label);
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (align);
-#line 7816 "PiwigoPublishing.c"
- }
- goto __finally45;
- __catch45_g_error:
- {
- GError* e = NULL;
- GError* _tmp66_ = NULL;
- const gchar* _tmp67_ = NULL;
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- e = _inner_error_;
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _inner_error_ = NULL;
-#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp66_ = e;
-#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp67_ = _tmp66_->message;
-#line 1154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_warning ("PiwigoPublishing.vala:1154: Could not load UI: %s", _tmp67_);
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_error_free0 (e);
-#line 7836 "PiwigoPublishing.c"
- }
- __finally45:
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_clear_error (&_inner_error_);
-#line 1102 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return NULL;
-#line 7847 "PiwigoPublishing.c"
- }
-#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return self;
-#line 7851 "PiwigoPublishing.c"
-}
-
-
-PublishingPiwigoAuthenticationPane* publishing_piwigo_authentication_pane_new (PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoAuthenticationPaneMode mode) {
-#line 1099 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return publishing_piwigo_authentication_pane_construct (PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, publisher, mode);
-#line 7858 "PiwigoPublishing.c"
-}
-
-
-GtkWidget* publishing_piwigo_authentication_pane_get_default_widget (PublishingPiwigoAuthenticationPane* self) {
- GtkWidget* result = NULL;
- GtkButton* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
-#line 1158 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_val_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self), NULL);
-#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = self->priv->login_button;
-#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = _tmp1_;
-#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return result;
-#line 7876 "PiwigoPublishing.c"
+ _tmp55_ = publishing_piwigo_piwigo_publisher_get_host (_tmp54_);
+#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp56_ = _tmp55_;
+#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp57_ = self->priv->login_button;
+#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ spit_publishing_plugin_host_set_dialog_default_widget (_tmp56_, G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, gtk_widget_get_type (), GtkWidget));
+#line 1147 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_tmp56_);
+#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (persistent_password);
+#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (persistent_username);
+#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (persistent_url);
+#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (message_label);
+#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (builder);
+#line 7869 "PiwigoPublishing.c"
}
@@ -7895,56 +7888,56 @@ static void publishing_piwigo_authentication_pane_on_login_button_clicked (Publi
const gchar* _tmp3_ = NULL;
GtkEntry* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
- GtkCheckButton* _tmp6_ = NULL;
+ GtkSwitch* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self));
-#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->url_entry;
-#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = gtk_entry_get_text (_tmp0_);
-#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->username_entry;
-#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = gtk_entry_get_text (_tmp2_);
-#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->password_entry;
-#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = gtk_entry_get_text (_tmp4_);
-#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = self->priv->remember_password_checkbutton;
-#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp7_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7_ = gtk_switch_get_active (_tmp6_);
+#line 1151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_emit_by_name (self, "login", _tmp1_, _tmp3_, _tmp5_, _tmp7_);
-#line 7909 "PiwigoPublishing.c"
+#line 7902 "PiwigoPublishing.c"
}
static void publishing_piwigo_authentication_pane_on_url_changed (PublishingPiwigoAuthenticationPane* self) {
-#line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1155 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self));
-#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1156 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_update_login_button_sensitivity (self);
-#line 7918 "PiwigoPublishing.c"
+#line 7911 "PiwigoPublishing.c"
}
static void publishing_piwigo_authentication_pane_on_user_changed (PublishingPiwigoAuthenticationPane* self) {
-#line 1171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self));
-#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_update_login_button_sensitivity (self);
-#line 7927 "PiwigoPublishing.c"
+#line 7920 "PiwigoPublishing.c"
}
static void publishing_piwigo_authentication_pane_on_password_changed (PublishingPiwigoAuthenticationPane* self) {
-#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self));
-#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1164 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_update_login_button_sensitivity (self);
-#line 7936 "PiwigoPublishing.c"
+#line 7929 "PiwigoPublishing.c"
}
@@ -7955,124 +7948,144 @@ static void publishing_piwigo_authentication_pane_update_login_button_sensitivit
guint _tmp3_ = 0U;
guint _tmp4_ = 0U;
GtkButton* _tmp11_ = NULL;
-#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self));
-#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->url_entry;
-#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = gtk_entry_get_text_length (_tmp2_);
-#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _tmp3_;
-#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp4_ != ((guint) 0)) {
-#line 7957 "PiwigoPublishing.c"
+#line 7950 "PiwigoPublishing.c"
GtkEntry* _tmp5_ = NULL;
guint _tmp6_ = 0U;
guint _tmp7_ = 0U;
-#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = self->priv->username_entry;
-#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = gtk_entry_get_text_length (_tmp5_);
-#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _tmp6_;
-#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _tmp7_ != ((guint) 0);
-#line 7969 "PiwigoPublishing.c"
+#line 7962 "PiwigoPublishing.c"
} else {
-#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = FALSE;
-#line 7973 "PiwigoPublishing.c"
+#line 7966 "PiwigoPublishing.c"
}
-#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp1_) {
-#line 7977 "PiwigoPublishing.c"
+#line 7970 "PiwigoPublishing.c"
GtkEntry* _tmp8_ = NULL;
guint _tmp9_ = 0U;
guint _tmp10_ = 0U;
-#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = self->priv->password_entry;
-#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = gtk_entry_get_text_length (_tmp8_);
-#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = _tmp9_;
-#line 1182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = _tmp10_ != ((guint) 0);
-#line 7989 "PiwigoPublishing.c"
+#line 7982 "PiwigoPublishing.c"
} else {
-#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = FALSE;
-#line 7993 "PiwigoPublishing.c"
+#line 7986 "PiwigoPublishing.c"
}
-#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = self->priv->login_button;
-#line 1180 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), _tmp0_);
-#line 7999 "PiwigoPublishing.c"
-}
-
-
-static GtkWidget* publishing_piwigo_authentication_pane_real_get_widget (SpitPublishingDialogPane* base) {
- PublishingPiwigoAuthenticationPane * self;
- GtkWidget* result = NULL;
- GtkBox* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
-#line 1185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane);
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = self->priv->pane_widget;
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = _tmp1_;
-#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return result;
-#line 8018 "PiwigoPublishing.c"
-}
-
-
-static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_authentication_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) {
- PublishingPiwigoAuthenticationPane * self;
- SpitPublishingDialogPaneGeometryOptions result = 0;
-#line 1189 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane);
-#line 1190 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
-#line 1190 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return result;
-#line 8031 "PiwigoPublishing.c"
+#line 7992 "PiwigoPublishing.c"
}
-static void publishing_piwigo_authentication_pane_real_on_pane_installed (SpitPublishingDialogPane* base) {
+static void publishing_piwigo_authentication_pane_real_on_pane_installed (ShotwellPluginsCommonBuilderPane* base) {
PublishingPiwigoAuthenticationPane * self;
GtkEntry* _tmp0_ = NULL;
GtkEntry* _tmp1_ = NULL;
GtkButton* _tmp2_ = NULL;
-#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane);
-#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1174 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_CLASS (publishing_piwigo_authentication_pane_parent_class)->on_pane_installed (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
+#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->url_entry;
-#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->password_entry;
-#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_entry_set_activates_default (_tmp1_, TRUE);
-#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->login_button;
-#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_update_login_button_sensitivity (self);
-#line 8056 "PiwigoPublishing.c"
+#line 8019 "PiwigoPublishing.c"
}
-static void publishing_piwigo_authentication_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) {
- PublishingPiwigoAuthenticationPane * self;
-#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane);
-#line 8064 "PiwigoPublishing.c"
+PublishingPiwigoAuthenticationPaneMode publishing_piwigo_authentication_pane_get_mode (PublishingPiwigoAuthenticationPane* self) {
+ PublishingPiwigoAuthenticationPaneMode result;
+ PublishingPiwigoAuthenticationPaneMode _tmp0_ = 0;
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self), 0);
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_mode;
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 8034 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_authentication_pane_set_mode (PublishingPiwigoAuthenticationPane* self, PublishingPiwigoAuthenticationPaneMode value) {
+ PublishingPiwigoAuthenticationPaneMode _tmp0_ = 0;
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self));
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_mode = _tmp0_;
+#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "mode");
+#line 8048 "PiwigoPublishing.c"
+}
+
+
+PublishingPiwigoPiwigoPublisher* publishing_piwigo_authentication_pane_get_publisher (PublishingPiwigoAuthenticationPane* self) {
+ PublishingPiwigoPiwigoPublisher* result;
+ PublishingPiwigoPiwigoPublisher* _tmp0_ = NULL;
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self), NULL);
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_publisher;
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 8063 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_authentication_pane_set_publisher (PublishingPiwigoAuthenticationPane* self, PublishingPiwigoPiwigoPublisher* value) {
+ PublishingPiwigoPiwigoPublisher* _tmp0_ = NULL;
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_AUTHENTICATION_PANE (self));
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_publisher = _tmp0_;
+#line 1077 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "publisher");
+#line 8077 "PiwigoPublishing.c"
}
@@ -8083,27 +8096,27 @@ static void g_cclosure_user_marshal_VOID__STRING_STRING_STRING_BOOLEAN (GClosure
register gpointer data1;
register gpointer data2;
cc = (GCClosure *) closure;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (n_param_values == 5);
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_CCLOSURE_SWAP_DATA (closure)) {
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
data1 = closure->data;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
data2 = param_values->data[0].v_pointer;
-#line 8083 "PiwigoPublishing.c"
+#line 8096 "PiwigoPublishing.c"
} else {
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
data1 = param_values->data[0].v_pointer;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
data2 = closure->data;
-#line 8089 "PiwigoPublishing.c"
+#line 8102 "PiwigoPublishing.c"
}
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
callback = (GMarshalFunc_VOID__STRING_STRING_STRING_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), g_value_get_string (param_values + 3), g_value_get_boolean (param_values + 4), data2);
-#line 8095 "PiwigoPublishing.c"
+#line 8108 "PiwigoPublishing.c"
}
@@ -8114,83 +8127,74 @@ static void publishing_piwigo_authentication_pane_class_init (PublishingPiwigoAu
gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_parent_class = g_type_class_peek_parent (klass);
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingPiwigoAuthenticationPanePrivate));
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ ((GObjectClass *) klass)->constructed = publishing_piwigo_authentication_pane_real_constructed;
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ ((ShotwellPluginsCommonBuilderPaneClass *) klass)->on_pane_installed = publishing_piwigo_authentication_pane_real_on_pane_installed;
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_CLASS (klass)->get_property = _vala_publishing_piwigo_authentication_pane_get_property;
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_CLASS (klass)->set_property = _vala_publishing_piwigo_authentication_pane_set_property;
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_piwigo_authentication_pane_finalize;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE, g_param_spec_enum ("mode", "mode", "mode", PUBLISHING_PIWIGO_AUTHENTICATION_PANE_TYPE_MODE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_AUTHENTICATION_PANE_PUBLISHER, g_param_spec_object ("publisher", "publisher", "publisher", PUBLISHING_PIWIGO_TYPE_PIWIGO_PUBLISHER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_new ("login", PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING_STRING_BOOLEAN, G_TYPE_NONE, 4, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN);
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = _ ("Enter the URL of your Piwigo photo library as well as the username and" \
" password associated with your Piwigo account for that library.");
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_INTRO_MESSAGE = _tmp1_;
-#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = _ ("Shotwell cannot contact your Piwigo photo library. Please verify the U" \
"RL you entered");
-#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1080 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_FAILED_RETRY_URL_MESSAGE = _tmp3_;
-#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _ ("Username and/or password invalid. Please try again");
-#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = g_strdup (_tmp4_);
-#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_authentication_pane_FAILED_RETRY_USER_MESSAGE = _tmp5_;
-#line 8132 "PiwigoPublishing.c"
-}
-
-
-static void publishing_piwigo_authentication_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) {
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- publishing_piwigo_authentication_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface);
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_piwigo_authentication_pane_real_get_widget;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_piwigo_authentication_pane_real_get_preferred_geometry;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_authentication_pane_real_on_pane_installed;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_authentication_pane_real_on_pane_uninstalled;
-#line 8147 "PiwigoPublishing.c"
+#line 8157 "PiwigoPublishing.c"
}
static void publishing_piwigo_authentication_pane_instance_init (PublishingPiwigoAuthenticationPane * self) {
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv = PUBLISHING_PIWIGO_AUTHENTICATION_PANE_GET_PRIVATE (self);
-#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->pane_widget = NULL;
-#line 8156 "PiwigoPublishing.c"
+#line 8164 "PiwigoPublishing.c"
}
static void publishing_piwigo_authentication_pane_finalize (GObject* obj) {
PublishingPiwigoAuthenticationPane * self;
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane);
-#line 1089 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->pane_widget);
-#line 1090 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->builder);
-#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1083 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->url_entry);
-#line 1092 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1084 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->username_entry);
-#line 1093 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->password_entry);
-#line 1094 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1086 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->remember_password_checkbutton);
-#line 1095 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1087 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->login_button);
-#line 1079 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (publishing_piwigo_authentication_pane_parent_class)->finalize (obj);
-#line 8180 "PiwigoPublishing.c"
+#line 8184 "PiwigoPublishing.c"
}
@@ -8202,655 +8206,572 @@ GType publishing_piwigo_authentication_pane_get_type (void) {
static volatile gsize publishing_piwigo_authentication_pane_type_id__volatile = 0;
if (g_once_init_enter (&publishing_piwigo_authentication_pane_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (PublishingPiwigoAuthenticationPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_piwigo_authentication_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingPiwigoAuthenticationPane), 0, (GInstanceInitFunc) publishing_piwigo_authentication_pane_instance_init, NULL };
- static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) publishing_piwigo_authentication_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
GType publishing_piwigo_authentication_pane_type_id;
- publishing_piwigo_authentication_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "PublishingPiwigoAuthenticationPane", &g_define_type_info, 0);
- g_type_add_interface_static (publishing_piwigo_authentication_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info);
+ publishing_piwigo_authentication_pane_type_id = g_type_register_static (SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, "PublishingPiwigoAuthenticationPane", &g_define_type_info, 0);
g_once_init_leave (&publishing_piwigo_authentication_pane_type_id__volatile, publishing_piwigo_authentication_pane_type_id);
}
return publishing_piwigo_authentication_pane_type_id__volatile;
}
+static void _vala_publishing_piwigo_authentication_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
+ PublishingPiwigoAuthenticationPane * self;
+ self = G_TYPE_CHECK_INSTANCE_CAST (object, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane);
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ switch (property_id) {
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE:
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_enum (value, publishing_piwigo_authentication_pane_get_mode (self));
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_PUBLISHER:
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_object (value, publishing_piwigo_authentication_pane_get_publisher (self));
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 8221 "PiwigoPublishing.c"
+ default:
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 8227 "PiwigoPublishing.c"
+ }
+}
+
+
+static void _vala_publishing_piwigo_authentication_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
+ PublishingPiwigoAuthenticationPane * self;
+ self = G_TYPE_CHECK_INSTANCE_CAST (object, PUBLISHING_PIWIGO_TYPE_AUTHENTICATION_PANE, PublishingPiwigoAuthenticationPane);
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ switch (property_id) {
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_MODE:
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_authentication_pane_set_mode (self, g_value_get_enum (value));
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_AUTHENTICATION_PANE_PUBLISHER:
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_authentication_pane_set_publisher (self, g_value_get_object (value));
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 8249 "PiwigoPublishing.c"
+ default:
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+#line 1069 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 8255 "PiwigoPublishing.c"
+ }
+}
+
+
+static gpointer _publishing_piwigo_category_ref0 (gpointer self) {
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return self ? publishing_piwigo_category_ref (self) : NULL;
+#line 8263 "PiwigoPublishing.c"
+}
+
+
+static PublishingPiwigoCategory** _vala_array_dup14 (PublishingPiwigoCategory** self, int length) {
+ PublishingPiwigoCategory** result;
+ int i;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = g_new0 (PublishingPiwigoCategory*, length + 1);
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ for (i = 0; i < length; i++) {
+#line 8274 "PiwigoPublishing.c"
+ PublishingPiwigoCategory* _tmp0_ = NULL;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = _publishing_piwigo_category_ref0 (self[i]);
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result[i] = _tmp0_;
+#line 8280 "PiwigoPublishing.c"
+ }
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 8284 "PiwigoPublishing.c"
+}
+
+
+static gboolean _publishing_piwigo_category_equal_gee_equal_data_func (gconstpointer a, gconstpointer b, gpointer self) {
+ gboolean result;
+ result = publishing_piwigo_category_equal ((PublishingPiwigoCategory*) a, (PublishingPiwigoCategory*) b);
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 8293 "PiwigoPublishing.c"
+}
+
+
+PublishingPiwigoPublishingOptionsPane* publishing_piwigo_publishing_options_pane_construct (GType object_type, PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoCategory** categories, int categories_length1, gint last_category, gint last_permission_level, gint last_photo_size, gboolean last_title_as_comment, gboolean last_no_upload_tags, gboolean strip_metadata_enabled) {
+ PublishingPiwigoPublishingOptionsPane * self = NULL;
+ gint _tmp0_ = 0;
+ gint _tmp1_ = 0;
+ gint _tmp2_ = 0;
+ gboolean _tmp3_ = FALSE;
+ gboolean _tmp4_ = FALSE;
+ gboolean _tmp5_ = FALSE;
+ PublishingPiwigoCategory** _tmp6_ = NULL;
+ gint _tmp6__length1 = 0;
+ PublishingPiwigoCategory** _tmp7_ = NULL;
+ gint _tmp7__length1 = 0;
+ GeeArrayList* _tmp8_ = NULL;
+ GeeArrayList* _tmp9_ = NULL;
+ PublishingPiwigoPiwigoPublisher* _tmp10_ = NULL;
+ gchar* _tmp11_ = NULL;
+ gchar* _tmp12_ = NULL;
+#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (publisher), NULL);
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = last_category;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = last_permission_level;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp2_ = last_photo_size;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp3_ = last_title_as_comment;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp4_ = last_no_upload_tags;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = strip_metadata_enabled;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp6_ = categories;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp6__length1 = categories_length1;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7_ = (_tmp6_ != NULL) ? _vala_array_dup14 (_tmp6_, _tmp6__length1) : ((gpointer) _tmp6_);
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7__length1 = _tmp6__length1;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp8_ = gee_array_list_new_wrap (PUBLISHING_PIWIGO_TYPE_CATEGORY, (GBoxedCopyFunc) publishing_piwigo_category_ref, publishing_piwigo_category_unref, _tmp7_, _tmp7__length1, _publishing_piwigo_category_equal_gee_equal_data_func, NULL, NULL);
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp9_ = _tmp8_;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp10_ = publisher;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = publishing_piwigo_publishing_options_pane_get_common_comment_if_possible (_tmp10_);
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp12_ = _tmp11_;
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self = (PublishingPiwigoPublishingOptionsPane*) g_object_new (object_type, "resource-path", PLUGIN_RESOURCE_PATH "/piwigo_publishing_options_pane.ui", "connect-signals", TRUE, "default-id", "publish_button", "last-category", _tmp0_, "last-permission-level", _tmp1_, "last-photo-size", _tmp2_, "last-title-as-comment", _tmp3_, "last-no-upload-tags", _tmp4_, "strip-metadata-enabled", _tmp5_, "existing-categories", _tmp9_, "default-comment", _tmp12_, NULL);
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp12_);
+#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_tmp9_);
+#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return self;
+#line 8354 "PiwigoPublishing.c"
+}
+
+
+PublishingPiwigoPublishingOptionsPane* publishing_piwigo_publishing_options_pane_new (PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoCategory** categories, int categories_length1, gint last_category, gint last_permission_level, gint last_photo_size, gboolean last_title_as_comment, gboolean last_no_upload_tags, gboolean strip_metadata_enabled) {
+#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return publishing_piwigo_publishing_options_pane_construct (PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, publisher, categories, categories_length1, last_category, last_permission_level, last_photo_size, last_title_as_comment, last_no_upload_tags, strip_metadata_enabled);
+#line 8361 "PiwigoPublishing.c"
+}
+
+
static void _publishing_piwigo_publishing_options_pane_on_logout_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_on_logout_button_clicked ((PublishingPiwigoPublishingOptionsPane*) self);
-#line 8205 "PiwigoPublishing.c"
+#line 8368 "PiwigoPublishing.c"
}
static void _publishing_piwigo_publishing_options_pane_on_publish_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_on_publish_button_clicked ((PublishingPiwigoPublishingOptionsPane*) self);
-#line 8212 "PiwigoPublishing.c"
+#line 8375 "PiwigoPublishing.c"
}
static void _publishing_piwigo_publishing_options_pane_on_use_existing_radio_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_on_use_existing_radio_clicked ((PublishingPiwigoPublishingOptionsPane*) self);
-#line 8219 "PiwigoPublishing.c"
+#line 8382 "PiwigoPublishing.c"
}
static void _publishing_piwigo_publishing_options_pane_on_create_new_radio_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_on_create_new_radio_clicked ((PublishingPiwigoPublishingOptionsPane*) self);
-#line 8226 "PiwigoPublishing.c"
+#line 8389 "PiwigoPublishing.c"
}
static void _publishing_piwigo_publishing_options_pane_on_new_category_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
-#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_on_new_category_entry_changed ((PublishingPiwigoPublishingOptionsPane*) self);
-#line 8233 "PiwigoPublishing.c"
+#line 8396 "PiwigoPublishing.c"
}
static void _publishing_piwigo_publishing_options_pane_on_existing_combo_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_on_existing_combo_changed ((PublishingPiwigoPublishingOptionsPane*) self);
-#line 8240 "PiwigoPublishing.c"
+#line 8403 "PiwigoPublishing.c"
}
-static gpointer _publishing_piwigo_category_ref0 (gpointer self) {
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return self ? publishing_piwigo_category_ref (self) : NULL;
-#line 8247 "PiwigoPublishing.c"
-}
-
-
-static PublishingPiwigoCategory** _vala_array_dup11 (PublishingPiwigoCategory** self, int length) {
- PublishingPiwigoCategory** result;
- int i;
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = g_new0 (PublishingPiwigoCategory*, length + 1);
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- for (i = 0; i < length; i++) {
-#line 8258 "PiwigoPublishing.c"
- PublishingPiwigoCategory* _tmp0_ = NULL;
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = _publishing_piwigo_category_ref0 (self[i]);
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result[i] = _tmp0_;
-#line 8264 "PiwigoPublishing.c"
- }
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return result;
-#line 8268 "PiwigoPublishing.c"
-}
-
-
-PublishingPiwigoPublishingOptionsPane* publishing_piwigo_publishing_options_pane_construct (GType object_type, PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoCategory** categories, int categories_length1, gint last_category, gint last_permission_level, gint last_photo_size, gboolean last_title_as_comment, gboolean last_no_upload_tags, gboolean strip_metadata_enabled) {
- PublishingPiwigoPublishingOptionsPane * self = NULL;
- GtkBox* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gboolean _tmp4_ = FALSE;
- gboolean _tmp5_ = FALSE;
- PublishingPiwigoCategory** _tmp78_ = NULL;
- gint _tmp78__length1 = 0;
- PublishingPiwigoCategory** _tmp79_ = NULL;
- gint _tmp79__length1 = 0;
- gint _tmp80_ = 0;
- PublishingPiwigoPermissionLevel** _tmp81_ = NULL;
- gint _tmp82_ = 0;
- PublishingPiwigoSizeEntry** _tmp83_ = NULL;
- GtkTextView* _tmp84_ = NULL;
- GtkTextBuffer* _tmp85_ = NULL;
- GtkTextBuffer* _tmp86_ = NULL;
- PublishingPiwigoPiwigoPublisher* _tmp87_ = NULL;
- gchar* _tmp88_ = NULL;
- gchar* _tmp89_ = NULL;
- GError * _inner_error_ = NULL;
-#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (publisher), NULL);
-#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = (PublishingPiwigoPublishingOptionsPane*) g_object_new (object_type, NULL);
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_object_ref_sink (_tmp0_);
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->pane_widget);
-#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->pane_widget = _tmp0_;
+static void publishing_piwigo_publishing_options_pane_real_constructed (GObject* base) {
+ PublishingPiwigoPublishingOptionsPane * self;
+ GtkBuilder* builder = NULL;
+ GtkBuilder* _tmp0_ = NULL;
+ GObject* _tmp1_ = NULL;
+ GtkRadioButton* _tmp2_ = NULL;
+ GObject* _tmp3_ = NULL;
+ GtkRadioButton* _tmp4_ = NULL;
+ GObject* _tmp5_ = NULL;
+ GtkComboBoxText* _tmp6_ = NULL;
+ GObject* _tmp7_ = NULL;
+ GtkEntry* _tmp8_ = NULL;
+ GObject* _tmp9_ = NULL;
+ GtkLabel* _tmp10_ = NULL;
+ GObject* _tmp11_ = NULL;
+ GtkComboBoxText* _tmp12_ = NULL;
+ GObject* _tmp13_ = NULL;
+ GtkTextView* _tmp14_ = NULL;
+ GtkTextView* _tmp15_ = NULL;
+ GtkTextBuffer* _tmp16_ = NULL;
+ GtkTextBuffer* _tmp17_ = NULL;
+ GObject* _tmp18_ = NULL;
+ GtkLabel* _tmp19_ = NULL;
+ GObject* _tmp20_ = NULL;
+ GtkComboBoxText* _tmp21_ = NULL;
+ GObject* _tmp22_ = NULL;
+ GtkComboBoxText* _tmp23_ = NULL;
+ GObject* _tmp24_ = NULL;
+ GtkCheckButton* _tmp25_ = NULL;
+ GtkCheckButton* _tmp26_ = NULL;
+ gboolean _tmp27_ = FALSE;
+ GObject* _tmp28_ = NULL;
+ GtkCheckButton* _tmp29_ = NULL;
+ GtkCheckButton* _tmp30_ = NULL;
+ gboolean _tmp31_ = FALSE;
+ GObject* _tmp32_ = NULL;
+ GtkCheckButton* _tmp33_ = NULL;
+ GtkCheckButton* _tmp34_ = NULL;
+ gboolean _tmp35_ = FALSE;
+ GObject* _tmp36_ = NULL;
+ GtkButton* _tmp37_ = NULL;
+ GtkButton* _tmp38_ = NULL;
+ GObject* _tmp39_ = NULL;
+ GtkButton* _tmp40_ = NULL;
+ GtkButton* _tmp41_ = NULL;
+ GtkRadioButton* _tmp42_ = NULL;
+ GtkRadioButton* _tmp43_ = NULL;
+ GtkEntry* _tmp44_ = NULL;
+ GtkComboBoxText* _tmp45_ = NULL;
+ gint _tmp46_ = 0;
+ PublishingPiwigoPermissionLevel** _tmp47_ = NULL;
+ gint _tmp48_ = 0;
+ PublishingPiwigoSizeEntry** _tmp49_ = NULL;
+ GtkTextView* _tmp50_ = NULL;
+ GtkTextBuffer* _tmp51_ = NULL;
+ GtkTextBuffer* _tmp52_ = NULL;
+ const gchar* _tmp53_ = NULL;
+#line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane);
+#line 1245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_CLASS (publishing_piwigo_publishing_options_pane_parent_class)->constructed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane), G_TYPE_OBJECT, GObject));
+#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = shotwell_plugins_common_builder_pane_get_builder (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
+#line 1246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ builder = _tmp0_;
#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = last_category;
+ _tmp1_ = gtk_builder_get_object (builder, "use_existing_radio");
#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->last_category = _tmp1_;
+ _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_radio_button_get_type ()) ? ((GtkRadioButton*) _tmp1_) : NULL);
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->use_existing_radio);
+#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->use_existing_radio = _tmp2_;
+#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp3_ = gtk_builder_get_object (builder, "create_new_radio");
#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp2_ = last_permission_level;
+ _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_radio_button_get_type ()) ? ((GtkRadioButton*) _tmp3_) : NULL);
#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->last_permission_level = _tmp2_;
+ _g_object_unref0 (self->priv->create_new_radio);
+#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->create_new_radio = _tmp4_;
+#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = gtk_builder_get_object (builder, "existing_categories_combo");
+#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp5_) : NULL);
#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp3_ = last_photo_size;
+ _g_object_unref0 (self->priv->existing_categories_combo);
#line 1250 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->last_photo_size = _tmp3_;
+ self->priv->existing_categories_combo = _tmp6_;
+#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7_ = gtk_builder_get_object (builder, "new_category_entry");
#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp4_ = last_title_as_comment;
+ _tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp7_) : NULL);
+#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->new_category_entry);
#line 1251 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->last_title_as_comment = _tmp4_;
+ self->priv->new_category_entry = _tmp8_;
#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = last_no_upload_tags;
+ _tmp9_ = gtk_builder_get_object (builder, "within_existing_label");
#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->last_no_upload_tags = _tmp5_;
-#line 8327 "PiwigoPublishing.c"
- {
- GtkBuilder* _tmp6_ = NULL;
- GtkBuilder* _tmp7_ = NULL;
- GtkBuilder* _tmp8_ = NULL;
- GtkAlignment* align = NULL;
- GtkBuilder* _tmp9_ = NULL;
- GObject* _tmp10_ = NULL;
- GtkAlignment* _tmp11_ = NULL;
- GtkBuilder* _tmp12_ = NULL;
- GObject* _tmp13_ = NULL;
- GtkRadioButton* _tmp14_ = NULL;
- GtkBuilder* _tmp15_ = NULL;
- GObject* _tmp16_ = NULL;
- GtkRadioButton* _tmp17_ = NULL;
- GtkBuilder* _tmp18_ = NULL;
- GObject* _tmp19_ = NULL;
- GtkComboBoxText* _tmp20_ = NULL;
- GtkBuilder* _tmp21_ = NULL;
- GObject* _tmp22_ = NULL;
- GtkEntry* _tmp23_ = NULL;
- GtkBuilder* _tmp24_ = NULL;
- GObject* _tmp25_ = NULL;
- GtkLabel* _tmp26_ = NULL;
- GtkBuilder* _tmp27_ = NULL;
- GObject* _tmp28_ = NULL;
- GtkComboBoxText* _tmp29_ = NULL;
- GtkBuilder* _tmp30_ = NULL;
- GObject* _tmp31_ = NULL;
- GtkTextView* _tmp32_ = NULL;
- GtkTextView* _tmp33_ = NULL;
- GtkTextBuffer* _tmp34_ = NULL;
- GtkTextBuffer* _tmp35_ = NULL;
- GtkBuilder* _tmp36_ = NULL;
- GObject* _tmp37_ = NULL;
- GtkLabel* _tmp38_ = NULL;
- GtkBuilder* _tmp39_ = NULL;
- GObject* _tmp40_ = NULL;
- GtkComboBoxText* _tmp41_ = NULL;
- GtkBuilder* _tmp42_ = NULL;
- GObject* _tmp43_ = NULL;
- GtkComboBoxText* _tmp44_ = NULL;
- GtkBuilder* _tmp45_ = NULL;
- GObject* _tmp46_ = NULL;
- GtkCheckButton* _tmp47_ = NULL;
- GtkCheckButton* _tmp48_ = NULL;
- gboolean _tmp49_ = FALSE;
- GtkBuilder* _tmp50_ = NULL;
- GObject* _tmp51_ = NULL;
- GtkCheckButton* _tmp52_ = NULL;
- GtkCheckButton* _tmp53_ = NULL;
- gboolean _tmp54_ = FALSE;
- GtkBuilder* _tmp55_ = NULL;
- GObject* _tmp56_ = NULL;
- GtkCheckButton* _tmp57_ = NULL;
- GtkCheckButton* _tmp58_ = NULL;
- gboolean _tmp59_ = FALSE;
- GtkBuilder* _tmp60_ = NULL;
- GObject* _tmp61_ = NULL;
- GtkButton* _tmp62_ = NULL;
- GtkButton* _tmp63_ = NULL;
- GtkBuilder* _tmp64_ = NULL;
- GObject* _tmp65_ = NULL;
- GtkButton* _tmp66_ = NULL;
- GtkButton* _tmp67_ = NULL;
- GtkRadioButton* _tmp68_ = NULL;
- GtkRadioButton* _tmp69_ = NULL;
- GtkEntry* _tmp70_ = NULL;
- GtkComboBoxText* _tmp71_ = NULL;
- GtkAlignment* _tmp72_ = NULL;
- GtkBox* _tmp73_ = NULL;
- GtkBox* _tmp74_ = NULL;
- GtkAlignment* _tmp75_ = NULL;
+ _tmp10_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp9_) : NULL);
+#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->within_existing_label);
+#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->within_existing_label = _tmp10_;
+#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = gtk_builder_get_object (builder, "within_existing_combo");
+#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp12_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp11_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp11_) : NULL);
+#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->within_existing_combo);
+#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->within_existing_combo = _tmp12_;
+#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp13_ = gtk_builder_get_object (builder, "album_comment");
#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp6_ = gtk_builder_new ();
+ _tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, gtk_text_view_get_type ()) ? ((GtkTextView*) _tmp13_) : NULL);
#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->builder);
+ _g_object_unref0 (self->priv->album_comment);
#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->builder = _tmp6_;
+ self->priv->album_comment = _tmp14_;
#line 1256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp7_ = self->priv->builder;
+ _tmp15_ = self->priv->album_comment;
#line 1256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_builder_add_from_resource (_tmp7_, PLUGIN_RESOURCE_PATH "/piwigo_publishing_options_pane.ui", &_inner_error_);
+ _tmp16_ = gtk_text_buffer_new (NULL);
#line 1256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8412 "PiwigoPublishing.c"
- goto __catch46_g_error;
- }
+ _tmp17_ = _tmp16_;
+#line 1256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_text_view_set_buffer (_tmp15_, _tmp17_);
+#line 1256 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_tmp17_);
#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp8_ = self->priv->builder;
+ _tmp18_ = gtk_builder_get_object (builder, "album_comment_label");
#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_builder_connect_signals (_tmp8_, NULL);
-#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp9_ = self->priv->builder;
-#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp10_ = gtk_builder_get_object (_tmp9_, "alignment");
-#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, gtk_alignment_get_type ()) ? ((GtkAlignment*) _tmp10_) : NULL);
-#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- align = _tmp11_;
-#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp12_ = self->priv->builder;
+ _tmp19_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp18_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp18_) : NULL);
+#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->album_comment_label);
+#line 1257 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->album_comment_label = _tmp19_;
+#line 1259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp20_ = gtk_builder_get_object (builder, "perms_combo");
+#line 1259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp21_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp20_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp20_) : NULL);
+#line 1259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->perms_combo);
+#line 1259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->perms_combo = _tmp21_;
#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp13_ = gtk_builder_get_object (_tmp12_, "use_existing_radio");
+ _tmp22_ = gtk_builder_get_object (builder, "size_combo");
#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, gtk_radio_button_get_type ()) ? ((GtkRadioButton*) _tmp13_) : NULL);
+ _tmp23_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp22_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp22_) : NULL);
#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->use_existing_radio);
+ _g_object_unref0 (self->priv->size_combo);
#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->use_existing_radio = _tmp14_;
-#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp15_ = self->priv->builder;
-#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp16_ = gtk_builder_get_object (_tmp15_, "create_new_radio");
-#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp17_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, gtk_radio_button_get_type ()) ? ((GtkRadioButton*) _tmp16_) : NULL);
-#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->create_new_radio);
-#line 1261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->create_new_radio = _tmp17_;
+ self->priv->size_combo = _tmp23_;
#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp18_ = self->priv->builder;
+ _tmp24_ = gtk_builder_get_object (builder, "strip_metadata_check");
#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp19_ = gtk_builder_get_object (_tmp18_, "existing_categories_combo");
+ _tmp25_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp24_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp24_) : NULL);
#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp20_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp19_) : NULL);
-#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->existing_categories_combo);
+ _g_object_unref0 (self->priv->strip_metadata_check);
#line 1262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->existing_categories_combo = _tmp20_;
-#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp21_ = self->priv->builder;
-#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp22_ = gtk_builder_get_object (_tmp21_, "new_category_entry");
+ self->priv->strip_metadata_check = _tmp25_;
#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp23_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp22_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp22_) : NULL);
+ _tmp26_ = self->priv->strip_metadata_check;
#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->new_category_entry);
+ _tmp27_ = self->priv->_strip_metadata_enabled;
#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->new_category_entry = _tmp23_;
-#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp24_ = self->priv->builder;
-#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp25_ = gtk_builder_get_object (_tmp24_, "within_existing_label");
-#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp26_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp25_) : NULL);
-#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->within_existing_label);
-#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->within_existing_label = _tmp26_;
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp27_);
#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp27_ = self->priv->builder;
+ _tmp28_ = gtk_builder_get_object (builder, "title_as_comment_check");
#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp28_ = gtk_builder_get_object (_tmp27_, "within_existing_combo");
+ _tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp28_) : NULL);
#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp28_) : NULL);
-#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->within_existing_combo);
+ _g_object_unref0 (self->priv->title_as_comment_check);
#line 1265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->within_existing_combo = _tmp29_;
-#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp30_ = self->priv->builder;
-#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp31_ = gtk_builder_get_object (_tmp30_, "album_comment");
-#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp32_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp31_, gtk_text_view_get_type ()) ? ((GtkTextView*) _tmp31_) : NULL);
-#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->album_comment);
-#line 1267 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->album_comment = _tmp32_;
+ self->priv->title_as_comment_check = _tmp29_;
+#line 1266 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp30_ = self->priv->title_as_comment_check;
+#line 1266 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp31_ = self->priv->_last_title_as_comment;
+#line 1266 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp31_);
#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp33_ = self->priv->album_comment;
+ _tmp32_ = gtk_builder_get_object (builder, "no_upload_tags_check");
#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp34_ = gtk_text_buffer_new (NULL);
+ _tmp33_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp32_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp32_) : NULL);
#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp35_ = _tmp34_;
-#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_text_view_set_buffer (_tmp33_, _tmp35_);
+ _g_object_unref0 (self->priv->no_upload_tags_check);
#line 1268 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (_tmp35_);
+ self->priv->no_upload_tags_check = _tmp33_;
#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp36_ = self->priv->builder;
+ _tmp34_ = self->priv->no_upload_tags_check;
#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp37_ = gtk_builder_get_object (_tmp36_, "album_comment_label");
+ _tmp35_ = self->priv->_last_no_upload_tags;
#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp38_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp37_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp37_) : NULL);
-#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->album_comment_label);
-#line 1269 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->album_comment_label = _tmp38_;
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp35_);
#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp39_ = self->priv->builder;
+ _tmp36_ = gtk_builder_get_object (builder, "logout_button");
#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp40_ = gtk_builder_get_object (_tmp39_, "perms_combo");
+ _tmp37_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp36_, gtk_button_get_type ()) ? ((GtkButton*) _tmp36_) : NULL);
#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp41_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp40_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp40_) : NULL);
-#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->perms_combo);
+ _g_object_unref0 (self->priv->logout_button);
#line 1271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->perms_combo = _tmp41_;
+ self->priv->logout_button = _tmp37_;
#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp42_ = self->priv->builder;
+ _tmp38_ = self->priv->logout_button;
#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp43_ = gtk_builder_get_object (_tmp42_, "size_combo");
-#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp44_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp43_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp43_) : NULL);
-#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->size_combo);
-#line 1272 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->size_combo = _tmp44_;
-#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp45_ = self->priv->builder;
+ g_signal_connect_object (_tmp38_, "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_logout_button_clicked_gtk_button_clicked, self, 0);
#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp46_ = gtk_builder_get_object (_tmp45_, "strip_metadata_check");
+ _tmp39_ = gtk_builder_get_object (builder, "publish_button");
#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp47_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp46_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp46_) : NULL);
+ _tmp40_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp39_, gtk_button_get_type ()) ? ((GtkButton*) _tmp39_) : NULL);
#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->strip_metadata_check);
+ _g_object_unref0 (self->priv->publish_button);
#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->strip_metadata_check = _tmp47_;
-#line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp48_ = self->priv->strip_metadata_check;
+ self->priv->publish_button = _tmp40_;
#line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp49_ = strip_metadata_enabled;
+ _tmp41_ = self->priv->publish_button;
#line 1275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp49_);
-#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp50_ = self->priv->builder;
-#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp51_ = gtk_builder_get_object (_tmp50_, "title_as_comment_check");
+ g_signal_connect_object (_tmp41_, "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_publish_button_clicked_gtk_button_clicked, self, 0);
#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp52_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp51_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp51_) : NULL);
+ _tmp42_ = self->priv->use_existing_radio;
#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->title_as_comment_check);
-#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->title_as_comment_check = _tmp52_;
-#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp53_ = self->priv->title_as_comment_check;
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_use_existing_radio_clicked_gtk_button_clicked, self, 0);
#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp54_ = last_title_as_comment;
+ _tmp43_ = self->priv->create_new_radio;
#line 1278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp54_);
-#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp55_ = self->priv->builder;
-#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp56_ = gtk_builder_get_object (_tmp55_, "no_upload_tags_check");
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_create_new_radio_clicked_gtk_button_clicked, self, 0);
+#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp44_ = self->priv->new_category_entry;
+#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_publishing_options_pane_on_new_category_entry_changed_gtk_editable_changed, self, 0);
#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp57_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp56_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp56_) : NULL);
+ _tmp45_ = self->priv->within_existing_combo;
#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->no_upload_tags_check);
-#line 1280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->no_upload_tags_check = _tmp57_;
-#line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp58_ = self->priv->no_upload_tags_check;
-#line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp59_ = last_no_upload_tags;
-#line 1281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp59_);
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _publishing_piwigo_publishing_options_pane_on_existing_combo_changed_gtk_combo_box_changed, self, 0);
+#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp47_ = publishing_piwigo_publishing_options_pane_create_perm_levels (self, &_tmp46_);
+#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->perm_levels = (_vala_array_free (self->priv->perm_levels, self->priv->perm_levels_length1, (GDestroyNotify) publishing_piwigo_permission_level_unref), NULL);
+#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->perm_levels = _tmp47_;
+#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->perm_levels_length1 = _tmp46_;
+#line 1282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_perm_levels_size_ = self->priv->perm_levels_length1;
#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp60_ = self->priv->builder;
+ _tmp49_ = publishing_piwigo_publishing_options_pane_create_sizes (self, &_tmp48_);
#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp61_ = gtk_builder_get_object (_tmp60_, "logout_button");
+ self->priv->photo_sizes = (_vala_array_free (self->priv->photo_sizes, self->priv->photo_sizes_length1, (GDestroyNotify) publishing_piwigo_size_entry_unref), NULL);
#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp62_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp61_, gtk_button_get_type ()) ? ((GtkButton*) _tmp61_) : NULL);
+ self->priv->photo_sizes = _tmp49_;
#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->logout_button);
+ self->priv->photo_sizes_length1 = _tmp48_;
#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->logout_button = _tmp62_;
+ self->priv->_photo_sizes_size_ = self->priv->photo_sizes_length1;
#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp63_ = self->priv->logout_button;
+ _tmp50_ = self->priv->album_comment;
#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (_tmp63_, "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_logout_button_clicked_gtk_button_clicked, self, 0);
-#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp64_ = self->priv->builder;
-#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp65_ = gtk_builder_get_object (_tmp64_, "publish_button");
-#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp66_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp65_, gtk_button_get_type ()) ? ((GtkButton*) _tmp65_) : NULL);
-#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->publish_button);
-#line 1286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->publish_button = _tmp66_;
-#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp67_ = self->priv->publish_button;
-#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (_tmp67_, "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_publish_button_clicked_gtk_button_clicked, self, 0);
-#line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp68_ = self->priv->use_existing_radio;
-#line 1289 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_use_existing_radio_clicked_gtk_button_clicked, self, 0);
-#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp69_ = self->priv->create_new_radio;
-#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _publishing_piwigo_publishing_options_pane_on_create_new_radio_clicked_gtk_button_clicked, self, 0);
-#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp70_ = self->priv->new_category_entry;
-#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _publishing_piwigo_publishing_options_pane_on_new_category_entry_changed_gtk_editable_changed, self, 0);
-#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp71_ = self->priv->within_existing_combo;
-#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _publishing_piwigo_publishing_options_pane_on_existing_combo_changed_gtk_combo_box_changed, self, 0);
-#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp72_ = align;
-#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp73_ = self->priv->pane_widget;
-#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_reparent (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_widget_get_type (), GtkWidget));
-#line 1295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp74_ = self->priv->pane_widget;
-#line 1295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp75_ = align;
-#line 1295 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_box_set_child_packing (_tmp74_, G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0, GTK_PACK_START);
-#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (align);
-#line 8643 "PiwigoPublishing.c"
- }
- goto __finally46;
- __catch46_g_error:
- {
- GError* e = NULL;
- GError* _tmp76_ = NULL;
- const gchar* _tmp77_ = NULL;
-#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- e = _inner_error_;
-#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _inner_error_ = NULL;
-#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp76_ = e;
-#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp77_ = _tmp76_->message;
-#line 1297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_warning ("PiwigoPublishing.vala:1297: Could not load UI: %s", _tmp77_);
-#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_error_free0 (e);
-#line 8663 "PiwigoPublishing.c"
- }
- __finally46:
-#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_clear_error (&_inner_error_);
-#line 1254 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return NULL;
-#line 8674 "PiwigoPublishing.c"
- }
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp78_ = categories;
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp78__length1 = categories_length1;
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp79_ = (_tmp78_ != NULL) ? _vala_array_dup11 (_tmp78_, _tmp78__length1) : ((gpointer) _tmp78_);
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp79__length1 = _tmp78__length1;
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->existing_categories = (_vala_array_free (self->priv->existing_categories, self->priv->existing_categories_length1, (GDestroyNotify) publishing_piwigo_category_unref), NULL);
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->existing_categories = _tmp79_;
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->existing_categories_length1 = _tmp79__length1;
-#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->_existing_categories_size_ = self->priv->existing_categories_length1;
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp81_ = publishing_piwigo_publishing_options_pane_create_perm_levels (self, &_tmp80_);
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->perm_levels = (_vala_array_free (self->priv->perm_levels, self->priv->perm_levels_length1, (GDestroyNotify) publishing_piwigo_permission_level_unref), NULL);
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->perm_levels = _tmp81_;
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->perm_levels_length1 = _tmp80_;
-#line 1301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->_perm_levels_size_ = self->priv->perm_levels_length1;
-#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp83_ = publishing_piwigo_publishing_options_pane_create_sizes (self, &_tmp82_);
-#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->photo_sizes = (_vala_array_free (self->priv->photo_sizes, self->priv->photo_sizes_length1, (GDestroyNotify) publishing_piwigo_size_entry_unref), NULL);
-#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->photo_sizes = _tmp83_;
-#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->photo_sizes_length1 = _tmp82_;
-#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->_photo_sizes_size_ = self->priv->photo_sizes_length1;
-#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp84_ = self->priv->album_comment;
-#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp85_ = gtk_text_view_get_buffer (_tmp84_);
-#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp86_ = _tmp85_;
-#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp87_ = publisher;
-#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp88_ = publishing_piwigo_publishing_options_pane_get_common_comment_if_possible (self, _tmp87_);
-#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp89_ = _tmp88_;
-#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_text_buffer_set_text (_tmp86_, _tmp89_, -1);
-#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (_tmp89_);
-#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return self;
-#line 8730 "PiwigoPublishing.c"
-}
-
-
-PublishingPiwigoPublishingOptionsPane* publishing_piwigo_publishing_options_pane_new (PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoCategory** categories, int categories_length1, gint last_category, gint last_permission_level, gint last_photo_size, gboolean last_title_as_comment, gboolean last_no_upload_tags, gboolean strip_metadata_enabled) {
-#line 1242 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return publishing_piwigo_publishing_options_pane_construct (PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, publisher, categories, categories_length1, last_category, last_permission_level, last_photo_size, last_title_as_comment, last_no_upload_tags, strip_metadata_enabled);
-#line 8737 "PiwigoPublishing.c"
-}
-
-
-GtkWidget* publishing_piwigo_publishing_options_pane_get_default_widget (PublishingPiwigoPublishingOptionsPane* self) {
- GtkWidget* result = NULL;
- GtkButton* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
-#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL);
-#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = self->priv->publish_button;
-#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = _tmp1_;
-#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return result;
-#line 8755 "PiwigoPublishing.c"
+ _tmp51_ = gtk_text_view_get_buffer (_tmp50_);
+#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp52_ = _tmp51_;
+#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp53_ = self->priv->_default_comment;
+#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_text_buffer_set_text (_tmp52_, _tmp53_, -1);
+#line 1244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (builder);
+#line 8676 "PiwigoPublishing.c"
}
static void _vala_array_add35 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) {
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1);
-#line 8766 "PiwigoPublishing.c"
+#line 8687 "PiwigoPublishing.c"
}
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 8772 "PiwigoPublishing.c"
+#line 8693 "PiwigoPublishing.c"
}
static void _vala_array_add36 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) {
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1);
-#line 8783 "PiwigoPublishing.c"
+#line 8704 "PiwigoPublishing.c"
}
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 8789 "PiwigoPublishing.c"
+#line 8710 "PiwigoPublishing.c"
}
static void _vala_array_add37 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) {
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1);
-#line 8800 "PiwigoPublishing.c"
+#line 8721 "PiwigoPublishing.c"
}
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 8806 "PiwigoPublishing.c"
+#line 8727 "PiwigoPublishing.c"
}
static void _vala_array_add38 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) {
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1);
-#line 8817 "PiwigoPublishing.c"
+#line 8738 "PiwigoPublishing.c"
}
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 8823 "PiwigoPublishing.c"
+#line 8744 "PiwigoPublishing.c"
}
static void _vala_array_add39 (PublishingPiwigoPermissionLevel*** array, int* length, int* size, PublishingPiwigoPermissionLevel* value) {
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoPermissionLevel*, *array, (*size) + 1);
-#line 8834 "PiwigoPublishing.c"
+#line 8755 "PiwigoPublishing.c"
}
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 8840 "PiwigoPublishing.c"
+#line 8761 "PiwigoPublishing.c"
}
@@ -8882,166 +8803,166 @@ static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pa
PublishingPiwigoPermissionLevel* _tmp15_ = NULL;
PublishingPiwigoPermissionLevel** _tmp16_ = NULL;
gint _tmp16__length1 = 0;
-#line 1310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL);
-#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = g_new0 (PublishingPiwigoPermissionLevel*, 0 + 1);
-#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_result_ = _tmp0_;
-#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_result__length1 = 0;
-#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
__result__size_ = _result__length1;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _result_;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1__length1 = _result__length1;
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = _ ("Everyone");
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishing_piwigo_permission_level_new (0, _tmp2_);
-#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add35 (&_result_, &_result__length1, &__result__size_, _tmp3_);
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _result_;
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4__length1 = _result__length1;
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = _ ("Admins, Family, Friends, Contacts");
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = publishing_piwigo_permission_level_new (1, _tmp5_);
-#line 1314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add36 (&_result_, &_result__length1, &__result__size_, _tmp6_);
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _result_;
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7__length1 = _result__length1;
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = _ ("Admins, Family, Friends");
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = publishing_piwigo_permission_level_new (2, _tmp8_);
-#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add37 (&_result_, &_result__length1, &__result__size_, _tmp9_);
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = _result_;
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10__length1 = _result__length1;
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = _ ("Admins, Family");
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = publishing_piwigo_permission_level_new (4, _tmp11_);
-#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add38 (&_result_, &_result__length1, &__result__size_, _tmp12_);
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = _result_;
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13__length1 = _result__length1;
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = _ ("Admins");
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = publishing_piwigo_permission_level_new (8, _tmp14_);
-#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add39 (&_result_, &_result__length1, &__result__size_, _tmp15_);
-#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = _result_;
-#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16__length1 = _result__length1;
-#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (result_length1) {
-#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*result_length1 = _tmp16__length1;
-#line 8940 "PiwigoPublishing.c"
+#line 8861 "PiwigoPublishing.c"
}
-#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp16_;
-#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 8946 "PiwigoPublishing.c"
+#line 8867 "PiwigoPublishing.c"
}
static void _vala_array_add40 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) {
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1);
-#line 8957 "PiwigoPublishing.c"
+#line 8878 "PiwigoPublishing.c"
}
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 8963 "PiwigoPublishing.c"
+#line 8884 "PiwigoPublishing.c"
}
static void _vala_array_add41 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) {
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1);
-#line 8974 "PiwigoPublishing.c"
+#line 8895 "PiwigoPublishing.c"
}
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 8980 "PiwigoPublishing.c"
+#line 8901 "PiwigoPublishing.c"
}
static void _vala_array_add42 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) {
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1);
-#line 8991 "PiwigoPublishing.c"
+#line 8912 "PiwigoPublishing.c"
}
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 8997 "PiwigoPublishing.c"
+#line 8918 "PiwigoPublishing.c"
}
static void _vala_array_add43 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) {
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1);
-#line 9008 "PiwigoPublishing.c"
+#line 8929 "PiwigoPublishing.c"
}
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 9014 "PiwigoPublishing.c"
+#line 8935 "PiwigoPublishing.c"
}
static void _vala_array_add44 (PublishingPiwigoSizeEntry*** array, int* length, int* size, PublishingPiwigoSizeEntry* value) {
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if ((*length) == (*size)) {
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*array = g_renew (PublishingPiwigoSizeEntry*, *array, (*size) + 1);
-#line 9025 "PiwigoPublishing.c"
+#line 8946 "PiwigoPublishing.c"
}
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[(*length)++] = value;
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
(*array)[*length] = NULL;
-#line 9031 "PiwigoPublishing.c"
+#line 8952 "PiwigoPublishing.c"
}
@@ -9073,104 +8994,104 @@ static PublishingPiwigoSizeEntry** publishing_piwigo_publishing_options_pane_cre
PublishingPiwigoSizeEntry* _tmp15_ = NULL;
PublishingPiwigoSizeEntry** _tmp16_ = NULL;
gint _tmp16__length1 = 0;
-#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL);
-#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = g_new0 (PublishingPiwigoSizeEntry*, 0 + 1);
-#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_result_ = _tmp0_;
-#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_result__length1 = 0;
-#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1300 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
__result__size_ = _result__length1;
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _result_;
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1__length1 = _result__length1;
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = _ ("500 × 375 pixels");
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishing_piwigo_size_entry_new (500, _tmp2_);
-#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add40 (&_result_, &_result__length1, &__result__size_, _tmp3_);
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _result_;
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4__length1 = _result__length1;
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = _ ("1024 × 768 pixels");
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = publishing_piwigo_size_entry_new (1024, _tmp5_);
-#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add41 (&_result_, &_result__length1, &__result__size_, _tmp6_);
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _result_;
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7__length1 = _result__length1;
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = _ ("2048 × 1536 pixels");
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = publishing_piwigo_size_entry_new (2048, _tmp8_);
-#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add42 (&_result_, &_result__length1, &__result__size_, _tmp9_);
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = _result_;
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10__length1 = _result__length1;
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = _ ("4096 × 3072 pixels");
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = publishing_piwigo_size_entry_new (4096, _tmp11_);
-#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add43 (&_result_, &_result__length1, &__result__size_, _tmp12_);
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = _result_;
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13__length1 = _result__length1;
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = _ ("Original size");
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = publishing_piwigo_size_entry_new (PUBLISHING_PIWIGO_ORIGINAL_SIZE, _tmp14_);
-#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_vala_array_add44 (&_result_, &_result__length1, &__result__size_, _tmp15_);
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = _result_;
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16__length1 = _result__length1;
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (result_length1) {
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
*result_length1 = _tmp16__length1;
-#line 9131 "PiwigoPublishing.c"
+#line 9052 "PiwigoPublishing.c"
}
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp16_;
-#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 9137 "PiwigoPublishing.c"
+#line 9058 "PiwigoPublishing.c"
}
static void publishing_piwigo_publishing_options_pane_on_logout_button_clicked (PublishingPiwigoPublishingOptionsPane* self) {
-#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1312 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_emit_by_name (self, "logout");
-#line 9146 "PiwigoPublishing.c"
+#line 9067 "PiwigoPublishing.c"
}
static gpointer _publishing_piwigo_permission_level_ref0 (gpointer self) {
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self ? publishing_piwigo_permission_level_ref (self) : NULL;
-#line 9153 "PiwigoPublishing.c"
+#line 9074 "PiwigoPublishing.c"
}
static gpointer _publishing_piwigo_size_entry_ref0 (gpointer self) {
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self ? publishing_piwigo_size_entry_ref (self) : NULL;
-#line 9160 "PiwigoPublishing.c"
+#line 9081 "PiwigoPublishing.c"
}
@@ -9202,71 +9123,71 @@ static void publishing_piwigo_publishing_options_pane_on_publish_button_clicked
PublishingPiwigoPublishingParameters* _tmp53_ = NULL;
GtkCheckButton* _tmp54_ = NULL;
gboolean _tmp55_ = FALSE;
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = publishing_piwigo_publishing_parameters_new ();
-#line 1339 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
params = _tmp0_;
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = params;
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->perm_levels;
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2__length1 = self->priv->perm_levels_length1;
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = self->priv->perms_combo;
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = _tmp2_[_tmp4_];
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _publishing_piwigo_permission_level_ref0 (_tmp5_);
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_permission_level_unref0 (_tmp1_->perm_level);
-#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_->perm_level = _tmp6_;
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = params;
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = self->priv->photo_sizes;
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8__length1 = self->priv->photo_sizes_length1;
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = self->priv->size_combo;
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = _tmp8_[_tmp10_];
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = _publishing_piwigo_size_entry_ref0 (_tmp11_);
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_size_entry_unref0 (_tmp7_->photo_size);
-#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_->photo_size = _tmp12_;
-#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = params;
-#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = self->priv->title_as_comment_check;
-#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_->title_as_comment = _tmp15_;
-#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = params;
-#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = self->priv->no_upload_tags_check;
-#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_->no_upload_tags = _tmp18_;
-#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = self->priv->create_new_radio;
-#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp20_) {
-#line 9256 "PiwigoPublishing.c"
+#line 9177 "PiwigoPublishing.c"
gchar* uploadcomment = NULL;
GtkTextView* _tmp21_ = NULL;
GtkTextBuffer* _tmp22_ = NULL;
@@ -9280,141 +9201,137 @@ static void publishing_piwigo_publishing_options_pane_on_publish_button_clicked
GtkComboBoxText* _tmp29_ = NULL;
gint _tmp30_ = 0;
gint _tmp31_ = 0;
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp21_ = self->priv->album_comment;
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp22_ = gtk_text_view_get_buffer (_tmp21_);
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp23_ = _tmp22_;
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_object_get (_tmp23_, "text", &_tmp24_, NULL);
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp25_ = _tmp24_;
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp26_ = _tmp25_;
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp27_ = string_strip (_tmp26_);
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp28_ = _tmp27_;
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp26_);
-#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
uploadcomment = _tmp28_;
-#line 1346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp29_ = self->priv->within_existing_combo;
-#line 1346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp30_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1323 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
a = _tmp30_;
-#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp31_ = a;
-#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1324 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp31_ == 0) {
-#line 9300 "PiwigoPublishing.c"
+#line 9221 "PiwigoPublishing.c"
PublishingPiwigoPublishingParameters* _tmp32_ = NULL;
GtkEntry* _tmp33_ = NULL;
const gchar* _tmp34_ = NULL;
const gchar* _tmp35_ = NULL;
PublishingPiwigoCategory* _tmp36_ = NULL;
-#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp32_ = params;
-#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp33_ = self->priv->new_category_entry;
-#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp34_ = gtk_entry_get_text (_tmp33_);
-#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp35_ = uploadcomment;
-#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp36_ = publishing_piwigo_category_new_local (_tmp34_, 0, _tmp35_);
-#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_category_unref0 (_tmp32_->category);
-#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp32_->category = _tmp36_;
-#line 9320 "PiwigoPublishing.c"
+#line 9241 "PiwigoPublishing.c"
} else {
gint _tmp37_ = 0;
PublishingPiwigoPublishingParameters* _tmp38_ = NULL;
GtkEntry* _tmp39_ = NULL;
const gchar* _tmp40_ = NULL;
- PublishingPiwigoCategory** _tmp41_ = NULL;
- gint _tmp41__length1 = 0;
+ GeeList* _tmp41_ = NULL;
gint _tmp42_ = 0;
- PublishingPiwigoCategory* _tmp43_ = NULL;
- gint _tmp44_ = 0;
- const gchar* _tmp45_ = NULL;
- PublishingPiwigoCategory* _tmp46_ = NULL;
-#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gpointer _tmp43_ = NULL;
+ PublishingPiwigoCategory* _tmp44_ = NULL;
+ gint _tmp45_ = 0;
+ const gchar* _tmp46_ = NULL;
+ PublishingPiwigoCategory* _tmp47_ = NULL;
+#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp37_ = a;
-#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
a = _tmp37_ - 1;
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp38_ = params;
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp39_ = self->priv->new_category_entry;
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp40_ = gtk_entry_get_text (_tmp39_);
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp41_ = self->priv->existing_categories;
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp41__length1 = self->priv->existing_categories_length1;
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp41_ = self->priv->_existing_categories;
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp42_ = a;
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp43_ = _tmp41_[_tmp42_];
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp44_ = _tmp43_->id;
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp45_ = uploadcomment;
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp46_ = publishing_piwigo_category_new_local (_tmp40_, _tmp44_, _tmp45_);
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp43_ = gee_list_get (_tmp41_, _tmp42_);
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp44_ = (PublishingPiwigoCategory*) _tmp43_;
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp45_ = _tmp44_->id;
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp46_ = uploadcomment;
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp47_ = publishing_piwigo_category_new_local (_tmp40_, _tmp45_, _tmp46_);
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_category_unref0 (_tmp38_->category);
-#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp38_->category = _tmp46_;
-#line 9361 "PiwigoPublishing.c"
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp38_->category = _tmp47_;
+#line 1330 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _publishing_piwigo_category_unref0 (_tmp44_);
+#line 9284 "PiwigoPublishing.c"
}
-#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (uploadcomment);
-#line 9365 "PiwigoPublishing.c"
+#line 9288 "PiwigoPublishing.c"
} else {
- PublishingPiwigoPublishingParameters* _tmp47_ = NULL;
- PublishingPiwigoCategory** _tmp48_ = NULL;
- gint _tmp48__length1 = 0;
- GtkComboBoxText* _tmp49_ = NULL;
- gint _tmp50_ = 0;
- PublishingPiwigoCategory* _tmp51_ = NULL;
- PublishingPiwigoCategory* _tmp52_ = NULL;
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp47_ = params;
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp48_ = self->priv->existing_categories;
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp48__length1 = self->priv->existing_categories_length1;
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp49_ = self->priv->existing_categories_combo;
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp50_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp51_ = _tmp48_[_tmp50_];
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp52_ = _publishing_piwigo_category_ref0 (_tmp51_);
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _publishing_piwigo_category_unref0 (_tmp47_->category);
-#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp47_->category = _tmp52_;
-#line 9392 "PiwigoPublishing.c"
+ PublishingPiwigoPublishingParameters* _tmp48_ = NULL;
+ GeeList* _tmp49_ = NULL;
+ GtkComboBoxText* _tmp50_ = NULL;
+ gint _tmp51_ = 0;
+ gpointer _tmp52_ = NULL;
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp48_ = params;
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp49_ = self->priv->_existing_categories;
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp50_ = self->priv->existing_categories_combo;
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp51_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_combo_box_get_type (), GtkComboBox));
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp52_ = gee_list_get (_tmp49_, _tmp51_);
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _publishing_piwigo_category_unref0 (_tmp48_->category);
+#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp48_->category = (PublishingPiwigoCategory*) _tmp52_;
+#line 9309 "PiwigoPublishing.c"
}
-#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp53_ = params;
-#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp54_ = self->priv->strip_metadata_check;
-#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp55_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_emit_by_name (self, "publish", _tmp53_, _tmp55_);
-#line 1338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1315 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_publishing_parameters_unref0 (params);
-#line 9404 "PiwigoPublishing.c"
+#line 9321 "PiwigoPublishing.c"
}
@@ -9426,39 +9343,39 @@ static void publishing_piwigo_publishing_options_pane_on_use_existing_radio_clic
GtkComboBoxText* _tmp4_ = NULL;
GtkLabel* _tmp5_ = NULL;
GtkTextView* _tmp6_ = NULL;
-#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->existing_categories_combo;
-#line 1364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->new_category_entry;
-#line 1365 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->within_existing_label;
-#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1343 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = self->priv->within_existing_combo;
-#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->existing_categories_combo;
-#line 1368 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
-#line 1369 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = self->priv->album_comment_label;
-#line 1369 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1346 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = self->priv->album_comment;
-#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self);
-#line 9448 "PiwigoPublishing.c"
+#line 9365 "PiwigoPublishing.c"
}
@@ -9470,57 +9387,57 @@ static void publishing_piwigo_publishing_options_pane_on_create_new_radio_clicke
GtkTextView* _tmp4_ = NULL;
GtkComboBoxText* _tmp5_ = NULL;
GtkEntry* _tmp6_ = NULL;
-#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->new_category_entry;
-#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = self->priv->within_existing_label;
-#line 1376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->within_existing_combo;
-#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = self->priv->album_comment_label;
-#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1355 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->album_comment;
-#line 1379 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = self->priv->existing_categories_combo;
-#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = self->priv->new_category_entry;
-#line 1381 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget));
-#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self);
-#line 9492 "PiwigoPublishing.c"
+#line 9409 "PiwigoPublishing.c"
}
static void publishing_piwigo_publishing_options_pane_on_new_category_entry_changed (PublishingPiwigoPublishingOptionsPane* self) {
-#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1386 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self);
-#line 9501 "PiwigoPublishing.c"
+#line 9418 "PiwigoPublishing.c"
}
static void publishing_piwigo_publishing_options_pane_on_existing_combo_changed (PublishingPiwigoPublishingOptionsPane* self) {
-#line 1389 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self);
-#line 9510 "PiwigoPublishing.c"
+#line 9427 "PiwigoPublishing.c"
}
@@ -9534,186 +9451,158 @@ static void publishing_piwigo_publishing_options_pane_update_publish_button_sens
gint _tmp4_ = 0;
gchar* search_name = NULL;
gint _tmp5_ = 0;
- gboolean _tmp17_ = FALSE;
- GtkRadioButton* _tmp18_ = NULL;
- gboolean _tmp19_ = FALSE;
- GtkButton* _tmp24_ = NULL;
-#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gboolean _tmp18_ = FALSE;
+ GtkRadioButton* _tmp19_ = NULL;
+ gboolean _tmp20_ = FALSE;
+ GtkButton* _tmp25_ = NULL;
+#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->new_category_entry;
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = gtk_entry_get_text (_tmp0_);
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = string_strip (_tmp1_);
-#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
category_name = _tmp2_;
-#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = self->priv->within_existing_combo;
-#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1372 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
a = _tmp4_;
-#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = a;
-#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1374 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp5_ <= 0) {
-#line 9548 "PiwigoPublishing.c"
+#line 9465 "PiwigoPublishing.c"
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = category_name;
-#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = g_strconcat ("/ ", _tmp6_, NULL);
-#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (search_name);
-#line 1398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
search_name = _tmp7_;
-#line 9559 "PiwigoPublishing.c"
+#line 9476 "PiwigoPublishing.c"
} else {
gint _tmp8_ = 0;
- PublishingPiwigoCategory** _tmp9_ = NULL;
- gint _tmp9__length1 = 0;
+ GeeList* _tmp9_ = NULL;
gint _tmp10_ = 0;
- PublishingPiwigoCategory* _tmp11_ = NULL;
- const gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
+ gpointer _tmp11_ = NULL;
+ PublishingPiwigoCategory* _tmp12_ = NULL;
+ const gchar* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
- const gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
-#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gchar* _tmp15_ = NULL;
+ const gchar* _tmp16_ = NULL;
+ gchar* _tmp17_ = NULL;
+#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = a;
-#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
a = _tmp8_ - 1;
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp9_ = self->priv->existing_categories;
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp9__length1 = self->priv->existing_categories_length1;
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp9_ = self->priv->_existing_categories;
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = a;
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp11_ = _tmp9_[_tmp10_];
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp12_ = _tmp11_->display_name;
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp13_ = g_strconcat (_tmp12_, "/ ", NULL);
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp14_ = _tmp13_;
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp15_ = category_name;
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp16_ = g_strconcat (_tmp14_, _tmp15_, NULL);
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (search_name);
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- search_name = _tmp16_;
-#line 1401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (_tmp14_);
-#line 9599 "PiwigoPublishing.c"
- }
-#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp18_ = self->priv->create_new_radio;
-#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp19_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp19_) {
-#line 9607 "PiwigoPublishing.c"
- gboolean _tmp20_ = FALSE;
- const gchar* _tmp21_ = NULL;
-#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp21_ = category_name;
-#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (g_strcmp0 (_tmp21_, "") == 0) {
-#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp20_ = TRUE;
-#line 9616 "PiwigoPublishing.c"
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = gee_list_get (_tmp9_, _tmp10_);
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp12_ = (PublishingPiwigoCategory*) _tmp11_;
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp13_ = _tmp12_->display_name;
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp14_ = g_strconcat (_tmp13_, "/ ", NULL);
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp15_ = _tmp14_;
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp16_ = category_name;
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp17_ = g_strconcat (_tmp15_, _tmp16_, NULL);
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (search_name);
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ search_name = _tmp17_;
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp15_);
+#line 1378 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _publishing_piwigo_category_unref0 (_tmp12_);
+#line 9518 "PiwigoPublishing.c"
+ }
+#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp19_ = self->priv->create_new_radio;
+#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp20_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_toggle_button_get_type (), GtkToggleButton));
+#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (_tmp20_) {
+#line 9526 "PiwigoPublishing.c"
+ gboolean _tmp21_ = FALSE;
+ const gchar* _tmp22_ = NULL;
+#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp22_ = category_name;
+#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (g_strcmp0 (_tmp22_, "") == 0) {
+#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp21_ = TRUE;
+#line 9535 "PiwigoPublishing.c"
} else {
- const gchar* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
-#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp22_ = search_name;
-#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp23_ = publishing_piwigo_publishing_options_pane_category_already_exists (self, _tmp22_);
-#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp20_ = _tmp23_;
-#line 9626 "PiwigoPublishing.c"
+ const gchar* _tmp23_ = NULL;
+ gboolean _tmp24_ = FALSE;
+#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp23_ = search_name;
+#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp24_ = publishing_piwigo_publishing_options_pane_category_already_exists (self, _tmp23_);
+#line 1385 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp21_ = _tmp24_;
+#line 9545 "PiwigoPublishing.c"
}
-#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp17_ = _tmp20_;
-#line 9630 "PiwigoPublishing.c"
+#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp18_ = _tmp21_;
+#line 9549 "PiwigoPublishing.c"
} else {
-#line 1405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp17_ = FALSE;
-#line 9634 "PiwigoPublishing.c"
+#line 1382 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp18_ = FALSE;
+#line 9553 "PiwigoPublishing.c"
}
-#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp24_ = self->priv->publish_button;
-#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget), !_tmp17_);
-#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp25_ = self->priv->publish_button;
+#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), !_tmp18_);
+#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (search_name);
-#line 1393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (category_name);
-#line 9644 "PiwigoPublishing.c"
-}
-
-
-static GtkWidget* publishing_piwigo_publishing_options_pane_real_get_widget (SpitPublishingDialogPane* base) {
- PublishingPiwigoPublishingOptionsPane * self;
- GtkWidget* result = NULL;
- GtkBox* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
-#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane);
-#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = self->priv->pane_widget;
-#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = _tmp1_;
-#line 1415 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return result;
-#line 9663 "PiwigoPublishing.c"
-}
-
-
-static SpitPublishingDialogPaneGeometryOptions publishing_piwigo_publishing_options_pane_real_get_preferred_geometry (SpitPublishingDialogPane* base) {
- PublishingPiwigoPublishingOptionsPane * self;
- SpitPublishingDialogPaneGeometryOptions result = 0;
-#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane);
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
-#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- return result;
-#line 9676 "PiwigoPublishing.c"
+#line 9563 "PiwigoPublishing.c"
}
-static void publishing_piwigo_publishing_options_pane_real_on_pane_installed (SpitPublishingDialogPane* base) {
+static void publishing_piwigo_publishing_options_pane_real_on_pane_installed (ShotwellPluginsCommonBuilderPane* base) {
PublishingPiwigoPublishingOptionsPane * self;
GtkButton* _tmp0_ = NULL;
-#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1391 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane);
-#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ SHOTWELL_PLUGINS_COMMON_BUILDER_PANE_CLASS (publishing_piwigo_publishing_options_pane_parent_class)->on_pane_installed (G_TYPE_CHECK_INSTANCE_CAST (self, SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, ShotwellPluginsCommonBuilderPane));
+#line 1394 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_create_categories_combo (self);
-#line 1424 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_create_within_categories_combo (self);
-#line 1425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1396 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_create_permissions_combo (self);
-#line 1426 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_create_size_combo (self);
-#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1399 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->publish_button;
-#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1399 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1400 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (self);
-#line 9699 "PiwigoPublishing.c"
+#line 9588 "PiwigoPublishing.c"
}
-static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_possible (PublishingPiwigoPublishingOptionsPane* self, PublishingPiwigoPiwigoPublisher* publisher) {
+static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_possible (PublishingPiwigoPiwigoPublisher* publisher) {
gchar* result = NULL;
SpitPublishingPublishable** publishables = NULL;
PublishingPiwigoPiwigoPublisher* _tmp0_ = NULL;
@@ -9731,388 +9620,440 @@ static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_po
SpitPublishingPublishable** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp19_ = NULL;
-#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL);
-#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PIWIGO_PUBLISHER (publisher), NULL);
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = publisher;
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = publishing_piwigo_piwigo_publisher_get_host (_tmp0_);
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = _tmp1_;
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = spit_publishing_plugin_host_get_publishables (_tmp2_, &_tmp3_);
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = _tmp4_;
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5__length1 = _tmp3_;
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (_tmp2_);
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishables = _tmp5_;
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishables_length1 = _tmp5__length1;
-#line 1435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1406 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishables_size_ = publishables_length1;
-#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = g_strdup ("");
-#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1407 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
common = _tmp6_;
-#line 1437 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1408 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
isfirst = TRUE;
-#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = publishables;
-#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7__length1 = publishables_length1;
-#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1409 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp7_ != NULL) {
-#line 9757 "PiwigoPublishing.c"
+#line 9644 "PiwigoPublishing.c"
SpitPublishingPublishable** _tmp8_ = NULL;
gint _tmp8__length1 = 0;
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = publishables;
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8__length1 = publishables_length1;
-#line 9764 "PiwigoPublishing.c"
+#line 9651 "PiwigoPublishing.c"
{
SpitPublishingPublishable** pub_collection = NULL;
gint pub_collection_length1 = 0;
gint _pub_collection_size_ = 0;
gint pub_it = 0;
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
pub_collection = _tmp8_;
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
pub_collection_length1 = _tmp8__length1;
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
for (pub_it = 0; pub_it < _tmp8__length1; pub_it = pub_it + 1) {
-#line 9776 "PiwigoPublishing.c"
+#line 9663 "PiwigoPublishing.c"
SpitPublishingPublishable* _tmp9_ = NULL;
SpitPublishingPublishable* pub = NULL;
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = _g_object_ref0 (pub_collection[pub_it]);
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
pub = _tmp9_;
-#line 9783 "PiwigoPublishing.c"
+#line 9670 "PiwigoPublishing.c"
{
gchar* cur = NULL;
SpitPublishingPublishable* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
-#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = pub;
-#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = spit_publishing_publishable_get_param_string (_tmp10_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_EVENTCOMMENT);
-#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
cur = _tmp11_;
-#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = cur;
-#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1413 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp12_ == NULL) {
-#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (cur);
-#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (pub);
-#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1414 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
continue;
-#line 9806 "PiwigoPublishing.c"
+#line 9693 "PiwigoPublishing.c"
}
-#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = isfirst;
-#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp13_) {
-#line 9812 "PiwigoPublishing.c"
+#line 9699 "PiwigoPublishing.c"
const gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
-#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = cur;
-#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = g_strdup (_tmp14_);
-#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (common);
-#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
common = _tmp15_;
-#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1419 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
isfirst = FALSE;
-#line 9825 "PiwigoPublishing.c"
+#line 9712 "PiwigoPublishing.c"
} else {
const gchar* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
-#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = cur;
-#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = common;
-#line 1450 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_strcmp0 (_tmp16_, _tmp17_) != 0) {
-#line 9835 "PiwigoPublishing.c"
+#line 9722 "PiwigoPublishing.c"
gchar* _tmp18_ = NULL;
-#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = g_strdup ("");
-#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (common);
-#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
common = _tmp18_;
-#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (cur);
-#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (pub);
-#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1423 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 9849 "PiwigoPublishing.c"
+#line 9736 "PiwigoPublishing.c"
}
}
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (cur);
-#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1410 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (pub);
-#line 9856 "PiwigoPublishing.c"
+#line 9743 "PiwigoPublishing.c"
}
}
}
}
-#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = common;
-#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:1457: PiwigoConnector: found common event commen" \
+#line 1428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:1428: PiwigoConnector: found common event commen" \
"t %s\n", _tmp19_);
-#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = common;
-#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1429 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 9871 "PiwigoPublishing.c"
+#line 9758 "PiwigoPublishing.c"
}
static void publishing_piwigo_publishing_options_pane_create_categories_combo (PublishingPiwigoPublishingOptionsPane* self) {
- PublishingPiwigoCategory** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
- PublishingPiwigoCategory** _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- const gchar* _tmp21_ = NULL;
- gboolean _tmp22_ = FALSE;
-#line 1461 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ GeeList* _tmp14_ = NULL;
+ gboolean _tmp15_ = FALSE;
+ gboolean _tmp16_ = FALSE;
+ const gchar* _tmp30_ = NULL;
+ gboolean _tmp31_ = FALSE;
+#line 1432 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = self->priv->existing_categories;
-#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0__length1 = self->priv->existing_categories_length1;
-#line 9888 "PiwigoPublishing.c"
+#line 9770 "PiwigoPublishing.c"
{
- PublishingPiwigoCategory** cat_collection = NULL;
- gint cat_collection_length1 = 0;
- gint _cat_collection_size_ = 0;
- gint cat_it = 0;
-#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- cat_collection = _tmp0_;
-#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- cat_collection_length1 = _tmp0__length1;
-#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- for (cat_it = 0; cat_it < _tmp0__length1; cat_it = cat_it + 1) {
-#line 9900 "PiwigoPublishing.c"
- PublishingPiwigoCategory* _tmp1_ = NULL;
+ GeeList* _cat_list = NULL;
+ GeeList* _tmp0_ = NULL;
+ GeeList* _tmp1_ = NULL;
+ gint _cat_size = 0;
+ GeeList* _tmp2_ = NULL;
+ gint _tmp3_ = 0;
+ gint _tmp4_ = 0;
+ gint _cat_index = 0;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_existing_categories;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = _g_object_ref0 (_tmp0_);
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _cat_list = _tmp1_;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp2_ = _cat_list;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp3_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp4_ = _tmp3_;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _cat_size = _tmp4_;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _cat_index = -1;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ while (TRUE) {
+#line 9798 "PiwigoPublishing.c"
+ gint _tmp5_ = 0;
+ gint _tmp6_ = 0;
+ gint _tmp7_ = 0;
PublishingPiwigoCategory* cat = NULL;
-#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = _publishing_piwigo_category_ref0 (cat_collection[cat_it]);
-#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- cat = _tmp1_;
-#line 9907 "PiwigoPublishing.c"
- {
- GtkComboBoxText* _tmp2_ = NULL;
- PublishingPiwigoCategory* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
-#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp2_ = self->priv->existing_categories_combo;
-#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp3_ = cat;
-#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp4_ = _tmp3_->display_name;
-#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_combo_box_text_append_text (_tmp2_, _tmp4_);
-#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _publishing_piwigo_category_unref0 (cat);
-#line 9922 "PiwigoPublishing.c"
+ GeeList* _tmp8_ = NULL;
+ gint _tmp9_ = 0;
+ gpointer _tmp10_ = NULL;
+ GtkComboBoxText* _tmp11_ = NULL;
+ PublishingPiwigoCategory* _tmp12_ = NULL;
+ const gchar* _tmp13_ = NULL;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = _cat_index;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _cat_index = _tmp5_ + 1;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp6_ = _cat_index;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7_ = _cat_size;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (!(_tmp6_ < _tmp7_)) {
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 9821 "PiwigoPublishing.c"
}
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp8_ = _cat_list;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp9_ = _cat_index;
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp10_ = gee_list_get (_tmp8_, _tmp9_);
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ cat = (PublishingPiwigoCategory*) _tmp10_;
+#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = self->priv->existing_categories_combo;
+#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp12_ = cat;
+#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp13_ = _tmp12_->display_name;
+#line 1434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_combo_box_text_append_text (_tmp11_, _tmp13_);
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _publishing_piwigo_category_unref0 (cat);
+#line 9841 "PiwigoPublishing.c"
}
+#line 1433 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_cat_list);
+#line 9845 "PiwigoPublishing.c"
}
-#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = self->priv->existing_categories;
-#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5__length1 = self->priv->existing_categories_length1;
-#line 1465 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp5__length1 == 0) {
-#line 9932 "PiwigoPublishing.c"
- GtkComboBoxText* _tmp6_ = NULL;
- GtkRadioButton* _tmp7_ = NULL;
- GtkRadioButton* _tmp8_ = NULL;
- GtkTextView* _tmp9_ = NULL;
- GtkLabel* _tmp10_ = NULL;
- GtkEntry* _tmp11_ = NULL;
-#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp6_ = self->priv->existing_categories_combo;
-#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp7_ = self->priv->use_existing_radio;
-#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp8_ = self->priv->create_new_radio;
-#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
-#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp9_ = self->priv->album_comment;
-#line 1470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp10_ = self->priv->album_comment_label;
-#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp11_ = self->priv->new_category_entry;
-#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
-#line 9963 "PiwigoPublishing.c"
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp14_ = self->priv->_existing_categories;
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp15_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp16_ = _tmp15_;
+#line 1436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (_tmp16_) {
+#line 9855 "PiwigoPublishing.c"
+ GtkComboBoxText* _tmp17_ = NULL;
+ GtkRadioButton* _tmp18_ = NULL;
+ GtkRadioButton* _tmp19_ = NULL;
+ GtkTextView* _tmp20_ = NULL;
+ GtkLabel* _tmp21_ = NULL;
+ GtkEntry* _tmp22_ = NULL;
+#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp17_ = self->priv->existing_categories_combo;
+#line 1438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp18_ = self->priv->use_existing_radio;
+#line 1439 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp19_ = self->priv->create_new_radio;
+#line 1440 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
+#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp20_ = self->priv->album_comment;
+#line 1441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp21_ = self->priv->album_comment_label;
+#line 1442 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp22_ = self->priv->new_category_entry;
+#line 1443 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget));
+#line 9886 "PiwigoPublishing.c"
} else {
gint last_category_index = 0;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
- gint _tmp14_ = 0;
- GtkEntry* _tmp18_ = NULL;
- GtkTextView* _tmp19_ = NULL;
- GtkLabel* _tmp20_ = NULL;
-#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp12_ = self->priv->last_category;
-#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp13_ = publishing_piwigo_publishing_options_pane_find_category_index (self, _tmp12_);
-#line 1474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- last_category_index = _tmp13_;
-#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp14_ = last_category_index;
-#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp14_ < 0) {
-#line 9982 "PiwigoPublishing.c"
- GtkComboBoxText* _tmp15_ = NULL;
-#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp15_ = self->priv->existing_categories_combo;
-#line 1476 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 9988 "PiwigoPublishing.c"
- } else {
- GtkComboBoxText* _tmp16_ = NULL;
- gint _tmp17_ = 0;
-#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp16_ = self->priv->existing_categories_combo;
-#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp17_ = last_category_index;
-#line 1478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_combo_box_get_type (), GtkComboBox), _tmp17_);
-#line 9998 "PiwigoPublishing.c"
- }
-#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp18_ = self->priv->new_category_entry;
-#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp19_ = self->priv->album_comment;
-#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp20_ = self->priv->album_comment_label;
-#line 1482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 10012 "PiwigoPublishing.c"
+ gint _tmp23_ = 0;
+ gint _tmp24_ = 0;
+ GtkComboBoxText* _tmp25_ = NULL;
+ gint _tmp26_ = 0;
+ GtkEntry* _tmp27_ = NULL;
+ GtkTextView* _tmp28_ = NULL;
+ GtkLabel* _tmp29_ = NULL;
+#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp23_ = self->priv->_last_category;
+#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp24_ = publishing_piwigo_publishing_options_pane_find_category_index (self, _tmp23_);
+#line 1445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ last_category_index = _tmp24_;
+#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp25_ = self->priv->existing_categories_combo;
+#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp26_ = last_category_index;
+#line 1446 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_combo_box_get_type (), GtkComboBox), _tmp26_);
+#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp27_ = self->priv->new_category_entry;
+#line 1447 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp28_ = self->priv->album_comment;
+#line 1448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 1449 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp29_ = self->priv->album_comment_label;
+#line 1449 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 9920 "PiwigoPublishing.c"
}
-#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp21_ = publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME;
-#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp22_ = publishing_piwigo_publishing_options_pane_category_already_exists (self, _tmp21_);
-#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!_tmp22_) {
-#line 10020 "PiwigoPublishing.c"
- GtkEntry* _tmp23_ = NULL;
- const gchar* _tmp24_ = NULL;
-#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp23_ = self->priv->new_category_entry;
-#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp24_ = publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME;
-#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_entry_set_text (_tmp23_, _tmp24_);
-#line 10029 "PiwigoPublishing.c"
+#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp30_ = publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME;
+#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp31_ = publishing_piwigo_publishing_options_pane_category_already_exists (self, _tmp30_);
+#line 1451 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (!_tmp31_) {
+#line 9928 "PiwigoPublishing.c"
+ GtkEntry* _tmp32_ = NULL;
+ const gchar* _tmp33_ = NULL;
+#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp32_ = self->priv->new_category_entry;
+#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp33_ = publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME;
+#line 1452 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_entry_set_text (_tmp32_, _tmp33_);
+#line 9937 "PiwigoPublishing.c"
}
}
static void publishing_piwigo_publishing_options_pane_create_within_categories_combo (PublishingPiwigoPublishingOptionsPane* self) {
GtkComboBoxText* _tmp0_ = NULL;
- PublishingPiwigoCategory** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- GtkLabel* _tmp6_ = NULL;
- GtkComboBoxText* _tmp7_ = NULL;
- GtkComboBoxText* _tmp8_ = NULL;
-#line 1488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ GtkLabel* _tmp15_ = NULL;
+ GtkComboBoxText* _tmp16_ = NULL;
+ GtkComboBoxText* _tmp17_ = NULL;
+#line 1455 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->within_existing_combo;
-#line 1490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1457 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_combo_box_text_append_text (_tmp0_, "/ ");
-#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = self->priv->existing_categories;
-#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1__length1 = self->priv->existing_categories_length1;
-#line 10051 "PiwigoPublishing.c"
+#line 9953 "PiwigoPublishing.c"
{
- PublishingPiwigoCategory** cat_collection = NULL;
- gint cat_collection_length1 = 0;
- gint _cat_collection_size_ = 0;
- gint cat_it = 0;
-#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- cat_collection = _tmp1_;
-#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- cat_collection_length1 = _tmp1__length1;
-#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- for (cat_it = 0; cat_it < _tmp1__length1; cat_it = cat_it + 1) {
-#line 10063 "PiwigoPublishing.c"
- PublishingPiwigoCategory* _tmp2_ = NULL;
+ GeeList* _cat_list = NULL;
+ GeeList* _tmp1_ = NULL;
+ GeeList* _tmp2_ = NULL;
+ gint _cat_size = 0;
+ GeeList* _tmp3_ = NULL;
+ gint _tmp4_ = 0;
+ gint _tmp5_ = 0;
+ gint _cat_index = 0;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = self->priv->_existing_categories;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp2_ = _g_object_ref0 (_tmp1_);
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _cat_list = _tmp2_;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp3_ = _cat_list;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = _tmp4_;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _cat_size = _tmp5_;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _cat_index = -1;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ while (TRUE) {
+#line 9981 "PiwigoPublishing.c"
+ gint _tmp6_ = 0;
+ gint _tmp7_ = 0;
+ gint _tmp8_ = 0;
PublishingPiwigoCategory* cat = NULL;
-#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp2_ = _publishing_piwigo_category_ref0 (cat_collection[cat_it]);
-#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- cat = _tmp2_;
-#line 10070 "PiwigoPublishing.c"
- {
- GtkComboBoxText* _tmp3_ = NULL;
- PublishingPiwigoCategory* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
-#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp3_ = self->priv->within_existing_combo;
-#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp4_ = cat;
-#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = _tmp4_->display_name;
-#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_combo_box_text_append_text (_tmp3_, _tmp5_);
-#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _publishing_piwigo_category_unref0 (cat);
-#line 10085 "PiwigoPublishing.c"
+ GeeList* _tmp9_ = NULL;
+ gint _tmp10_ = 0;
+ gpointer _tmp11_ = NULL;
+ GtkComboBoxText* _tmp12_ = NULL;
+ PublishingPiwigoCategory* _tmp13_ = NULL;
+ const gchar* _tmp14_ = NULL;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp6_ = _cat_index;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _cat_index = _tmp6_ + 1;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7_ = _cat_index;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp8_ = _cat_size;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (!(_tmp7_ < _tmp8_)) {
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 10004 "PiwigoPublishing.c"
}
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp9_ = _cat_list;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp10_ = _cat_index;
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = gee_list_get (_tmp9_, _tmp10_);
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ cat = (PublishingPiwigoCategory*) _tmp11_;
+#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp12_ = self->priv->within_existing_combo;
+#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp13_ = cat;
+#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp14_ = _tmp13_->display_name;
+#line 1459 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_combo_box_text_append_text (_tmp12_, _tmp14_);
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _publishing_piwigo_category_unref0 (cat);
+#line 10024 "PiwigoPublishing.c"
}
+#line 1458 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_cat_list);
+#line 10028 "PiwigoPublishing.c"
}
-#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp6_ = self->priv->within_existing_label;
-#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp7_ = self->priv->within_existing_combo;
-#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp8_ = self->priv->within_existing_combo;
-#line 1497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 10101 "PiwigoPublishing.c"
+#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp15_ = self->priv->within_existing_label;
+#line 1462 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp16_ = self->priv->within_existing_combo;
+#line 1463 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_combo_box_get_type (), GtkComboBox), 0);
+#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp17_ = self->priv->within_existing_combo;
+#line 1464 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 10042 "PiwigoPublishing.c"
}
@@ -10123,77 +10064,77 @@ static void publishing_piwigo_publishing_options_pane_create_permissions_combo (
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->perm_levels;
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0__length1 = self->priv->perm_levels_length1;
-#line 10118 "PiwigoPublishing.c"
+#line 10059 "PiwigoPublishing.c"
{
PublishingPiwigoPermissionLevel** perm_collection = NULL;
gint perm_collection_length1 = 0;
gint _perm_collection_size_ = 0;
gint perm_it = 0;
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
perm_collection = _tmp0_;
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
perm_collection_length1 = _tmp0__length1;
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
for (perm_it = 0; perm_it < _tmp0__length1; perm_it = perm_it + 1) {
-#line 10130 "PiwigoPublishing.c"
+#line 10071 "PiwigoPublishing.c"
PublishingPiwigoPermissionLevel* _tmp1_ = NULL;
PublishingPiwigoPermissionLevel* perm = NULL;
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _publishing_piwigo_permission_level_ref0 (perm_collection[perm_it]);
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
perm = _tmp1_;
-#line 10137 "PiwigoPublishing.c"
+#line 10078 "PiwigoPublishing.c"
{
GtkComboBoxText* _tmp2_ = NULL;
PublishingPiwigoPermissionLevel* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->perms_combo;
-#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = perm;
-#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _tmp3_->name;
-#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_combo_box_text_append_text (_tmp2_, _tmp4_);
-#line 1501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1468 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_permission_level_unref0 (perm);
-#line 10152 "PiwigoPublishing.c"
+#line 10093 "PiwigoPublishing.c"
}
}
}
-#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = self->priv->last_permission_level;
-#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = self->priv->_last_permission_level;
+#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = publishing_piwigo_publishing_options_pane_find_permission_level_index (self, _tmp5_);
-#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1471 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
last_permission_level_index = _tmp6_;
-#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = last_permission_level_index;
-#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1472 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp7_ < 0) {
-#line 10166 "PiwigoPublishing.c"
+#line 10107 "PiwigoPublishing.c"
GtkComboBoxText* _tmp8_ = NULL;
-#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = self->priv->perms_combo;
-#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 10172 "PiwigoPublishing.c"
+#line 10113 "PiwigoPublishing.c"
} else {
GtkComboBoxText* _tmp9_ = NULL;
gint _tmp10_ = 0;
-#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = self->priv->perms_combo;
-#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = last_permission_level_index;
-#line 1508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox), _tmp10_);
-#line 10182 "PiwigoPublishing.c"
+#line 10123 "PiwigoPublishing.c"
}
}
@@ -10205,200 +10146,200 @@ static void publishing_piwigo_publishing_options_pane_create_size_combo (Publish
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1479 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
-#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->photo_sizes;
-#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0__length1 = self->priv->photo_sizes_length1;
-#line 10200 "PiwigoPublishing.c"
+#line 10141 "PiwigoPublishing.c"
{
PublishingPiwigoSizeEntry** size_collection = NULL;
gint size_collection_length1 = 0;
gint _size_collection_size_ = 0;
gint size_it = 0;
-#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
size_collection = _tmp0_;
-#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
size_collection_length1 = _tmp0__length1;
-#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
for (size_it = 0; size_it < _tmp0__length1; size_it = size_it + 1) {
-#line 10212 "PiwigoPublishing.c"
+#line 10153 "PiwigoPublishing.c"
PublishingPiwigoSizeEntry* _tmp1_ = NULL;
PublishingPiwigoSizeEntry* size = NULL;
-#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _publishing_piwigo_size_entry_ref0 (size_collection[size_it]);
-#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
size = _tmp1_;
-#line 10219 "PiwigoPublishing.c"
+#line 10160 "PiwigoPublishing.c"
{
GtkComboBoxText* _tmp2_ = NULL;
PublishingPiwigoSizeEntry* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->size_combo;
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = size;
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _tmp3_->name;
-#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_combo_box_text_append_text (_tmp2_, _tmp4_);
-#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1480 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_size_entry_unref0 (size);
-#line 10234 "PiwigoPublishing.c"
+#line 10175 "PiwigoPublishing.c"
}
}
}
-#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = self->priv->last_photo_size;
-#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = self->priv->_last_photo_size;
+#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = publishing_piwigo_publishing_options_pane_find_size_index (self, _tmp5_);
-#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1483 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
last_size_index = _tmp6_;
-#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = last_size_index;
-#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1484 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp7_ < 0) {
-#line 10248 "PiwigoPublishing.c"
+#line 10189 "PiwigoPublishing.c"
GtkComboBoxText* _tmp8_ = NULL;
gint _tmp9_ = 0;
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = self->priv->size_combo;
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = publishing_piwigo_publishing_options_pane_find_size_index (self, PUBLISHING_PIWIGO_ORIGINAL_SIZE);
-#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1485 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_combo_box_get_type (), GtkComboBox), _tmp9_);
-#line 10257 "PiwigoPublishing.c"
+#line 10198 "PiwigoPublishing.c"
} else {
GtkComboBoxText* _tmp10_ = NULL;
gint _tmp11_ = 0;
-#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = self->priv->size_combo;
-#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = last_size_index;
-#line 1520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_combo_box_get_type (), GtkComboBox), _tmp11_);
-#line 10267 "PiwigoPublishing.c"
+#line 10208 "PiwigoPublishing.c"
}
}
-static void publishing_piwigo_publishing_options_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) {
- PublishingPiwigoPublishingOptionsPane * self;
-#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane);
-#line 10276 "PiwigoPublishing.c"
-}
-
-
static gint publishing_piwigo_publishing_options_pane_find_category_index (PublishingPiwigoPublishingOptionsPane* self, gint category_id) {
gint result = 0;
gint _result_ = 0;
-#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1491 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0);
-#line 1528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _result_ = -1;
-#line 10287 "PiwigoPublishing.c"
+#line 1492 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _result_ = 0;
+#line 10220 "PiwigoPublishing.c"
{
gint i = 0;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
i = 0;
-#line 10292 "PiwigoPublishing.c"
+#line 10225 "PiwigoPublishing.c"
{
gboolean _tmp0_ = FALSE;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = TRUE;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
while (TRUE) {
-#line 10299 "PiwigoPublishing.c"
+#line 10232 "PiwigoPublishing.c"
gint _tmp2_ = 0;
- PublishingPiwigoCategory** _tmp3_ = NULL;
- gint _tmp3__length1 = 0;
- PublishingPiwigoCategory** _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
+ GeeList* _tmp3_ = NULL;
+ gint _tmp4_ = 0;
gint _tmp5_ = 0;
- PublishingPiwigoCategory* _tmp6_ = NULL;
+ GeeList* _tmp6_ = NULL;
gint _tmp7_ = 0;
- gint _tmp8_ = 0;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ gpointer _tmp8_ = NULL;
+ PublishingPiwigoCategory* _tmp9_ = NULL;
+ gint _tmp10_ = 0;
+ gint _tmp11_ = 0;
+ gboolean _tmp12_ = FALSE;
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp0_) {
-#line 10311 "PiwigoPublishing.c"
+#line 10246 "PiwigoPublishing.c"
gint _tmp1_ = 0;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = i;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
i = _tmp1_ + 1;
-#line 10317 "PiwigoPublishing.c"
+#line 10252 "PiwigoPublishing.c"
}
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = FALSE;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = i;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp3_ = self->priv->existing_categories;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp3__length1 = self->priv->existing_categories_length1;
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (!(_tmp2_ < _tmp3__length1)) {
-#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp3_ = self->priv->_existing_categories;
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = _tmp4_;
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (!(_tmp2_ < _tmp5_)) {
+#line 1493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 10331 "PiwigoPublishing.c"
+#line 10268 "PiwigoPublishing.c"
}
-#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp4_ = self->priv->existing_categories;
-#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp4__length1 = self->priv->existing_categories_length1;
-#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = i;
-#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp6_ = _tmp4_[_tmp5_];
-#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp7_ = _tmp6_->id;
-#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp8_ = category_id;
-#line 1530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp7_ == _tmp8_) {
-#line 10347 "PiwigoPublishing.c"
- gint _tmp9_ = 0;
-#line 1531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp9_ = i;
-#line 1531 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _result_ = _tmp9_;
-#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp6_ = self->priv->_existing_categories;
+#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7_ = i;
+#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp8_ = gee_list_get (_tmp6_, _tmp7_);
+#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp9_ = (PublishingPiwigoCategory*) _tmp8_;
+#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp10_ = _tmp9_->id;
+#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = category_id;
+#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp12_ = _tmp10_ == _tmp11_;
+#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _publishing_piwigo_category_unref0 (_tmp9_);
+#line 1494 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (_tmp12_) {
+#line 10288 "PiwigoPublishing.c"
+ gint _tmp13_ = 0;
+#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp13_ = i;
+#line 1495 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _result_ = _tmp13_;
+#line 1496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 10355 "PiwigoPublishing.c"
+#line 10296 "PiwigoPublishing.c"
}
}
}
}
-#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _result_;
-#line 1535 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 10364 "PiwigoPublishing.c"
+#line 10305 "PiwigoPublishing.c"
}
static gint publishing_piwigo_publishing_options_pane_find_permission_level_index (PublishingPiwigoPublishingOptionsPane* self, gint permission_level_id) {
gint result = 0;
gint _result_ = 0;
-#line 1538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1502 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0);
-#line 1539 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_result_ = -1;
-#line 10375 "PiwigoPublishing.c"
+#line 10316 "PiwigoPublishing.c"
{
gint i = 0;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
i = 0;
-#line 10380 "PiwigoPublishing.c"
+#line 10321 "PiwigoPublishing.c"
{
gboolean _tmp0_ = FALSE;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = TRUE;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
while (TRUE) {
-#line 10387 "PiwigoPublishing.c"
+#line 10328 "PiwigoPublishing.c"
gint _tmp2_ = 0;
PublishingPiwigoPermissionLevel** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
@@ -10408,85 +10349,85 @@ static gint publishing_piwigo_publishing_options_pane_find_permission_level_inde
PublishingPiwigoPermissionLevel* _tmp6_ = NULL;
gint _tmp7_ = 0;
gint _tmp8_ = 0;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp0_) {
-#line 10399 "PiwigoPublishing.c"
+#line 10340 "PiwigoPublishing.c"
gint _tmp1_ = 0;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = i;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
i = _tmp1_ + 1;
-#line 10405 "PiwigoPublishing.c"
+#line 10346 "PiwigoPublishing.c"
}
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = FALSE;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = i;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = self->priv->perm_levels;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3__length1 = self->priv->perm_levels_length1;
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!(_tmp2_ < _tmp3__length1)) {
-#line 1540 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1504 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 10419 "PiwigoPublishing.c"
+#line 10360 "PiwigoPublishing.c"
}
-#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->perm_levels;
-#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4__length1 = self->priv->perm_levels_length1;
-#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = i;
-#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp4_[_tmp5_];
-#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _tmp6_->id;
-#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = permission_level_id;
-#line 1541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp7_ == _tmp8_) {
-#line 10435 "PiwigoPublishing.c"
+#line 10376 "PiwigoPublishing.c"
gint _tmp9_ = 0;
-#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = i;
-#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1506 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_result_ = _tmp9_;
-#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1507 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 10443 "PiwigoPublishing.c"
+#line 10384 "PiwigoPublishing.c"
}
}
}
}
-#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1510 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _result_;
-#line 1546 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1510 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 10452 "PiwigoPublishing.c"
+#line 10393 "PiwigoPublishing.c"
}
static gint publishing_piwigo_publishing_options_pane_find_size_index (PublishingPiwigoPublishingOptionsPane* self, gint size_id) {
gint result = 0;
gint _result_ = 0;
-#line 1549 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0);
-#line 1550 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1514 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_result_ = -1;
-#line 10463 "PiwigoPublishing.c"
+#line 10404 "PiwigoPublishing.c"
{
gint i = 0;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
i = 0;
-#line 10468 "PiwigoPublishing.c"
+#line 10409 "PiwigoPublishing.c"
{
gboolean _tmp0_ = FALSE;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = TRUE;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
while (TRUE) {
-#line 10475 "PiwigoPublishing.c"
+#line 10416 "PiwigoPublishing.c"
gint _tmp2_ = 0;
PublishingPiwigoSizeEntry** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
@@ -10496,142 +10437,417 @@ static gint publishing_piwigo_publishing_options_pane_find_size_index (Publishin
PublishingPiwigoSizeEntry* _tmp6_ = NULL;
gint _tmp7_ = 0;
gint _tmp8_ = 0;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp0_) {
-#line 10487 "PiwigoPublishing.c"
+#line 10428 "PiwigoPublishing.c"
gint _tmp1_ = 0;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = i;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
i = _tmp1_ + 1;
-#line 10493 "PiwigoPublishing.c"
+#line 10434 "PiwigoPublishing.c"
}
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = FALSE;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = i;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = self->priv->photo_sizes;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3__length1 = self->priv->photo_sizes_length1;
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!(_tmp2_ < _tmp3__length1)) {
-#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 10507 "PiwigoPublishing.c"
+#line 10448 "PiwigoPublishing.c"
}
-#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->photo_sizes;
-#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4__length1 = self->priv->photo_sizes_length1;
-#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = i;
-#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp4_[_tmp5_];
-#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _tmp6_->id;
-#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = size_id;
-#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp7_ == _tmp8_) {
-#line 10523 "PiwigoPublishing.c"
+#line 10464 "PiwigoPublishing.c"
gint _tmp9_ = 0;
-#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = i;
-#line 1553 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1517 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_result_ = _tmp9_;
-#line 1554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1518 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
break;
-#line 10531 "PiwigoPublishing.c"
+#line 10472 "PiwigoPublishing.c"
}
}
}
}
-#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _result_;
-#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1521 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 10540 "PiwigoPublishing.c"
+#line 10481 "PiwigoPublishing.c"
}
static gboolean publishing_piwigo_publishing_options_pane_category_already_exists (PublishingPiwigoPublishingOptionsPane* self, const gchar* category_name) {
gboolean result = FALSE;
gboolean _result_ = FALSE;
- PublishingPiwigoCategory** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
-#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), FALSE);
-#line 1560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (category_name != NULL, FALSE);
-#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_result_ = FALSE;
-#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0_ = self->priv->existing_categories;
-#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp0__length1 = self->priv->existing_categories_length1;
-#line 10559 "PiwigoPublishing.c"
+#line 10494 "PiwigoPublishing.c"
{
- PublishingPiwigoCategory** category_collection = NULL;
- gint category_collection_length1 = 0;
- gint _category_collection_size_ = 0;
- gint category_it = 0;
-#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- category_collection = _tmp0_;
-#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- category_collection_length1 = _tmp0__length1;
-#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- for (category_it = 0; category_it < _tmp0__length1; category_it = category_it + 1) {
-#line 10571 "PiwigoPublishing.c"
- PublishingPiwigoCategory* _tmp1_ = NULL;
+ GeeList* _category_list = NULL;
+ GeeList* _tmp0_ = NULL;
+ GeeList* _tmp1_ = NULL;
+ gint _category_size = 0;
+ GeeList* _tmp2_ = NULL;
+ gint _tmp3_ = 0;
+ gint _tmp4_ = 0;
+ gint _category_index = 0;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_existing_categories;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = _g_object_ref0 (_tmp0_);
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _category_list = _tmp1_;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp2_ = _category_list;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp3_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp4_ = _tmp3_;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _category_size = _tmp4_;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _category_index = -1;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ while (TRUE) {
+#line 10522 "PiwigoPublishing.c"
+ gint _tmp5_ = 0;
+ gint _tmp6_ = 0;
+ gint _tmp7_ = 0;
PublishingPiwigoCategory* category = NULL;
-#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp1_ = _publishing_piwigo_category_ref0 (category_collection[category_it]);
-#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- category = _tmp1_;
-#line 10578 "PiwigoPublishing.c"
- {
- PublishingPiwigoCategory* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
-#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp2_ = category;
-#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp3_ = _tmp2_->display_name;
-#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp4_ = string_strip (_tmp3_);
-#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp5_ = _tmp4_;
-#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp6_ = category_name;
-#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _tmp7_ = g_strcmp0 (_tmp5_, _tmp6_) == 0;
-#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_free0 (_tmp5_);
-#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- if (_tmp7_) {
-#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _result_ = TRUE;
-#line 1565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _publishing_piwigo_category_unref0 (category);
-#line 1565 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- break;
-#line 10608 "PiwigoPublishing.c"
- }
-#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ GeeList* _tmp8_ = NULL;
+ gint _tmp9_ = 0;
+ gpointer _tmp10_ = NULL;
+ PublishingPiwigoCategory* _tmp11_ = NULL;
+ const gchar* _tmp12_ = NULL;
+ gchar* _tmp13_ = NULL;
+ gchar* _tmp14_ = NULL;
+ const gchar* _tmp15_ = NULL;
+ gboolean _tmp16_ = FALSE;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp5_ = _category_index;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _category_index = _tmp5_ + 1;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp6_ = _category_index;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp7_ = _category_size;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (!(_tmp6_ < _tmp7_)) {
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 10548 "PiwigoPublishing.c"
+ }
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp8_ = _category_list;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp9_ = _category_index;
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp10_ = gee_list_get (_tmp8_, _tmp9_);
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ category = (PublishingPiwigoCategory*) _tmp10_;
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp11_ = category;
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp12_ = _tmp11_->display_name;
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp13_ = string_strip (_tmp12_);
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp14_ = _tmp13_;
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp15_ = category_name;
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp16_ = g_strcmp0 (_tmp14_, _tmp15_) == 0;
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (_tmp14_);
+#line 1527 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ if (_tmp16_) {
+#line 1528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _result_ = TRUE;
+#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_category_unref0 (category);
-#line 10612 "PiwigoPublishing.c"
+#line 1529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 10580 "PiwigoPublishing.c"
}
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _publishing_piwigo_category_unref0 (category);
+#line 10584 "PiwigoPublishing.c"
}
+#line 1526 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (_category_list);
+#line 10588 "PiwigoPublishing.c"
}
-#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _result_;
-#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1532 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 10620 "PiwigoPublishing.c"
+#line 10594 "PiwigoPublishing.c"
+}
+
+
+static gint publishing_piwigo_publishing_options_pane_get_last_category (PublishingPiwigoPublishingOptionsPane* self) {
+ gint result;
+ gint _tmp0_ = 0;
+#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0);
+#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_last_category;
+#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 10609 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_publishing_options_pane_set_last_category (PublishingPiwigoPublishingOptionsPane* self, gint value) {
+ gint _tmp0_ = 0;
+#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_last_category = _tmp0_;
+#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "last-category");
+#line 10623 "PiwigoPublishing.c"
+}
+
+
+static gint publishing_piwigo_publishing_options_pane_get_last_permission_level (PublishingPiwigoPublishingOptionsPane* self) {
+ gint result;
+ gint _tmp0_ = 0;
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0);
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_last_permission_level;
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 10638 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_publishing_options_pane_set_last_permission_level (PublishingPiwigoPublishingOptionsPane* self, gint value) {
+ gint _tmp0_ = 0;
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_last_permission_level = _tmp0_;
+#line 1210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "last-permission-level");
+#line 10652 "PiwigoPublishing.c"
+}
+
+
+static gint publishing_piwigo_publishing_options_pane_get_last_photo_size (PublishingPiwigoPublishingOptionsPane* self) {
+ gint result;
+ gint _tmp0_ = 0;
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), 0);
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_last_photo_size;
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 10667 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_publishing_options_pane_set_last_photo_size (PublishingPiwigoPublishingOptionsPane* self, gint value) {
+ gint _tmp0_ = 0;
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_last_photo_size = _tmp0_;
+#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "last-photo-size");
+#line 10681 "PiwigoPublishing.c"
+}
+
+
+static gboolean publishing_piwigo_publishing_options_pane_get_last_title_as_comment (PublishingPiwigoPublishingOptionsPane* self) {
+ gboolean result;
+ gboolean _tmp0_ = FALSE;
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), FALSE);
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_last_title_as_comment;
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 10696 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_publishing_options_pane_set_last_title_as_comment (PublishingPiwigoPublishingOptionsPane* self, gboolean value) {
+ gboolean _tmp0_ = FALSE;
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_last_title_as_comment = _tmp0_;
+#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "last-title-as-comment");
+#line 10710 "PiwigoPublishing.c"
+}
+
+
+static gboolean publishing_piwigo_publishing_options_pane_get_last_no_upload_tags (PublishingPiwigoPublishingOptionsPane* self) {
+ gboolean result;
+ gboolean _tmp0_ = FALSE;
+#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), FALSE);
+#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_last_no_upload_tags;
+#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 10725 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_publishing_options_pane_set_last_no_upload_tags (PublishingPiwigoPublishingOptionsPane* self, gboolean value) {
+ gboolean _tmp0_ = FALSE;
+#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_last_no_upload_tags = _tmp0_;
+#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "last-no-upload-tags");
+#line 10739 "PiwigoPublishing.c"
+}
+
+
+static gboolean publishing_piwigo_publishing_options_pane_get_strip_metadata_enabled (PublishingPiwigoPublishingOptionsPane* self) {
+ gboolean result;
+ gboolean _tmp0_ = FALSE;
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), FALSE);
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_strip_metadata_enabled;
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 10754 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_publishing_options_pane_set_strip_metadata_enabled (PublishingPiwigoPublishingOptionsPane* self, gboolean value) {
+ gboolean _tmp0_ = FALSE;
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_strip_metadata_enabled = _tmp0_;
+#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "strip-metadata-enabled");
+#line 10768 "PiwigoPublishing.c"
+}
+
+
+static GeeList* publishing_piwigo_publishing_options_pane_get_existing_categories (PublishingPiwigoPublishingOptionsPane* self) {
+ GeeList* result;
+ GeeList* _tmp0_ = NULL;
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL);
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_existing_categories;
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 10783 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_publishing_options_pane_set_existing_categories (PublishingPiwigoPublishingOptionsPane* self, GeeList* value) {
+ GeeList* _tmp0_ = NULL;
+ GeeList* _tmp1_ = NULL;
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = _g_object_ref0 (_tmp0_);
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->_existing_categories);
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_existing_categories = _tmp1_;
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "existing-categories");
+#line 10802 "PiwigoPublishing.c"
+}
+
+
+static const gchar* publishing_piwigo_publishing_options_pane_get_default_comment (PublishingPiwigoPublishingOptionsPane* self) {
+ const gchar* result;
+ const gchar* _tmp0_ = NULL;
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self), NULL);
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = self->priv->_default_comment;
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ result = _tmp0_;
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ return result;
+#line 10817 "PiwigoPublishing.c"
+}
+
+
+static void publishing_piwigo_publishing_options_pane_set_default_comment (PublishingPiwigoPublishingOptionsPane* self, const gchar* value) {
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_return_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_OPTIONS_PANE (self));
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp0_ = value;
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (self->priv->_default_comment);
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->_default_comment = _tmp1_;
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_notify ((GObject *) self, "default-comment");
+#line 10836 "PiwigoPublishing.c"
}
@@ -10642,130 +10858,135 @@ static void g_cclosure_user_marshal_VOID__PUBLISHING_PIWIGO_PUBLISHING_PARAMETER
register gpointer data1;
register gpointer data2;
cc = (GCClosure *) closure;
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (n_param_values == 3);
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_CCLOSURE_SWAP_DATA (closure)) {
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
data1 = closure->data;
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
data2 = param_values->data[0].v_pointer;
-#line 10639 "PiwigoPublishing.c"
+#line 10855 "PiwigoPublishing.c"
} else {
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
data1 = param_values->data[0].v_pointer;
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
data2 = closure->data;
-#line 10645 "PiwigoPublishing.c"
+#line 10861 "PiwigoPublishing.c"
}
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
callback = (GMarshalFunc_VOID__PUBLISHING_PIWIGO_PUBLISHING_PARAMETERS_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
callback (data1, publishing_piwigo_value_get_publishing_parameters (param_values + 1), g_value_get_boolean (param_values + 2), data2);
-#line 10651 "PiwigoPublishing.c"
+#line 10867 "PiwigoPublishing.c"
}
static void publishing_piwigo_publishing_options_pane_class_init (PublishingPiwigoPublishingOptionsPaneClass * klass) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_parent_class = g_type_class_peek_parent (klass);
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingPiwigoPublishingOptionsPanePrivate));
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ ((GObjectClass *) klass)->constructed = publishing_piwigo_publishing_options_pane_real_constructed;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ ((ShotwellPluginsCommonBuilderPaneClass *) klass)->on_pane_installed = publishing_piwigo_publishing_options_pane_real_on_pane_installed;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_CLASS (klass)->get_property = _vala_publishing_piwigo_publishing_options_pane_get_property;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_CLASS (klass)->set_property = _vala_publishing_piwigo_publishing_options_pane_set_property;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_piwigo_publishing_options_pane_finalize;
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_CATEGORY, g_param_spec_int ("last-category", "last-category", "last-category", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_PERMISSION_LEVEL, g_param_spec_int ("last-permission-level", "last-permission-level", "last-permission-level", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_PHOTO_SIZE, g_param_spec_int ("last-photo-size", "last-photo-size", "last-photo-size", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_TITLE_AS_COMMENT, g_param_spec_boolean ("last-title-as-comment", "last-title-as-comment", "last-title-as-comment", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_NO_UPLOAD_TAGS, g_param_spec_boolean ("last-no-upload-tags", "last-no-upload-tags", "last-no-upload-tags", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_STRIP_METADATA_ENABLED, g_param_spec_boolean ("strip-metadata-enabled", "strip-metadata-enabled", "strip-metadata-enabled", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_EXISTING_CATEGORIES, g_param_spec_object ("existing-categories", "existing-categories", "existing-categories", GEE_TYPE_LIST, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_DEFAULT_COMMENT, g_param_spec_string ("default-comment", "default-comment", "default-comment", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_new ("publish", PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__PUBLISHING_PIWIGO_PUBLISHING_PARAMETERS_BOOLEAN, G_TYPE_NONE, 2, PUBLISHING_PIWIGO_TYPE_PUBLISHING_PARAMETERS, G_TYPE_BOOLEAN);
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_signal_new ("logout", PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = _ ("Shotwell Connect");
-#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1209 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1188 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_publishing_options_pane_DEFAULT_CATEGORY_NAME = _tmp1_;
-#line 10674 "PiwigoPublishing.c"
-}
-
-
-static void publishing_piwigo_publishing_options_pane_spit_publishing_dialog_pane_interface_init (SpitPublishingDialogPaneIface * iface) {
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- publishing_piwigo_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface);
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_piwigo_publishing_options_pane_real_get_widget;
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_piwigo_publishing_options_pane_real_get_preferred_geometry;
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_publishing_options_pane_real_on_pane_installed;
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_piwigo_publishing_options_pane_real_on_pane_uninstalled;
-#line 10689 "PiwigoPublishing.c"
+#line 10914 "PiwigoPublishing.c"
}
static void publishing_piwigo_publishing_options_pane_instance_init (PublishingPiwigoPublishingOptionsPane * self) {
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv = PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_GET_PRIVATE (self);
-#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->pane_widget = NULL;
-#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1198 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->strip_metadata_check = NULL;
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->title_as_comment_check = NULL;
-#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->no_upload_tags_check = NULL;
-#line 10704 "PiwigoPublishing.c"
+#line 10927 "PiwigoPublishing.c"
}
static void publishing_piwigo_publishing_options_pane_finalize (GObject* obj) {
PublishingPiwigoPublishingOptionsPane * self;
-#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane);
-#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->pane_widget);
-#line 1212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- _g_object_unref0 (self->priv->builder);
-#line 1213 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1190 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->use_existing_radio);
-#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->create_new_radio);
-#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1192 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->existing_categories_combo);
-#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1193 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->new_category_entry);
-#line 1217 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->within_existing_label);
-#line 1218 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->within_existing_combo);
-#line 1219 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->perms_combo);
-#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->size_combo);
-#line 1221 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1198 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->strip_metadata_check);
-#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->title_as_comment_check);
-#line 1223 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1200 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->no_upload_tags_check);
-#line 1224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->logout_button);
-#line 1225 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1202 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->publish_button);
-#line 1226 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->album_comment);
-#line 1227 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1204 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (self->priv->album_comment_label);
-#line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->existing_categories = (_vala_array_free (self->priv->existing_categories, self->priv->existing_categories_length1, (GDestroyNotify) publishing_piwigo_category_unref), NULL);
-#line 1230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->perm_levels = (_vala_array_free (self->priv->perm_levels, self->priv->perm_levels_length1, (GDestroyNotify) publishing_piwigo_permission_level_unref), NULL);
-#line 1231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- self->priv->photo_sizes = (_vala_array_free (self->priv->photo_sizes, self->priv->photo_sizes_length1, (GDestroyNotify) publishing_piwigo_size_entry_unref), NULL);
#line 1207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ self->priv->photo_sizes = (_vala_array_free (self->priv->photo_sizes, self->priv->photo_sizes_length1, (GDestroyNotify) publishing_piwigo_size_entry_unref), NULL);
+#line 1215 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_object_unref0 (self->priv->_existing_categories);
+#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ _g_free0 (self->priv->_default_comment);
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
G_OBJECT_CLASS (publishing_piwigo_publishing_options_pane_parent_class)->finalize (obj);
-#line 10754 "PiwigoPublishing.c"
+#line 10975 "PiwigoPublishing.c"
}
@@ -10776,30 +10997,156 @@ GType publishing_piwigo_publishing_options_pane_get_type (void) {
static volatile gsize publishing_piwigo_publishing_options_pane_type_id__volatile = 0;
if (g_once_init_enter (&publishing_piwigo_publishing_options_pane_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (PublishingPiwigoPublishingOptionsPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) publishing_piwigo_publishing_options_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PublishingPiwigoPublishingOptionsPane), 0, (GInstanceInitFunc) publishing_piwigo_publishing_options_pane_instance_init, NULL };
- static const GInterfaceInfo spit_publishing_dialog_pane_info = { (GInterfaceInitFunc) publishing_piwigo_publishing_options_pane_spit_publishing_dialog_pane_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
GType publishing_piwigo_publishing_options_pane_type_id;
- publishing_piwigo_publishing_options_pane_type_id = g_type_register_static (G_TYPE_OBJECT, "PublishingPiwigoPublishingOptionsPane", &g_define_type_info, 0);
- g_type_add_interface_static (publishing_piwigo_publishing_options_pane_type_id, SPIT_PUBLISHING_TYPE_DIALOG_PANE, &spit_publishing_dialog_pane_info);
+ publishing_piwigo_publishing_options_pane_type_id = g_type_register_static (SHOTWELL_PLUGINS_COMMON_TYPE_BUILDER_PANE, "PublishingPiwigoPublishingOptionsPane", &g_define_type_info, 0);
g_once_init_leave (&publishing_piwigo_publishing_options_pane_type_id__volatile, publishing_piwigo_publishing_options_pane_type_id);
}
return publishing_piwigo_publishing_options_pane_type_id__volatile;
}
+static void _vala_publishing_piwigo_publishing_options_pane_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
+ PublishingPiwigoPublishingOptionsPane * self;
+ self = G_TYPE_CHECK_INSTANCE_CAST (object, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane);
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ switch (property_id) {
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_CATEGORY:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_int (value, publishing_piwigo_publishing_options_pane_get_last_category (self));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_PERMISSION_LEVEL:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_int (value, publishing_piwigo_publishing_options_pane_get_last_permission_level (self));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_PHOTO_SIZE:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_int (value, publishing_piwigo_publishing_options_pane_get_last_photo_size (self));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_TITLE_AS_COMMENT:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_boolean (value, publishing_piwigo_publishing_options_pane_get_last_title_as_comment (self));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_NO_UPLOAD_TAGS:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_boolean (value, publishing_piwigo_publishing_options_pane_get_last_no_upload_tags (self));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_STRIP_METADATA_ENABLED:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_boolean (value, publishing_piwigo_publishing_options_pane_get_strip_metadata_enabled (self));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_EXISTING_CATEGORIES:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_object (value, publishing_piwigo_publishing_options_pane_get_existing_categories (self));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_DEFAULT_COMMENT:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_value_set_string (value, publishing_piwigo_publishing_options_pane_get_default_comment (self));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 11047 "PiwigoPublishing.c"
+ default:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 11053 "PiwigoPublishing.c"
+ }
+}
+
+
+static void _vala_publishing_piwigo_publishing_options_pane_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
+ PublishingPiwigoPublishingOptionsPane * self;
+ self = G_TYPE_CHECK_INSTANCE_CAST (object, PUBLISHING_PIWIGO_TYPE_PUBLISHING_OPTIONS_PANE, PublishingPiwigoPublishingOptionsPane);
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ switch (property_id) {
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_CATEGORY:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_publishing_options_pane_set_last_category (self, g_value_get_int (value));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_PERMISSION_LEVEL:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_publishing_options_pane_set_last_permission_level (self, g_value_get_int (value));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_PHOTO_SIZE:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_publishing_options_pane_set_last_photo_size (self, g_value_get_int (value));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_TITLE_AS_COMMENT:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_publishing_options_pane_set_last_title_as_comment (self, g_value_get_boolean (value));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_LAST_NO_UPLOAD_TAGS:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_publishing_options_pane_set_last_no_upload_tags (self, g_value_get_boolean (value));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_STRIP_METADATA_ENABLED:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_publishing_options_pane_set_strip_metadata_enabled (self, g_value_get_boolean (value));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_EXISTING_CATEGORIES:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_publishing_options_pane_set_existing_categories (self, g_value_get_object (value));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ case PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_DEFAULT_COMMENT:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ publishing_piwigo_publishing_options_pane_set_default_comment (self, g_value_get_string (value));
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 11111 "PiwigoPublishing.c"
+ default:
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+#line 1186 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ break;
+#line 11117 "PiwigoPublishing.c"
+ }
+}
+
+
PublishingPiwigoSession* publishing_piwigo_session_construct (GType object_type) {
PublishingPiwigoSession* self = NULL;
-#line 1584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoSession*) publishing_rest_support_session_construct (object_type, "");
-#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 10781 "PiwigoPublishing.c"
+#line 11128 "PiwigoPublishing.c"
}
PublishingPiwigoSession* publishing_piwigo_session_new (void) {
-#line 1583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1547 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_session_construct (PUBLISHING_PIWIGO_TYPE_SESSION);
-#line 10788 "PiwigoPublishing.c"
+#line 11135 "PiwigoPublishing.c"
}
@@ -10809,43 +11156,43 @@ static gboolean publishing_piwigo_session_real_is_authenticated (PublishingRESTS
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
const gchar* _tmp2_ = NULL;
-#line 1587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_PIWIGO_TYPE_SESSION, PublishingPiwigoSession);
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = self->priv->pwg_id;
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp2_ != NULL) {
-#line 10804 "PiwigoPublishing.c"
+#line 11151 "PiwigoPublishing.c"
const gchar* _tmp3_ = NULL;
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = self->priv->pwg_url;
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = _tmp3_ != NULL;
-#line 10810 "PiwigoPublishing.c"
+#line 11157 "PiwigoPublishing.c"
} else {
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = FALSE;
-#line 10814 "PiwigoPublishing.c"
+#line 11161 "PiwigoPublishing.c"
}
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp1_) {
-#line 10818 "PiwigoPublishing.c"
+#line 11165 "PiwigoPublishing.c"
const gchar* _tmp4_ = NULL;
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = self->priv->username;
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = _tmp4_ != NULL;
-#line 10824 "PiwigoPublishing.c"
+#line 11171 "PiwigoPublishing.c"
} else {
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = FALSE;
-#line 10828 "PiwigoPublishing.c"
+#line 11175 "PiwigoPublishing.c"
}
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp0_;
-#line 1588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 10834 "PiwigoPublishing.c"
+#line 11181 "PiwigoPublishing.c"
}
@@ -10856,58 +11203,58 @@ void publishing_piwigo_session_authenticate (PublishingPiwigoSession* self, cons
gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self));
-#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (url != NULL);
-#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (username != NULL);
-#line 1591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (id != NULL);
-#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1556 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = url;
-#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1556 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1556 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->pwg_url);
-#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1556 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->pwg_url = _tmp1_;
-#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = username;
-#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->username);
-#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->username = _tmp3_;
-#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = id;
-#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = g_strdup (_tmp4_);
-#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->pwg_id);
-#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->pwg_id = _tmp5_;
-#line 10877 "PiwigoPublishing.c"
+#line 11224 "PiwigoPublishing.c"
}
void publishing_piwigo_session_deauthenticate (PublishingPiwigoSession* self) {
-#line 1597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1561 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self));
-#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->pwg_url);
-#line 1598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->pwg_url = NULL;
-#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->pwg_id);
-#line 1599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->pwg_id = NULL;
-#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->username);
-#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1564 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->username = NULL;
-#line 10896 "PiwigoPublishing.c"
+#line 11243 "PiwigoPublishing.c"
}
@@ -10915,17 +11262,17 @@ gchar* publishing_piwigo_session_get_username (PublishingPiwigoSession* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1603 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1567 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self), NULL);
-#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->username;
-#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 1604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 10914 "PiwigoPublishing.c"
+#line 11261 "PiwigoPublishing.c"
}
@@ -10933,17 +11280,17 @@ gchar* publishing_piwigo_session_get_pwg_url (PublishingPiwigoSession* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self), NULL);
-#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->pwg_url;
-#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 1608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1572 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 10932 "PiwigoPublishing.c"
+#line 11279 "PiwigoPublishing.c"
}
@@ -10951,78 +11298,78 @@ gchar* publishing_piwigo_session_get_pwg_id (PublishingPiwigoSession* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self), NULL);
-#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = self->priv->pwg_id;
-#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp1_;
-#line 1612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1576 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 10950 "PiwigoPublishing.c"
+#line 11297 "PiwigoPublishing.c"
}
void publishing_piwigo_session_set_pwg_id (PublishingPiwigoSession* self, const gchar* id) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (PUBLISHING_PIWIGO_IS_SESSION (self));
-#line 1615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_if_fail (id != NULL);
-#line 1616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = id;
-#line 1616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->pwg_id);
-#line 1616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->pwg_id = _tmp1_;
-#line 10969 "PiwigoPublishing.c"
+#line 11316 "PiwigoPublishing.c"
}
static void publishing_piwigo_session_class_init (PublishingPiwigoSessionClass * klass) {
-#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_session_parent_class = g_type_class_peek_parent (klass);
-#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
((PublishingRESTSupportSessionClass *) klass)->finalize = publishing_piwigo_session_finalize;
-#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingPiwigoSessionPrivate));
-#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
((PublishingRESTSupportSessionClass *) klass)->is_authenticated = publishing_piwigo_session_real_is_authenticated;
-#line 10982 "PiwigoPublishing.c"
+#line 11329 "PiwigoPublishing.c"
}
static void publishing_piwigo_session_instance_init (PublishingPiwigoSession * self) {
-#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv = PUBLISHING_PIWIGO_SESSION_GET_PRIVATE (self);
-#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->pwg_url = NULL;
-#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->pwg_id = NULL;
-#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->username = NULL;
-#line 10995 "PiwigoPublishing.c"
+#line 11342 "PiwigoPublishing.c"
}
static void publishing_piwigo_session_finalize (PublishingRESTSupportSession* obj) {
PublishingPiwigoSession * self;
-#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_SESSION, PublishingPiwigoSession);
-#line 1579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->pwg_url);
-#line 1580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1544 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->pwg_id);
-#line 1581 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (self->priv->username);
-#line 1578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
PUBLISHING_REST_SUPPORT_SESSION_CLASS (publishing_piwigo_session_parent_class)->finalize (obj);
-#line 11011 "PiwigoPublishing.c"
+#line 11358 "PiwigoPublishing.c"
}
@@ -11047,52 +11394,52 @@ PublishingPiwigoTransaction* publishing_piwigo_transaction_construct (GType obje
PublishingPiwigoSession* _tmp0_ = NULL;
PublishingPiwigoSession* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoTransaction*) publishing_rest_support_transaction_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
-#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = session;
-#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession));
-#line 1631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp2_) {
-#line 11048 "PiwigoPublishing.c"
+#line 11395 "PiwigoPublishing.c"
PublishingPiwigoSession* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = session;
-#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = publishing_piwigo_session_get_pwg_id (_tmp3_);
-#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = _tmp4_;
-#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = g_strconcat ("pwg_id=", _tmp5_, NULL);
-#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _tmp6_;
-#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Cookie", _tmp7_);
-#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp7_);
-#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp5_);
-#line 11070 "PiwigoPublishing.c"
+#line 11417 "PiwigoPublishing.c"
}
-#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 11074 "PiwigoPublishing.c"
+#line 11421 "PiwigoPublishing.c"
}
PublishingPiwigoTransaction* publishing_piwigo_transaction_new (PublishingPiwigoSession* session) {
-#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1593 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_transaction_construct (PUBLISHING_PIWIGO_TYPE_TRANSACTION, session);
-#line 11081 "PiwigoPublishing.c"
+#line 11428 "PiwigoPublishing.c"
}
@@ -11107,46 +11454,46 @@ PublishingPiwigoTransaction* publishing_piwigo_transaction_construct_authenticat
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
-#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = session;
-#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = publishing_piwigo_session_get_pwg_url (_tmp1_);
-#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = _tmp2_;
-#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp3_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
-#line 1637 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp3_);
-#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = session;
-#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_piwigo_session_get_pwg_id (_tmp4_);
-#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp5_;
-#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = g_strconcat ("pwg_id=", _tmp6_, NULL);
-#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = _tmp7_;
-#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Cookie", _tmp8_);
-#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp8_);
-#line 1638 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp6_);
-#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 11128 "PiwigoPublishing.c"
+#line 11475 "PiwigoPublishing.c"
}
PublishingPiwigoTransaction* publishing_piwigo_transaction_new_authenticated (PublishingPiwigoSession* session) {
-#line 1636 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_transaction_construct_authenticated (PUBLISHING_PIWIGO_TYPE_TRANSACTION, session);
-#line 11135 "PiwigoPublishing.c"
+#line 11482 "PiwigoPublishing.c"
}
@@ -11170,143 +11517,143 @@ gchar* publishing_piwigo_transaction_validate_xml (PublishingRESTSupportXmlDocum
gchar* _tmp18_ = NULL;
gchar* _tmp19_ = NULL;
GError * _inner_error_ = NULL;
-#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (doc), NULL);
-#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = doc;
-#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = publishing_rest_support_xml_document_get_root_node (_tmp0_);
-#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
root = _tmp1_;
-#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = root;
-#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = (gchar*) xmlGetProp (_tmp2_, (xmlChar*) "stat");
-#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
status = _tmp3_;
-#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = status;
-#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp4_ == NULL) {
-#line 11177 "PiwigoPublishing.c"
+#line 11524 "PiwigoPublishing.c"
gchar* _tmp5_ = NULL;
-#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = g_strdup ("No status property in root node");
-#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp5_;
-#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (status);
-#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 11187 "PiwigoPublishing.c"
+#line 11534 "PiwigoPublishing.c"
}
-#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = status;
-#line 1649 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_strcmp0 (_tmp6_, "ok") == 0) {
-#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = NULL;
-#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (status);
-#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 11199 "PiwigoPublishing.c"
+#line 11546 "PiwigoPublishing.c"
}
{
xmlNode* _tmp7_ = NULL;
PublishingRESTSupportXmlDocument* _tmp8_ = NULL;
xmlNode* _tmp9_ = NULL;
xmlNode* _tmp10_ = NULL;
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = doc;
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = root;
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = publishing_rest_support_xml_document_get_named_child (_tmp8_, _tmp9_, "err", &_inner_error_);
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _tmp10_;
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 11218 "PiwigoPublishing.c"
- goto __catch47_spit_publishing_publishing_error;
+#line 11565 "PiwigoPublishing.c"
+ goto __catch44_spit_publishing_publishing_error;
}
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (status);
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 11229 "PiwigoPublishing.c"
+#line 11576 "PiwigoPublishing.c"
}
-#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
errcode = _tmp7_;
-#line 11233 "PiwigoPublishing.c"
+#line 11580 "PiwigoPublishing.c"
}
- goto __finally47;
- __catch47_spit_publishing_publishing_error:
+ goto __finally44;
+ __catch44_spit_publishing_publishing_error:
{
GError* err = NULL;
gchar* _tmp11_ = NULL;
-#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = g_strdup ("No error code specified");
-#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp11_;
-#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (status);
-#line 1656 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 11254 "PiwigoPublishing.c"
+#line 11601 "PiwigoPublishing.c"
}
- __finally47:
-#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ __finally44:
+#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (status);
-#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 11267 "PiwigoPublishing.c"
+#line 11614 "PiwigoPublishing.c"
}
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = errcode;
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = (gchar*) xmlGetProp (_tmp12_, (xmlChar*) "msg");
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = _tmp13_;
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp15_ = errcode;
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = (gchar*) xmlGetProp (_tmp15_, (xmlChar*) "code");
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = _tmp16_;
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = g_strdup_printf ("%s (error code %s)", _tmp14_, _tmp17_);
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = _tmp18_;
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp17_);
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp14_);
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp19_;
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (status);
-#line 1659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 11295 "PiwigoPublishing.c"
+#line 11642 "PiwigoPublishing.c"
}
@@ -11319,93 +11666,93 @@ gchar* publishing_piwigo_transaction_get_error_code (PublishingRESTSupportXmlDoc
xmlNode* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
GError * _inner_error_ = NULL;
-#line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1626 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_XML_DOCUMENT (doc), NULL);
-#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = doc;
-#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = publishing_rest_support_xml_document_get_root_node (_tmp0_);
-#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
root = _tmp1_;
-#line 11316 "PiwigoPublishing.c"
+#line 11663 "PiwigoPublishing.c"
{
xmlNode* _tmp2_ = NULL;
PublishingRESTSupportXmlDocument* _tmp3_ = NULL;
xmlNode* _tmp4_ = NULL;
xmlNode* _tmp5_ = NULL;
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = doc;
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = root;
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = publishing_rest_support_xml_document_get_named_child (_tmp3_, _tmp4_, "err", &_inner_error_);
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = _tmp5_;
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 11334 "PiwigoPublishing.c"
- goto __catch48_spit_publishing_publishing_error;
+#line 11681 "PiwigoPublishing.c"
+ goto __catch45_spit_publishing_publishing_error;
}
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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);
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 11343 "PiwigoPublishing.c"
+#line 11690 "PiwigoPublishing.c"
}
-#line 1666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
errcode = _tmp2_;
-#line 11347 "PiwigoPublishing.c"
+#line 11694 "PiwigoPublishing.c"
}
- goto __finally48;
- __catch48_spit_publishing_publishing_error:
+ goto __finally45;
+ __catch45_spit_publishing_publishing_error:
{
GError* err = NULL;
gchar* _tmp6_ = NULL;
-#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
err = _inner_error_;
-#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_inner_error_ = NULL;
-#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = g_strdup ("0");
-#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp6_;
-#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_error_free0 (err);
-#line 1668 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1632 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 11366 "PiwigoPublishing.c"
+#line 11713 "PiwigoPublishing.c"
}
- __finally48:
-#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ __finally45:
+#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.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 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_clear_error (&_inner_error_);
-#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return NULL;
-#line 11377 "PiwigoPublishing.c"
+#line 11724 "PiwigoPublishing.c"
}
-#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = errcode;
-#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = (gchar*) xmlGetProp (_tmp7_, (xmlChar*) "code");
-#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
result = _tmp8_;
-#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return result;
-#line 11387 "PiwigoPublishing.c"
+#line 11734 "PiwigoPublishing.c"
}
static void publishing_piwigo_transaction_class_init (PublishingPiwigoTransactionClass * klass) {
-#line 1628 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1592 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 11394 "PiwigoPublishing.c"
+#line 11741 "PiwigoPublishing.c"
}
@@ -11439,47 +11786,47 @@ PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transac
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
-#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (username != NULL, NULL);
-#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (password != NULL, NULL);
-#line 1679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = url;
-#line 1679 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoSessionLoginTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
-#line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1645 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.login");
-#line 1682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = username;
-#line 1682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "username", _tmp2_);
-#line 1683 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = password;
-#line 1683 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "password", _tmp3_);
-#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 11454 "PiwigoPublishing.c"
+#line 11801 "PiwigoPublishing.c"
}
PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new (PublishingPiwigoSession* session, const gchar* url, const gchar* username, const gchar* password) {
-#line 1678 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_session_login_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_LOGIN_TRANSACTION, session, url, username, password);
-#line 11461 "PiwigoPublishing.c"
+#line 11808 "PiwigoPublishing.c"
}
static gpointer _publishing_rest_support_argument_ref0 (gpointer self) {
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self ? publishing_rest_support_argument_ref (self) : NULL;
-#line 11468 "PiwigoPublishing.c"
+#line 11815 "PiwigoPublishing.c"
}
@@ -11492,87 +11839,87 @@ PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transac
PublishingPiwigoTransaction* _tmp4_ = NULL;
gint _tmp5_ = 0;
PublishingRESTSupportArgument** _tmp6_ = NULL;
-#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_TRANSACTION (other), NULL);
-#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = other;
-#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
-#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = _tmp2_;
-#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoSessionLoginTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp3_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
-#line 1687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp3_);
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = other;
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = publishing_rest_support_transaction_get_arguments (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_tmp5_);
-#line 11501 "PiwigoPublishing.c"
+#line 11848 "PiwigoPublishing.c"
{
PublishingRESTSupportArgument** argument_collection = NULL;
gint argument_collection_length1 = 0;
gint _argument_collection_size_ = 0;
gint argument_it = 0;
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
argument_collection = _tmp6_;
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
argument_collection_length1 = _tmp5_;
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
for (argument_it = 0; argument_it < _tmp5_; argument_it = argument_it + 1) {
-#line 11513 "PiwigoPublishing.c"
+#line 11860 "PiwigoPublishing.c"
PublishingRESTSupportArgument* _tmp7_ = NULL;
PublishingRESTSupportArgument* argument = NULL;
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = _publishing_rest_support_argument_ref0 (argument_collection[argument_it]);
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
argument = _tmp7_;
-#line 11520 "PiwigoPublishing.c"
+#line 11867 "PiwigoPublishing.c"
{
PublishingRESTSupportArgument* _tmp8_ = NULL;
const gchar* _tmp9_ = NULL;
PublishingRESTSupportArgument* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
-#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = argument;
-#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = _tmp8_->key;
-#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = argument;
-#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = _tmp10_->value;
-#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1654 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), _tmp9_, _tmp11_);
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_rest_support_argument_unref0 (argument);
-#line 11538 "PiwigoPublishing.c"
+#line 11885 "PiwigoPublishing.c"
}
}
-#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
argument_collection = (_vala_array_free (argument_collection, argument_collection_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL);
-#line 11543 "PiwigoPublishing.c"
+#line 11890 "PiwigoPublishing.c"
}
-#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 11547 "PiwigoPublishing.c"
+#line 11894 "PiwigoPublishing.c"
}
PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new_from_other (PublishingPiwigoSession* session, PublishingPiwigoTransaction* other) {
-#line 1686 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_session_login_transaction_construct_from_other (PUBLISHING_PIWIGO_TYPE_SESSION_LOGIN_TRANSACTION, session, other);
-#line 11554 "PiwigoPublishing.c"
+#line 11901 "PiwigoPublishing.c"
}
static void publishing_piwigo_session_login_transaction_class_init (PublishingPiwigoSessionLoginTransactionClass * klass) {
-#line 1677 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_session_login_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 11561 "PiwigoPublishing.c"
+#line 11908 "PiwigoPublishing.c"
}
@@ -11604,77 +11951,77 @@ PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_statu
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (url != NULL, NULL);
-#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (pwg_id != NULL, NULL);
-#line 1700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = url;
-#line 1700 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1664 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoSessionGetStatusTransaction*) publishing_rest_support_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, PUBLISHING_REST_SUPPORT_HTTP_METHOD_POST);
-#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = session;
-#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishing_piwigo_session_get_pwg_id (_tmp2_);
-#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _tmp3_;
-#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = g_strconcat ("pwg_id=", _tmp4_, NULL);
-#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = _tmp5_;
-#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Cookie", _tmp6_);
-#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp6_);
-#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1665 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp4_);
-#line 1703 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.getStatus");
-#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 11625 "PiwigoPublishing.c"
+#line 11972 "PiwigoPublishing.c"
}
PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_new_unauthenticated (PublishingPiwigoSession* session, const gchar* url, const gchar* pwg_id) {
-#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_session_get_status_transaction_construct_unauthenticated (PUBLISHING_PIWIGO_TYPE_SESSION_GET_STATUS_TRANSACTION, session, url, pwg_id);
-#line 11632 "PiwigoPublishing.c"
+#line 11979 "PiwigoPublishing.c"
}
PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_construct (GType object_type, PublishingPiwigoSession* session) {
PublishingPiwigoSessionGetStatusTransaction* self = NULL;
PublishingPiwigoSession* _tmp0_ = NULL;
-#line 1706 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1707 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoSessionGetStatusTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_);
-#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1673 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.getStatus");
-#line 1706 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 11649 "PiwigoPublishing.c"
+#line 11996 "PiwigoPublishing.c"
}
PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_new (PublishingPiwigoSession* session) {
-#line 1706 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_session_get_status_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_GET_STATUS_TRANSACTION, session);
-#line 11656 "PiwigoPublishing.c"
+#line 12003 "PiwigoPublishing.c"
}
static void publishing_piwigo_session_get_status_transaction_class_init (PublishingPiwigoSessionGetStatusTransactionClass * klass) {
-#line 1698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_session_get_status_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 11663 "PiwigoPublishing.c"
+#line 12010 "PiwigoPublishing.c"
}
@@ -11700,33 +12047,33 @@ GType publishing_piwigo_session_get_status_transaction_get_type (void) {
PublishingPiwigoCategoriesGetListTransaction* publishing_piwigo_categories_get_list_transaction_construct (GType object_type, PublishingPiwigoSession* session) {
PublishingPiwigoCategoriesGetListTransaction* self = NULL;
PublishingPiwigoSession* _tmp0_ = NULL;
-#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoCategoriesGetListTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_);
-#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.categories.getList");
-#line 1721 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1685 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "recursive", "true");
-#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 11701 "PiwigoPublishing.c"
+#line 12048 "PiwigoPublishing.c"
}
PublishingPiwigoCategoriesGetListTransaction* publishing_piwigo_categories_get_list_transaction_new (PublishingPiwigoSession* session) {
-#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_categories_get_list_transaction_construct (PUBLISHING_PIWIGO_TYPE_CATEGORIES_GET_LIST_TRANSACTION, session);
-#line 11708 "PiwigoPublishing.c"
+#line 12055 "PiwigoPublishing.c"
}
static void publishing_piwigo_categories_get_list_transaction_class_init (PublishingPiwigoCategoriesGetListTransactionClass * klass) {
-#line 1716 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_categories_get_list_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 11715 "PiwigoPublishing.c"
+#line 12062 "PiwigoPublishing.c"
}
@@ -11752,31 +12099,31 @@ GType publishing_piwigo_categories_get_list_transaction_get_type (void) {
PublishingPiwigoSessionLogoutTransaction* publishing_piwigo_session_logout_transaction_construct (GType object_type, PublishingPiwigoSession* session) {
PublishingPiwigoSessionLogoutTransaction* self = NULL;
PublishingPiwigoSession* _tmp0_ = NULL;
-#line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoSessionLogoutTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_);
-#line 1729 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.logout");
-#line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 11751 "PiwigoPublishing.c"
+#line 12098 "PiwigoPublishing.c"
}
PublishingPiwigoSessionLogoutTransaction* publishing_piwigo_session_logout_transaction_new (PublishingPiwigoSession* session) {
-#line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_session_logout_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_LOGOUT_TRANSACTION, session);
-#line 11758 "PiwigoPublishing.c"
+#line 12105 "PiwigoPublishing.c"
}
static void publishing_piwigo_session_logout_transaction_class_init (PublishingPiwigoSessionLogoutTransactionClass * klass) {
-#line 1725 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_session_logout_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 11765 "PiwigoPublishing.c"
+#line 12112 "PiwigoPublishing.c"
}
@@ -11802,69 +12149,69 @@ PublishingPiwigoCategoriesAddTransaction* publishing_piwigo_categories_add_trans
const gchar* _tmp1_ = NULL;
gint _tmp2_ = 0;
const gchar* _tmp6_ = NULL;
-#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (category != NULL, NULL);
-#line 1735 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1735 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1699 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoCategoriesAddTransaction*) publishing_piwigo_transaction_construct_authenticated (object_type, _tmp0_);
-#line 1737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1701 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.categories.add");
-#line 1738 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = category;
-#line 1738 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "name", _tmp1_);
-#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1704 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = parent_id;
-#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1704 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp2_ != 0) {
-#line 11809 "PiwigoPublishing.c"
+#line 12156 "PiwigoPublishing.c"
gint _tmp3_ = 0;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = parent_id;
-#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = g_strdup_printf ("%i", _tmp3_);
-#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = _tmp4_;
-#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "parent", _tmp5_);
-#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp5_);
-#line 11823 "PiwigoPublishing.c"
+#line 12170 "PiwigoPublishing.c"
}
-#line 1744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1708 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = comment;
-#line 1744 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1708 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_strcmp0 (_tmp6_, "") != 0) {
-#line 11829 "PiwigoPublishing.c"
+#line 12176 "PiwigoPublishing.c"
const gchar* _tmp7_ = NULL;
-#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = comment;
-#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp7_);
-#line 11835 "PiwigoPublishing.c"
+#line 12182 "PiwigoPublishing.c"
}
-#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 11839 "PiwigoPublishing.c"
+#line 12186 "PiwigoPublishing.c"
}
PublishingPiwigoCategoriesAddTransaction* publishing_piwigo_categories_add_transaction_new (PublishingPiwigoSession* session, const gchar* category, gint parent_id, const gchar* comment) {
-#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_categories_add_transaction_construct (PUBLISHING_PIWIGO_TYPE_CATEGORIES_ADD_TRANSACTION, session, category, parent_id, comment);
-#line 11846 "PiwigoPublishing.c"
+#line 12193 "PiwigoPublishing.c"
}
static void publishing_piwigo_categories_add_transaction_class_init (PublishingPiwigoCategoriesAddTransactionClass * klass) {
-#line 1733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_categories_add_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 11853 "PiwigoPublishing.c"
+#line 12200 "PiwigoPublishing.c"
}
@@ -11897,7 +12244,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
if (_tmp0_ == NULL) {
#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
separator = "";
-#line 11886 "PiwigoPublishing.c"
+#line 12233 "PiwigoPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
@@ -11907,7 +12254,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
if (_tmp3_ != NULL) {
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
-#line 11896 "PiwigoPublishing.c"
+#line 12243 "PiwigoPublishing.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
@@ -11917,13 +12264,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp4__length1 = str_array_length1;
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
-#line 11906 "PiwigoPublishing.c"
+#line 12253 "PiwigoPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp2_) {
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
-#line 11912 "PiwigoPublishing.c"
+#line 12259 "PiwigoPublishing.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
@@ -11934,7 +12281,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp6__length1 = str_array_length1;
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
-#line 11923 "PiwigoPublishing.c"
+#line 12270 "PiwigoPublishing.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
@@ -11946,19 +12293,19 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp8_ = _tmp7_[0];
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
-#line 11935 "PiwigoPublishing.c"
+#line 12282 "PiwigoPublishing.c"
} else {
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
-#line 11939 "PiwigoPublishing.c"
+#line 12286 "PiwigoPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
-#line 11943 "PiwigoPublishing.c"
+#line 12290 "PiwigoPublishing.c"
}
#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp1_) {
-#line 11947 "PiwigoPublishing.c"
+#line 12294 "PiwigoPublishing.c"
gint i = 0;
gsize len = 0UL;
gint _tmp31_ = 0;
@@ -11981,7 +12328,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp62_ = NULL;
#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = (gsize) 1;
-#line 11970 "PiwigoPublishing.c"
+#line 12317 "PiwigoPublishing.c"
{
gboolean _tmp9_ = FALSE;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -11990,7 +12337,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp9_ = TRUE;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
while (TRUE) {
-#line 11979 "PiwigoPublishing.c"
+#line 12326 "PiwigoPublishing.c"
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
gchar** _tmp13_ = NULL;
@@ -12003,13 +12350,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gsize _tmp30_ = 0UL;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp9_) {
-#line 11992 "PiwigoPublishing.c"
+#line 12339 "PiwigoPublishing.c"
gint _tmp10_ = 0;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp10_ = i;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
-#line 11998 "PiwigoPublishing.c"
+#line 12345 "PiwigoPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
@@ -12019,7 +12366,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp13__length1 = str_array_length1;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
-#line 12008 "PiwigoPublishing.c"
+#line 12355 "PiwigoPublishing.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
@@ -12031,17 +12378,17 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp15__length1 = str_array_length1;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
-#line 12020 "PiwigoPublishing.c"
+#line 12367 "PiwigoPublishing.c"
} else {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
-#line 12024 "PiwigoPublishing.c"
+#line 12371 "PiwigoPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp12_) {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
-#line 12030 "PiwigoPublishing.c"
+#line 12377 "PiwigoPublishing.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
@@ -12052,7 +12399,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp17__length1 = str_array_length1;
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
-#line 12041 "PiwigoPublishing.c"
+#line 12388 "PiwigoPublishing.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
@@ -12067,21 +12414,21 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp20_ = _tmp18_[_tmp19_];
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
-#line 12056 "PiwigoPublishing.c"
+#line 12403 "PiwigoPublishing.c"
} else {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
-#line 12060 "PiwigoPublishing.c"
+#line 12407 "PiwigoPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
-#line 12064 "PiwigoPublishing.c"
+#line 12411 "PiwigoPublishing.c"
}
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp11_) {
#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
break;
-#line 12070 "PiwigoPublishing.c"
+#line 12417 "PiwigoPublishing.c"
}
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
@@ -12093,7 +12440,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp24_ = _tmp22_[_tmp23_];
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
-#line 12082 "PiwigoPublishing.c"
+#line 12429 "PiwigoPublishing.c"
gchar** _tmp25_ = NULL;
gint _tmp25__length1 = 0;
gint _tmp26_ = 0;
@@ -12114,24 +12461,24 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp29_ = _tmp28_;
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
-#line 12103 "PiwigoPublishing.c"
+#line 12450 "PiwigoPublishing.c"
} else {
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp21_ = 0;
-#line 12107 "PiwigoPublishing.c"
+#line 12454 "PiwigoPublishing.c"
}
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp30_ = len;
#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
-#line 12113 "PiwigoPublishing.c"
+#line 12460 "PiwigoPublishing.c"
}
}
#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp31_ = i;
#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
-#line 12120 "PiwigoPublishing.c"
+#line 12467 "PiwigoPublishing.c"
gchar* _tmp32_ = NULL;
#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
@@ -12139,7 +12486,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
result = _tmp32_;
#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 12128 "PiwigoPublishing.c"
+#line 12475 "PiwigoPublishing.c"
}
#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp33_ = i;
@@ -12177,7 +12524,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
ptr = _tmp45_;
-#line 12166 "PiwigoPublishing.c"
+#line 12513 "PiwigoPublishing.c"
{
gboolean _tmp46_ = FALSE;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -12186,7 +12533,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp46_ = TRUE;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
while (TRUE) {
-#line 12175 "PiwigoPublishing.c"
+#line 12522 "PiwigoPublishing.c"
gint _tmp48_ = 0;
gchar** _tmp49_ = NULL;
gint _tmp49__length1 = 0;
@@ -12202,13 +12549,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
void* _tmp61_ = NULL;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp46_) {
-#line 12191 "PiwigoPublishing.c"
+#line 12538 "PiwigoPublishing.c"
gint _tmp47_ = 0;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp47_ = i;
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
-#line 12197 "PiwigoPublishing.c"
+#line 12544 "PiwigoPublishing.c"
}
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
@@ -12222,7 +12569,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
if (!(_tmp48_ < _tmp49__length1)) {
#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
break;
-#line 12211 "PiwigoPublishing.c"
+#line 12558 "PiwigoPublishing.c"
}
#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
@@ -12242,7 +12589,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp56_ = _tmp54_[_tmp55_];
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
-#line 12231 "PiwigoPublishing.c"
+#line 12578 "PiwigoPublishing.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
@@ -12257,11 +12604,11 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp59_ = _tmp57_[_tmp58_];
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
-#line 12246 "PiwigoPublishing.c"
+#line 12593 "PiwigoPublishing.c"
} else {
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp53_ = "";
-#line 12250 "PiwigoPublishing.c"
+#line 12597 "PiwigoPublishing.c"
}
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
@@ -12269,7 +12616,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
ptr = _tmp61_;
-#line 12258 "PiwigoPublishing.c"
+#line 12605 "PiwigoPublishing.c"
}
}
#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -12280,7 +12627,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
result = (gchar*) _tmp62_;
#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 12269 "PiwigoPublishing.c"
+#line 12616 "PiwigoPublishing.c"
} else {
gchar* _tmp63_ = NULL;
#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -12289,15 +12636,15 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
result = _tmp63_;
#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 12278 "PiwigoPublishing.c"
+#line 12625 "PiwigoPublishing.c"
}
}
static void _g_free0_ (gpointer var) {
-#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
var = (g_free (var), NULL);
-#line 12286 "PiwigoPublishing.c"
+#line 12633 "PiwigoPublishing.c"
}
@@ -12363,381 +12710,381 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c
gchar* _tmp74_ = NULL;
gchar* _tmp75_ = NULL;
gchar* _tmp76_ = NULL;
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL);
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (PUBLISHING_PIWIGO_IS_PUBLISHING_PARAMETERS (parameters), NULL);
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL);
-#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp0_ = session;
-#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp1_ = publishable;
-#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp2_ = session;
-#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp3_ = publishing_piwigo_session_get_pwg_url (_tmp2_);
-#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp4_ = _tmp3_;
-#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = (PublishingPiwigoImagesAddTransaction*) publishing_rest_support_upload_transaction_construct_with_endpoint_url (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp4_);
-#line 1754 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1718 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp4_);
-#line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1719 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp5_ = session;
-#line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1719 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp6_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession));
-#line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1719 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp6_) {
-#line 12378 "PiwigoPublishing.c"
+#line 12725 "PiwigoPublishing.c"
PublishingPiwigoSession* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
-#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp7_ = session;
-#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp8_ = publishing_piwigo_session_get_pwg_id (_tmp7_);
-#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp9_ = _tmp8_;
-#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp10_ = g_strconcat ("pwg_id=", _tmp9_, NULL);
-#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp11_ = _tmp10_;
-#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_header (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "Cookie", _tmp11_);
-#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp11_);
-#line 1756 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp9_);
-#line 12400 "PiwigoPublishing.c"
+#line 12747 "PiwigoPublishing.c"
}
-#line 1758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1722 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp12_ = parameters;
-#line 1758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1722 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp13_ = _publishing_piwigo_publishing_parameters_ref0 (_tmp12_);
-#line 1758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1722 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters);
-#line 1758 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1722 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->parameters = _tmp13_;
-#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp14_ = publishable;
-#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp16_ = spit_publishing_publishable_get_publishing_keywords (_tmp14_, &_tmp15_);
-#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
keywords = _tmp16_;
-#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
keywords_length1 = _tmp15_;
-#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1724 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_keywords_size_ = keywords_length1;
-#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1725 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp17_ = g_strdup ("");
-#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1725 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
tags = _tmp17_;
-#line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18_ = keywords;
-#line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp18__length1 = keywords_length1;
-#line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp18_ != NULL) {
-#line 12430 "PiwigoPublishing.c"
+#line 12777 "PiwigoPublishing.c"
gchar** _tmp19_ = NULL;
gint _tmp19__length1 = 0;
gchar* _tmp20_ = NULL;
-#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19_ = keywords;
-#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp19__length1 = keywords_length1;
-#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp20_ = _vala_g_strjoinv (",", _tmp19_, _tmp19__length1);
-#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (tags);
-#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
tags = _tmp20_;
-#line 12444 "PiwigoPublishing.c"
+#line 12791 "PiwigoPublishing.c"
}
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp21_ = publishable;
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp22_ = spit_publishing_publishable_get_serialized_file (_tmp21_);
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp23_ = _tmp22_;
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp24_ = g_file_get_basename (_tmp23_);
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp25_ = _tmp24_;
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp26_ = parameters;
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp27_ = _tmp26_->category;
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp28_ = _tmp27_->id;
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp29_ = parameters;
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp30_ = _tmp29_->perm_level;
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp31_ = _tmp30_->id;
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
- g_debug ("PiwigoPublishing.vala:1766: PiwigoConnector: Uploading photo %s to cat" \
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+ g_debug ("PiwigoPublishing.vala:1730: PiwigoConnector: Uploading photo %s to cat" \
"egory id %d with perm level %d", _tmp25_, _tmp28_, _tmp31_);
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp25_);
-#line 1766 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_object_unref0 (_tmp23_);
-#line 1769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp32_ = publishable;
-#line 1769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp33_ = spit_publishing_publishable_get_publishing_name (_tmp32_);
-#line 1769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
name = _tmp33_;
-#line 1770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp34_ = publishable;
-#line 1770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp35_ = spit_publishing_publishable_get_param_string (_tmp34_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_COMMENT);
-#line 1770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1734 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
comment = _tmp35_;
-#line 1772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1736 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp36_ = name;
-#line 1772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1736 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_strcmp0 (_tmp36_, "") != 0) {
-#line 12490 "PiwigoPublishing.c"
+#line 12837 "PiwigoPublishing.c"
SpitPublishingPublishable* _tmp37_ = NULL;
gchar* _tmp38_ = NULL;
const gchar* _tmp39_ = NULL;
gboolean _tmp40_ = FALSE;
const gchar* _tmp41_ = NULL;
-#line 1773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp37_ = publishable;
-#line 1773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp38_ = spit_publishing_publishable_get_param_string (_tmp37_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_BASENAME);
-#line 1773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (name);
-#line 1773 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
name = _tmp38_;
-#line 1775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1739 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp39_ = name;
-#line 1775 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1739 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "name", _tmp39_);
-#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp41_ = comment;
-#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp41_ != NULL) {
-#line 12512 "PiwigoPublishing.c"
+#line 12859 "PiwigoPublishing.c"
const gchar* _tmp42_ = NULL;
-#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp42_ = comment;
-#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp40_ = g_strcmp0 (_tmp42_, "") != 0;
-#line 12518 "PiwigoPublishing.c"
+#line 12865 "PiwigoPublishing.c"
} else {
-#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp40_ = FALSE;
-#line 12522 "PiwigoPublishing.c"
+#line 12869 "PiwigoPublishing.c"
}
-#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp40_) {
-#line 12526 "PiwigoPublishing.c"
+#line 12873 "PiwigoPublishing.c"
const gchar* _tmp43_ = NULL;
-#line 1777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp43_ = comment;
-#line 1777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp43_);
-#line 12532 "PiwigoPublishing.c"
+#line 12879 "PiwigoPublishing.c"
}
} else {
gboolean _tmp44_ = FALSE;
const gchar* _tmp45_ = NULL;
-#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp45_ = comment;
-#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp45_ != NULL) {
-#line 12541 "PiwigoPublishing.c"
+#line 12888 "PiwigoPublishing.c"
const gchar* _tmp46_ = NULL;
-#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp46_ = comment;
-#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp44_ = g_strcmp0 (_tmp46_, "") != 0;
-#line 12547 "PiwigoPublishing.c"
+#line 12894 "PiwigoPublishing.c"
} else {
-#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp44_ = FALSE;
-#line 12551 "PiwigoPublishing.c"
+#line 12898 "PiwigoPublishing.c"
}
-#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp44_) {
-#line 12555 "PiwigoPublishing.c"
+#line 12902 "PiwigoPublishing.c"
const gchar* _tmp47_ = NULL;
const gchar* _tmp48_ = NULL;
-#line 1782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp47_ = name;
-#line 1782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "name", _tmp47_);
-#line 1783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp48_ = comment;
-#line 1783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp48_);
-#line 12566 "PiwigoPublishing.c"
+#line 12913 "PiwigoPublishing.c"
} else {
PublishingPiwigoPublishingParameters* _tmp49_ = NULL;
gboolean _tmp50_ = FALSE;
-#line 1788 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp49_ = parameters;
-#line 1788 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp50_ = _tmp49_->title_as_comment;
-#line 1788 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (_tmp50_) {
-#line 12576 "PiwigoPublishing.c"
+#line 12923 "PiwigoPublishing.c"
const gchar* _tmp51_ = NULL;
-#line 1789 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp51_ = name;
-#line 1789 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp51_);
-#line 12582 "PiwigoPublishing.c"
+#line 12929 "PiwigoPublishing.c"
} else {
const gchar* _tmp52_ = NULL;
-#line 1791 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp52_ = name;
-#line 1791 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "name", _tmp52_);
-#line 12589 "PiwigoPublishing.c"
+#line 12936 "PiwigoPublishing.c"
}
}
}
-#line 1795 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1759 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.images.addSimple");
-#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp53_ = parameters;
-#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp54_ = _tmp53_->category;
-#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp55_ = _tmp54_->id;
-#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp56_ = g_strdup_printf ("%i", _tmp55_);
-#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp57_ = _tmp56_;
-#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "category", _tmp57_);
-#line 1796 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1760 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp57_);
-#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp58_ = parameters;
-#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp59_ = _tmp58_->perm_level;
-#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp60_ = _tmp59_->id;
-#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp61_ = g_strdup_printf ("%i", _tmp60_);
-#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp62_ = _tmp61_;
-#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "level", _tmp62_);
-#line 1797 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1761 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp62_);
-#line 1798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp63_ = parameters;
-#line 1798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp64_ = _tmp63_->no_upload_tags;
-#line 1798 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (!_tmp64_) {
-#line 12629 "PiwigoPublishing.c"
+#line 12976 "PiwigoPublishing.c"
const gchar* _tmp65_ = NULL;
-#line 1799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp65_ = tags;
-#line 1799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
if (g_strcmp0 (_tmp65_, "") != 0) {
-#line 12635 "PiwigoPublishing.c"
+#line 12982 "PiwigoPublishing.c"
const gchar* _tmp66_ = NULL;
-#line 1800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp66_ = tags;
-#line 1800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "tags", _tmp66_);
-#line 12641 "PiwigoPublishing.c"
+#line 12988 "PiwigoPublishing.c"
}
}
-#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp67_ = g_str_hash;
-#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp68_ = g_str_equal;
-#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp69_ = g_hash_table_new_full (_tmp67_, _tmp68_, _g_free0_, _g_free0_);
-#line 1810 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
disposition_table = _tmp69_;
-#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp70_ = g_strdup ("filename");
-#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp71_ = publishable;
-#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp72_ = spit_publishing_publishable_get_param_string (_tmp71_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_BASENAME);
-#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp73_ = _tmp72_;
-#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp74_ = soup_uri_encode (_tmp73_, NULL);
-#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_hash_table_insert (disposition_table, _tmp70_, _tmp74_);
-#line 1812 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1776 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (_tmp73_);
-#line 1815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp75_ = g_strdup ("name");
-#line 1815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_tmp76_ = g_strdup ("image");
-#line 1815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_hash_table_insert (disposition_table, _tmp75_, _tmp76_);
-#line 1817 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_rest_support_upload_transaction_set_binary_disposition_table (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_UPLOAD_TRANSACTION, PublishingRESTSupportUploadTransaction), disposition_table);
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_hash_table_unref0 (disposition_table);
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (comment);
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (name);
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_g_free0 (tags);
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
keywords = (_vala_array_free (keywords, keywords_length1, (GDestroyNotify) g_free), NULL);
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return self;
-#line 12686 "PiwigoPublishing.c"
+#line 13033 "PiwigoPublishing.c"
}
PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_new (PublishingPiwigoSession* session, PublishingPiwigoPublishingParameters* parameters, SpitPublishingPublishable* publishable) {
-#line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
return publishing_piwigo_images_add_transaction_construct (PUBLISHING_PIWIGO_TYPE_IMAGES_ADD_TRANSACTION, session, parameters, publishable);
-#line 12693 "PiwigoPublishing.c"
+#line 13040 "PiwigoPublishing.c"
}
static void publishing_piwigo_images_add_transaction_class_init (PublishingPiwigoImagesAddTransactionClass * klass) {
-#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
publishing_piwigo_images_add_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
((PublishingRESTSupportTransactionClass *) klass)->finalize = publishing_piwigo_images_add_transaction_finalize;
-#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingPiwigoImagesAddTransactionPrivate));
-#line 12704 "PiwigoPublishing.c"
+#line 13051 "PiwigoPublishing.c"
}
static void publishing_piwigo_images_add_transaction_instance_init (PublishingPiwigoImagesAddTransaction * self) {
-#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv = PUBLISHING_PIWIGO_IMAGES_ADD_TRANSACTION_GET_PRIVATE (self);
-#line 1751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1715 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self->priv->parameters = NULL;
-#line 12713 "PiwigoPublishing.c"
+#line 13060 "PiwigoPublishing.c"
}
static void publishing_piwigo_images_add_transaction_finalize (PublishingRESTSupportTransaction* obj) {
PublishingPiwigoImagesAddTransaction * self;
-#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_PIWIGO_TYPE_IMAGES_ADD_TRANSACTION, PublishingPiwigoImagesAddTransaction);
-#line 1751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1715 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
_publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters);
-#line 1750 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
+#line 1714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala"
PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_piwigo_images_add_transaction_parent_class)->finalize (obj);
-#line 12725 "PiwigoPublishing.c"
+#line 13072 "PiwigoPublishing.c"
}
diff --git a/plugins/shotwell-publishing/PiwigoPublishing.vala b/plugins/shotwell-publishing/PiwigoPublishing.vala
index 0b98f05..ca07554 100644
--- a/plugins/shotwell-publishing/PiwigoPublishing.vala
+++ b/plugins/shotwell-publishing/PiwigoPublishing.vala
@@ -85,6 +85,10 @@ internal class Category {
public bool is_local() {
return this.id == NO_ID;
}
+
+ public static bool equal (Category self, Category other) {
+ return self.id == other.id;
+ }
}
internal class PermissionLevel {
@@ -613,35 +617,29 @@ public class PiwigoPublisher : Spit.Publishing.Publisher, GLib.Object {
string name = "";
string id_string = "";
string uppercats = "";
+ var id_map = new Gee.HashMap ();
+
for ( ; category_node_iter != null; category_node_iter = category_node_iter->next) {
name_node = doc.get_named_child(category_node_iter, "name");
name = name_node->get_content();
uppercats_node = doc.get_named_child(category_node_iter, "uppercats");
uppercats = (string)uppercats_node->get_content();
id_string = category_node_iter->get_prop("id");
+ id_map.set (id_string, name);
+
if (categories == null) {
categories = new Category[0];
}
categories += new Category(int.parse(id_string), name, uppercats);
}
+
// compute the display name for the categories
- // currently done by an unnecessary triple loop
- // one could make a loop that goes over the categories
- // and creates a list of back references cat_id -> index
- // but since cat_ids are not guaranteed to be continuous
- // that needs a perl hash ;-)
for(int i = 0; i < categories.length; i++) {
string[] upcatids = categories[i].uppercats.split(",");
var builder = new StringBuilder();
for (int j=0; j < upcatids.length; j++) {
builder.append ("/ ");
- // search for the upper category
- for (int k=0; k < categories.length; k++) {
- if (upcatids[j] == categories[k].id.to_string()) {
- builder.append (categories[k].name);
- break;
- }
- }
+ builder.append (id_map.get (upcatids[j]));
builder.append (" ");
}
categories[i].display_name = builder.str;
@@ -1005,158 +1003,148 @@ internal class Uploader : Publishing.RESTSupport.BatchUploader {
// UI elements
-internal class SSLErrorPane : Spit.Publishing.DialogPane, Object {
- private Gtk.Builder builder;
- private Gtk.Widget content;
+internal class SSLErrorPane : Shotwell.Plugins.Common.BuilderPane {
public signal void proceed ();
+ public string host { owned get; construct; }
+ public TlsCertificate cert { private get; construct; }
+ public string error_text { owned get; construct; }
public SSLErrorPane (SessionLoginTransaction transaction,
string host) {
- try {
- TlsCertificate cert;
- this.builder = new Gtk.Builder ();
- this.builder.add_from_resource (Resources.RESOURCE_PATH +
- "/piwigo_ssl_failure_pane.ui");
- this.content = this.builder.get_object ("content") as Gtk.Widget;
- var label = this.builder.get_object ("main_text") as Gtk.Label;
- // %s is the host name that we tried to connect to
- label.set_text (_("This does not look like the real %s . Attackers might be trying to steal or alter information going to or from this site (for example, private messages, credit card information, or passwords).").printf (host));
- label.use_markup = true;
-
- label = this.builder.get_object ("ssl_errors") as Gtk.Label;
- var text = transaction.detailed_error_from_tls_flags (out cert);
- label.set_text (text);
-
- var info = this.builder.get_object ("default") as Gtk.Button;
- info.clicked.connect (() => {
- var simple_cert = new Gcr.SimpleCertificate (cert.certificate.data);
- var widget = new Gcr.CertificateWidget (simple_cert);
-
- var dialog = new Gtk.Dialog ();
- dialog.get_content_area ().add (widget);
- dialog.add_button ("_OK", Gtk.ResponseType.OK);
- dialog.set_default_response (Gtk.ResponseType.OK);
- dialog.set_default_size (640, -1);
- dialog.show_all ();
- dialog.run ();
- dialog.destroy ();
- });
-
- var proceed = this.builder.get_object ("proceed_button") as Gtk.Button;
- proceed.clicked.connect (() => { this.proceed (); });
-
- if (this.content.parent != null) {
- this.content.parent.remove (this.content);
+ TlsCertificate cert;
+ var text = transaction.detailed_error_from_tls_flags (out cert);
+ Object (resource_path : Resources.RESOURCE_PATH +
+ "/piwigo_ssl_failure_pane.ui",
+ default_id: "default",
+ cert : cert,
+ error_text : text,
+ host : host);
+ }
+
+ public override void constructed () {
+ base.constructed ();
+
+ var label = this.get_builder ().get_object ("main_text") as Gtk.Label;
+ // %s is the host name that we tried to connect to
+ label.set_text (_("This does not look like the real %s . Attackers might be trying to steal or alter information going to or from this site (for example, private messages, credit card information, or passwords).").printf (host));
+ label.use_markup = true;
+
+ label = this.get_builder ().get_object ("ssl_errors") as Gtk.Label;
+ label.set_text (error_text);
+
+ var info = this.get_builder ().get_object ("default") as Gtk.Button;
+ info.clicked.connect (() => {
+ var simple_cert = new Gcr.SimpleCertificate (cert.certificate.data);
+ var widget = new Gcr.CertificateWidget (simple_cert);
+ bool use_header = true;
+ Gtk.Settings.get_default ().get ("gtk-dialogs-use-header", out use_header);
+ var flags = (Gtk.DialogFlags) 0;
+ if (use_header) {
+ flags |= Gtk.DialogFlags.USE_HEADER_BAR;
}
- } catch (Error error) {
- warning ("Failed to create ui file: %s", error.message);
- assert_not_reached ();
- }
- }
- public Spit.Publishing.DialogPane.GeometryOptions get_preferred_geometry () {
- return Spit.Publishing.DialogPane.GeometryOptions.NONE;
- }
-
- public Gtk.Widget get_widget () {
- return this.content;
- }
+ var dialog = new Gtk.Dialog.with_buttons (
+ _("Certificate of %s").printf (host),
+ null,
+ flags,
+ _("_OK"), Gtk.ResponseType.OK);
+ dialog.get_content_area ().add (widget);
+ dialog.set_default_response (Gtk.ResponseType.OK);
+ dialog.set_default_size (640, -1);
+ dialog.show_all ();
+ dialog.run ();
+ dialog.destroy ();
+ });
- public Gtk.Widget get_default_widget () {
- return this.builder.get_object ("default") as Gtk.Widget;
+ var proceed = this.get_builder ().get_object ("proceed_button") as Gtk.Button;
+ proceed.clicked.connect (() => { this.proceed (); });
}
-
- public void on_pane_installed () { }
-
- public void on_pane_uninstalled () { }
}
/**
* The authentication pane used when asking service URL, user name and password
* from the user.
*/
-internal class AuthenticationPane : Spit.Publishing.DialogPane, Object {
+internal class AuthenticationPane : Shotwell.Plugins.Common.BuilderPane {
public enum Mode {
INTRO,
FAILED_RETRY_URL,
FAILED_RETRY_USER
}
+
+ public Mode mode { get; construct; }
+ public unowned PiwigoPublisher publisher { get; construct; }
+
private static string INTRO_MESSAGE = _("Enter the URL of your Piwigo photo library as well as the username and password associated with your Piwigo account for that library.");
private static string FAILED_RETRY_URL_MESSAGE = _("Shotwell cannot contact your Piwigo photo library. Please verify the URL you entered");
private static string FAILED_RETRY_USER_MESSAGE = _("Username and/or password invalid. Please try again");
- private Gtk.Box pane_widget = null;
- private Gtk.Builder builder;
private Gtk.Entry url_entry;
private Gtk.Entry username_entry;
private Gtk.Entry password_entry;
- private Gtk.CheckButton remember_password_checkbutton;
+ private Gtk.Switch remember_password_checkbutton;
private Gtk.Button login_button;
public signal void login(string url, string user, string password, bool remember_password);
- public AuthenticationPane(PiwigoPublisher publisher, Mode mode = Mode.INTRO) {
- this.pane_widget = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
+ public AuthenticationPane (PiwigoPublisher publisher, Mode mode = Mode.INTRO) {
+ Object (resource_path : Resources.RESOURCE_PATH +
+ "/piwigo_authentication_pane.ui",
+ connect_signals : true,
+ default_id : "login_button",
+ mode : mode,
+ publisher : publisher);
+ }
- try {
- builder = new Gtk.Builder();
- builder.add_from_resource (Resources.RESOURCE_PATH + "/piwigo_authentication_pane.ui");
- builder.connect_signals(null);
- Gtk.Alignment align = builder.get_object("alignment") as Gtk.Alignment;
-
- Gtk.Label message_label = builder.get_object("message_label") as Gtk.Label;
- switch (mode) {
- case Mode.INTRO:
- message_label.set_text(INTRO_MESSAGE);
- break;
-
- case Mode.FAILED_RETRY_URL:
- message_label.set_markup("%s \n\n%s".printf(_(
- "Invalid URL"), FAILED_RETRY_URL_MESSAGE));
- break;
-
- case Mode.FAILED_RETRY_USER:
- message_label.set_markup("%s \n\n%s".printf(_(
- "Invalid User Name or Password"), FAILED_RETRY_USER_MESSAGE));
- break;
- }
+ public override void constructed () {
+ base.constructed ();
- url_entry = builder.get_object ("url_entry") as Gtk.Entry;
- string? persistent_url = publisher.get_persistent_url();
- if (persistent_url != null) {
- url_entry.set_text(persistent_url);
- }
- username_entry = builder.get_object ("username_entry") as Gtk.Entry;
- string? persistent_username = publisher.get_persistent_username();
- if (persistent_username != null) {
- username_entry.set_text(persistent_username);
- }
- password_entry = builder.get_object ("password_entry") as Gtk.Entry;
- string? persistent_password = publisher.get_persistent_password();
- if (persistent_password != null) {
- password_entry.set_text(persistent_password);
- }
- remember_password_checkbutton =
- builder.get_object ("remember_password_checkbutton") as Gtk.CheckButton;
- remember_password_checkbutton.set_active(publisher.get_remember_password());
+ var builder = this.get_builder ();
+ var message_label = builder.get_object("message_label") as Gtk.Label;
+ switch (mode) {
+ case Mode.INTRO:
+ message_label.set_text(INTRO_MESSAGE);
+ break;
- login_button = builder.get_object("login_button") as Gtk.Button;
+ case Mode.FAILED_RETRY_URL:
+ message_label.set_markup("%s \n\n%s".printf(_(
+ "Invalid URL"), FAILED_RETRY_URL_MESSAGE));
+ break;
- username_entry.changed.connect(on_user_changed);
- url_entry.changed.connect(on_url_changed);
- password_entry.changed.connect(on_password_changed);
- login_button.clicked.connect(on_login_button_clicked);
+ case Mode.FAILED_RETRY_USER:
+ message_label.set_markup("%s \n\n%s".printf(_(
+ "Invalid User Name or Password"), FAILED_RETRY_USER_MESSAGE));
+ break;
+ }
- align.reparent(pane_widget);
- publisher.get_host().set_dialog_default_widget(login_button);
- } catch (Error e) {
- warning("Could not load UI: %s", e.message);
+ url_entry = builder.get_object ("url_entry") as Gtk.Entry;
+ string? persistent_url = publisher.get_persistent_url();
+ if (persistent_url != null) {
+ url_entry.set_text(persistent_url);
}
- }
-
- public Gtk.Widget get_default_widget() {
- return login_button;
+ username_entry = builder.get_object ("username_entry") as Gtk.Entry;
+ string? persistent_username = publisher.get_persistent_username();
+ if (persistent_username != null) {
+ username_entry.set_text(persistent_username);
+ }
+ password_entry = builder.get_object ("password_entry") as Gtk.Entry;
+ string? persistent_password = publisher.get_persistent_password();
+ if (persistent_password != null) {
+ password_entry.set_text(persistent_password);
+ }
+ remember_password_checkbutton =
+ builder.get_object ("remember_password_checkbutton") as Gtk.Switch;
+ remember_password_checkbutton.set_active(publisher.get_remember_password());
+
+ login_button = builder.get_object("login_button") as Gtk.Button;
+
+ username_entry.changed.connect(on_user_changed);
+ url_entry.changed.connect(on_url_changed);
+ password_entry.changed.connect(on_password_changed);
+ login_button.clicked.connect(on_login_button_clicked);
+
+ publisher.get_host().set_dialog_default_widget(login_button);
}
private void on_login_button_clicked() {
@@ -1182,34 +1170,23 @@ internal class AuthenticationPane : Spit.Publishing.DialogPane, Object {
password_entry.text_length != 0);
}
- public Gtk.Widget get_widget() {
- return pane_widget;
- }
-
- public Spit.Publishing.DialogPane.GeometryOptions get_preferred_geometry() {
- return Spit.Publishing.DialogPane.GeometryOptions.NONE;
- }
-
- public void on_pane_installed() {
+ public override void on_pane_installed() {
+ base.on_pane_installed ();
+
url_entry.grab_focus();
password_entry.set_activates_default(true);
login_button.can_default = true;
update_login_button_sensitivity();
}
-
- public void on_pane_uninstalled() {
- }
}
/**
* The publishing options pane.
*/
-internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object {
+internal class PublishingOptionsPane : Shotwell.Plugins.Common.BuilderPane {
private static string DEFAULT_CATEGORY_NAME = _("Shotwell Connect");
- private Gtk.Box pane_widget = null;
- private Gtk.Builder builder;
private Gtk.RadioButton use_existing_radio;
private Gtk.RadioButton create_new_radio;
private Gtk.ComboBoxText existing_categories_combo;
@@ -1225,88 +1202,88 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object {
private Gtk.Button publish_button;
private Gtk.TextView album_comment;
private Gtk.Label album_comment_label;
-
- private Category[] existing_categories;
+
private PermissionLevel[] perm_levels;
private SizeEntry[] photo_sizes;
-
- private int last_category;
- private int last_permission_level;
- private int last_photo_size;
- private bool last_title_as_comment;
- private bool last_no_upload_tags;
+
+ public int last_category { private get; construct; }
+ public int last_permission_level { private get; construct; }
+ public int last_photo_size { private get; construct; }
+ public bool last_title_as_comment { private get; construct; }
+ public bool last_no_upload_tags { private get; construct; }
+ public bool strip_metadata_enabled { private get; construct; }
+ public Gee.List existing_categories { private get; construct; }
+ public string default_comment { private get; construct; }
public signal void publish(PublishingParameters parameters, bool strip_metadata);
public signal void logout();
- public PublishingOptionsPane(
- PiwigoPublisher publisher, Category[] categories,
- int last_category, int last_permission_level, int last_photo_size,
- bool last_title_as_comment, bool last_no_upload_tags, bool strip_metadata_enabled
- ) {
- this.pane_widget = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
- this.last_category = last_category;
- this.last_permission_level = last_permission_level;
- this.last_photo_size = last_photo_size;
- this.last_title_as_comment = last_title_as_comment;
- this.last_no_upload_tags = last_no_upload_tags;
+ public PublishingOptionsPane(PiwigoPublisher publisher,
+ Category[] categories,
+ int last_category,
+ int last_permission_level,
+ int last_photo_size,
+ bool last_title_as_comment,
+ bool last_no_upload_tags,
+ bool strip_metadata_enabled) {
+ Object (resource_path : Resources.RESOURCE_PATH +
+ "/piwigo_publishing_options_pane.ui",
+ connect_signals : true,
+ default_id : "publish_button",
+ last_category : last_category,
+ last_permission_level : last_permission_level,
+ last_photo_size : last_photo_size,
+ last_title_as_comment : last_title_as_comment,
+ last_no_upload_tags : last_no_upload_tags,
+ strip_metadata_enabled : strip_metadata_enabled,
+ existing_categories : new Gee.ArrayList.wrap (categories,
+ Category.equal),
+ default_comment : get_common_comment_if_possible (publisher));
+ }
+
+ public override void constructed () {
+ base.constructed ();
+ var builder = this.get_builder ();
+
+ use_existing_radio = builder.get_object("use_existing_radio") as Gtk.RadioButton;
+ create_new_radio = builder.get_object("create_new_radio") as Gtk.RadioButton;
+ existing_categories_combo = builder.get_object("existing_categories_combo") as Gtk.ComboBoxText;
+ new_category_entry = builder.get_object ("new_category_entry") as Gtk.Entry;
+ within_existing_label = builder.get_object ("within_existing_label") as Gtk.Label;
+ within_existing_combo = builder.get_object ("within_existing_combo") as Gtk.ComboBoxText;
+
+ album_comment = builder.get_object ("album_comment") as Gtk.TextView;
+ album_comment.buffer = new Gtk.TextBuffer(null);
+ album_comment_label = builder.get_object ("album_comment_label") as Gtk.Label;
+
+ perms_combo = builder.get_object("perms_combo") as Gtk.ComboBoxText;
+ size_combo = builder.get_object("size_combo") as Gtk.ComboBoxText;
+
+ strip_metadata_check = builder.get_object("strip_metadata_check") as Gtk.CheckButton;
+ strip_metadata_check.set_active(strip_metadata_enabled);
+
+ title_as_comment_check = builder.get_object("title_as_comment_check") as Gtk.CheckButton;
+ title_as_comment_check.set_active(last_title_as_comment);
+
+ no_upload_tags_check = builder.get_object("no_upload_tags_check") as Gtk.CheckButton;
+ no_upload_tags_check.set_active(last_no_upload_tags);
+
+ logout_button = builder.get_object("logout_button") as Gtk.Button;
+ logout_button.clicked.connect(on_logout_button_clicked);
+
+ publish_button = builder.get_object("publish_button") as Gtk.Button;
+ publish_button.clicked.connect(on_publish_button_clicked);
+
+ use_existing_radio.clicked.connect(on_use_existing_radio_clicked);
+ create_new_radio.clicked.connect(on_create_new_radio_clicked);
+ new_category_entry.changed.connect(on_new_category_entry_changed);
+ within_existing_combo.changed.connect(on_existing_combo_changed);
- try {
- builder = new Gtk.Builder();
- builder.add_from_resource (Resources.RESOURCE_PATH + "/piwigo_publishing_options_pane.ui");
- builder.connect_signals(null);
- Gtk.Alignment align = builder.get_object("alignment") as Gtk.Alignment;
-
- use_existing_radio = builder.get_object("use_existing_radio") as Gtk.RadioButton;
- create_new_radio = builder.get_object("create_new_radio") as Gtk.RadioButton;
- existing_categories_combo = builder.get_object("existing_categories_combo") as Gtk.ComboBoxText;
- new_category_entry = builder.get_object ("new_category_entry") as Gtk.Entry;
- within_existing_label = builder.get_object ("within_existing_label") as Gtk.Label;
- within_existing_combo = builder.get_object ("within_existing_combo") as Gtk.ComboBoxText;
-
- album_comment = builder.get_object ("album_comment") as Gtk.TextView;
- album_comment.buffer = new Gtk.TextBuffer(null);
- album_comment_label = builder.get_object ("album_comment_label") as Gtk.Label;
-
- perms_combo = builder.get_object("perms_combo") as Gtk.ComboBoxText;
- size_combo = builder.get_object("size_combo") as Gtk.ComboBoxText;
-
- strip_metadata_check = builder.get_object("strip_metadata_check") as Gtk.CheckButton;
- strip_metadata_check.set_active(strip_metadata_enabled);
-
- title_as_comment_check = builder.get_object("title_as_comment_check") as Gtk.CheckButton;
- title_as_comment_check.set_active(last_title_as_comment);
-
- no_upload_tags_check = builder.get_object("no_upload_tags_check") as Gtk.CheckButton;
- no_upload_tags_check.set_active(last_no_upload_tags);
-
- logout_button = builder.get_object("logout_button") as Gtk.Button;
- logout_button.clicked.connect(on_logout_button_clicked);
-
- publish_button = builder.get_object("publish_button") as Gtk.Button;
- publish_button.clicked.connect(on_publish_button_clicked);
-
- use_existing_radio.clicked.connect(on_use_existing_radio_clicked);
- create_new_radio.clicked.connect(on_create_new_radio_clicked);
- new_category_entry.changed.connect(on_new_category_entry_changed);
- within_existing_combo.changed.connect(on_existing_combo_changed);
-
- align.reparent(pane_widget);
- pane_widget.set_child_packing(align, true, true, 0, Gtk.PackType.START);
- } catch (Error e) {
- warning("Could not load UI: %s", e.message);
- }
-
- this.existing_categories = categories;
this.perm_levels = create_perm_levels();
this.photo_sizes = create_sizes();
- this.album_comment.buffer.set_text(get_common_comment_if_possible(publisher));
- }
-
- public Gtk.Widget get_default_widget() {
- return publish_button;
+ this.album_comment.buffer.set_text(this.default_comment);
}
-
+
private PermissionLevel[] create_perm_levels() {
PermissionLevel[] result = new PermissionLevel[0];
@@ -1410,16 +1387,10 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object {
)
);
}
-
- public Gtk.Widget get_widget() {
- return pane_widget;
- }
-
- public Spit.Publishing.DialogPane.GeometryOptions get_preferred_geometry() {
- return Spit.Publishing.DialogPane.GeometryOptions.NONE;
- }
-
- public void on_pane_installed() {
+
+ public override void on_pane_installed() {
+ base.on_pane_installed ();
+
create_categories_combo();
create_within_categories_combo();
create_permissions_combo();
@@ -1428,8 +1399,8 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object {
publish_button.can_default = true;
update_publish_button_sensitivity();
}
-
- private string get_common_comment_if_possible(PiwigoPublisher publisher) {
+
+ private static string get_common_comment_if_possible(PiwigoPublisher publisher) {
// we have to determine whether all the publishing items
// belong to the same event
Spit.Publishing.Publishable[] publishables = publisher.get_host().get_publishables();
@@ -1462,7 +1433,7 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object {
foreach (Category cat in existing_categories) {
existing_categories_combo.append_text(cat.display_name);
}
- if (existing_categories.length == 0) {
+ if (existing_categories.is_empty) {
// if no existing categories, disable the option to choose one
existing_categories_combo.set_sensitive(false);
use_existing_radio.set_sensitive(false);
@@ -1472,11 +1443,7 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object {
new_category_entry.grab_focus();
} else {
int last_category_index = find_category_index(last_category);
- if (last_category_index < 0) {
- existing_categories_combo.set_active(0);
- } else {
- existing_categories_combo.set_active(last_category_index);
- }
+ existing_categories_combo.set_active(last_category_index);
new_category_entry.set_sensitive(false);
album_comment.set_sensitive(false);
album_comment_label.set_sensitive(false);
@@ -1520,13 +1487,10 @@ internal class PublishingOptionsPane : Spit.Publishing.DialogPane, Object {
size_combo.set_active(last_size_index);
}
}
-
- public void on_pane_uninstalled() {
- }
-
+
private int find_category_index(int category_id) {
- int result = -1;
- for(int i = 0; i < existing_categories.length; i++) {
+ int result = 0;
+ for(int i = 0; i < existing_categories.size; i++) {
if (existing_categories[i].id == category_id) {
result = i;
break;
diff --git a/plugins/shotwell-publishing/YouTubePublishing.c b/plugins/shotwell-publishing/YouTubePublishing.c
index b1f6d33..f1adc38 100644
--- a/plugins/shotwell-publishing/YouTubePublishing.c
+++ b/plugins/shotwell-publishing/YouTubePublishing.c
@@ -294,7 +294,7 @@ static gint you_tube_service_real_get_pluggable_interface (SpitPluggable* base,
static const gchar* you_tube_service_real_get_id (SpitPluggable* base);
static const gchar* you_tube_service_real_get_pluggable_name (SpitPluggable* base);
static void you_tube_service_real_get_info (SpitPluggable* base, SpitPluggableInfo* info);
-static GdkPixbuf** _vala_array_dup9 (GdkPixbuf** self, int length);
+static GdkPixbuf** _vala_array_dup10 (GdkPixbuf** self, int length);
static SpitPublishingPublisher* you_tube_service_real_create_publisher (SpitPublishingService* base, SpitPublishingPluginHost* host);
PublishingYouTubeYouTubePublisher* publishing_you_tube_you_tube_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host);
PublishingYouTubeYouTubePublisher* publishing_you_tube_you_tube_publisher_construct (GType object_type, SpitPublishingService* service, SpitPublishingPluginHost* host);
@@ -438,8 +438,10 @@ enum {
PublishingYouTubeUploadTransaction* publishing_you_tube_upload_transaction_new (PublishingRESTSupportGoogleSession* session, PublishingYouTubePublishingParameters* parameters, SpitPublishingPublishable* publishable);
PublishingYouTubeUploadTransaction* publishing_you_tube_upload_transaction_construct (GType object_type, PublishingRESTSupportGoogleSession* session, PublishingYouTubePublishingParameters* parameters, SpitPublishingPublishable* publishable);
static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTSupportTransaction* base, GError** error);
+static guint8* _vala_array_dup11 (guint8* self, int length);
static void _vala_SoupBuffer_free (SoupBuffer* self);
static void _vala_SoupMultipart_free (SoupMultipart* self);
+static guint8* _vala_array_dup12 (guint8* self, int length);
static void publishing_you_tube_upload_transaction_finalize (PublishingRESTSupportTransaction* obj);
#define PUBLISHING_YOU_TUBE_UPLOADER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_YOU_TUBE_TYPE_UPLOADER, PublishingYouTubeUploaderPrivate))
enum {
@@ -465,7 +467,7 @@ YouTubeService* you_tube_service_construct (GType object_type, GFile* resource_d
_tmp0__length1 = you_tube_service_icon_pixbuf_set_length1;
#line 13 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (_tmp0_ == NULL) {
-#line 447 "YouTubePublishing.c"
+#line 449 "YouTubePublishing.c"
gint _tmp1_ = 0;
GdkPixbuf** _tmp2_ = NULL;
#line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -478,18 +480,18 @@ YouTubeService* you_tube_service_construct (GType object_type, GFile* resource_d
you_tube_service_icon_pixbuf_set_length1 = _tmp1_;
#line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_you_tube_service_icon_pixbuf_set_size_ = you_tube_service_icon_pixbuf_set_length1;
-#line 460 "YouTubePublishing.c"
+#line 462 "YouTubePublishing.c"
}
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self;
-#line 464 "YouTubePublishing.c"
+#line 466 "YouTubePublishing.c"
}
YouTubeService* you_tube_service_new (GFile* resource_directory) {
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return you_tube_service_construct (TYPE_YOU_TUBE_SERVICE, resource_directory);
-#line 471 "YouTubePublishing.c"
+#line 473 "YouTubePublishing.c"
}
@@ -511,7 +513,7 @@ static gint you_tube_service_real_get_pluggable_interface (SpitPluggable* base,
result = _tmp2_;
#line 19 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 493 "YouTubePublishing.c"
+#line 495 "YouTubePublishing.c"
}
@@ -524,7 +526,7 @@ static const gchar* you_tube_service_real_get_id (SpitPluggable* base) {
result = "org.yorba.shotwell.publishing.youtube";
#line 24 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 506 "YouTubePublishing.c"
+#line 508 "YouTubePublishing.c"
}
@@ -537,35 +539,35 @@ static const gchar* you_tube_service_real_get_pluggable_name (SpitPluggable* bas
result = "YouTube";
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 519 "YouTubePublishing.c"
+#line 521 "YouTubePublishing.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self ? g_object_ref (self) : NULL;
-#line 526 "YouTubePublishing.c"
+#line 528 "YouTubePublishing.c"
}
-static GdkPixbuf** _vala_array_dup9 (GdkPixbuf** self, int length) {
+static GdkPixbuf** _vala_array_dup10 (GdkPixbuf** self, int length) {
GdkPixbuf** result;
int i;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
result = g_new0 (GdkPixbuf*, length + 1);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
for (i = 0; i < length; i++) {
-#line 537 "YouTubePublishing.c"
+#line 539 "YouTubePublishing.c"
GdkPixbuf* _tmp0_ = NULL;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp0_ = _g_object_ref0 (self[i]);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
result[i] = _tmp0_;
-#line 543 "YouTubePublishing.c"
+#line 545 "YouTubePublishing.c"
}
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 547 "YouTubePublishing.c"
+#line 549 "YouTubePublishing.c"
}
@@ -638,7 +640,7 @@ static void you_tube_service_real_get_info (SpitPluggable* base, SpitPluggableIn
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp8__length1 = you_tube_service_icon_pixbuf_set_length1;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp9_ = (_tmp8_ != NULL) ? _vala_array_dup9 (_tmp8_, _tmp8__length1) : ((gpointer) _tmp8_);
+ _tmp9_ = (_tmp8_ != NULL) ? _vala_array_dup10 (_tmp8_, _tmp8__length1) : ((gpointer) _tmp8_);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp9__length1 = _tmp8__length1;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -647,7 +649,7 @@ static void you_tube_service_real_get_info (SpitPluggable* base, SpitPluggableIn
(*info).icons = _tmp9_;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
(*info).icons_length1 = _tmp9__length1;
-#line 629 "YouTubePublishing.c"
+#line 631 "YouTubePublishing.c"
}
@@ -668,7 +670,7 @@ static SpitPublishingPublisher* you_tube_service_real_create_publisher (SpitPubl
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher);
#line 44 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 650 "YouTubePublishing.c"
+#line 652 "YouTubePublishing.c"
}
@@ -681,7 +683,7 @@ static SpitPublishingPublisherMediaType you_tube_service_real_get_supported_medi
result = SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO;
#line 48 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 663 "YouTubePublishing.c"
+#line 665 "YouTubePublishing.c"
}
@@ -689,7 +691,7 @@ static void you_tube_service_real_activation (SpitPluggable* base, gboolean enab
YouTubeService * self;
#line 51 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_YOU_TUBE_SERVICE, YouTubeService);
-#line 671 "YouTubePublishing.c"
+#line 673 "YouTubePublishing.c"
}
@@ -698,7 +700,7 @@ static void you_tube_service_class_init (YouTubeServiceClass * klass) {
you_tube_service_parent_class = g_type_class_peek_parent (klass);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
G_OBJECT_CLASS (klass)->finalize = you_tube_service_finalize;
-#line 680 "YouTubePublishing.c"
+#line 682 "YouTubePublishing.c"
}
@@ -715,7 +717,7 @@ static void you_tube_service_spit_pluggable_interface_init (SpitPluggableIface *
iface->get_info = (void (*)(SpitPluggable*, SpitPluggableInfo*)) you_tube_service_real_get_info;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
iface->activation = (void (*)(SpitPluggable*, gboolean)) you_tube_service_real_activation;
-#line 697 "YouTubePublishing.c"
+#line 699 "YouTubePublishing.c"
}
@@ -726,7 +728,7 @@ static void you_tube_service_spit_publishing_service_interface_init (SpitPublish
iface->create_publisher = (SpitPublishingPublisher* (*)(SpitPublishingService*, SpitPublishingPluginHost*)) you_tube_service_real_create_publisher;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
iface->get_supported_media = (SpitPublishingPublisherMediaType (*)(SpitPublishingService*)) you_tube_service_real_get_supported_media;
-#line 708 "YouTubePublishing.c"
+#line 710 "YouTubePublishing.c"
}
@@ -740,7 +742,7 @@ static void you_tube_service_finalize (GObject* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_YOU_TUBE_SERVICE, YouTubeService);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
G_OBJECT_CLASS (you_tube_service_parent_class)->finalize (obj);
-#line 722 "YouTubePublishing.c"
+#line 724 "YouTubePublishing.c"
}
@@ -788,14 +790,14 @@ PublishingYouTubePublishingParameters* publishing_you_tube_publishing_parameters
self->priv->user_name = NULL;
#line 73 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self;
-#line 770 "YouTubePublishing.c"
+#line 772 "YouTubePublishing.c"
}
PublishingYouTubePublishingParameters* publishing_you_tube_publishing_parameters_new (void) {
#line 73 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return publishing_you_tube_publishing_parameters_construct (PUBLISHING_YOU_TUBE_TYPE_PUBLISHING_PARAMETERS);
-#line 777 "YouTubePublishing.c"
+#line 779 "YouTubePublishing.c"
}
@@ -810,7 +812,7 @@ PublishingYouTubePrivacySetting publishing_you_tube_publishing_parameters_get_pr
result = _tmp0_;
#line 80 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 792 "YouTubePublishing.c"
+#line 794 "YouTubePublishing.c"
}
@@ -822,7 +824,7 @@ void publishing_you_tube_publishing_parameters_set_privacy (PublishingYouTubePub
_tmp0_ = privacy;
#line 84 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->priv->privacy = _tmp0_;
-#line 804 "YouTubePublishing.c"
+#line 806 "YouTubePublishing.c"
}
@@ -840,7 +842,7 @@ gchar* publishing_you_tube_publishing_parameters_get_channel_name (PublishingYou
result = _tmp1_;
#line 88 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 822 "YouTubePublishing.c"
+#line 824 "YouTubePublishing.c"
}
@@ -857,7 +859,7 @@ void publishing_you_tube_publishing_parameters_set_channel_name (PublishingYouTu
_g_free0 (self->priv->channel_name);
#line 92 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->priv->channel_name = _tmp1_;
-#line 839 "YouTubePublishing.c"
+#line 841 "YouTubePublishing.c"
}
@@ -875,7 +877,7 @@ gchar* publishing_you_tube_publishing_parameters_get_user_name (PublishingYouTub
result = _tmp1_;
#line 96 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 857 "YouTubePublishing.c"
+#line 859 "YouTubePublishing.c"
}
@@ -892,14 +894,14 @@ void publishing_you_tube_publishing_parameters_set_user_name (PublishingYouTubeP
_g_free0 (self->priv->user_name);
#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->priv->user_name = _tmp1_;
-#line 874 "YouTubePublishing.c"
+#line 876 "YouTubePublishing.c"
}
static void publishing_you_tube_value_publishing_parameters_init (GValue* value) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 881 "YouTubePublishing.c"
+#line 883 "YouTubePublishing.c"
}
@@ -908,7 +910,7 @@ static void publishing_you_tube_value_publishing_parameters_free_value (GValue*
if (value->data[0].v_pointer) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_parameters_unref (value->data[0].v_pointer);
-#line 890 "YouTubePublishing.c"
+#line 892 "YouTubePublishing.c"
}
}
@@ -918,11 +920,11 @@ static void publishing_you_tube_value_publishing_parameters_copy_value (const GV
if (src_value->data[0].v_pointer) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
dest_value->data[0].v_pointer = publishing_you_tube_publishing_parameters_ref (src_value->data[0].v_pointer);
-#line 900 "YouTubePublishing.c"
+#line 902 "YouTubePublishing.c"
} else {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 904 "YouTubePublishing.c"
+#line 906 "YouTubePublishing.c"
}
}
@@ -930,37 +932,37 @@ static void publishing_you_tube_value_publishing_parameters_copy_value (const GV
static gpointer publishing_you_tube_value_publishing_parameters_peek_pointer (const GValue* value) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return value->data[0].v_pointer;
-#line 912 "YouTubePublishing.c"
+#line 914 "YouTubePublishing.c"
}
static gchar* publishing_you_tube_value_publishing_parameters_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (collect_values[0].v_pointer) {
-#line 919 "YouTubePublishing.c"
+#line 921 "YouTubePublishing.c"
PublishingYouTubePublishingParameters* object;
object = collect_values[0].v_pointer;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 926 "YouTubePublishing.c"
+#line 928 "YouTubePublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.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 930 "YouTubePublishing.c"
+#line 932 "YouTubePublishing.c"
}
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = publishing_you_tube_publishing_parameters_ref (object);
-#line 934 "YouTubePublishing.c"
+#line 936 "YouTubePublishing.c"
} else {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 938 "YouTubePublishing.c"
+#line 940 "YouTubePublishing.c"
}
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return NULL;
-#line 942 "YouTubePublishing.c"
+#line 944 "YouTubePublishing.c"
}
@@ -971,25 +973,25 @@ static gchar* publishing_you_tube_value_publishing_parameters_lcopy_value (const
if (!object_p) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 953 "YouTubePublishing.c"
+#line 955 "YouTubePublishing.c"
}
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (!value->data[0].v_pointer) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*object_p = NULL;
-#line 959 "YouTubePublishing.c"
+#line 961 "YouTubePublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 963 "YouTubePublishing.c"
+#line 965 "YouTubePublishing.c"
} else {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*object_p = publishing_you_tube_publishing_parameters_ref (value->data[0].v_pointer);
-#line 967 "YouTubePublishing.c"
+#line 969 "YouTubePublishing.c"
}
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return NULL;
-#line 971 "YouTubePublishing.c"
+#line 973 "YouTubePublishing.c"
}
@@ -1003,7 +1005,7 @@ GParamSpec* publishing_you_tube_param_spec_publishing_parameters (const gchar* n
G_PARAM_SPEC (spec)->value_type = object_type;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return G_PARAM_SPEC (spec);
-#line 985 "YouTubePublishing.c"
+#line 987 "YouTubePublishing.c"
}
@@ -1012,7 +1014,7 @@ gpointer publishing_you_tube_value_get_publishing_parameters (const GValue* valu
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_YOU_TUBE_TYPE_PUBLISHING_PARAMETERS), NULL);
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return value->data[0].v_pointer;
-#line 994 "YouTubePublishing.c"
+#line 996 "YouTubePublishing.c"
}
@@ -1032,17 +1034,17 @@ void publishing_you_tube_value_set_publishing_parameters (GValue* value, gpointe
value->data[0].v_pointer = v_object;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_parameters_ref (value->data[0].v_pointer);
-#line 1014 "YouTubePublishing.c"
+#line 1016 "YouTubePublishing.c"
} else {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1018 "YouTubePublishing.c"
+#line 1020 "YouTubePublishing.c"
}
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (old) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_parameters_unref (old);
-#line 1024 "YouTubePublishing.c"
+#line 1026 "YouTubePublishing.c"
}
}
@@ -1061,17 +1063,17 @@ void publishing_you_tube_value_take_publishing_parameters (GValue* value, gpoint
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = v_object;
-#line 1043 "YouTubePublishing.c"
+#line 1045 "YouTubePublishing.c"
} else {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1047 "YouTubePublishing.c"
+#line 1049 "YouTubePublishing.c"
}
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (old) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_parameters_unref (old);
-#line 1053 "YouTubePublishing.c"
+#line 1055 "YouTubePublishing.c"
}
}
@@ -1083,7 +1085,7 @@ static void publishing_you_tube_publishing_parameters_class_init (PublishingYouT
((PublishingYouTubePublishingParametersClass *) klass)->finalize = publishing_you_tube_publishing_parameters_finalize;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingYouTubePublishingParametersPrivate));
-#line 1065 "YouTubePublishing.c"
+#line 1067 "YouTubePublishing.c"
}
@@ -1092,7 +1094,7 @@ static void publishing_you_tube_publishing_parameters_instance_init (PublishingY
self->priv = PUBLISHING_YOU_TUBE_PUBLISHING_PARAMETERS_GET_PRIVATE (self);
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->ref_count = 1;
-#line 1074 "YouTubePublishing.c"
+#line 1076 "YouTubePublishing.c"
}
@@ -1106,7 +1108,7 @@ static void publishing_you_tube_publishing_parameters_finalize (PublishingYouTub
_g_free0 (self->priv->channel_name);
#line 71 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (self->priv->user_name);
-#line 1088 "YouTubePublishing.c"
+#line 1090 "YouTubePublishing.c"
}
@@ -1131,7 +1133,7 @@ gpointer publishing_you_tube_publishing_parameters_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return instance;
-#line 1113 "YouTubePublishing.c"
+#line 1115 "YouTubePublishing.c"
}
@@ -1144,7 +1146,7 @@ void publishing_you_tube_publishing_parameters_unref (gpointer instance) {
PUBLISHING_YOU_TUBE_PUBLISHING_PARAMETERS_GET_CLASS (self)->finalize (self);
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1126 "YouTubePublishing.c"
+#line 1128 "YouTubePublishing.c"
}
}
@@ -1198,14 +1200,14 @@ PublishingYouTubeYouTubePublisher* publishing_you_tube_you_tube_publisher_constr
self->priv->progress_reporter_target_destroy_notify = NULL;
#line 127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self;
-#line 1180 "YouTubePublishing.c"
+#line 1182 "YouTubePublishing.c"
}
PublishingYouTubeYouTubePublisher* publishing_you_tube_you_tube_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host) {
#line 127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return publishing_you_tube_you_tube_publisher_construct (PUBLISHING_YOU_TUBE_TYPE_YOU_TUBE_PUBLISHER, service, host);
-#line 1187 "YouTubePublishing.c"
+#line 1189 "YouTubePublishing.c"
}
@@ -1221,7 +1223,7 @@ static gboolean publishing_you_tube_you_tube_publisher_real_is_running (Publishi
result = _tmp0_;
#line 137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 1203 "YouTubePublishing.c"
+#line 1205 "YouTubePublishing.c"
}
@@ -1239,7 +1241,7 @@ static void publishing_you_tube_you_tube_publisher_real_start (PublishingRESTSup
if (_tmp0_) {
#line 144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1221 "YouTubePublishing.c"
+#line 1223 "YouTubePublishing.c"
}
#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->priv->running = TRUE;
@@ -1249,14 +1251,14 @@ static void publishing_you_tube_you_tube_publisher_real_start (PublishingRESTSup
if (_tmp1_ == NULL) {
#line 149 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_do_show_service_welcome_pane (self);
-#line 1231 "YouTubePublishing.c"
+#line 1233 "YouTubePublishing.c"
} else {
const gchar* _tmp2_ = NULL;
#line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp2_ = self->priv->refresh_token;
#line 151 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_rest_support_google_publisher_start_oauth_flow (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher), _tmp2_);
-#line 1238 "YouTubePublishing.c"
+#line 1240 "YouTubePublishing.c"
}
}
@@ -1279,7 +1281,7 @@ static void publishing_you_tube_you_tube_publisher_real_stop (PublishingRESTSupp
publishing_rest_support_session_stop_transactions (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession));
#line 159 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_publishing_rest_support_session_unref0 (_tmp1_);
-#line 1261 "YouTubePublishing.c"
+#line 1263 "YouTubePublishing.c"
}
@@ -1306,7 +1308,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_tmp2_ = _tmp1_->name;
#line 167 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (g_strcmp0 (_tmp2_, "feed") == 0) {
-#line 1288 "YouTubePublishing.c"
+#line 1290 "YouTubePublishing.c"
xmlNode* _tmp3_ = NULL;
xmlNode* _tmp4_ = NULL;
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -1315,7 +1317,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_tmp4_ = _tmp3_->children;
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
doc_node_iter = _tmp4_;
-#line 1297 "YouTubePublishing.c"
+#line 1299 "YouTubePublishing.c"
} else {
xmlNode* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
@@ -1325,13 +1327,13 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_tmp6_ = _tmp5_->name;
#line 169 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (g_strcmp0 (_tmp6_, "entry") == 0) {
-#line 1307 "YouTubePublishing.c"
+#line 1309 "YouTubePublishing.c"
xmlNode* _tmp7_ = NULL;
#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp7_ = document_root;
#line 170 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
doc_node_iter = _tmp7_;
-#line 1313 "YouTubePublishing.c"
+#line 1315 "YouTubePublishing.c"
} else {
GError* _tmp8_ = NULL;
#line 172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -1346,7 +1348,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_g_free0 (_result_);
#line 172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return NULL;
-#line 1328 "YouTubePublishing.c"
+#line 1330 "YouTubePublishing.c"
} else {
#line 172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (_result_);
@@ -1356,7 +1358,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
g_clear_error (&_inner_error_);
#line 172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return NULL;
-#line 1338 "YouTubePublishing.c"
+#line 1340 "YouTubePublishing.c"
}
}
}
@@ -1366,7 +1368,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_tmp9_ = TRUE;
#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
while (TRUE) {
-#line 1348 "YouTubePublishing.c"
+#line 1350 "YouTubePublishing.c"
xmlNode* _tmp12_ = NULL;
xmlNode* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
@@ -1379,7 +1381,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
gchar* _tmp33_ = NULL;
#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (!_tmp9_) {
-#line 1361 "YouTubePublishing.c"
+#line 1363 "YouTubePublishing.c"
xmlNode* _tmp10_ = NULL;
xmlNode* _tmp11_ = NULL;
#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -1388,7 +1390,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_tmp11_ = _tmp10_->next;
#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
doc_node_iter = _tmp11_;
-#line 1370 "YouTubePublishing.c"
+#line 1372 "YouTubePublishing.c"
}
#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp9_ = FALSE;
@@ -1398,7 +1400,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
if (!(_tmp12_ != NULL)) {
#line 175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
break;
-#line 1380 "YouTubePublishing.c"
+#line 1382 "YouTubePublishing.c"
}
#line 176 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp13_ = doc_node_iter;
@@ -1408,7 +1410,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
if (g_strcmp0 (_tmp14_, "entry") != 0) {
#line 177 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
continue;
-#line 1390 "YouTubePublishing.c"
+#line 1392 "YouTubePublishing.c"
}
#line 179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
name_val = NULL;
@@ -1420,20 +1422,20 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_tmp16_ = _tmp15_->children;
#line 181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
channel_node_iter = _tmp16_;
-#line 1402 "YouTubePublishing.c"
+#line 1404 "YouTubePublishing.c"
{
gboolean _tmp17_ = FALSE;
#line 182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp17_ = TRUE;
#line 182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
while (TRUE) {
-#line 1409 "YouTubePublishing.c"
+#line 1411 "YouTubePublishing.c"
xmlNode* _tmp20_ = NULL;
xmlNode* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
#line 182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (!_tmp17_) {
-#line 1415 "YouTubePublishing.c"
+#line 1417 "YouTubePublishing.c"
xmlNode* _tmp18_ = NULL;
xmlNode* _tmp19_ = NULL;
#line 182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -1442,7 +1444,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_tmp19_ = _tmp18_->next;
#line 182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
channel_node_iter = _tmp19_;
-#line 1424 "YouTubePublishing.c"
+#line 1426 "YouTubePublishing.c"
}
#line 182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp17_ = FALSE;
@@ -1452,7 +1454,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
if (!(_tmp20_ != NULL)) {
#line 182 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
break;
-#line 1434 "YouTubePublishing.c"
+#line 1436 "YouTubePublishing.c"
}
#line 183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp21_ = channel_node_iter;
@@ -1460,7 +1462,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_tmp22_ = _tmp21_->name;
#line 183 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (g_strcmp0 (_tmp22_, "title") == 0) {
-#line 1442 "YouTubePublishing.c"
+#line 1444 "YouTubePublishing.c"
xmlNode* _tmp23_ = NULL;
gchar* _tmp24_ = NULL;
#line 184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -1471,7 +1473,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_g_free0 (name_val);
#line 184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
name_val = _tmp24_;
-#line 1453 "YouTubePublishing.c"
+#line 1455 "YouTubePublishing.c"
} else {
xmlNode* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
@@ -1481,7 +1483,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_tmp26_ = _tmp25_->name;
#line 185 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (g_strcmp0 (_tmp26_, "id") == 0) {
-#line 1463 "YouTubePublishing.c"
+#line 1465 "YouTubePublishing.c"
xmlNode* _tmp27_ = NULL;
xmlNs* _tmp28_ = NULL;
const gchar* _tmp29_ = NULL;
@@ -1497,7 +1499,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
if (_tmp29_ != NULL) {
#line 190 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
continue;
-#line 1479 "YouTubePublishing.c"
+#line 1481 "YouTubePublishing.c"
}
#line 191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp30_ = channel_node_iter;
@@ -1507,7 +1509,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_g_free0 (url_val);
#line 191 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
url_val = _tmp31_;
-#line 1489 "YouTubePublishing.c"
+#line 1491 "YouTubePublishing.c"
}
}
}
@@ -1526,7 +1528,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
_g_free0 (name_val);
#line 196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
break;
-#line 1508 "YouTubePublishing.c"
+#line 1510 "YouTubePublishing.c"
}
}
#line 199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -1538,7 +1540,7 @@ static gchar* publishing_you_tube_you_tube_publisher_extract_channel_name_helper
result = _result_;
#line 201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 1519 "YouTubePublishing.c"
+#line 1521 "YouTubePublishing.c"
}
@@ -1556,13 +1558,13 @@ static void publishing_you_tube_you_tube_publisher_on_service_welcome_login (Pub
if (!_tmp0_) {
#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1536 "YouTubePublishing.c"
+#line 1538 "YouTubePublishing.c"
}
#line 210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp1_ = self->priv->refresh_token;
#line 210 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_rest_support_google_publisher_start_oauth_flow (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher), _tmp1_);
-#line 1542 "YouTubePublishing.c"
+#line 1544 "YouTubePublishing.c"
}
@@ -1616,21 +1618,21 @@ static void publishing_you_tube_you_tube_publisher_real_on_login_flow_complete (
_publishing_rest_support_session_unref0 (_tmp7_);
#line 220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_do_fetch_account_information (self);
-#line 1596 "YouTubePublishing.c"
+#line 1598 "YouTubePublishing.c"
}
static void _publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self) {
#line 224 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_complete ((PublishingYouTubeYouTubePublisher*) self, _sender);
-#line 1603 "YouTubePublishing.c"
+#line 1605 "YouTubePublishing.c"
}
static void _publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self) {
#line 225 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_error ((PublishingYouTubeYouTubePublisher*) self, _sender, err);
-#line 1610 "YouTubePublishing.c"
+#line 1612 "YouTubePublishing.c"
}
@@ -1666,13 +1668,13 @@ static void publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_comp
if (!_tmp4_) {
#line 230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1645 "YouTubePublishing.c"
+#line 1647 "YouTubePublishing.c"
}
#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp5_ = txn;
#line 232 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_do_parse_and_display_account_information (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_YOU_TUBE_YOU_TUBE_PUBLISHER_TYPE_CHANNEL_DIRECTORY_TRANSACTION, PublishingYouTubeYouTubePublisherChannelDirectoryTransaction));
-#line 1651 "YouTubePublishing.c"
+#line 1653 "YouTubePublishing.c"
}
@@ -1720,7 +1722,7 @@ static void publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_erro
if (!_tmp7_) {
#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1698 "YouTubePublishing.c"
+#line 1700 "YouTubePublishing.c"
}
#line 246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp8_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
@@ -1728,7 +1730,7 @@ static void publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_erro
_tmp9_ = err;
#line 246 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
spit_publishing_plugin_host_post_error (_tmp8_, _tmp9_);
-#line 1706 "YouTubePublishing.c"
+#line 1708 "YouTubePublishing.c"
}
@@ -1745,11 +1747,11 @@ static void publishing_you_tube_you_tube_publisher_on_publishing_options_logout
if (!_tmp0_) {
#line 253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1722 "YouTubePublishing.c"
+#line 1724 "YouTubePublishing.c"
}
#line 255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_rest_support_google_publisher_do_logout (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
-#line 1726 "YouTubePublishing.c"
+#line 1728 "YouTubePublishing.c"
}
@@ -1766,11 +1768,11 @@ static void publishing_you_tube_you_tube_publisher_on_publishing_options_publish
if (!_tmp0_) {
#line 262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1742 "YouTubePublishing.c"
+#line 1744 "YouTubePublishing.c"
}
#line 264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_do_upload (self);
-#line 1746 "YouTubePublishing.c"
+#line 1748 "YouTubePublishing.c"
}
@@ -1802,7 +1804,7 @@ static void publishing_you_tube_you_tube_publisher_on_upload_status_updated (Pub
if (!_tmp2_) {
#line 273 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1777 "YouTubePublishing.c"
+#line 1779 "YouTubePublishing.c"
}
#line 275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp3_ = self->priv->progress_reporter;
@@ -1814,21 +1816,21 @@ static void publishing_you_tube_you_tube_publisher_on_upload_status_updated (Pub
_tmp5_ = completed_fraction;
#line 275 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp3_ (_tmp4_, _tmp5_, _tmp3__target);
-#line 1789 "YouTubePublishing.c"
+#line 1791 "YouTubePublishing.c"
}
static void _publishing_you_tube_you_tube_publisher_on_upload_complete_publishing_rest_support_batch_uploader_upload_complete (PublishingRESTSupportBatchUploader* _sender, gint num_photos_published, gpointer self) {
#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_on_upload_complete ((PublishingYouTubeYouTubePublisher*) self, _sender, num_photos_published);
-#line 1796 "YouTubePublishing.c"
+#line 1798 "YouTubePublishing.c"
}
static void _publishing_you_tube_you_tube_publisher_on_upload_error_publishing_rest_support_batch_uploader_upload_error (PublishingRESTSupportBatchUploader* _sender, GError* err, gpointer self) {
#line 281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_on_upload_error ((PublishingYouTubeYouTubePublisher*) self, _sender, err);
-#line 1803 "YouTubePublishing.c"
+#line 1805 "YouTubePublishing.c"
}
@@ -1866,11 +1868,11 @@ static void publishing_you_tube_you_tube_publisher_on_upload_complete (Publishin
if (!_tmp5_) {
#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1840 "YouTubePublishing.c"
+#line 1842 "YouTubePublishing.c"
}
#line 288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_do_show_success_pane (self);
-#line 1844 "YouTubePublishing.c"
+#line 1846 "YouTubePublishing.c"
}
@@ -1906,7 +1908,7 @@ static void publishing_you_tube_you_tube_publisher_on_upload_error (PublishingYo
if (!_tmp4_) {
#line 297 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1880 "YouTubePublishing.c"
+#line 1882 "YouTubePublishing.c"
}
#line 299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp5_ = err;
@@ -1921,14 +1923,14 @@ static void publishing_you_tube_you_tube_publisher_on_upload_error (PublishingYo
_tmp8_ = err;
#line 301 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_);
-#line 1894 "YouTubePublishing.c"
+#line 1896 "YouTubePublishing.c"
}
static void _publishing_you_tube_you_tube_publisher_on_service_welcome_login_spit_publishing_login_callback (gpointer self) {
#line 307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_on_service_welcome_login ((PublishingYouTubeYouTubePublisher*) self);
-#line 1901 "YouTubePublishing.c"
+#line 1903 "YouTubePublishing.c"
}
@@ -1942,7 +1944,7 @@ static void publishing_you_tube_you_tube_publisher_do_show_service_welcome_pane
_tmp0_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
#line 307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
spit_publishing_plugin_host_install_welcome_pane (_tmp0_, PUBLISHING_YOU_TUBE_SERVICE_WELCOME_MESSAGE, _publishing_you_tube_you_tube_publisher_on_service_welcome_login_spit_publishing_login_callback, self);
-#line 1915 "YouTubePublishing.c"
+#line 1917 "YouTubePublishing.c"
}
@@ -1983,7 +1985,7 @@ static void publishing_you_tube_you_tube_publisher_do_fetch_account_information
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (directory_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "network-error", (GCallback) _publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_error_publishing_rest_support_transaction_network_error, self, 0);
#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (directory_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "completed", (GCallback) _publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_complete_publishing_rest_support_transaction_completed, self, 0);
-#line 1956 "YouTubePublishing.c"
+#line 1958 "YouTubePublishing.c"
{
#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_rest_support_transaction_execute (G_TYPE_CHECK_INSTANCE_CAST (directory_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
@@ -1991,7 +1993,7 @@ static void publishing_you_tube_you_tube_publisher_do_fetch_account_information
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 1964 "YouTubePublishing.c"
+#line 1966 "YouTubePublishing.c"
goto __catch27_spit_publishing_publishing_error;
}
#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -2002,7 +2004,7 @@ static void publishing_you_tube_you_tube_publisher_do_fetch_account_information
g_clear_error (&_inner_error_);
#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 1975 "YouTubePublishing.c"
+#line 1977 "YouTubePublishing.c"
}
}
goto __finally27;
@@ -2020,7 +2022,7 @@ static void publishing_you_tube_you_tube_publisher_do_fetch_account_information
publishing_you_tube_you_tube_publisher_on_initial_channel_fetch_error (self, G_TYPE_CHECK_INSTANCE_CAST (directory_trans, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), _tmp6_);
#line 321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_error_free0 (err);
-#line 1993 "YouTubePublishing.c"
+#line 1995 "YouTubePublishing.c"
}
__finally27:
#line 321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -2033,11 +2035,11 @@ static void publishing_you_tube_you_tube_publisher_do_fetch_account_information
g_clear_error (&_inner_error_);
#line 321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2006 "YouTubePublishing.c"
+#line 2008 "YouTubePublishing.c"
}
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_publishing_rest_support_transaction_unref0 (directory_trans);
-#line 2010 "YouTubePublishing.c"
+#line 2012 "YouTubePublishing.c"
}
@@ -2046,7 +2048,7 @@ static gchar* _publishing_you_tube_you_tube_publisher_channel_directory_transact
result = publishing_you_tube_you_tube_publisher_channel_directory_transaction_validate_xml (doc);
#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 2019 "YouTubePublishing.c"
+#line 2021 "YouTubePublishing.c"
}
@@ -2060,7 +2062,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_debug ("YouTubePublishing.vala:329: ACTION: extracting account and channel inf" \
"ormation from body of server response");
-#line 2032 "YouTubePublishing.c"
+#line 2034 "YouTubePublishing.c"
{
PublishingRESTSupportXmlDocument* _tmp0_ = NULL;
PublishingYouTubeYouTubePublisherChannelDirectoryTransaction* _tmp1_ = NULL;
@@ -2087,7 +2089,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 2059 "YouTubePublishing.c"
+#line 2061 "YouTubePublishing.c"
goto __catch28_spit_publishing_publishing_error;
}
#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -2098,7 +2100,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
g_clear_error (&_inner_error_);
#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2070 "YouTubePublishing.c"
+#line 2072 "YouTubePublishing.c"
}
#line 333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp6_ = _tmp0_;
@@ -2110,7 +2112,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
response_doc = _tmp6_;
#line 332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_publishing_rest_support_xml_document_unref0 (_tmp0_);
-#line 2082 "YouTubePublishing.c"
+#line 2084 "YouTubePublishing.c"
}
goto __finally28;
__catch28_spit_publishing_publishing_error:
@@ -2134,7 +2136,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
_publishing_rest_support_xml_document_unref0 (response_doc);
#line 337 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2106 "YouTubePublishing.c"
+#line 2108 "YouTubePublishing.c"
}
__finally28:
#line 332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -2147,7 +2149,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
g_clear_error (&_inner_error_);
#line 332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2119 "YouTubePublishing.c"
+#line 2121 "YouTubePublishing.c"
}
{
gchar* _tmp9_ = NULL;
@@ -2167,7 +2169,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 2139 "YouTubePublishing.c"
+#line 2141 "YouTubePublishing.c"
goto __catch29_spit_publishing_publishing_error;
}
#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -2178,7 +2180,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
g_clear_error (&_inner_error_);
#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2150 "YouTubePublishing.c"
+#line 2152 "YouTubePublishing.c"
}
#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp13_ = self->priv->publishing_parameters;
@@ -2186,7 +2188,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
publishing_you_tube_publishing_parameters_set_channel_name (_tmp13_, _tmp9_);
#line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (_tmp9_);
-#line 2158 "YouTubePublishing.c"
+#line 2160 "YouTubePublishing.c"
}
goto __finally29;
__catch29_spit_publishing_publishing_error:
@@ -2210,7 +2212,7 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
_publishing_rest_support_xml_document_unref0 (response_doc);
#line 345 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2182 "YouTubePublishing.c"
+#line 2184 "YouTubePublishing.c"
}
__finally29:
#line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -2223,27 +2225,27 @@ static void publishing_you_tube_you_tube_publisher_do_parse_and_display_account_
g_clear_error (&_inner_error_);
#line 340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2195 "YouTubePublishing.c"
+#line 2197 "YouTubePublishing.c"
}
#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_do_show_publishing_options_pane (self);
#line 328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_publishing_rest_support_xml_document_unref0 (response_doc);
-#line 2201 "YouTubePublishing.c"
+#line 2203 "YouTubePublishing.c"
}
static void _publishing_you_tube_you_tube_publisher_on_publishing_options_publish_publishing_you_tube_publishing_options_pane_publish (PublishingYouTubePublishingOptionsPane* _sender, gpointer self) {
#line 369 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_on_publishing_options_publish ((PublishingYouTubeYouTubePublisher*) self);
-#line 2208 "YouTubePublishing.c"
+#line 2210 "YouTubePublishing.c"
}
static void _publishing_you_tube_you_tube_publisher_on_publishing_options_logout_publishing_you_tube_publishing_options_pane_logout (PublishingYouTubePublishingOptionsPane* _sender, gpointer self) {
#line 370 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_on_publishing_options_logout ((PublishingYouTubeYouTubePublisher*) self);
-#line 2215 "YouTubePublishing.c"
+#line 2217 "YouTubePublishing.c"
}
@@ -2269,7 +2271,7 @@ static void publishing_you_tube_you_tube_publisher_do_show_publishing_options_pa
_tmp0_ = gtk_builder_new ();
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
builder = _tmp0_;
-#line 2241 "YouTubePublishing.c"
+#line 2243 "YouTubePublishing.c"
{
GtkBuilder* _tmp1_ = NULL;
#line 357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -2278,7 +2280,7 @@ static void publishing_you_tube_you_tube_publisher_do_show_publishing_options_pa
gtk_builder_add_from_resource (_tmp1_, PLUGIN_RESOURCE_PATH "/youtube_publishing_options_pane.ui", &_inner_error_);
#line 357 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2250 "YouTubePublishing.c"
+#line 2252 "YouTubePublishing.c"
goto __catch30_g_error;
}
}
@@ -2321,7 +2323,7 @@ static void publishing_you_tube_you_tube_publisher_do_show_publishing_options_pa
_g_object_unref0 (builder);
#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2292 "YouTubePublishing.c"
+#line 2294 "YouTubePublishing.c"
}
__finally30:
#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -2334,7 +2336,7 @@ static void publishing_you_tube_you_tube_publisher_do_show_publishing_options_pa
g_clear_error (&_inner_error_);
#line 356 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2305 "YouTubePublishing.c"
+#line 2307 "YouTubePublishing.c"
}
#line 367 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp8_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
@@ -2368,14 +2370,14 @@ static void publishing_you_tube_you_tube_publisher_do_show_publishing_options_pa
_g_object_unref0 (opts_pane);
#line 351 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_object_unref0 (builder);
-#line 2339 "YouTubePublishing.c"
+#line 2341 "YouTubePublishing.c"
}
static void _publishing_you_tube_you_tube_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) {
#line 398 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_on_upload_status_updated ((PublishingYouTubeYouTubePublisher*) self, file_number, fraction_complete);
-#line 2346 "YouTubePublishing.c"
+#line 2348 "YouTubePublishing.c"
}
@@ -2441,7 +2443,7 @@ static void publishing_you_tube_you_tube_publisher_do_upload (PublishingYouTubeY
if (!_tmp6_) {
#line 390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 2411 "YouTubePublishing.c"
+#line 2413 "YouTubePublishing.c"
}
#line 392 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp7_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
@@ -2487,7 +2489,7 @@ static void publishing_you_tube_you_tube_publisher_do_upload (PublishingYouTubeY
_publishing_rest_support_batch_uploader_unref0 (uploader);
#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 2457 "YouTubePublishing.c"
+#line 2459 "YouTubePublishing.c"
}
@@ -2506,7 +2508,7 @@ static void publishing_you_tube_you_tube_publisher_do_show_success_pane (Publish
_tmp1_ = publishing_rest_support_google_publisher_get_host (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_PUBLISHER, PublishingRESTSupportGooglePublisher));
#line 405 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
spit_publishing_plugin_host_install_success_pane (_tmp1_);
-#line 2476 "YouTubePublishing.c"
+#line 2478 "YouTubePublishing.c"
}
@@ -2537,7 +2539,7 @@ static void publishing_you_tube_you_tube_publisher_real_do_logout (PublishingRES
spit_host_interface_unset_config_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "refresh_token");
#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_do_show_service_welcome_pane (self);
-#line 2507 "YouTubePublishing.c"
+#line 2509 "YouTubePublishing.c"
}
@@ -2552,14 +2554,14 @@ static PublishingYouTubeYouTubePublisherChannelDirectoryTransaction* publishing_
self = (PublishingYouTubeYouTubePublisherChannelDirectoryTransaction*) publishing_rest_support_google_publisher_authenticated_transaction_construct (object_type, _tmp0_, PUBLISHING_YOU_TUBE_YOU_TUBE_PUBLISHER_CHANNEL_DIRECTORY_TRANSACTION_ENDPOINT_URL, PUBLISHING_REST_SUPPORT_HTTP_METHOD_GET);
#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self;
-#line 2522 "YouTubePublishing.c"
+#line 2524 "YouTubePublishing.c"
}
static PublishingYouTubeYouTubePublisherChannelDirectoryTransaction* publishing_you_tube_you_tube_publisher_channel_directory_transaction_new (PublishingRESTSupportGoogleSession* session) {
#line 109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return publishing_you_tube_you_tube_publisher_channel_directory_transaction_construct (PUBLISHING_YOU_TUBE_YOU_TUBE_PUBLISHER_TYPE_CHANNEL_DIRECTORY_TRANSACTION, session);
-#line 2529 "YouTubePublishing.c"
+#line 2531 "YouTubePublishing.c"
}
@@ -2587,7 +2589,7 @@ static gchar* publishing_you_tube_you_tube_publisher_channel_directory_transacti
if (g_strcmp0 (_tmp4_, "feed") == 0) {
#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp2_ = TRUE;
-#line 2557 "YouTubePublishing.c"
+#line 2559 "YouTubePublishing.c"
} else {
xmlNode* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
@@ -2597,7 +2599,7 @@ static gchar* publishing_you_tube_you_tube_publisher_channel_directory_transacti
_tmp6_ = _tmp5_->name;
#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp2_ = g_strcmp0 (_tmp6_, "entry") == 0;
-#line 2567 "YouTubePublishing.c"
+#line 2569 "YouTubePublishing.c"
}
#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (_tmp2_) {
@@ -2605,7 +2607,7 @@ static gchar* publishing_you_tube_you_tube_publisher_channel_directory_transacti
result = NULL;
#line 116 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 2575 "YouTubePublishing.c"
+#line 2577 "YouTubePublishing.c"
} else {
gchar* _tmp7_ = NULL;
#line 118 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -2614,7 +2616,7 @@ static gchar* publishing_you_tube_you_tube_publisher_channel_directory_transacti
result = _tmp7_;
#line 118 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 2584 "YouTubePublishing.c"
+#line 2586 "YouTubePublishing.c"
}
}
@@ -2622,7 +2624,7 @@ static gchar* publishing_you_tube_you_tube_publisher_channel_directory_transacti
static void publishing_you_tube_you_tube_publisher_channel_directory_transaction_class_init (PublishingYouTubeYouTubePublisherChannelDirectoryTransactionClass * klass) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_you_tube_publisher_channel_directory_transaction_parent_class = g_type_class_peek_parent (klass);
-#line 2592 "YouTubePublishing.c"
+#line 2594 "YouTubePublishing.c"
}
@@ -2659,14 +2661,14 @@ static void publishing_you_tube_you_tube_publisher_class_init (PublishingYouTube
((PublishingRESTSupportGooglePublisherClass *) klass)->do_logout = publishing_you_tube_you_tube_publisher_real_do_logout;
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_you_tube_you_tube_publisher_finalize;
-#line 2629 "YouTubePublishing.c"
+#line 2631 "YouTubePublishing.c"
}
static void publishing_you_tube_you_tube_publisher_instance_init (PublishingYouTubeYouTubePublisher * self) {
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->priv = PUBLISHING_YOU_TUBE_YOU_TUBE_PUBLISHER_GET_PRIVATE (self);
-#line 2636 "YouTubePublishing.c"
+#line 2638 "YouTubePublishing.c"
}
@@ -2688,7 +2690,7 @@ static void publishing_you_tube_you_tube_publisher_finalize (GObject* obj) {
self->priv->progress_reporter_target_destroy_notify = NULL;
#line 104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
G_OBJECT_CLASS (publishing_you_tube_you_tube_publisher_parent_class)->finalize (obj);
-#line 2658 "YouTubePublishing.c"
+#line 2660 "YouTubePublishing.c"
}
@@ -2707,28 +2709,28 @@ GType publishing_you_tube_you_tube_publisher_get_type (void) {
static gpointer _publishing_you_tube_publishing_parameters_ref0 (gpointer self) {
#line 448 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self ? publishing_you_tube_publishing_parameters_ref (self) : NULL;
-#line 2677 "YouTubePublishing.c"
+#line 2679 "YouTubePublishing.c"
}
static gpointer _publishing_you_tube_publishing_options_pane_privacy_description_ref0 (gpointer self) {
#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self ? publishing_you_tube_publishing_options_pane_privacy_description_ref (self) : NULL;
-#line 2684 "YouTubePublishing.c"
+#line 2686 "YouTubePublishing.c"
}
static void _publishing_you_tube_publishing_options_pane_on_logout_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 474 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_options_pane_on_logout_clicked ((PublishingYouTubePublishingOptionsPane*) self);
-#line 2691 "YouTubePublishing.c"
+#line 2693 "YouTubePublishing.c"
}
static void _publishing_you_tube_publishing_options_pane_on_publish_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_options_pane_on_publish_clicked ((PublishingYouTubePublishingOptionsPane*) self);
-#line 2698 "YouTubePublishing.c"
+#line 2700 "YouTubePublishing.c"
}
@@ -2951,7 +2953,7 @@ PublishingYouTubePublishingOptionsPane* publishing_you_tube_publishing_options_p
_tmp46_ = self->priv->privacy_descriptions;
#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp46__length1 = self->priv->privacy_descriptions_length1;
-#line 2921 "YouTubePublishing.c"
+#line 2923 "YouTubePublishing.c"
{
PublishingYouTubePublishingOptionsPanePrivacyDescription** desc_collection = NULL;
gint desc_collection_length1 = 0;
@@ -2963,14 +2965,14 @@ PublishingYouTubePublishingOptionsPane* publishing_you_tube_publishing_options_p
desc_collection_length1 = _tmp46__length1;
#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
for (desc_it = 0; desc_it < _tmp46__length1; desc_it = desc_it + 1) {
-#line 2933 "YouTubePublishing.c"
+#line 2935 "YouTubePublishing.c"
PublishingYouTubePublishingOptionsPanePrivacyDescription* _tmp47_ = NULL;
PublishingYouTubePublishingOptionsPanePrivacyDescription* desc = NULL;
#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp47_ = _publishing_you_tube_publishing_options_pane_privacy_description_ref0 (desc_collection[desc_it]);
#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
desc = _tmp47_;
-#line 2940 "YouTubePublishing.c"
+#line 2942 "YouTubePublishing.c"
{
GtkComboBoxText* _tmp48_ = NULL;
PublishingYouTubePublishingOptionsPanePrivacyDescription* _tmp49_ = NULL;
@@ -2985,7 +2987,7 @@ PublishingYouTubePublishingOptionsPane* publishing_you_tube_publishing_options_p
gtk_combo_box_text_append_text (_tmp48_, _tmp50_);
#line 467 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_publishing_you_tube_publishing_options_pane_privacy_description_unref0 (desc);
-#line 2955 "YouTubePublishing.c"
+#line 2957 "YouTubePublishing.c"
}
}
}
@@ -3009,14 +3011,14 @@ PublishingYouTubePublishingOptionsPane* publishing_you_tube_publishing_options_p
g_signal_connect_object (_tmp55_, "clicked", (GCallback) _publishing_you_tube_publishing_options_pane_on_publish_clicked_gtk_button_clicked, self, 0);
#line 445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self;
-#line 2979 "YouTubePublishing.c"
+#line 2981 "YouTubePublishing.c"
}
PublishingYouTubePublishingOptionsPane* publishing_you_tube_publishing_options_pane_new (SpitPublishingPluginHost* host, GtkBuilder* builder, PublishingYouTubePublishingParameters* publishing_parameters) {
#line 445 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return publishing_you_tube_publishing_options_pane_construct (PUBLISHING_YOU_TUBE_TYPE_PUBLISHING_OPTIONS_PANE, host, builder, publishing_parameters);
-#line 2986 "YouTubePublishing.c"
+#line 2988 "YouTubePublishing.c"
}
@@ -3048,7 +3050,7 @@ static void publishing_you_tube_publishing_options_pane_on_publish_clicked (Publ
publishing_you_tube_publishing_parameters_set_privacy (_tmp0_, _tmp5_);
#line 482 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_signal_emit_by_name (self, "publish");
-#line 3018 "YouTubePublishing.c"
+#line 3020 "YouTubePublishing.c"
}
@@ -3057,7 +3059,7 @@ static void publishing_you_tube_publishing_options_pane_on_logout_clicked (Publi
g_return_if_fail (PUBLISHING_YOU_TUBE_IS_PUBLISHING_OPTIONS_PANE (self));
#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_signal_emit_by_name (self, "logout");
-#line 3027 "YouTubePublishing.c"
+#line 3029 "YouTubePublishing.c"
}
@@ -3069,7 +3071,7 @@ static void publishing_you_tube_publishing_options_pane_update_publish_button_se
_tmp0_ = self->priv->publish_button;
#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 3039 "YouTubePublishing.c"
+#line 3041 "YouTubePublishing.c"
}
@@ -3080,13 +3082,13 @@ static void _vala_array_add31 (PublishingYouTubePublishingOptionsPanePrivacyDesc
*size = (*size) ? (2 * (*size)) : 4;
#line 496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*array = g_renew (PublishingYouTubePublishingOptionsPanePrivacyDescription*, *array, (*size) + 1);
-#line 3050 "YouTubePublishing.c"
+#line 3052 "YouTubePublishing.c"
}
#line 496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
(*array)[(*length)++] = value;
#line 496 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
(*array)[*length] = NULL;
-#line 3056 "YouTubePublishing.c"
+#line 3058 "YouTubePublishing.c"
}
@@ -3097,13 +3099,13 @@ static void _vala_array_add32 (PublishingYouTubePublishingOptionsPanePrivacyDesc
*size = (*size) ? (2 * (*size)) : 4;
#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*array = g_renew (PublishingYouTubePublishingOptionsPanePrivacyDescription*, *array, (*size) + 1);
-#line 3067 "YouTubePublishing.c"
+#line 3069 "YouTubePublishing.c"
}
#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
(*array)[(*length)++] = value;
#line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
(*array)[*length] = NULL;
-#line 3073 "YouTubePublishing.c"
+#line 3075 "YouTubePublishing.c"
}
@@ -3114,13 +3116,13 @@ static void _vala_array_add33 (PublishingYouTubePublishingOptionsPanePrivacyDesc
*size = (*size) ? (2 * (*size)) : 4;
#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*array = g_renew (PublishingYouTubePublishingOptionsPanePrivacyDescription*, *array, (*size) + 1);
-#line 3084 "YouTubePublishing.c"
+#line 3086 "YouTubePublishing.c"
}
#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
(*array)[(*length)++] = value;
#line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
(*array)[*length] = NULL;
-#line 3090 "YouTubePublishing.c"
+#line 3092 "YouTubePublishing.c"
}
@@ -3192,13 +3194,13 @@ static PublishingYouTubePublishingOptionsPanePrivacyDescription** publishing_you
if (result_length1) {
#line 500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*result_length1 = _tmp10__length1;
-#line 3162 "YouTubePublishing.c"
+#line 3164 "YouTubePublishing.c"
}
#line 500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
result = _tmp10_;
#line 500 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 3168 "YouTubePublishing.c"
+#line 3170 "YouTubePublishing.c"
}
@@ -3222,7 +3224,7 @@ static GtkWidget* publishing_you_tube_publishing_options_pane_real_get_widget (S
result = _tmp2_;
#line 505 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 3192 "YouTubePublishing.c"
+#line 3194 "YouTubePublishing.c"
}
@@ -3235,7 +3237,7 @@ static SpitPublishingDialogPaneGeometryOptions publishing_you_tube_publishing_op
result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
#line 509 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 3205 "YouTubePublishing.c"
+#line 3207 "YouTubePublishing.c"
}
@@ -3245,7 +3247,7 @@ static void publishing_you_tube_publishing_options_pane_real_on_pane_installed (
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YOU_TUBE_TYPE_PUBLISHING_OPTIONS_PANE, PublishingYouTubePublishingOptionsPane);
#line 513 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_options_pane_update_publish_button_sensitivity (self);
-#line 3215 "YouTubePublishing.c"
+#line 3217 "YouTubePublishing.c"
}
@@ -3253,7 +3255,7 @@ static void publishing_you_tube_publishing_options_pane_real_on_pane_uninstalled
PublishingYouTubePublishingOptionsPane * self;
#line 516 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YOU_TUBE_TYPE_PUBLISHING_OPTIONS_PANE, PublishingYouTubePublishingOptionsPane);
-#line 3223 "YouTubePublishing.c"
+#line 3225 "YouTubePublishing.c"
}
@@ -3280,21 +3282,21 @@ static PublishingYouTubePublishingOptionsPanePrivacyDescription* publishing_you_
self->privacy_setting = _tmp2_;
#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self;
-#line 3250 "YouTubePublishing.c"
+#line 3252 "YouTubePublishing.c"
}
static PublishingYouTubePublishingOptionsPanePrivacyDescription* publishing_you_tube_publishing_options_pane_privacy_description_new (const gchar* description, PublishingYouTubePrivacySetting privacy_setting) {
#line 425 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return publishing_you_tube_publishing_options_pane_privacy_description_construct (PUBLISHING_YOU_TUBE_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION, description, privacy_setting);
-#line 3257 "YouTubePublishing.c"
+#line 3259 "YouTubePublishing.c"
}
static void publishing_you_tube_publishing_options_pane_value_privacy_description_init (GValue* value) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 3264 "YouTubePublishing.c"
+#line 3266 "YouTubePublishing.c"
}
@@ -3303,7 +3305,7 @@ static void publishing_you_tube_publishing_options_pane_value_privacy_descriptio
if (value->data[0].v_pointer) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_options_pane_privacy_description_unref (value->data[0].v_pointer);
-#line 3273 "YouTubePublishing.c"
+#line 3275 "YouTubePublishing.c"
}
}
@@ -3313,11 +3315,11 @@ static void publishing_you_tube_publishing_options_pane_value_privacy_descriptio
if (src_value->data[0].v_pointer) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
dest_value->data[0].v_pointer = publishing_you_tube_publishing_options_pane_privacy_description_ref (src_value->data[0].v_pointer);
-#line 3283 "YouTubePublishing.c"
+#line 3285 "YouTubePublishing.c"
} else {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 3287 "YouTubePublishing.c"
+#line 3289 "YouTubePublishing.c"
}
}
@@ -3325,37 +3327,37 @@ static void publishing_you_tube_publishing_options_pane_value_privacy_descriptio
static gpointer publishing_you_tube_publishing_options_pane_value_privacy_description_peek_pointer (const GValue* value) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return value->data[0].v_pointer;
-#line 3295 "YouTubePublishing.c"
+#line 3297 "YouTubePublishing.c"
}
static gchar* publishing_you_tube_publishing_options_pane_value_privacy_description_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (collect_values[0].v_pointer) {
-#line 3302 "YouTubePublishing.c"
+#line 3304 "YouTubePublishing.c"
PublishingYouTubePublishingOptionsPanePrivacyDescription* object;
object = collect_values[0].v_pointer;
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 3309 "YouTubePublishing.c"
+#line 3311 "YouTubePublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.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 3313 "YouTubePublishing.c"
+#line 3315 "YouTubePublishing.c"
}
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = publishing_you_tube_publishing_options_pane_privacy_description_ref (object);
-#line 3317 "YouTubePublishing.c"
+#line 3319 "YouTubePublishing.c"
} else {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 3321 "YouTubePublishing.c"
+#line 3323 "YouTubePublishing.c"
}
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return NULL;
-#line 3325 "YouTubePublishing.c"
+#line 3327 "YouTubePublishing.c"
}
@@ -3366,25 +3368,25 @@ static gchar* publishing_you_tube_publishing_options_pane_value_privacy_descript
if (!object_p) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 3336 "YouTubePublishing.c"
+#line 3338 "YouTubePublishing.c"
}
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (!value->data[0].v_pointer) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*object_p = NULL;
-#line 3342 "YouTubePublishing.c"
+#line 3344 "YouTubePublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 3346 "YouTubePublishing.c"
+#line 3348 "YouTubePublishing.c"
} else {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
*object_p = publishing_you_tube_publishing_options_pane_privacy_description_ref (value->data[0].v_pointer);
-#line 3350 "YouTubePublishing.c"
+#line 3352 "YouTubePublishing.c"
}
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return NULL;
-#line 3354 "YouTubePublishing.c"
+#line 3356 "YouTubePublishing.c"
}
@@ -3398,7 +3400,7 @@ static GParamSpec* publishing_you_tube_publishing_options_pane_param_spec_privac
G_PARAM_SPEC (spec)->value_type = object_type;
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return G_PARAM_SPEC (spec);
-#line 3368 "YouTubePublishing.c"
+#line 3370 "YouTubePublishing.c"
}
@@ -3407,7 +3409,7 @@ static gpointer publishing_you_tube_publishing_options_pane_value_get_privacy_de
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_YOU_TUBE_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION), NULL);
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return value->data[0].v_pointer;
-#line 3377 "YouTubePublishing.c"
+#line 3379 "YouTubePublishing.c"
}
@@ -3427,17 +3429,17 @@ static void publishing_you_tube_publishing_options_pane_value_set_privacy_descri
value->data[0].v_pointer = v_object;
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_options_pane_privacy_description_ref (value->data[0].v_pointer);
-#line 3397 "YouTubePublishing.c"
+#line 3399 "YouTubePublishing.c"
} else {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 3401 "YouTubePublishing.c"
+#line 3403 "YouTubePublishing.c"
}
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (old) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_options_pane_privacy_description_unref (old);
-#line 3407 "YouTubePublishing.c"
+#line 3409 "YouTubePublishing.c"
}
}
@@ -3456,17 +3458,17 @@ static void publishing_you_tube_publishing_options_pane_value_take_privacy_descr
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = v_object;
-#line 3426 "YouTubePublishing.c"
+#line 3428 "YouTubePublishing.c"
} else {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
value->data[0].v_pointer = NULL;
-#line 3430 "YouTubePublishing.c"
+#line 3432 "YouTubePublishing.c"
}
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (old) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_publishing_options_pane_privacy_description_unref (old);
-#line 3436 "YouTubePublishing.c"
+#line 3438 "YouTubePublishing.c"
}
}
@@ -3476,14 +3478,14 @@ static void publishing_you_tube_publishing_options_pane_privacy_description_clas
publishing_you_tube_publishing_options_pane_privacy_description_parent_class = g_type_class_peek_parent (klass);
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
((PublishingYouTubePublishingOptionsPanePrivacyDescriptionClass *) klass)->finalize = publishing_you_tube_publishing_options_pane_privacy_description_finalize;
-#line 3446 "YouTubePublishing.c"
+#line 3448 "YouTubePublishing.c"
}
static void publishing_you_tube_publishing_options_pane_privacy_description_instance_init (PublishingYouTubePublishingOptionsPanePrivacyDescription * self) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->ref_count = 1;
-#line 3453 "YouTubePublishing.c"
+#line 3455 "YouTubePublishing.c"
}
@@ -3495,7 +3497,7 @@ static void publishing_you_tube_publishing_options_pane_privacy_description_fina
g_signal_handlers_destroy (self);
#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (self->description);
-#line 3465 "YouTubePublishing.c"
+#line 3467 "YouTubePublishing.c"
}
@@ -3520,7 +3522,7 @@ static gpointer publishing_you_tube_publishing_options_pane_privacy_description_
g_atomic_int_inc (&self->ref_count);
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return instance;
-#line 3490 "YouTubePublishing.c"
+#line 3492 "YouTubePublishing.c"
}
@@ -3533,7 +3535,7 @@ static void publishing_you_tube_publishing_options_pane_privacy_description_unre
PUBLISHING_YOU_TUBE_PUBLISHING_OPTIONS_PANE_PRIVACY_DESCRIPTION_GET_CLASS (self)->finalize (self);
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 3503 "YouTubePublishing.c"
+#line 3505 "YouTubePublishing.c"
}
}
@@ -3549,7 +3551,7 @@ static void publishing_you_tube_publishing_options_pane_class_init (PublishingYo
g_signal_new ("publish", PUBLISHING_YOU_TUBE_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_signal_new ("logout", PUBLISHING_YOU_TUBE_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 3519 "YouTubePublishing.c"
+#line 3521 "YouTubePublishing.c"
}
@@ -3564,7 +3566,7 @@ static void publishing_you_tube_publishing_options_pane_spit_publishing_dialog_p
iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_you_tube_publishing_options_pane_real_on_pane_installed;
#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_you_tube_publishing_options_pane_real_on_pane_uninstalled;
-#line 3534 "YouTubePublishing.c"
+#line 3536 "YouTubePublishing.c"
}
@@ -3587,7 +3589,7 @@ static void publishing_you_tube_publishing_options_pane_instance_init (Publishin
self->priv->builder = NULL;
#line 441 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->priv->privacy_label = NULL;
-#line 3557 "YouTubePublishing.c"
+#line 3559 "YouTubePublishing.c"
}
@@ -3617,7 +3619,7 @@ static void publishing_you_tube_publishing_options_pane_finalize (GObject* obj)
_publishing_you_tube_publishing_parameters_unref0 (self->priv->publishing_parameters);
#line 420 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
G_OBJECT_CLASS (publishing_you_tube_publishing_options_pane_parent_class)->finalize (obj);
-#line 3587 "YouTubePublishing.c"
+#line 3589 "YouTubePublishing.c"
}
@@ -3638,7 +3640,7 @@ GType publishing_you_tube_publishing_options_pane_get_type (void) {
static gpointer _publishing_rest_support_session_ref0 (gpointer self) {
#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self ? publishing_rest_support_session_ref (self) : NULL;
-#line 3608 "YouTubePublishing.c"
+#line 3610 "YouTubePublishing.c"
}
@@ -3695,14 +3697,14 @@ PublishingYouTubeUploadTransaction* publishing_you_tube_upload_transaction_const
self->priv->publishable = _tmp8_;
#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self;
-#line 3665 "YouTubePublishing.c"
+#line 3667 "YouTubePublishing.c"
}
PublishingYouTubeUploadTransaction* publishing_you_tube_upload_transaction_new (PublishingRESTSupportGoogleSession* session, PublishingYouTubePublishingParameters* parameters, SpitPublishingPublishable* publishable) {
#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return publishing_you_tube_upload_transaction_construct (PUBLISHING_YOU_TUBE_TYPE_UPLOAD_TRANSACTION, session, parameters, publishable);
-#line 3672 "YouTubePublishing.c"
+#line 3674 "YouTubePublishing.c"
}
@@ -3746,27 +3748,41 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
if (result_length1) {
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
-#line 3716 "YouTubePublishing.c"
+#line 3718 "YouTubePublishing.c"
}
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp4_;
#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 3722 "YouTubePublishing.c"
+#line 3724 "YouTubePublishing.c"
+}
+
+
+static guint8* _vala_array_dup11 (guint8* self, int length) {
+#line 568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ return g_memdup (self, length * sizeof (guint8));
+#line 3731 "YouTubePublishing.c"
}
static void _vala_SoupBuffer_free (SoupBuffer* self) {
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_boxed_free (soup_buffer_get_type (), self);
-#line 3729 "YouTubePublishing.c"
+#line 3738 "YouTubePublishing.c"
}
static void _vala_SoupMultipart_free (SoupMultipart* self) {
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_boxed_free (soup_multipart_get_type (), self);
-#line 3736 "YouTubePublishing.c"
+#line 3745 "YouTubePublishing.c"
+}
+
+
+static guint8* _vala_array_dup12 (guint8* self, int length) {
+#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ return g_memdup (self, length * sizeof (guint8));
+#line 3752 "YouTubePublishing.c"
}
@@ -3802,44 +3818,47 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
gint _tmp22__length1 = 0;
guint8* _tmp23_ = NULL;
gint _tmp23__length1 = 0;
- SoupBuffer* _tmp24_ = NULL;
- SoupMultipart* _tmp25_ = NULL;
- SoupBuffer* _tmp26_ = NULL;
+ guint8* _tmp24_ = NULL;
+ gint _tmp24__length1 = 0;
+ SoupBuffer* _tmp25_ = NULL;
+ SoupMultipart* _tmp26_ = NULL;
+ SoupBuffer* _tmp27_ = NULL;
gchar* video_data = NULL;
gsize data_length = 0UL;
SoupBuffer* bindable_data = NULL;
- const gchar* _tmp46_ = NULL;
- guint8* _tmp47_ = NULL;
- gint _tmp47__length1 = 0;
+ const gchar* _tmp47_ = NULL;
guint8* _tmp48_ = NULL;
gint _tmp48__length1 = 0;
- gsize _tmp49_ = 0UL;
- SoupBuffer* _tmp50_ = NULL;
- SoupMultipart* _tmp51_ = NULL;
- SpitPublishingPublishable* _tmp52_ = NULL;
- GFile* _tmp53_ = NULL;
+ guint8* _tmp49_ = NULL;
+ gint _tmp49__length1 = 0;
+ guint8* _tmp50_ = NULL;
+ gint _tmp50__length1 = 0;
+ SoupBuffer* _tmp51_ = NULL;
+ SoupMultipart* _tmp52_ = NULL;
+ SpitPublishingPublishable* _tmp53_ = NULL;
GFile* _tmp54_ = NULL;
- gchar* _tmp55_ = NULL;
+ GFile* _tmp55_ = NULL;
gchar* _tmp56_ = NULL;
- SoupMessage* outbound_message = NULL;
gchar* _tmp57_ = NULL;
+ SoupMessage* outbound_message = NULL;
gchar* _tmp58_ = NULL;
- SoupMultipart* _tmp59_ = NULL;
- SoupMessage* _tmp60_ = NULL;
+ gchar* _tmp59_ = NULL;
+ SoupMultipart* _tmp60_ = NULL;
SoupMessage* _tmp61_ = NULL;
- SoupMessageHeaders* _tmp62_ = NULL;
- gchar* _tmp63_ = NULL;
+ SoupMessage* _tmp62_ = NULL;
+ SoupMessageHeaders* _tmp63_ = NULL;
gchar* _tmp64_ = NULL;
- SoupMessageHeaders* _tmp65_ = NULL;
- SpitPublishingPublishable* _tmp66_ = NULL;
- gchar* _tmp67_ = NULL;
+ gchar* _tmp65_ = NULL;
+ SoupMessageHeaders* _tmp66_ = NULL;
+ SpitPublishingPublishable* _tmp67_ = NULL;
gchar* _tmp68_ = NULL;
- SoupMessageHeaders* _tmp69_ = NULL;
- PublishingRESTSupportGoogleSession* _tmp70_ = NULL;
- gchar* _tmp71_ = NULL;
+ gchar* _tmp69_ = NULL;
+ SoupMessageHeaders* _tmp70_ = NULL;
+ PublishingRESTSupportGoogleSession* _tmp71_ = NULL;
gchar* _tmp72_ = NULL;
gchar* _tmp73_ = NULL;
gchar* _tmp74_ = NULL;
+ gchar* _tmp75_ = NULL;
GError * _inner_error_ = NULL;
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YOU_TUBE_TYPE_UPLOAD_TRANSACTION, PublishingYouTubeUploadTransaction);
@@ -3855,11 +3874,11 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
if (_tmp3_ == PUBLISHING_YOU_TUBE_PRIVACY_SETTING_UNLISTED) {
#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp1_ = PUBLISHING_YOU_TUBE_UPLOAD_TRANSACTION_UNLISTED_XML;
-#line 3825 "YouTubePublishing.c"
+#line 3844 "YouTubePublishing.c"
} else {
#line 555 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp1_ = "";
-#line 3829 "YouTubePublishing.c"
+#line 3848 "YouTubePublishing.c"
}
#line 554 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp4_ = g_strdup (_tmp1_);
@@ -3873,11 +3892,11 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
if (_tmp7_ == PUBLISHING_YOU_TUBE_PRIVACY_SETTING_PRIVATE) {
#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp5_ = PUBLISHING_YOU_TUBE_UPLOAD_TRANSACTION_PRIVATE_XML;
-#line 3843 "YouTubePublishing.c"
+#line 3862 "YouTubePublishing.c"
} else {
#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp5_ = "";
-#line 3847 "YouTubePublishing.c"
+#line 3866 "YouTubePublishing.c"
}
#line 557 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp8_ = g_strdup (_tmp5_);
@@ -3893,7 +3912,7 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
_tmp11_ = title;
#line 562 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (g_strcmp0 (_tmp11_, "") == 0) {
-#line 3863 "YouTubePublishing.c"
+#line 3882 "YouTubePublishing.c"
SpitPublishingPublishable* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
#line 563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -3904,7 +3923,7 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
_g_free0 (title);
#line 563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
title = _tmp13_;
-#line 3874 "YouTubePublishing.c"
+#line 3893 "YouTubePublishing.c"
}
#line 566 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp14_ = title;
@@ -3933,51 +3952,55 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
#line 568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp23__length1 = _tmp22__length1;
#line 568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp24_ = soup_buffer_new (SOUP_MEMORY_COPY, _tmp23_, _tmp23__length1);
+ _tmp24_ = (_tmp23_ != NULL) ? _vala_array_dup11 (_tmp23_, _tmp23__length1) : ((gpointer) _tmp23_);
+#line 568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp24__length1 = _tmp23__length1;
#line 568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- metadata_buffer = _tmp24_;
+ _tmp25_ = soup_buffer_new_take (_tmp24_, _tmp24__length1);
+#line 568 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ metadata_buffer = _tmp25_;
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp25_ = message_parts;
+ _tmp26_ = message_parts;
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp26_ = metadata_buffer;
+ _tmp27_ = metadata_buffer;
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- soup_multipart_append_form_file (_tmp25_, "", "", "application/atom+xml", _tmp26_);
-#line 3912 "YouTubePublishing.c"
+ soup_multipart_append_form_file (_tmp26_, "", "", "application/atom+xml", _tmp27_);
+#line 3935 "YouTubePublishing.c"
{
- SpitPublishingPublishable* _tmp27_ = NULL;
- GFile* _tmp28_ = NULL;
+ SpitPublishingPublishable* _tmp28_ = NULL;
GFile* _tmp29_ = NULL;
- gchar* _tmp30_ = NULL;
+ GFile* _tmp30_ = NULL;
gchar* _tmp31_ = NULL;
gchar* _tmp32_ = NULL;
- gsize _tmp33_ = 0UL;
+ gchar* _tmp33_ = NULL;
+ gsize _tmp34_ = 0UL;
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp27_ = self->priv->publishable;
+ _tmp28_ = self->priv->publishable;
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp28_ = spit_publishing_publishable_get_serialized_file (_tmp27_);
+ _tmp29_ = spit_publishing_publishable_get_serialized_file (_tmp28_);
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp29_ = _tmp28_;
+ _tmp30_ = _tmp29_;
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp30_ = g_file_get_path (_tmp29_);
+ _tmp31_ = g_file_get_path (_tmp30_);
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp31_ = _tmp30_;
+ _tmp32_ = _tmp31_;
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- g_file_get_contents (_tmp31_, &_tmp32_, &_tmp33_, &_inner_error_);
+ g_file_get_contents (_tmp32_, &_tmp33_, &_tmp34_, &_inner_error_);
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (video_data);
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- video_data = _tmp32_;
+ video_data = _tmp33_;
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- data_length = _tmp33_;
+ data_length = _tmp34_;
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_free0 (_tmp31_);
+ _g_free0 (_tmp32_);
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_object_unref0 (_tmp29_);
+ _g_object_unref0 (_tmp30_);
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (_inner_error_->domain == G_FILE_ERROR) {
-#line 3947 "YouTubePublishing.c"
+#line 3970 "YouTubePublishing.c"
goto __catch31_g_file_error;
}
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -4000,7 +4023,7 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
g_clear_error (&_inner_error_);
#line 575 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 3970 "YouTubePublishing.c"
+#line 3993 "YouTubePublishing.c"
}
}
goto __finally31;
@@ -4008,61 +4031,61 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
{
GError* e = NULL;
gchar* msg = NULL;
- SpitPublishingPublishable* _tmp34_ = NULL;
- GFile* _tmp35_ = NULL;
+ SpitPublishingPublishable* _tmp35_ = NULL;
GFile* _tmp36_ = NULL;
- gchar* _tmp37_ = NULL;
+ GFile* _tmp37_ = NULL;
gchar* _tmp38_ = NULL;
- GError* _tmp39_ = NULL;
- const gchar* _tmp40_ = NULL;
- gchar* _tmp41_ = NULL;
+ gchar* _tmp39_ = NULL;
+ GError* _tmp40_ = NULL;
+ const gchar* _tmp41_ = NULL;
gchar* _tmp42_ = NULL;
- const gchar* _tmp43_ = NULL;
+ gchar* _tmp43_ = NULL;
const gchar* _tmp44_ = NULL;
- GError* _tmp45_ = NULL;
+ const gchar* _tmp45_ = NULL;
+ GError* _tmp46_ = NULL;
#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
e = _inner_error_;
#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_inner_error_ = NULL;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp34_ = self->priv->publishable;
+ _tmp35_ = self->priv->publishable;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp35_ = spit_publishing_publishable_get_serialized_file (_tmp34_);
+ _tmp36_ = spit_publishing_publishable_get_serialized_file (_tmp35_);
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp36_ = _tmp35_;
+ _tmp37_ = _tmp36_;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp37_ = g_file_get_path (_tmp36_);
+ _tmp38_ = g_file_get_path (_tmp37_);
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp38_ = _tmp37_;
+ _tmp39_ = _tmp38_;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp39_ = e;
+ _tmp40_ = e;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp40_ = _tmp39_->message;
+ _tmp41_ = _tmp40_->message;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp41_ = g_strdup_printf ("YouTube: couldn't read data from %s: %s", _tmp38_, _tmp40_);
+ _tmp42_ = g_strdup_printf ("YouTube: couldn't read data from %s: %s", _tmp39_, _tmp41_);
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp42_ = _tmp41_;
+ _tmp43_ = _tmp42_;
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_free0 (_tmp38_);
+ _g_free0 (_tmp39_);
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_object_unref0 (_tmp36_);
+ _g_object_unref0 (_tmp37_);
#line 578 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- msg = _tmp42_;
+ msg = _tmp43_;
#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp43_ = msg;
+ _tmp44_ = msg;
#line 580 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- g_warning ("YouTubePublishing.vala:580: %s", _tmp43_);
+ g_warning ("YouTubePublishing.vala:580: %s", _tmp44_);
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp44_ = msg;
+ _tmp45_ = msg;
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp45_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp44_);
+ _tmp46_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp45_);
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _inner_error_ = _tmp45_;
+ _inner_error_ = _tmp46_;
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (msg);
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_error_free0 (e);
-#line 4032 "YouTubePublishing.c"
+#line 4055 "YouTubePublishing.c"
goto __finally31;
}
__finally31:
@@ -4088,7 +4111,7 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
__vala_SoupMultipart_free0 (message_parts);
#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 4058 "YouTubePublishing.c"
+#line 4081 "YouTubePublishing.c"
} else {
#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (video_data);
@@ -4110,154 +4133,156 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
g_clear_error (&_inner_error_);
#line 574 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 4080 "YouTubePublishing.c"
+#line 4103 "YouTubePublishing.c"
}
}
#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp46_ = video_data;
+ _tmp47_ = video_data;
#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp47_ = string_get_data (_tmp46_, &_tmp47__length1);
+ _tmp48_ = string_get_data (_tmp47_, &_tmp48__length1);
#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp48_ = _tmp47_;
+ _tmp49_ = _tmp48_;
#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp48__length1 = _tmp47__length1;
+ _tmp49__length1 = _tmp48__length1;
#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp49_ = data_length;
+ _tmp50_ = (_tmp49_ != NULL) ? _vala_array_dup12 (_tmp49_, _tmp49__length1) : ((gpointer) _tmp49_);
#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp50_ = soup_buffer_new (SOUP_MEMORY_COPY, _tmp48_ + 0, ((gint) _tmp49_) - 0);
+ _tmp50__length1 = _tmp49__length1;
#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- bindable_data = _tmp50_;
-#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp51_ = message_parts;
-#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp52_ = self->priv->publishable;
-#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp53_ = spit_publishing_publishable_get_serialized_file (_tmp52_);
-#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp54_ = _tmp53_;
-#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp55_ = g_file_get_path (_tmp54_);
-#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp56_ = _tmp55_;
-#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- soup_multipart_append_form_file (_tmp51_, "", _tmp56_, "video/mpeg", bindable_data);
-#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_free0 (_tmp56_);
-#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_object_unref0 (_tmp54_);
-#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp57_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
-#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp58_ = _tmp57_;
-#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp59_ = message_parts;
-#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp60_ = soup_form_request_new_from_multipart (_tmp58_, _tmp59_);
-#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp61_ = _tmp60_;
-#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_free0 (_tmp58_);
-#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- outbound_message = _tmp61_;
+ _tmp51_ = soup_buffer_new_take (_tmp50_, _tmp50__length1);
+#line 588 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ bindable_data = _tmp51_;
+#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp52_ = message_parts;
+#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp53_ = self->priv->publishable;
+#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp54_ = spit_publishing_publishable_get_serialized_file (_tmp53_);
+#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp55_ = _tmp54_;
+#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp56_ = g_file_get_path (_tmp55_);
+#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp57_ = _tmp56_;
+#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ soup_multipart_append_form_file (_tmp52_, "", _tmp57_, "video/mpeg", bindable_data);
+#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _g_free0 (_tmp57_);
+#line 590 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _g_object_unref0 (_tmp55_);
+#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp58_ = publishing_rest_support_transaction_get_endpoint_url (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction));
+#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp59_ = _tmp58_;
+#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp60_ = message_parts;
+#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp61_ = soup_form_request_new_from_multipart (_tmp59_, _tmp60_);
+#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp62_ = _tmp61_;
+#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _g_free0 (_tmp59_);
+#line 594 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ outbound_message = _tmp62_;
+#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp63_ = outbound_message->request_headers;
+#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp64_ = g_strdup_printf ("key=%s", PUBLISHING_YOU_TUBE_DEVELOPER_KEY);
+#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp65_ = _tmp64_;
+#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ soup_message_headers_append (_tmp63_, "X-GData-Key", _tmp65_);
+#line 596 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _g_free0 (_tmp65_);
+#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp66_ = outbound_message->request_headers;
#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp62_ = outbound_message->request_headers;
+ _tmp67_ = self->priv->publishable;
#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp63_ = g_strdup_printf ("key=%s", PUBLISHING_YOU_TUBE_DEVELOPER_KEY);
+ _tmp68_ = spit_publishing_publishable_get_param_string (_tmp67_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_BASENAME);
#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp64_ = _tmp63_;
+ _tmp69_ = _tmp68_;
#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- soup_message_headers_append (_tmp62_, "X-GData-Key", _tmp64_);
+ soup_message_headers_append (_tmp66_, "Slug", _tmp69_);
#line 597 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_free0 (_tmp64_);
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp65_ = outbound_message->request_headers;
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp66_ = self->priv->publishable;
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp67_ = spit_publishing_publishable_get_param_string (_tmp66_, SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_BASENAME);
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp68_ = _tmp67_;
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- soup_message_headers_append (_tmp65_, "Slug", _tmp68_);
-#line 598 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_free0 (_tmp68_);
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp69_ = outbound_message->request_headers;
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp70_ = self->priv->session;
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp71_ = publishing_rest_support_google_session_get_access_token (_tmp70_);
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp72_ = _tmp71_;
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp73_ = g_strconcat ("Bearer ", _tmp72_, NULL);
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _tmp74_ = _tmp73_;
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- soup_message_headers_append (_tmp69_, "Authorization", _tmp74_);
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_free0 (_tmp74_);
-#line 600 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _g_free0 (_tmp72_);
-#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _g_free0 (_tmp69_);
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp70_ = outbound_message->request_headers;
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp71_ = self->priv->session;
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp72_ = publishing_rest_support_google_session_get_access_token (_tmp71_);
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp73_ = _tmp72_;
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp74_ = g_strconcat ("Bearer ", _tmp73_, NULL);
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _tmp75_ = _tmp74_;
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ soup_message_headers_append (_tmp70_, "Authorization", _tmp75_);
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _g_free0 (_tmp75_);
+#line 599 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _g_free0 (_tmp73_);
+#line 601 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_rest_support_transaction_set_message (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), outbound_message);
-#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_rest_support_transaction_set_is_executed (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), TRUE);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_rest_support_transaction_send (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_inner_error_);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) {
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_propagate_error (error, _inner_error_);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_object_unref0 (outbound_message);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
__vala_SoupBuffer_free0 (bindable_data);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (video_data);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
__vala_SoupBuffer_free0 (metadata_buffer);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (metadata);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (title);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (private_video);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (unlisted_video);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
__vala_SoupMultipart_free0 (message_parts);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 4201 "YouTubePublishing.c"
+#line 4226 "YouTubePublishing.c"
} else {
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_object_unref0 (outbound_message);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
__vala_SoupBuffer_free0 (bindable_data);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (video_data);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
__vala_SoupBuffer_free0 (metadata_buffer);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (metadata);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (title);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (private_video);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_free0 (unlisted_video);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
__vala_SoupMultipart_free0 (message_parts);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.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 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_clear_error (&_inner_error_);
-#line 606 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 605 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return;
-#line 4227 "YouTubePublishing.c"
+#line 4252 "YouTubePublishing.c"
}
}
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
@@ -4278,7 +4303,7 @@ static void publishing_you_tube_upload_transaction_real_execute (PublishingRESTS
_g_free0 (unlisted_video);
#line 550 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
__vala_SoupMultipart_free0 (message_parts);
-#line 4248 "YouTubePublishing.c"
+#line 4273 "YouTubePublishing.c"
}
@@ -4291,14 +4316,14 @@ static void publishing_you_tube_upload_transaction_class_init (PublishingYouTube
g_type_class_add_private (klass, sizeof (PublishingYouTubeUploadTransactionPrivate));
#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
((PublishingRESTSupportTransactionClass *) klass)->execute = publishing_you_tube_upload_transaction_real_execute;
-#line 4261 "YouTubePublishing.c"
+#line 4286 "YouTubePublishing.c"
}
static void publishing_you_tube_upload_transaction_instance_init (PublishingYouTubeUploadTransaction * self) {
#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->priv = PUBLISHING_YOU_TUBE_UPLOAD_TRANSACTION_GET_PRIVATE (self);
-#line 4268 "YouTubePublishing.c"
+#line 4293 "YouTubePublishing.c"
}
@@ -4314,7 +4339,7 @@ static void publishing_you_tube_upload_transaction_finalize (PublishingRESTSuppo
_g_object_unref0 (self->priv->publishable);
#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_you_tube_upload_transaction_parent_class)->finalize (obj);
-#line 4284 "YouTubePublishing.c"
+#line 4309 "YouTubePublishing.c"
}
@@ -4337,36 +4362,36 @@ PublishingYouTubeUploader* publishing_you_tube_uploader_construct (GType object_
gint _tmp1__length1 = 0;
PublishingYouTubePublishingParameters* _tmp2_ = NULL;
PublishingYouTubePublishingParameters* _tmp3_ = NULL;
-#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_return_val_if_fail (PUBLISHING_REST_SUPPORT_IS_GOOGLE_SESSION (session), NULL);
-#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_return_val_if_fail (PUBLISHING_YOU_TUBE_IS_PUBLISHING_PARAMETERS (parameters), NULL);
-#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp0_ = session;
-#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp1_ = publishables;
-#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp1__length1 = publishables_length1;
-#line 615 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 614 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self = (PublishingYouTubeUploader*) publishing_rest_support_batch_uploader_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession), _tmp1_, _tmp1__length1);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp2_ = parameters;
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp3_ = _publishing_you_tube_publishing_parameters_ref0 (_tmp2_);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_publishing_you_tube_publishing_parameters_unref0 (self->priv->parameters);
-#line 617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->priv->parameters = _tmp3_;
-#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return self;
-#line 4329 "YouTubePublishing.c"
+#line 4354 "YouTubePublishing.c"
}
PublishingYouTubeUploader* publishing_you_tube_uploader_new (PublishingRESTSupportGoogleSession* session, SpitPublishingPublishable** publishables, int publishables_length1, PublishingYouTubePublishingParameters* parameters) {
-#line 613 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 612 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return publishing_you_tube_uploader_construct (PUBLISHING_YOU_TUBE_TYPE_UPLOADER, session, publishables, publishables_length1, parameters);
-#line 4336 "YouTubePublishing.c"
+#line 4361 "YouTubePublishing.c"
}
@@ -4380,65 +4405,65 @@ static PublishingRESTSupportTransaction* publishing_you_tube_uploader_real_creat
SpitPublishingPublishable* _tmp4_ = NULL;
PublishingYouTubeUploadTransaction* _tmp5_ = NULL;
PublishingRESTSupportTransaction* _tmp6_ = NULL;
-#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_YOU_TUBE_TYPE_UPLOADER, PublishingYouTubeUploader);
-#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 619 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (publishable), NULL);
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp0_ = publishing_rest_support_batch_uploader_get_session (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader));
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, PUBLISHING_REST_SUPPORT_TYPE_GOOGLE_SESSION, PublishingRESTSupportGoogleSession);
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp2_ = self->priv->parameters;
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp3_ = publishing_rest_support_batch_uploader_get_current_publishable (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_BATCH_UPLOADER, PublishingRESTSupportBatchUploader));
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp4_ = _tmp3_;
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp5_ = publishing_you_tube_upload_transaction_new (_tmp1_, _tmp2_, _tmp4_);
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction);
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_g_object_unref0 (_tmp4_);
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
_publishing_rest_support_session_unref0 (_tmp1_);
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
result = _tmp6_;
-#line 622 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 621 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
return result;
-#line 4376 "YouTubePublishing.c"
+#line 4401 "YouTubePublishing.c"
}
static void publishing_you_tube_uploader_class_init (PublishingYouTubeUploaderClass * klass) {
-#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
publishing_you_tube_uploader_parent_class = g_type_class_peek_parent (klass);
-#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
((PublishingRESTSupportBatchUploaderClass *) klass)->finalize = publishing_you_tube_uploader_finalize;
-#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingYouTubeUploaderPrivate));
-#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
((PublishingRESTSupportBatchUploaderClass *) klass)->create_transaction = publishing_you_tube_uploader_real_create_transaction;
-#line 4389 "YouTubePublishing.c"
+#line 4414 "YouTubePublishing.c"
}
static void publishing_you_tube_uploader_instance_init (PublishingYouTubeUploader * self) {
-#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self->priv = PUBLISHING_YOU_TUBE_UPLOADER_GET_PRIVATE (self);
-#line 4396 "YouTubePublishing.c"
+#line 4421 "YouTubePublishing.c"
}
static void publishing_you_tube_uploader_finalize (PublishingRESTSupportBatchUploader* obj) {
PublishingYouTubeUploader * self;
-#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_YOU_TUBE_TYPE_UPLOADER, PublishingYouTubeUploader);
-#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
- _publishing_you_tube_publishing_parameters_unref0 (self->priv->parameters);
#line 610 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
+ _publishing_you_tube_publishing_parameters_unref0 (self->priv->parameters);
+#line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/YouTubePublishing.vala"
PUBLISHING_REST_SUPPORT_BATCH_UPLOADER_CLASS (publishing_you_tube_uploader_parent_class)->finalize (obj);
-#line 4408 "YouTubePublishing.c"
+#line 4433 "YouTubePublishing.c"
}
diff --git a/plugins/shotwell-publishing/YouTubePublishing.vala b/plugins/shotwell-publishing/YouTubePublishing.vala
index 48241bd..d7db9f8 100644
--- a/plugins/shotwell-publishing/YouTubePublishing.vala
+++ b/plugins/shotwell-publishing/YouTubePublishing.vala
@@ -565,7 +565,7 @@ internal class UploadTransaction : Publishing.RESTSupport.GooglePublisher.Authen
string metadata = METADATA_TEMPLATE.printf(Publishing.RESTSupport.decimal_entity_encode(title),
private_video, unlisted_video);
- Soup.Buffer metadata_buffer = new Soup.Buffer(Soup.MemoryUse.COPY, metadata.data);
+ var metadata_buffer = new Soup.Buffer.take (metadata.data);
message_parts.append_form_file("", "", "application/atom+xml", metadata_buffer);
// attempt to read the binary video data from disk
@@ -585,8 +585,7 @@ internal class UploadTransaction : Publishing.RESTSupport.GooglePublisher.Authen
// bind the binary video data read from disk into a Soup.Buffer object so that we
// can attach it to the multipart request, then actaully append the buffer
// to the multipart request. Then, set the MIME type for this part.
- Soup.Buffer bindable_data = new Soup.Buffer(Soup.MemoryUse.COPY,
- video_data.data[0:data_length]);
+ var bindable_data = new Soup.Buffer.take (video_data.data);
message_parts.append_form_file("", publishable.get_serialized_file().get_path(),
"video/mpeg", bindable_data);
diff --git a/plugins/shotwell-publishing/piwigo_authentication_pane.ui b/plugins/shotwell-publishing/piwigo_authentication_pane.ui
index ec24aed..39c8d7c 100644
--- a/plugins/shotwell-publishing/piwigo_authentication_pane.ui
+++ b/plugins/shotwell-publishing/piwigo_authentication_pane.ui
@@ -1,173 +1,174 @@
+
-
+
False
-
+
True
False
- 0.5
- 0.5
+ 30
+ 30
+ True
+ vertical
+ 12
-
+
True
False
- 30
- 30
+ start
True
- 8
+ True
+ label
+ True
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ True
+ 6
+ 12
-
+
True
False
+ end
+ _URL of your Piwigo photo library
+ True
+ url_entry
+
+
+ 0
+ 0
+
+
+
+
+ True
+ True
True
- True
- 0
- label
- True
+ ●
- False
- True
- 0
+ 1
+ 0
+
+
+
+
+ True
+ True
+ True
+ False
+ ●
+
+
+ 1
+ 2
+
+
+
+
+ True
+ True
+ start
+
+
+ 1
+ 3
-
+
True
False
- 3
- 2
- 8
- 2
-
-
- True
- False
- 0
- _URL of your Piwigo photo library
- True
- url_entry
-
-
-
-
- True
- False
- 0
- User _name
- True
- username_entry
-
-
- 1
- 2
-
-
-
-
- True
- False
- 0
- _Password
- True
- password_entry
-
-
- 2
- 3
-
-
-
-
- True
- True
- ●
-
-
- 1
- 2
-
-
-
-
- True
- True
- ●
-
-
- 1
- 2
- 1
- 2
-
-
-
-
- True
- True
- False
- ●
- True
-
-
- 1
- 2
- 2
- 3
-
-
+ end
+ User _name
+ True
- True
- True
- 1
+ 0
+ 1
-
- _Remember Password
+
True
True
- False
- False
+ True
+ ●
+
+
+ 1
+ 1
+
+
+
+
+ True
+ False
+ end
+ _Password
True
- 0
- True
+ password_entry
- True
- True
- 2
+ 0
+ 2
-
+
True
False
-
-
- Log in
- True
- True
- True
- False
-
-
- False
- False
- 0
-
-
+ end
+ Remember Password
+
+
+ 0
+ 3
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ True
+ False
+ center
+
+
+ Log in
+ False
+ True
+ True
+ True
- True
- True
- 3
+ False
+ False
+ 0
+
+ True
+ True
+ 2
+
diff --git a/plugins/shotwell-publishing/piwigo_publishing_options_pane.ui b/plugins/shotwell-publishing/piwigo_publishing_options_pane.ui
index 7197603..bbcd942 100644
--- a/plugins/shotwell-publishing/piwigo_publishing_options_pane.ui
+++ b/plugins/shotwell-publishing/piwigo_publishing_options_pane.ui
@@ -1,312 +1,287 @@
+
-
+
False
-
+
True
False
- 0.5
- 0.5
+ 10
+ 10
+ vertical
+ 12
-
+
True
False
- 10
- 10
- vertical
+ start
+ Photos will appear in:
+
+
+ True
+ True
+ 0
+
+
+
+
+ True
+ False
+ 6
+ 12
+
+
+ An _existing category
+ True
+ True
+ False
+ end
+ True
+ True
+ True
+
+
+ 0
+ 0
+
+
-
+
True
False
- 0
- Photos will appear in:
- True
- True
- 0
+ 1
+ 0
-
+
True
False
- 7
- 2
-
-
- An _existing category:
- True
- True
- False
- True
- 1
- True
- True
-
-
-
-
- A _new album named:
- True
- True
- False
- True
- 1
- True
- True
- use_existing_radio
-
-
- 1
- 2
-
-
-
-
- True
- False
-
-
- 1
- 2
- GTK_EXPAND
-
-
-
-
- True
- True
- ●
-
-
- 1
- 2
- 1
- 2
-
-
-
-
- True
- False
-
-
- 1
- 2
- 2
- 3
- GTK_EXPAND
-
-
-
-
- True
- False
-
-
- 2
- 4
- 5
-
-
-
-
- True
- False
- 1
- 5
- Photos will be _visible by:
- True
- perms_combo
-
-
- 5
- 6
-
-
-
-
- True
- False
-
-
- 1
- 2
- 5
- 6
- GTK_EXPAND
-
-
-
-
- True
- False
- 1
- 5
- Photo size:
-
-
- 6
- 7
-
-
-
-
- True
- False
-
-
- 1
- 2
- 6
- 7
- GTK_EXPAND
-
-
-
-
- True
- False
- False
- 1
- 5
- within category:
-
-
- 2
- 3
-
-
+
+
+ 1
+ 2
+
+
+
+
+ True
+ False
+
+
+ 1
+ 5
+
+
+
+
+ True
+ False
+
+
+ 1
+ 6
+
+
+
+
- True
- True
- 1
+ 1
+ 3
-
- _Remove location, camera, and other identifying information before uploading
+
+ A _new album named
True
True
False
+ end
True
- 0
+ True
True
+ use_existing_radio
- False
- True
- 2
+ 0
+ 1
-
+
+
+ True
+ False
+ False
+ end
+ within category
+
+
+ 0
+ 2
+
+
+
+
+
+ 0
+ 3
+
+
+
+
+ True
+ False
+ end
+ Photos will be _visible by
True
- 0
- True
+ perms_combo
- False
- True
- 3
+ 0
+ 5
+
+
+
+
+ True
+ False
+ end
+ Photo size
+
+
+ 0
+ 6
-
- _Do no upload tags
+
+
+
+
+
+
+
+ True
+ True
+ 1
+
+
+
+
+ _Remove location, camera, and other identifying information before uploading
+ True
+ True
+ False
+ start
+ True
+ True
+
+
+ False
+ True
+ 2
+
+
+
+
+
+ False
+ True
+ 3
+
+
+
+
+ _Do no upload tags
+ True
+ True
+ False
+ start
+ True
+ True
+
+
+ False
+ True
+ 4
+
+
+
+
+ True
+ False
+
+
+ Logout
True
True
- False
- True
- 0
- True
+ True
False
- True
- 4
+ False
+ 0
-
+
+ Publish
True
- False
-
-
- Logout
- True
- True
- True
-
-
- False
- False
- 0
-
-
-
-
- Publish
- True
- True
- True
-
-
- False
- False
- 1
-
-
+ True
+ True
- True
- True
- 5
+ False
+ False
+ 1
+
+ True
+ True
+ 5
+
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4c0ef0d..4d7e209 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -7,20 +7,8 @@ misc/org.yorba.shotwell-extras.gschema.xml
misc/org.yorba.shotwell.gschema.xml
plugins/common/Resources.vala
plugins/common/RESTSupport.vala
-plugins/shotwell-data-imports/FSpotDatabaseBehavior.vala
-plugins/shotwell-data-imports/FSpotDatabaseTable.vala
-plugins/shotwell-data-imports/FSpotDatabase.vala
plugins/shotwell-data-imports/FSpotImporter.vala
-plugins/shotwell-data-imports/FSpotMetaTable.vala
-plugins/shotwell-data-imports/FSpotPhotosTable.vala
-plugins/shotwell-data-imports/FSpotPhotoTagsTable.vala
-plugins/shotwell-data-imports/FSpotPhotoVersionsTable.vala
-plugins/shotwell-data-imports/FSpotRollsTable.vala
-plugins/shotwell-data-imports/FSpotTableBehavior.vala
-plugins/shotwell-data-imports/FSpotTagsTable.vala
plugins/shotwell-data-imports/shotwell-data-imports.vala
-plugins/shotwell-data-imports/SqliteSupport.vala
-plugins/shotwell-data-imports/VersionNumber.vala
plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui
plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui
plugins/shotwell-publishing-extras/GalleryConnector.vala
@@ -59,64 +47,20 @@ plugins/shotwell-transitions/SlideEffect.vala
plugins/shotwell-transitions/SquaresEffect.vala
plugins/shotwell-transitions/StripesEffect.vala
src/AppDirs.vala
-src/Application.vala
src/AppWindow.vala
src/BatchImport.vala
-src/Box.vala
src/camera/Branch.vala
-src/camera/CameraTable.vala
-src/camera/Camera.vala
-src/camera/GPhoto.vala
src/camera/ImportPage.vala
-src/CheckerboardLayout.vala
src/CollectionPage.vala
-src/ColorTransformation.vala
-src/CommandManager.vala
src/Commands.vala
-src/config/ConfigurationInterfaces.vala
-src/config/Config.vala
-src/config/GSettingsEngine.vala
-src/core/Alteration.vala
-src/core/ContainerSourceCollection.vala
-src/core/Core.vala
-src/core/DatabaseSourceCollection.vala
-src/core/DataCollection.vala
-src/core/DataObject.vala
-src/core/DataSet.vala
-src/core/DataSourceTypes.vala
-src/core/DataSource.vala
-src/core/DataViewTypes.vala
-src/core/DataView.vala
-src/core/SourceCollection.vala
-src/core/SourceHoldingTank.vala
-src/core/SourceInterfaces.vala
-src/core/Tracker.vala
-src/core/util.vala
-src/core/ViewCollection.vala
-src/CustomComponents.vala
-src/data_imports/DataImportJob.vala
-src/data_imports/DataImportSource.vala
src/data_imports/DataImportsPluginHost.vala
src/data_imports/DataImportsUI.vala
src/data_imports/DataImports.vala
src/db/DatabaseTable.vala
-src/db/Db.vala
-src/db/EventTable.vala
-src/db/PhotoTable.vala
-src/db/SavedSearchDBTable.vala
-src/db/TagTable.vala
-src/db/TombstoneTable.vala
-src/db/VersionTable.vala
-src/db/VideoTable.vala
-src/Debug.vala
src/DesktopIntegration.vala
src/Dialogs.vala
src/Dimensions.vala
src/direct/DirectPhotoPage.vala
-src/direct/DirectPhoto.vala
-src/direct/Direct.vala
-src/direct/DirectView.vala
-src/direct/DirectWindow.vala
src/DirectoryMonitor.vala
src/editing_tools/EditingTools.vala
src/editing_tools/StraightenTool.vala
@@ -124,64 +68,29 @@ src/events/Branch.vala
src/events/EventDirectoryItem.vala
src/events/EventPage.vala
src/events/EventsDirectoryPage.vala
-src/events/Events.vala
src/Event.vala
src/Exporter.vala
src/folders/Branch.vala
-src/folders/Folders.vala
-src/folders/Page.vala
-src/International.vala
src/library/Branch.vala
-src/LibraryFiles.vala
src/library/FlaggedPage.vala
-src/library/FlaggedSidebarEntry.vala
src/library/ImportQueuePage.vala
-src/library/ImportQueueSidebarEntry.vala
src/library/LastImportPage.vala
-src/library/LastImportSidebarEntry.vala
-src/library/Library.vala
src/library/LibraryWindow.vala
-src/LibraryMonitor.vala
src/library/OfflinePage.vala
-src/library/OfflineSidebarEntry.vala
src/library/TrashPage.vala
-src/library/TrashSidebarEntry.vala
src/main.vala
-src/MediaDataRepresentation.vala
-src/MediaInterfaces.vala
-src/MediaMetadata.vala
src/MediaMonitor.vala
src/MediaPage.vala
-src/MediaViewTracker.vala
-src/MetadataWriter.vala
-src/Orientation.vala
src/Page.vala
-src/PhotoMonitor.vala
src/PhotoPage.vala
src/photos/BmpSupport.vala
-src/photos/GdkSupport.vala
-src/photos/GRaw.vala
src/photos/JfifSupport.vala
-src/photos/PhotoFileAdapter.vala
-src/photos/PhotoFileFormat.vala
-src/photos/PhotoFileSniffer.vala
-src/photos/PhotoMetadata.vala
-src/photos/Photos.vala
src/photos/PngSupport.vala
src/photos/RawSupport.vala
src/photos/TiffSupport.vala
src/Photo.vala
-src/PixbufCache.vala
-src/plugins/DataImportsInterfaces.vala
-src/plugins/ManifestWidget.vala
-src/plugins/Plugins.vala
-src/plugins/PublishingInterfaces.vala
-src/plugins/SpitInterfaces.vala
-src/plugins/StandardHostInterface.vala
-src/plugins/TransitionsInterfaces.vala
src/Printing.vala
src/Properties.vala
-src/publishing/APIGlue.vala
src/publishing/PublishingPluginHost.vala
src/publishing/PublishingUI.vala
src/publishing/Publishing.vala
@@ -189,48 +98,33 @@ src/Resources.vala
src/Screensaver.vala
src/searches/Branch.vala
src/searches/SavedSearchDialog.vala
-src/searches/SavedSearchPage.vala
src/searches/SearchBoolean.vala
-src/searches/Searches.vala
src/SearchFilter.vala
-src/sidebar/Branch.vala
-src/sidebar/common.vala
-src/sidebar/Entry.vala
-src/sidebar/Sidebar.vala
-src/sidebar/Tree.vala
src/SlideshowPage.vala
src/slideshow/Slideshow.vala
src/slideshow/TransitionEffects.vala
-src/SortedList.vala
src/tags/Branch.vala
-src/tags/HierarchicalTagIndex.vala
-src/tags/HierarchicalTagUtilities.vala
-src/tags/TagPage.vala
-src/tags/Tags.vala
src/Tag.vala
-src/threads/BackgroundJob.vala
-src/threads/Semaphore.vala
-src/threads/Threads.vala
-src/threads/Workers.vala
-src/ThumbnailCache.vala
-src/Thumbnail.vala
-src/TimedQueue.vala
-src/Tombstone.vala
-src/unit/rc/template.vala
-src/unit/Unit.vala
-src/UnityProgressBar.vala
-src/Upgrades.vala
-src/util/file.vala
-src/util/image.vala
-src/util/KeyValueMap.vala
-src/util/misc.vala
-src/util/string.vala
-src/util/system.vala
-src/util/ui.vala
-src/util/Util.vala
-src/VideoMetadata.vala
-src/VideoMonitor.vala
src/VideoSupport.vala
+ui/collection.ui
+ui/direct_context.ui
+ui/direct.ui
+ui/events_directory.ui
+ui/event.ui
+ui/import_queue.ui
+ui/import.ui
+ui/media.ui
+ui/offline.ui
+ui/photo_context.ui
+ui/photo.ui
+ui/savedsearch.ui
+ui/search_bar.ui
+ui/search_sidebar_context.ui
ui/set_background_dialog.ui
ui/set_background_slideshow_dialog.ui
ui/shotwell.ui
+ui/sidebar_default_context.ui
+ui/tag_sidebar_context.ui
+ui/tags.ui
+ui/top.ui
+ui/trash.ui
diff --git a/po/cs.gmo b/po/cs.gmo
index 482830d..d4fce83 100644
Binary files a/po/cs.gmo and b/po/cs.gmo differ
diff --git a/po/cs.po b/po/cs.po
index 5119413..95d3c04 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -14,11 +14,11 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: shotwell-0.15\n"
+"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-10-08 14:29+0000\n"
-"PO-Revision-Date: 2016-10-16 22:00+0200\n"
+"POT-Creation-Date: 2016-11-16 22:10+0000\n"
+"PO-Revision-Date: 2016-11-17 11:21+0100\n"
"Last-Translator: Marek Černocký \n"
"Language-Team: čeština \n"
"Language: cs\n"
@@ -30,7 +30,9 @@ msgstr ""
#: 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"
@@ -1383,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:679
+#: plugins/common/Resources.vala:31 src/AppWindow.vala:593
msgid "translator-credits"
msgstr ""
"David Štancl \n"
@@ -1451,7 +1453,7 @@ msgstr ""
"si nastavení data na svém počítači."
#: 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 "Dočasný soubor potřebný pro zveřejnění není k dispozici"
@@ -1598,9 +1600,9 @@ msgstr "nebo"
#: 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
@@ -1610,13 +1612,14 @@ msgstr "_Odhlásit"
#: 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:2454
msgid "_Publish"
msgstr "_Zveřejnit"
@@ -1644,7 +1647,7 @@ msgstr "pixely"
#: 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 "Původní velikost"
@@ -1746,51 +1749,50 @@ msgstr "Nerozpoznaný uživatel"
msgid " Site Not Found"
msgstr " Server nenalezen"
-#: 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-mailová adresa"
-#: 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 "_Heslo"
-#: 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 "Za_pamatovat"
-#: 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 "Přihlásit se"
#: 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 "_Stávající 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 "_Nové album s názvem:"
#: 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 "S_krýt album"
#: 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 "Otevřít cílové _album v prohlížeči"
@@ -1814,14 +1816,14 @@ msgstr "Neplatná e-mailová adresa a/nebo heslo. Zkuste to prosím znovu"
msgid "Invalid User Email or Password"
msgstr "Neplatná e-mailová adresa nebo heslo"
-#: 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 "Jste přihlášeni k Rajčeti jako %s."
-#: 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 "Fotky se objeví:"
@@ -1844,13 +1846,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 pixelů"
#: 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 pixelů"
@@ -1876,22 +1878,22 @@ msgid "Enter the username and password associated with your Tumblr account."
msgstr "Zadejte uživatelské jméno a heslo ke svému účtu Tumblr."
#: 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 "Neplatné uživatelské jméno a/nebo heslo. Zkuste to prosím znovu"
#: 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 "Neplatné uživatelské jméno nebo heslo"
-#: 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 "Nelze načíst uživatelské rozhraní: %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"
@@ -1912,36 +1914,36 @@ msgstr "Navštivte webové stránky Yandex.Fotki"
msgid "You are not currently logged into Yandex.Fotki."
msgstr "Momentálně nejste k Yandex.Fotki přihlášeni."
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:24
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:12
+msgid "Public"
+msgstr "Veřejné"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:15
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1144
+msgid "Friends"
+msgstr "Přátelé"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:18
+#: plugins/shotwell-publishing/YouTubePublishing.vala:498
+msgid "Private"
+msgstr "Soukromé"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:44
msgid "_Albums (or write new):"
msgstr "_Alba (nebo vepište nové):"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:38
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:59
msgid "Access _type:"
msgstr "_Typ přístupu:"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:81
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:103
msgid "Disable _comments"
msgstr "Zakázat _komentáře"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:96
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:120
msgid "_Forbid downloading original photo"
msgstr "Ne_dovolit stahovat originální fotografii"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:159
-msgid "Public"
-msgstr "Veřejné"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1144
-msgid "Friends"
-msgstr "Přátelé"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:165
-#: plugins/shotwell-publishing/YouTubePublishing.vala:498
-msgid "Private"
-msgstr "Soukromé"
-
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:39
msgid "Publish to an e_xisting album:"
msgstr "Zveřejnit ve stáva_jícím albu:"
@@ -1962,7 +1964,7 @@ msgstr "Videa a nová fotoalba jsou viditelná:"
#: 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 ""
@@ -1971,7 +1973,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 "Připojení Shotwell"
@@ -2048,7 +2050,7 @@ msgstr "mě výhradně"
#: 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 "všem"
@@ -2163,12 +2165,12 @@ msgid "Friends only"
msgstr "přátele výhradně"
#: 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 pixelů"
#: 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 pixelů"
@@ -2228,71 +2230,75 @@ 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:755
msgid "Original Size"
msgstr "Původní velikost"
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:49
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:44
msgid "_URL of your Piwigo photo library"
msgstr "Adresa _URL vaší fotoknihovny Piwigo"
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:59
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:94
msgid "User _name"
msgstr "Uživatelské jmé_no"
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:130
-msgid "_Remember Password"
-msgstr "Zapamatovat si _heslo"
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:133
+msgid "Remember Password"
+msgstr "Zapamatovat si heslo"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:40
-msgid "An _existing category:"
-msgstr "Stávající kategori_e:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:36
+msgid "An _existing category"
+msgstr "Stávající kategori_e"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:121
-msgid "Photos will be _visible by:"
-msgstr "Fotky budou _viditelné:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:110
+msgid "A _new album named"
+msgstr "_Nové album s názvem"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:149
-msgid "Photo size:"
-msgstr "Velikost fotky:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:142
+msgid "within category"
+msgstr "v rámci kategorie"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:176
-msgid "within category:"
-msgstr "v rámci kategorie:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:155
+msgid "Album comment"
+msgstr "Komentář k albu"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:210
-msgid "Album comment:"
-msgstr "Komentář k albu:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:167
+msgid "Photos will be _visible by"
+msgstr "Fotky budou _viditelné"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:242
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:181
+msgid "Photo size"
+msgstr "Velikost fotky"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:219
msgid "_If a title is set and comment unset, use title as comment"
msgstr ""
"Když je nastaven název a není nastaven komentář, použít název jako komentář"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:258
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:235
msgid "_Do no upload tags"
msgstr "_Nenahrávat štítky"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:278
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:255
msgid "Logout"
msgstr "Odhlásit"
-#: 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 "Zveřejnit"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:775
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:773
#, c-format
msgid "Creating album %s…"
msgstr "Vytváří se album %s…"
-#: 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 "Při zveřejňování na Piwigo došlo k chybě. Zkuste to prosím znovu."
#. %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 %s . Attackers might be trying to "
@@ -2303,7 +2309,17 @@ msgstr ""
"ukrást nebo změnit údaje jdoucí do nebo z tohoto serveru (například soukromé "
"zprávy, údaje z platebních karet nebo hesla)."
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1048
+#, c-format
+msgid "Certificate of %s"
+msgstr "Certifikát serveru %s"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1051
+#: src/Resources.vala:166
+msgid "_OK"
+msgstr "_Budiž"
+
+#: 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."
@@ -2311,7 +2327,7 @@ msgstr ""
"Zadejte adresu URL fotoknihovny Piwigo a k tomu uživatelské jméno a heslo "
"spojené s vaším účtem Piwigo pro danou knihovnu."
-#: 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"
@@ -2319,23 +2335,23 @@ msgstr ""
"Shotwell se nemůže připojit k vaší fotoknihovně Piwigo. Ověřte prosím adresu "
"URL, kterou jste zadali"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1112
msgid "Invalid URL"
msgstr "Neplatná adresa URL"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1291
msgid "Admins, Family, Friends, Contacts"
msgstr "Administrátoři, rodina, přátelé, kontakty"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1292
msgid "Admins, Family, Friends"
msgstr "Administrátoři, rodina, přátelé"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1293
msgid "Admins, Family"
msgstr "Administrátoři, rodina"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1294
msgid "Admins"
msgstr "Administrátoři"
@@ -2486,38 +2502,27 @@ 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:54
+#: src/AppWindow.vala:45
msgid "Pin Toolbar"
msgstr "Připíchnout lištu"
-#: src/AppWindow.vala:55
+#: src/AppWindow.vala:46
msgid "Pin the toolbar open"
msgstr "Připíchnout otevřenou nástrojovou lištu"
-#: src/AppWindow.vala:60
+#: src/AppWindow.vala:51
msgid "Leave fullscreen"
msgstr "Opustit režim celé obrazovky"
-#: src/AppWindow.vala:499
-msgid "_Contents"
-msgstr "_Obsah"
-
-#: src/AppWindow.vala:504
-msgid "_Frequently Asked Questions"
-msgstr "Ča_sté dotazy a odpovědi"
-
-#: src/AppWindow.vala:509
-msgid "_Report a Problem…"
-msgstr "_Nahlásit problém…"
-
-#: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646
+#: 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:512 src/Resources.vala:157
+#: src/publishing/PublishingUI.vala:296 src/publishing/PublishingUI.vala:524
+#: src/Resources.vala:157
msgid "_Cancel"
msgstr "_Zrušit"
-#: src/AppWindow.vala:656
+#: src/AppWindow.vala:570
#, c-format
msgid ""
"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot "
@@ -2530,21 +2535,21 @@ msgstr ""
"\n"
"%s"
-#: src/AppWindow.vala:676
+#: src/AppWindow.vala:590
msgid "Visit the Shotwell web site"
msgstr "Navštívit web aplikace Shotwell"
-#: src/AppWindow.vala:688
+#: src/AppWindow.vala:602
#, c-format
msgid "Unable to display help: %s"
msgstr "Nelze zobrazit nápovědu: %s"
-#: src/AppWindow.vala:696
+#: src/AppWindow.vala:610
#, c-format
msgid "Unable to navigate to bug database: %s"
msgstr "Nelze se připojit k databázi chyb: %s"
-#: src/AppWindow.vala:704
+#: src/AppWindow.vala:618
#, c-format
msgid "Unable to display FAQ: %s"
msgstr "Nelze zobrazit časté dotazy a odpovědi: %s"
@@ -2615,8 +2620,9 @@ msgid "Cameras"
msgstr "Fotoaparáty"
#: 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 "Fotoaparát"
@@ -2650,32 +2656,8 @@ msgstr ""
msgid "No new photos/videos found on camera"
msgstr "Ve fotoaparátu nejsou žádné nové fotografie/videa"
-#: src/camera/ImportPage.vala:873 src/MediaPage.vala:451
-msgid "_Titles"
-msgstr "_Názvy"
-
-#: src/camera/ImportPage.vala:874 src/MediaPage.vala:452
-msgid "Display the title of each photo"
-msgstr "U každé fotografie zobrazit název"
-
-#: src/camera/ImportPage.vala:885
-msgid "Import _Selected"
-msgstr "Importovat vy_brané"
-
-#: src/camera/ImportPage.vala:886
-msgid "Import the selected photos into your library"
-msgstr "Importovat vybrané fotografie do knihovny"
-
-#: src/camera/ImportPage.vala:891
-msgid "Import _All"
-msgstr "Importovat _vše"
-
-#: src/camera/ImportPage.vala:892
-msgid "Import all the photos into your library"
-msgstr "Importovat všechny fotografie do knihovny"
-
#. 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?"
@@ -2683,15 +2665,15 @@ msgstr ""
"Shotwell potřebuje kvůli přístupu odpojit fotoaparát ze souborového systému. "
"Pokračovat?"
-#: src/camera/ImportPage.vala:1019
+#: src/camera/ImportPage.vala:1005
msgid "_Unmount"
msgstr "_Odpojit"
-#: src/camera/ImportPage.vala:1024
+#: src/camera/ImportPage.vala:1010
msgid "Please unmount the camera."
msgstr "Odpojte prosím fotoaparát."
-#: 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 "
@@ -2701,11 +2683,11 @@ msgstr ""
"který není blokovaný jinou aplikací. Ukončete všechny aplikace, které ho "
"používají, a zkuste to znovu."
-#: src/camera/ImportPage.vala:1039
+#: src/camera/ImportPage.vala:1025
msgid "Please close any other application using the camera."
msgstr "Ukončete prosím ostatní aplikace používající fotoaparát."
-#: src/camera/ImportPage.vala:1044
+#: src/camera/ImportPage.vala:1030
#, c-format
msgid ""
"Unable to fetch previews from the camera:\n"
@@ -2714,29 +2696,29 @@ msgstr ""
"Nelze načíst náhledy z fotoaparátu:\n"
"%s"
-#: src/camera/ImportPage.vala:1061
+#: src/camera/ImportPage.vala:1047
msgid "Unmounting…"
msgstr "Odpojuje se…"
-#: src/camera/ImportPage.vala:1152
+#: src/camera/ImportPage.vala:1138
msgid "Starting import, please wait…"
msgstr "Začíná import, čekejte prosím…"
-#: src/camera/ImportPage.vala:1169
+#: src/camera/ImportPage.vala:1155
msgid "Fetching photo information"
msgstr "Získávají se informace o fotografii"
-#: src/camera/ImportPage.vala:1527
+#: src/camera/ImportPage.vala:1513
#, c-format
msgid "Fetching preview for %s"
msgstr "Získává se náhled pro %s"
-#: src/camera/ImportPage.vala:1643
+#: src/camera/ImportPage.vala:1629
#, c-format
msgid "Unable to lock camera: %s"
msgstr "Nelze uzamknout fotoaparát: %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?"
@@ -2744,7 +2726,7 @@ msgstr[0] "Smazat tuto fotografii z fotoaparátu?"
msgstr[1] "Smazat tyto %d fotografie z fotoaparátu?"
msgstr[2] "Smazat těchto %d fotografií z fotoaparátu?"
-#: 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?"
@@ -2752,7 +2734,7 @@ msgstr[0] "Smazat toto video z fotoaparátu?"
msgstr[1] "Smazat tato %d videa z fotoaparátu?"
msgstr[2] "Smazat těchto %d videí z fotoaparátu?"
-#: 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?"
@@ -2760,7 +2742,7 @@ msgstr[0] "Smazat tuto fotografii/video z fotoaparátu?"
msgstr[1] "Smazat tyto %d fotografie/videa z fotoaparátu?"
msgstr[2] "Smazat těchto %d fotografií/videí z fotoaparátu?"
-#: 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?"
@@ -2768,15 +2750,15 @@ 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:1745 src/Dialogs.vala:1408
+#: src/camera/ImportPage.vala:1731 src/Dialogs.vala:1408
msgid "_Keep"
msgstr "_Zachovat"
-#: src/camera/ImportPage.vala:1764
+#: src/camera/ImportPage.vala:1750
msgid "Removing photos/videos from camera"
msgstr "Odstraňují se fotografie/videa z fotoaparátu"
-#: 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."
@@ -2784,51 +2766,127 @@ msgstr[0] "Kvůli chybě nelze smazat fotografii/video z fotoaparátu."
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:230 src/PhotoPage.vala:2635
+#: src/CollectionPage.vala:74 src/direct/DirectPhotoPage.vala:78
+#: src/PhotoPage.vala:2449 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
+msgid "Send _To…"
+msgstr "Odesla_t…"
+
+#: src/CollectionPage.vala:78 src/direct/DirectPhotoPage.vala:83
+#: src/PhotoPage.vala:2459 src/Resources.vala:220
+msgid "Set as _Desktop Background"
+msgstr "Nastavit jako poza_dí plochy"
+
+#: src/CollectionPage.vala:86 src/Resources.vala:286
+msgid "_Duplicate"
+msgstr "_Duplikovat"
+
+#: src/CollectionPage.vala:94
+msgid "Fullscreen"
+msgstr "Celá obrazovka"
+
+#: src/CollectionPage.vala:96 ui/photo.ui:180
msgid "S_lideshow"
msgstr "P_romítat"
-#: src/CollectionPage.vala:231 src/PhotoPage.vala:2636
-msgid "Play a slideshow"
-msgstr "Spustit promítání snímků"
+#: src/CollectionPage.vala:104 src/Resources.vala:139 ui/direct.ui:111
+#: ui/photo.ui:200
+msgid "Rotate _Right"
+msgstr "Otočit dop_rava"
+
+#: src/CollectionPage.vala:107 src/Resources.vala:144 ui/direct.ui:116
+#: ui/photo.ui:205
+msgid "Rotate _Left"
+msgstr "Otočit do_leva"
+
+#: src/CollectionPage.vala:110 src/Resources.vala:149 ui/direct.ui:121
+#: ui/photo.ui:210
+msgid "Flip Hori_zontally"
+msgstr "Překlopit vo_dorovně"
+
+#: src/CollectionPage.vala:111 src/Resources.vala:152 ui/direct.ui:125
+#: ui/photo.ui:214
+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/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/photo_context.ui:11 ui/photo.ui:250
+msgid "Re_vert to Original"
+msgstr "_Vrátit zpět na původní"
+
+#: src/CollectionPage.vala:116 src/Resources.vala:190 ui/photo.ui:256
+msgid "_Copy Color Adjustments"
+msgstr "_Kopírovat úpravu barev"
+
+#: src/CollectionPage.vala:119 src/Resources.vala:194 ui/photo.ui:261
+msgid "_Paste Color Adjustments"
+msgstr "Vložit ú_pravu barev"
+
+#: src/CollectionPage.vala:129
+msgid "Adjust Date and Time…"
+msgstr "Nastavit datum a čas…"
+
+#: src/CollectionPage.vala:137 src/Resources.vala:319
+msgid "Open With E_xternal Editor"
+msgstr "Otevřít v e_xterním editoru"
+
+#: 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 "Otevřít v editoru RA_W"
+
+#: src/CollectionPage.vala:143 src/Resources.vala:167
+msgid "_Play"
+msgstr "_Přehrát"
-#: src/CollectionPage.vala:456
+#: src/CollectionPage.vala:399
msgid "Export Photo/Video"
msgstr "Export fotografie/videa"
-#: src/CollectionPage.vala:456
+#: src/CollectionPage.vala:399
msgid "Export Photos/Videos"
msgstr "Export fotografií/videí"
-#: src/CollectionPage.vala:458 src/Dialogs.vala:59 src/PhotoPage.vala:3209
+#: src/CollectionPage.vala:401 src/Dialogs.vala:59 src/PhotoPage.vala:2986
msgid "Export Photo"
msgstr "Export fotografie"
-#: src/CollectionPage.vala:458 src/Dialogs.vala:84
+#: src/CollectionPage.vala:401 src/Dialogs.vala:84
msgid "Export Photos"
msgstr "Export fotografií"
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
+#: src/CollectionPage.vala:488 src/CollectionPage.vala:504
msgid "Rotating"
msgstr "Otáčí se"
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
+#: src/CollectionPage.vala:488 src/CollectionPage.vala:504
msgid "Undoing Rotate"
msgstr "Vrací se zpět otočení"
-#: src/CollectionPage.vala:570
+#: src/CollectionPage.vala:513
msgid "Flipping Horizontally"
msgstr "Překlápí se vodorovně"
-#: src/CollectionPage.vala:571
+#: src/CollectionPage.vala:514
msgid "Undoing Flip Horizontally"
msgstr "Vrací se zpět vodorovné překlopení"
-#: src/CollectionPage.vala:580
+#: src/CollectionPage.vala:523
msgid "Flipping Vertically"
msgstr "Překlápí se svisle"
-#: src/CollectionPage.vala:581
+#: src/CollectionPage.vala:524
msgid "Undoing Flip Vertically"
msgstr "Vrací se zpět svislé překlopení"
@@ -3045,7 +3103,7 @@ msgstr ""
msgid "Database file:"
msgstr "Databázový soubor:"
-#: 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"
@@ -3057,7 +3115,7 @@ msgstr "Import z aplikace"
msgid "Import media _from:"
msgstr "Importovat _multimédia z:"
-#: src/data_imports/DataImportsUI.vala:408 src/publishing/PublishingUI.vala:507
+#: src/data_imports/DataImportsUI.vala:408 src/publishing/PublishingUI.vala:519
msgid "_Close"
msgstr "_Zavřít"
@@ -3094,7 +3152,7 @@ msgstr ""
"Chyba:\n"
"%s"
-#: src/db/DatabaseTable.vala:88
+#: src/db/DatabaseTable.vala:92
#, c-format
msgid "Unable to restore photo database %s"
msgstr "Nelze obnovit databázi s fotografiemi %s"
@@ -3127,8 +3185,9 @@ 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/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409
-#: src/Resources.vala:674
+#: 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
+#: ui/trash.ui:258
msgid "_Delete"
msgstr "S_mazat"
@@ -3616,9 +3675,9 @@ msgstr "Import dokončen"
#, c-format
msgid "%d second"
msgid_plural "%d seconds"
-msgstr[0] "%d vteřina"
-msgstr[1] "%d vteřiny"
-msgstr[2] "%d vteřin"
+msgstr[0] "%d sekunda"
+msgstr[1] "%d sekundy"
+msgstr[2] "%d sekund"
#: src/Dialogs.vala:1177
#, c-format
@@ -3825,9 +3884,9 @@ msgstr[2] "minut"
#: src/Dialogs.vala:1928
msgid "second"
msgid_plural "seconds"
-msgstr[0] "vteřinu"
-msgstr[1] "vteřiny"
-msgstr[2] "vteřin"
+msgstr[0] "sekundu"
+msgstr[1] "sekundy"
+msgstr[2] "sekund"
#: src/Dialogs.vala:1972
#, c-format
@@ -3926,7 +3985,7 @@ msgstr "rok%směsíc-den"
msgid "Year-Month-Day"
msgstr "rok-měsíc-den"
-#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:781
+#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:780
msgid "Custom"
msgstr "Vlastní"
@@ -3957,11 +4016,11 @@ msgstr "_Importovat bez kopírování"
msgid "Import to Library"
msgstr "Import do knihovny"
-#: src/Dialogs.vala:2720 src/PhotoPage.vala:3085
+#: src/Dialogs.vala:2720 src/PhotoPage.vala:2862
msgid "Remove From Library"
msgstr "Odstranění z knihovny"
-#: src/Dialogs.vala:2721 src/PhotoPage.vala:3085
+#: src/Dialogs.vala:2721 src/PhotoPage.vala:2862
msgid "Removing Photo From Library"
msgstr "Odstraňuje se fotografie z knihovny"
@@ -4082,157 +4141,51 @@ msgstr "Šířka"
msgid "Height"
msgstr "Výška"
-#: src/direct/DirectPhotoPage.vala:46 src/library/LibraryWindow.vala:335
-msgid "_File"
-msgstr "_Soubor"
-
-#: src/direct/DirectPhotoPage.vala:51 src/direct/DirectPhotoPage.vala:432
-#: src/Resources.vala:175
-msgid "_Save"
-msgstr "_Uložit"
-
-#: src/direct/DirectPhotoPage.vala:52
-msgid "Save photo"
-msgstr "Uložit fotografii"
-
-#: src/direct/DirectPhotoPage.vala:57
-msgid "Save _As…"
-msgstr "Uložit j_ako"
-
-#: src/direct/DirectPhotoPage.vala:58
-msgid "Save photo with a different name"
-msgstr "Uložit fotografii pod jiným názvem"
-
-#: src/direct/DirectPhotoPage.vala:69
-msgid "Print the photo to a printer connected to your computer"
-msgstr "Vytisknout fotografii na tiskárně připojené k počítači"
-
-#: src/direct/DirectPhotoPage.vala:73 src/library/LibraryWindow.vala:339
-#: src/Resources.vala:159
-msgid "_Edit"
-msgstr "_Upravit"
-
-#: src/direct/DirectPhotoPage.vala:77 src/library/LibraryWindow.vala:347
-msgid "_Photo"
-msgstr "_Fotografie"
-
-#: src/direct/DirectPhotoPage.vala:81 src/PhotoPage.vala:2416
-msgid "T_ools"
-msgstr "Nástr_oje"
-
-#: src/direct/DirectPhotoPage.vala:86 src/PhotoPage.vala:2421
-msgid "_Previous Photo"
-msgstr "_Předchozí fotka"
-
-#: src/direct/DirectPhotoPage.vala:87 src/PhotoPage.vala:2422
-msgid "Previous Photo"
-msgstr "Předchozí fotografie"
-
-#: src/direct/DirectPhotoPage.vala:92 src/PhotoPage.vala:2427
-msgid "_Next Photo"
-msgstr "_Následující fotka"
-
-#: src/direct/DirectPhotoPage.vala:93 src/PhotoPage.vala:2428
-msgid "Next Photo"
-msgstr "Následující fotografie"
-
-#: src/direct/DirectPhotoPage.vala:165 src/library/LibraryWindow.vala:343
-#: src/PhotoPage.vala:2412
-msgid "_View"
-msgstr "_Zobrazit"
-
-#: src/direct/DirectPhotoPage.vala:169 src/library/LibraryWindow.vala:363
-#: src/Resources.vala:162
-msgid "_Help"
-msgstr "_Nápověda"
-
-#: src/direct/DirectPhotoPage.vala:174 src/MediaPage.vala:340
-#: src/PhotoPage.vala:2591 src/Resources.vala:183
-msgid "Zoom _In"
-msgstr "Přiblíž_it"
-
-#: src/direct/DirectPhotoPage.vala:175 src/PhotoPage.vala:2592
-msgid "Increase the magnification of the photo"
-msgstr "Zvýšit přiblížení fotografie"
-
-#: src/direct/DirectPhotoPage.vala:180 src/MediaPage.vala:346
-#: src/PhotoPage.vala:2597 src/Resources.vala:184
-msgid "Zoom _Out"
-msgstr "_Oddálit"
-
-#: src/direct/DirectPhotoPage.vala:181 src/PhotoPage.vala:2598
-msgid "Decrease the magnification of the photo"
-msgstr "Snížit přiblížení fotografie"
-
-#: src/direct/DirectPhotoPage.vala:186 src/PhotoPage.vala:2603
-msgid "Fit to _Page"
-msgstr "Přizpůsobit _stránce"
-
-#: src/direct/DirectPhotoPage.vala:187 src/PhotoPage.vala:2604
-msgid "Zoom the photo to fit on the screen"
-msgstr "Přizpůsobit přiblížení fotografie velikosti obrazovky"
-
-#: src/direct/DirectPhotoPage.vala:193 src/PhotoPage.vala:2610
-#, no-c-format
-msgid "Zoom _100%"
-msgstr "Přiblížení _100%"
-
-#: src/direct/DirectPhotoPage.vala:195 src/PhotoPage.vala:2612
-#, no-c-format
-msgid "Zoom the photo to 100% magnification"
-msgstr "Zobrazit fotografii v původní velikosti"
-
-#: src/direct/DirectPhotoPage.vala:201 src/PhotoPage.vala:2618
-#, no-c-format
-msgid "Zoom _200%"
-msgstr "Přiblížení _200%"
-
-#: src/direct/DirectPhotoPage.vala:203 src/PhotoPage.vala:2620
-#, no-c-format
-msgid "Zoom the photo to 200% magnification"
-msgstr "Zobrazit fotografii v dvojnásobku původní velikosti"
-
-#: src/direct/DirectPhotoPage.vala:227
+#: src/direct/DirectPhotoPage.vala:92
#, c-format
msgid "%s does not exist."
msgstr "%s neexistuje."
-#: src/direct/DirectPhotoPage.vala:229
+#: src/direct/DirectPhotoPage.vala:94
#, c-format
msgid "%s is not a file."
msgstr "%s není soubor."
-#: src/direct/DirectPhotoPage.vala:231
+#: src/direct/DirectPhotoPage.vala:96
#, c-format
msgid ""
"%s does not support the file format of\n"
"%s."
msgstr "%s nepodporuje formát %s."
-#: src/direct/DirectPhotoPage.vala:248
+#: src/direct/DirectPhotoPage.vala:113
#, c-format
msgid "Unable open photo %s. Sorry."
msgstr "Nelze otevřít fotografii %s."
-#: src/direct/DirectPhotoPage.vala:432
+#: src/direct/DirectPhotoPage.vala:297 src/Resources.vala:175 ui/direct.ui:8
+msgid "_Save"
+msgstr "_Uložit"
+
+#: src/direct/DirectPhotoPage.vala:297
msgid "_Save a Copy"
msgstr "Uložit _kopii"
-#: src/direct/DirectPhotoPage.vala:435
+#: src/direct/DirectPhotoPage.vala:300
#, c-format
msgid "Lose changes to %s?"
msgstr "Zahodit změny v %s?"
-#: src/direct/DirectPhotoPage.vala:436
+#: src/direct/DirectPhotoPage.vala:301
msgid "Close _without Saving"
msgstr "Zavřít _bez uložení"
-#: src/direct/DirectPhotoPage.vala:469
+#: src/direct/DirectPhotoPage.vala:334
#, c-format
msgid "Error while saving to %s: %s"
msgstr "Chyba při ukládání %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 "Uložení jako"
@@ -4242,201 +4195,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:665
+#: src/editing_tools/EditingTools.vala:664
msgid "Return to current photo dimensions"
msgstr "Vrátit se k původním rozměrům fotky"
-#: src/editing_tools/EditingTools.vala:668
+#: src/editing_tools/EditingTools.vala:667
msgid "Set the crop for this photo"
msgstr "Nastaví oříznutí fotografie"
-#: src/editing_tools/EditingTools.vala:680
+#: src/editing_tools/EditingTools.vala:679
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:753
+#: src/editing_tools/EditingTools.vala:752
msgid "Unconstrained"
msgstr "Neomezeně"
-#: src/editing_tools/EditingTools.vala:754
+#: src/editing_tools/EditingTools.vala:753
msgid "Square"
msgstr "Čtverec"
-#: src/editing_tools/EditingTools.vala:755
+#: src/editing_tools/EditingTools.vala:754
msgid "Screen"
msgstr "Obrazovka"
-#: 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 video (4:3)"
-#: src/editing_tools/EditingTools.vala:759
+#: src/editing_tools/EditingTools.vala:758
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:760 src/Printing.vala:818
msgid "Wallet (2 × 3 in.)"
msgstr "Do peněženky (2 × 3 palce)"
-#: 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 "Poznámková karta (3 × 5 palců)"
-#: 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 palců"
-#: 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 palců"
-#: 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 palců"
-#: src/editing_tools/EditingTools.vala:766
+#: src/editing_tools/EditingTools.vala:765
msgid "Letter (8.5 × 11 in.)"
msgstr "Letter (8,5 x 11 palců)"
-#: 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 palců"
-#: src/editing_tools/EditingTools.vala:768
+#: src/editing_tools/EditingTools.vala:767
msgid "Tabloid (11 × 17 in.)"
msgstr "Tabloid (11 × 17 palců)"
-#: 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 palců"
-#: 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 "Do peněženky (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 "Pohlednice (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:395
msgid "Size:"
msgstr "Velikost:"
-#: src/editing_tools/EditingTools.vala:1887
+#: src/editing_tools/EditingTools.vala:1893
msgid "Close the red-eye tool"
msgstr "Zavřít nástroj pro odstranění červených očí"
-#: src/editing_tools/EditingTools.vala:1890
+#: src/editing_tools/EditingTools.vala:1896
msgid "Remove any red-eye effects in the selected region"
msgstr "Odstranit efekt červených očí ve vybrané oblasti"
-#: src/editing_tools/EditingTools.vala:2229
+#: src/editing_tools/EditingTools.vala:2236
#: 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:2243 src/Properties.vala:436
+#: src/editing_tools/EditingTools.vala:2250 src/Properties.vala:436
#: src/Properties.vala:440 src/Properties.vala:447
msgid "Exposure:"
msgstr "Expozice:"
-#: src/editing_tools/EditingTools.vala:2251
+#: src/editing_tools/EditingTools.vala:2259
msgid "Contrast:"
msgstr "Kontrast:"
-#: src/editing_tools/EditingTools.vala:2259
+#: src/editing_tools/EditingTools.vala:2268
msgid "Saturation:"
msgstr "Sytost:"
-#: src/editing_tools/EditingTools.vala:2267
+#: src/editing_tools/EditingTools.vala:2277
msgid "Tint:"
msgstr "Odstín:"
-#: src/editing_tools/EditingTools.vala:2276
+#: src/editing_tools/EditingTools.vala:2287
msgid "Temperature:"
msgstr "Teplota:"
-#: src/editing_tools/EditingTools.vala:2284
+#: src/editing_tools/EditingTools.vala:2296
msgid "Shadows:"
msgstr "Tmavé tóny:"
-#: src/editing_tools/EditingTools.vala:2292
+#: src/editing_tools/EditingTools.vala:2305
msgid "Highlights:"
msgstr "Světlé tóny:"
-#: src/editing_tools/EditingTools.vala:2346
+#: src/editing_tools/EditingTools.vala:2361
msgid "Reset Colors"
msgstr "Původní barvy"
-#: src/editing_tools/EditingTools.vala:2346
+#: src/editing_tools/EditingTools.vala:2361
msgid "Reset all color adjustments to original"
msgstr "Obnovit nastavení barev na původní"
-#: src/editing_tools/EditingTools.vala:2705
+#: src/editing_tools/EditingTools.vala:2720
msgid "Temperature"
msgstr "Teplota"
-#: src/editing_tools/EditingTools.vala:2717
+#: src/editing_tools/EditingTools.vala:2732
msgid "Tint"
msgstr "Odstín"
-#: src/editing_tools/EditingTools.vala:2729
+#: src/editing_tools/EditingTools.vala:2744
msgid "Contrast"
msgstr "Kontrast"
-#: src/editing_tools/EditingTools.vala:2743
+#: src/editing_tools/EditingTools.vala:2758
msgid "Saturation"
msgstr "Sytost"
-#: src/editing_tools/EditingTools.vala:2756
+#: src/editing_tools/EditingTools.vala:2771
msgid "Exposure"
msgstr "Expozice"
-#: src/editing_tools/EditingTools.vala:2769
+#: src/editing_tools/EditingTools.vala:2784
msgid "Shadows"
msgstr "Tmavé tóny"
-#: src/editing_tools/EditingTools.vala:2782
+#: src/editing_tools/EditingTools.vala:2797
msgid "Highlights"
msgstr "Světlé tóny"
-#: src/editing_tools/EditingTools.vala:2792
+#: src/editing_tools/EditingTools.vala:2807
msgid "Contrast Expansion"
msgstr "Zvýšení kontrastu"
@@ -4445,6 +4398,7 @@ msgid "Angle:"
msgstr "Úhel:"
#: src/editing_tools/StraightenTool.vala:100 src/Resources.vala:202
+#: ui/direct.ui:144 ui/photo.ui:233
msgid "_Straighten"
msgstr "_Vyrovnat"
@@ -4476,39 +4430,31 @@ msgstr[0] "%d fotografie"
msgstr[1] "%d fotografie"
msgstr[2] "%d fotografií"
-#: src/events/EventPage.vala:129
+#: src/events/EventPage.vala:121
msgid "No Event"
msgstr "Žádná událost"
-#: src/events/EventsDirectoryPage.vala:130 src/MediaPage.vala:457
-msgid "_Comments"
-msgstr "_Komentáře"
-
-#: src/events/EventsDirectoryPage.vala:131
-msgid "Display the comment of each event"
-msgstr "U každé události zobrazit komentář"
-
-#: src/events/EventsDirectoryPage.vala:155
+#: src/events/EventsDirectoryPage.vala:143
msgid "No events"
msgstr "Žádné události"
-#: src/events/EventsDirectoryPage.vala:159
+#: src/events/EventsDirectoryPage.vala:147
msgid "No events found"
msgstr "Nebyly nalezeny žádné události"
-#: src/events/EventsDirectoryPage.vala:230
+#: src/events/EventsDirectoryPage.vala:220
msgid "All Events"
msgstr "Všechny události"
-#: src/events/EventsDirectoryPage.vala:244
+#: src/events/EventsDirectoryPage.vala:234
msgid "Undated"
msgstr "Bez data"
-#: 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"
@@ -4548,7 +4494,7 @@ msgstr "Přepsat _vše"
msgid "Export"
msgstr "Export"
-#: src/folders/Branch.vala:141
+#: src/folders/Branch.vala:144
msgid "Folders"
msgstr "Složky"
@@ -4556,13 +4502,12 @@ msgstr "Složky"
msgid "Library"
msgstr "Knihovna"
-#: src/library/Branch.vala:97 src/SearchFilter.vala:608
-#: src/SearchFilter.vala:609
+#: src/library/Branch.vala:97 src/SearchFilter.vala:1104
msgid "Photos"
msgstr "Fotografie"
-#: 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:1123
+#: src/SearchFilter.vala:1124
msgid "Flagged"
msgstr "Označeno"
@@ -4570,19 +4515,11 @@ msgstr "Označeno"
msgid "Importing…"
msgstr "Import…"
-#: src/library/ImportQueuePage.vala:67
-msgid "_Stop Import"
-msgstr "Za_stavit import"
-
-#: src/library/ImportQueuePage.vala:68
-msgid "Stop importing photos"
-msgstr "Zastavit import fotografií"
-
-#: src/library/ImportQueuePage.vala:124
+#: src/library/ImportQueuePage.vala:122
msgid "Preparing to import…"
msgstr "Připravuje se k importu…"
-#: src/library/ImportQueuePage.vala:151
+#: src/library/ImportQueuePage.vala:149
#, c-format
msgid "Imported %s"
msgstr "Naimportováno %s"
@@ -4591,190 +4528,81 @@ msgstr "Naimportováno %s"
msgid "Last Import"
msgstr "Poslední import"
-#: src/library/LibraryWindow.vala:285
-msgid "_Import From Folder…"
-msgstr "_Import ze složky…"
-
-#: src/library/LibraryWindow.vala:286
-msgid "Import photos from disk to library"
-msgstr "Importovat fotografie z disku do knihovny"
+#: src/library/LibraryWindow.vala:501
+msgid "Import From Folder"
+msgstr "Import ze složky"
-#: src/library/LibraryWindow.vala:293
-msgid "Import From _Application…"
-msgstr "Import z _aplikace…"
+#: src/library/LibraryWindow.vala:570 ui/trash.ui:288
+msgid "Empty Trash"
+msgstr "Vyprázdnění koše"
-#: src/library/LibraryWindow.vala:297
-msgid "Sort _Events"
-msgstr "S_eřadit události"
+#: src/library/LibraryWindow.vala:570
+msgid "Emptying Trash…"
+msgstr "Vyprazdňuje se koš…"
-#: src/library/LibraryWindow.vala:307
-msgid "Empty T_rash"
-msgstr "Vyp_rázdnit koš"
+#: src/library/LibraryWindow.vala:763
+#, c-format
+msgid ""
+"Shotwell is configured to import photos to your home directory.\n"
+"We recommend changing this in Edit %s Preferences"
+"span>.\n"
+"Do you want to continue importing photos?"
+msgstr ""
+"Shotwell je nastaven, aby importovat fotografie do vaší domovské složky.\n"
+"Doporučujeme to v Upravit %s Předvolby změnit.\n"
+"Chcete pokračovat v importu fotografií?"
-#: src/library/LibraryWindow.vala:308
-msgid "Delete all photos in the trash"
-msgstr "Vymazat všechny fotografie v koši"
+#: src/library/LibraryWindow.vala:766 ui/shotwell.ui:784
+msgid "Library Location"
+msgstr "Umístění knihovny"
-#: src/library/LibraryWindow.vala:313
-msgid "View Eve_nt for Photo"
-msgstr "Zobrazit u_dálosti pro fotku"
+#. TODO: Specify which directory/file.
+#: src/library/LibraryWindow.vala:779
+msgid "Photos cannot be imported from this directory."
+msgstr "Z této složky nemohou být fotografie importovány."
-#: src/library/LibraryWindow.vala:317
-msgid "_Find"
-msgstr "Na_jít"
+#: src/library/LibraryWindow.vala:1059
+#, c-format
+msgid "%s (%d%%)"
+msgstr "%s (%d %%)"
-#: src/library/LibraryWindow.vala:318
-msgid "Find photos and videos by search criteria"
-msgstr "Najít fotografie nebo videa podle zadaných kritérií"
+#: src/library/LibraryWindow.vala:1103 src/library/LibraryWindow.vala:1114
+msgid "Updating library…"
+msgstr "Aktualizuje se knihovna…"
-#: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77
-#: src/sidebar/Tree.vala:199
-msgid "Ne_w Saved Search…"
-msgstr "No_vé uložené vyhledávání…"
+#: src/library/LibraryWindow.vala:1120
+msgid "Preparing to auto-import photos…"
+msgstr "Připravuje se automatický import fotografií…"
-#: src/library/LibraryWindow.vala:351
-msgid "_Photos"
-msgstr "_Fotografie"
+#: src/library/LibraryWindow.vala:1125
+msgid "Auto-importing photos…"
+msgstr "Provádí se automatický import fotografií…"
-#: src/library/LibraryWindow.vala:355
-msgid "Even_ts"
-msgstr "Událos_ti"
+#: src/library/LibraryWindow.vala:1133
+msgid "Writing metadata to files…"
+msgstr "Zapisují se metadata do souborů…"
-#: src/library/LibraryWindow.vala:359 src/MediaPage.vala:469
-msgid "Ta_gs"
-msgstr "Štít_ky"
+#: src/library/OfflinePage.vala:8
+msgid "Missing Files"
+msgstr "Chybějící soubory"
-#: src/library/LibraryWindow.vala:374
-msgid "_Basic Information"
-msgstr "_Základní informace"
+#: src/library/OfflinePage.vala:103
+msgid "Deleting…"
+msgstr "Maže se…"
-#: src/library/LibraryWindow.vala:375
-msgid "Display basic information for the selection"
-msgstr "Zobrazovat základní informace o vybrané fotografii"
+#: src/library/TrashPage.vala:8
+msgid "Trash"
+msgstr "Koš"
-#: src/library/LibraryWindow.vala:380
-msgid "E_xtended Information"
-msgstr "_Rozšiřující informace"
-
-#: src/library/LibraryWindow.vala:381
-msgid "Display extended information for the selection"
-msgstr "Zobrazovat více informací o vybrané fotografii"
-
-#: src/library/LibraryWindow.vala:386
-msgid "_Search Bar"
-msgstr "Vy_hledávací lišta"
-
-#: src/library/LibraryWindow.vala:387
-msgid "Display the search bar"
-msgstr "Zobrazovat vyhledávací lištu"
-
-#: src/library/LibraryWindow.vala:392
-msgid "S_idebar"
-msgstr "P_ostranní panel"
-
-#: src/library/LibraryWindow.vala:393
-msgid "Display the sidebar"
-msgstr "Zobrazovat postranní panel"
-
-#: src/library/LibraryWindow.vala:398
-msgid "T_oolbar"
-msgstr "Nástroj_ová lišta"
-
-#: src/library/LibraryWindow.vala:399
-msgid "Display the tool bar"
-msgstr "Zobrazovat nástrojovou lištu"
-
-#: src/library/LibraryWindow.vala:411 src/MediaPage.vala:515
-msgid "_Ascending"
-msgstr "_Vzestupně"
-
-#: src/library/LibraryWindow.vala:412 src/MediaPage.vala:516
-msgid "Sort photos in an ascending order"
-msgstr "Seřadit fotografie ve vzestupném pořadí"
-
-#: src/library/LibraryWindow.vala:418 src/MediaPage.vala:521
-msgid "D_escending"
-msgstr "_Sestupně"
-
-#: src/library/LibraryWindow.vala:419 src/MediaPage.vala:522
-msgid "Sort photos in a descending order"
-msgstr "Seřadit fotografie v sestupném pořadí"
-
-#: src/library/LibraryWindow.vala:657
-msgid "Import From Folder"
-msgstr "Import ze složky"
-
-#: src/library/LibraryWindow.vala:726
-msgid "Empty Trash"
-msgstr "Vyprázdnění koše"
-
-#: src/library/LibraryWindow.vala:726
-msgid "Emptying Trash…"
-msgstr "Vyprazdňuje se koš…"
-
-#: src/library/LibraryWindow.vala:901
-#, c-format
-msgid ""
-"Shotwell is configured to import photos to your home directory.\n"
-"We recommend changing this in Edit %s Preferences"
-"span>.\n"
-"Do you want to continue importing photos?"
-msgstr ""
-"Shotwell je nastaven, aby importovat fotografie do vaší domovské složky.\n"
-"Doporučujeme to v Upravit %s Předvolby změnit.\n"
-"Chcete pokračovat v importu fotografií?"
-
-#: src/library/LibraryWindow.vala:904 ui/shotwell.ui:784
-msgid "Library Location"
-msgstr "Umístění knihovny"
-
-#. TODO: Specify which directory/file.
-#: src/library/LibraryWindow.vala:917
-msgid "Photos cannot be imported from this directory."
-msgstr "Z této složky nemohou být fotografie importovány."
-
-#: src/library/LibraryWindow.vala:1203
-#, c-format
-msgid "%s (%d%%)"
-msgstr "%s (%d %%)"
-
-#: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258
-msgid "Updating library…"
-msgstr "Aktualizuje se knihovna…"
-
-#: src/library/LibraryWindow.vala:1264
-msgid "Preparing to auto-import photos…"
-msgstr "Připravuje se automatický import fotografií…"
-
-#: src/library/LibraryWindow.vala:1269
-msgid "Auto-importing photos…"
-msgstr "Provádí se automatický import fotografií…"
-
-#: src/library/LibraryWindow.vala:1277
-msgid "Writing metadata to files…"
-msgstr "Zapisují se metadata do souborů…"
-
-#: src/library/OfflinePage.vala:8
-msgid "Missing Files"
-msgstr "Chybějící soubory"
-
-#: src/library/OfflinePage.vala:106
-msgid "Deleting…"
-msgstr "Maže se…"
-
-#: src/library/TrashPage.vala:8
-msgid "Trash"
-msgstr "Koš"
-
-#: src/library/TrashPage.vala:108
+#: src/library/TrashPage.vala:101
msgid "Trash is empty"
msgstr "Koš je prázdný"
-#: src/library/TrashPage.vala:112
+#: src/library/TrashPage.vala:105
msgid "Delete"
msgstr "Smazání"
-#: src/library/TrashPage.vala:113
+#: src/library/TrashPage.vala:106
msgid "Deleting Photos"
msgstr "Mažou se fotografie"
@@ -4861,71 +4689,7 @@ msgstr "Nelze sledovat změny: %s"
msgid "Adjust the size of the thumbnails"
msgstr "Nastavit velikost náhledů"
-#: src/MediaPage.vala:341
-msgid "Increase the magnification of the thumbnails"
-msgstr "Zvětšit velikost náhledů"
-
-#: src/MediaPage.vala:347
-msgid "Decrease the magnification of the thumbnails"
-msgstr "Zmenšit velikost náhledů"
-
-#: src/MediaPage.vala:414
-msgid "Sort _Photos"
-msgstr "Seřadit _fotky"
-
-#: src/MediaPage.vala:423
-msgid "_Play Video"
-msgstr "_Přehrát video"
-
-#: src/MediaPage.vala:424
-msgid "Open the selected videos in the system video player"
-msgstr "Otevřít vybraná videa v systémovém přehrávači videí"
-
-#: src/MediaPage.vala:428 src/PhotoPage.vala:2640
-msgid "_Developer"
-msgstr "_Vývojka"
-
-#: src/MediaPage.vala:458
-msgid "Display the comment of each photo"
-msgstr "U každé fotografie zobrazit komentář"
-
-#: src/MediaPage.vala:470
-msgid "Display each photo’s tags"
-msgstr "U každé fotografie zobrazit štítky"
-
-#: src/MediaPage.vala:486
-msgid "By _Title"
-msgstr "Podle _názvu"
-
-#: src/MediaPage.vala:487
-msgid "Sort photos by title"
-msgstr "Seřadit fotografie podle názvu"
-
-#: src/MediaPage.vala:492
-msgid "By Exposure _Date"
-msgstr "Podle _data pořízení"
-
#: src/MediaPage.vala:493
-msgid "Sort photos by exposure date"
-msgstr "Seřadit fotografie podle data pořízení"
-
-#: src/MediaPage.vala:498
-msgid "By _Rating"
-msgstr "Podle _hodnocení"
-
-#: src/MediaPage.vala:499
-msgid "Sort photos by rating"
-msgstr "Seřadit fotografie podle hodnocení"
-
-#: src/MediaPage.vala:504
-msgid "By _Filename"
-msgstr "Podle názvu _souboru"
-
-#: src/MediaPage.vala:505
-msgid "Sort photos by filename"
-msgstr "Seřadit fotografie podle názvu souboru"
-
-#: src/MediaPage.vala:723
#, c-format
msgid ""
"Shotwell was unable to play the selected video:\n"
@@ -4934,16 +4698,16 @@ msgstr ""
"Nelze přehrát vybrané video:\n"
"%s"
-#: src/Page.vala:1266
+#: src/Page.vala:1338
msgid "No photos/videos"
msgstr "Žádné fotografie/videa"
-#: src/Page.vala:1270
+#: src/Page.vala:1342
msgid "No photos/videos found which match the current filter"
msgstr ""
"Nebyly nalezeny žádné fotografie/videa, které by vyhovovaly aktuálnímu filtru"
-#: src/Page.vala:2576
+#: src/Page.vala:2648
msgid "Photos cannot be exported to this directory."
msgstr "Fotografie nelze exportovat do této složky."
@@ -4962,7 +4726,7 @@ msgstr "Následující fotografie"
msgid "Photo source file missing: %s"
msgstr "Chybí zdrojový soubor s fotografií: %s"
-#: src/PhotoPage.vala:3229
+#: src/PhotoPage.vala:3006
#, c-format
msgid "Unable to export %s: %s"
msgstr "Nelze exportovat %s: %s"
@@ -5113,7 +4877,7 @@ msgstr "Délka:"
#: src/Properties.vala:404
#, c-format
msgid "%.1f seconds"
-msgstr "%.1f vteřin"
+msgstr "%.1f sekund"
#: src/Properties.vala:408
msgid "Developer:"
@@ -5260,11 +5024,11 @@ 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:397
+#: src/publishing/PublishingUI.vala:409
msgid "Unable to publish"
msgstr "Nelze zveřejnit"
-#: src/publishing/PublishingUI.vala:398
+#: src/publishing/PublishingUI.vala:410
#, c-format
msgid ""
"Shotwell cannot publish the selected items because you do not have a "
@@ -5281,11 +5045,7 @@ msgstr ""
msgid "Publishing"
msgstr "Zveřejňování"
-#: src/Resources.vala:139
-msgid "Rotate _Right"
-msgstr "Otočit dop_rava"
-
-#: src/Resources.vala:140 src/Resources.vala:145
+#: src/Resources.vala:140 src/Resources.vala:145 ui/collection.ui:149
msgid "Rotate"
msgstr "Otočit"
@@ -5293,14 +5053,10 @@ msgstr "Otočit"
msgid "Rotate Right"
msgstr "Otočit doprava"
-#: src/Resources.vala:142
+#: src/Resources.vala:142 ui/collection.ui:146
msgid "Rotate the photos right (press Ctrl to rotate left)"
msgstr "Otočit fotografii doprava (pro otočení doleva zmáčkněte Ctrl)"
-#: src/Resources.vala:144
-msgid "Rotate _Left"
-msgstr "Otočit do_leva"
-
#: src/Resources.vala:146
msgid "Rotate Left"
msgstr "Otočit doleva"
@@ -5309,23 +5065,17 @@ msgstr "Otočit doleva"
msgid "Rotate the photos left"
msgstr "Otočí fotografii doleva"
-#: src/Resources.vala:149
-msgid "Flip Hori_zontally"
-msgstr "Překlopit vo_dorovně"
-
#: src/Resources.vala:150
msgid "Flip Horizontally"
msgstr "Překlopit vodorovně"
-#: src/Resources.vala:152
-msgid "Flip Verti_cally"
-msgstr "Překlopit s_visle"
-
#: src/Resources.vala:153
msgid "Flip Vertically"
msgstr "Překlopit svisle"
-#: 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 "O _aplikaci"
@@ -5333,14 +5083,30 @@ msgstr "O _aplikaci"
msgid "_Apply"
msgstr "_Použít"
+#: 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 "_Upravit"
+
#: src/Resources.vala:160
msgid "_Forward"
msgstr "V_před"
-#: 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 "_Celá obrazovka"
+#: src/Resources.vala:162 ui/direct.ui:173 ui/direct.ui:176
+#: ui/events_directory.ui:150 ui/events_directory.ui:153 ui/event.ui:418
+#: ui/event.ui:421 ui/import_queue.ui:65 ui/import_queue.ui:68 ui/import.ui:183
+#: ui/import.ui:186 ui/media.ui:401 ui/media.ui:404 ui/offline.ui:180
+#: ui/offline.ui:183 ui/photo.ui:384 ui/photo.ui:387 ui/tags.ui:420
+#: ui/tags.ui:423 ui/top.ui:40 ui/trash.ui:189 ui/trash.ui:192
+msgid "_Help"
+msgstr "_Nápověda"
+
#: src/Resources.vala:163
msgid "Leave _Fullscreen"
msgstr "Opustit _celou obrazovku"
@@ -5353,15 +5119,9 @@ msgstr "_Nový"
msgid "_Next"
msgstr "_Následující"
-#: src/Resources.vala:166
-msgid "_OK"
-msgstr "_Budiž"
-
-#: src/Resources.vala:167
-msgid "_Play"
-msgstr "_Přehrát"
-
-#: 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 "_Předvolby"
@@ -5369,11 +5129,9 @@ msgstr "_Předvolby"
msgid "_Previous"
msgstr "_Předchozí"
-#: src/Resources.vala:170
-msgid "_Print"
-msgstr "_Tisk"
-
-#: 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 "U_končit"
@@ -5413,22 +5171,24 @@ msgstr "_Normální velikost"
msgid "Best _Fit"
msgstr "Přizpůso_bit"
-#: src/Resources.vala:186
-msgid "_Enhance"
-msgstr "_Vylepšit"
+#: 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 "Přiblíž_it"
+
+#: 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 "_Oddálit"
-#: src/Resources.vala:187
+#: src/Resources.vala:187 ui/collection.ui:165
msgid "Enhance"
msgstr "Vylepšit"
-#: src/Resources.vala:188
+#: src/Resources.vala:188 ui/collection.ui:162
msgid "Automatically improve the photo’s appearance"
msgstr "Automaticky vylepšit vzhled fotografie"
-#: src/Resources.vala:190
-msgid "_Copy Color Adjustments"
-msgstr "_Kopírovat úpravu barev"
-
#: src/Resources.vala:191
msgid "Copy Color Adjustments"
msgstr "Kopírovat úpravu barev"
@@ -5437,10 +5197,6 @@ msgstr "Kopírovat úpravu barev"
msgid "Copy the color adjustments applied to the photo"
msgstr "Kopírovat parametry úpravy barev použité u fotografie"
-#: src/Resources.vala:194
-msgid "_Paste Color Adjustments"
-msgstr "Vložit ú_pravu barev"
-
#: src/Resources.vala:195
msgid "Paste Color Adjustments"
msgstr "Vložit úpravu barev"
@@ -5449,7 +5205,7 @@ msgstr "Vložit úpravu barev"
msgid "Apply copied color adjustments to the selected photos"
msgstr "Použít u vybraných fotografií zkopírované parametry úpravy barev"
-#: src/Resources.vala:198
+#: src/Resources.vala:198 ui/direct.ui:139 ui/photo.ui:228
msgid "_Crop"
msgstr "_Oříznout"
@@ -5469,7 +5225,7 @@ msgstr "Vyrovnat"
msgid "Straighten the photo"
msgstr "Vyrovnat fotografii"
-#: src/Resources.vala:206
+#: src/Resources.vala:206 ui/direct.ui:149 ui/photo.ui:238
msgid "_Red-eye"
msgstr "Če_rvené oči"
@@ -5481,7 +5237,7 @@ msgstr "Červené oči"
msgid "Reduce or eliminate any red-eye effects in the photo"
msgstr "Odstranit nebo potlačit efekt červených očí ve fotografii"
-#: src/Resources.vala:210
+#: src/Resources.vala:210 ui/direct.ui:154 ui/photo.ui:243
msgid "_Adjust"
msgstr "_Upravit"
@@ -5493,10 +5249,6 @@ msgstr "Upravit"
msgid "Adjust the photo’s color and tone"
msgstr "Upravit barvy a tón fotografie"
-#: src/Resources.vala:214
-msgid "Re_vert to Original"
-msgstr "_Vrátit zpět na původní"
-
#: src/Resources.vala:215
msgid "Revert to Original"
msgstr "Vrátit zpět na původní"
@@ -5509,10 +5261,6 @@ msgstr "Vrátit zpět e_xterní úpravy"
msgid "Revert to the master photo"
msgstr "Zrušit změny a vrátit se zpět k původní fotografii"
-#: src/Resources.vala:220
-msgid "Set as _Desktop Background"
-msgstr "Nastavit jako poza_dí plochy"
-
#: src/Resources.vala:221
msgid "Set selected image to be the new desktop background"
msgstr "Nastavit vybranou fotografii jako obrázek na pozadí pracovní plochy"
@@ -5521,7 +5269,9 @@ msgstr "Nastavit vybranou fotografii jako obrázek na pozadí pracovní plochy"
msgid "Set as _Desktop Slideshow…"
msgstr "Nastavit jako prezentaci na p_loše…"
-#: 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 "_Zpět"
@@ -5529,7 +5279,9 @@ msgstr "_Zpět"
msgid "Undo"
msgstr "Zpět"
-#: 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 "Zn_ovu"
@@ -5537,11 +5289,12 @@ msgstr "Zn_ovu"
msgid "Redo"
msgstr "Znovu"
-#: 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 "Přejme_novat událost…"
-#: src/Resources.vala:233
+#: src/Resources.vala:233 ui/event.ui:371 ui/event.ui:576
msgid "Make _Key Photo for Event"
msgstr "Použít jako _klíčovou fotku pro událost"
@@ -5549,7 +5302,7 @@ msgstr "Použít jako _klíčovou fotku pro událost"
msgid "Make Key Photo for Event"
msgstr "Nastavit jako klíčovou fotografii pro událost"
-#: src/Resources.vala:236
+#: src/Resources.vala:236 ui/event.ui:380 ui/media.ui:374 ui/tags.ui:374
msgid "_New Event"
msgstr "_Nová událost"
@@ -5565,7 +5318,7 @@ msgstr "Přesunout fotky"
msgid "Move photos to an event"
msgstr "Přiřadit fotografie k události"
-#: src/Resources.vala:242
+#: src/Resources.vala:242 ui/events_directory.ui:135 ui/events_directory.ui:177
msgid "_Merge Events"
msgstr "S_pojit události"
@@ -5577,7 +5330,8 @@ msgstr "Spojit"
msgid "Combine events into a single event"
msgstr "Sloučit události do jedné"
-#: 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 "_Hodnotit"
@@ -5589,7 +5343,8 @@ msgstr "Nastavit hodnocení"
msgid "Change the rating of your photo"
msgstr "Změnit hodnocení své fotografie"
-#: 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 "Z_výšit"
@@ -5597,7 +5352,8 @@ msgstr "Z_výšit"
msgid "Increase Rating"
msgstr "Zvýšení hodnocení"
-#: 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 "S_nížit"
@@ -5605,7 +5361,8 @@ msgstr "S_nížit"
msgid "Decrease Rating"
msgstr "Snížení hodnocení"
-#: 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 "_Bez ohodnocení"
@@ -5625,7 +5382,8 @@ msgstr "Nastavuje se jako nehodnocené"
msgid "Remove any ratings"
msgstr "Odebrat hodnocení"
-#: 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 "_Zamítnout"
@@ -5645,7 +5403,8 @@ msgstr "Nastavuje se na zamítnuté"
msgid "Set rating to rejected"
msgstr "Nastavit hodnocení na zamítnuté"
-#: 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 "Jen _zamítnuté"
@@ -5657,7 +5416,8 @@ msgstr "Jen zamítnuté"
msgid "Show only rejected photos"
msgstr "Zobrazovat je zamítnuté fotografie"
-#: 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 "Všechny + _zamítnuté"
@@ -5666,7 +5426,8 @@ msgctxt "Tooltip"
msgid "Show all photos, including rejected"
msgstr "Zobrazovat všechny fotografie, včetně zamítnutých"
-#: 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 "_Všechny fotografie"
@@ -5675,7 +5436,8 @@ msgstr "_Všechny fotografie"
msgid "Show all photos"
msgstr "Zobrazovat všechny fotografie"
-#: 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 "_Hodnocení"
@@ -5683,7 +5445,8 @@ msgstr "_Hodnocení"
msgid "Display each photo’s rating"
msgstr "U každé fotografie zobrazit hodnocení"
-#: 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 "_Filtrovat fotografie"
@@ -5695,10 +5458,6 @@ msgstr "Filtrovat fotografie"
msgid "Limit the number of photos displayed based on a filter"
msgstr "Omezit počet zobrazených fotografií pomocí filtru"
-#: src/Resources.vala:286
-msgid "_Duplicate"
-msgstr "_Duplikovat"
-
#: src/Resources.vala:287
msgid "Duplicate"
msgstr "Duplikovat"
@@ -5719,11 +5478,12 @@ msgstr "_Tisk…"
msgid "Pu_blish…"
msgstr "Z_veřejnit…"
-#: src/Resources.vala:296
+#: src/Resources.vala:296 ui/collection.ui:187
msgid "Publish to various websites"
msgstr "Zveřejnit na různých webových stránkách"
-#: 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 "Úpravi_t název…"
@@ -5733,7 +5493,9 @@ msgctxt "Button Label"
msgid "Edit Title"
msgstr "Upravit název"
-#: 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 "Upravit _komentář…"
@@ -5742,11 +5504,11 @@ msgstr "Upravit _komentář…"
msgid "Edit Comment"
msgstr "Upravit komentář"
-#: src/Resources.vala:306
+#: src/Resources.vala:306 ui/event.ui:588
msgid "Edit Event _Comment…"
msgstr "Úpravit _komentář k události…"
-#: src/Resources.vala:309
+#: src/Resources.vala:309 ui/direct.ui:167 ui/photo.ui:335
msgid "_Adjust Date and Time…"
msgstr "N_astavit datum a čas…"
@@ -5754,11 +5516,12 @@ msgstr "N_astavit datum a čas…"
msgid "Adjust Date and Time"
msgstr "Nastavení data a času"
-#: 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 "Přidat š_títky…"
-#: src/Resources.vala:313
+#: src/Resources.vala:313 ui/photo_context.ui:17
msgid "_Add Tags…"
msgstr "Přid_at štítky…"
@@ -5768,19 +5531,7 @@ msgctxt "Dialog Title"
msgid "Add Tags"
msgstr "Přidání štítků"
-#: src/Resources.vala:319
-msgid "Open With E_xternal Editor"
-msgstr "Otevřít v e_xterním editoru"
-
-#: src/Resources.vala:321
-msgid "Open With RA_W Editor"
-msgstr "Otevřít v editoru RA_W"
-
-#: src/Resources.vala:323
-msgid "Send _To…"
-msgstr "Odesla_t…"
-
-#: src/Resources.vala:324
+#: src/Resources.vala:324 ui/photo_context.ui:133
msgid "Send T_o…"
msgstr "_Odeslat…"
@@ -5788,11 +5539,13 @@ msgstr "_Odeslat…"
msgid "_Find…"
msgstr "Na_jít…"
-#: src/Resources.vala:327
+#: src/Resources.vala:327 ui/collection.ui:215 ui/offline.ui:239
+#: ui/trash.ui:312
msgid "Find"
msgstr "Najít"
-#: 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 "Najít obrázky, jejichž název nebo štítek obsahují napsaný text"
@@ -5854,7 +5607,8 @@ msgstr "Přejmenovat štítek „%s“ na „%s“"
msgid "_Rename…"
msgstr "_Přejmenovat…"
-#: 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 "Změn_it štítky…"
@@ -5865,162 +5619,159 @@ msgstr "Změnit štítky"
#: src/Resources.vala:379
#, c-format
msgid "Tag Photo as “%s”"
-msgstr "Oštítkovat fotku jak „%s“"
+msgid_plural "Tag Photos as “%s”"
+msgstr[0] "Oštítkovat fotku jako „%s“"
+msgstr[1] "Oštítkovat fotky jako „%s“"
+msgstr[2] "Oštítkovat fotky jako „%s“"
-#: src/Resources.vala:379
-#, c-format
-msgid "Tag Photos as “%s”"
-msgstr "Oštítkovat fotku jak „%s“"
-
-#: src/Resources.vala:383
+#: src/Resources.vala:385
#, c-format
msgid "Tag the selected photo as “%s”"
-msgstr "Oštítkovat vybranou fotku jako „%s“"
+msgid_plural "Tag the selected photos as “%s”"
+msgstr[0] "Oštítkovat vybranou fotku jako „%s“"
+msgstr[1] "Oštítkovat vybrané fotky jako „%s“"
+msgstr[2] "Oštítkovat vybrané fotky jako „%s“"
-#: src/Resources.vala:384
-#, c-format
-msgid "Tag the selected photos as “%s”"
-msgstr "Oštítkovat vybrané fotky jako „%s“"
-
-#: src/Resources.vala:388
+#: src/Resources.vala:391
#, c-format
msgid "Remove Tag “%s” From _Photo"
-msgstr "Odstranit z _fotky štítek „%s“"
-
-#: src/Resources.vala:389
-#, c-format
-msgid "Remove Tag “%s” From _Photos"
-msgstr "Odstranit z _fotek štítek „%s“"
+msgid_plural "Remove Tag “%s” From _Photos"
+msgstr[0] "Odstranit z _fotky štítek „%s“"
+msgstr[1] "Odstranit z _fotek štítek „%s“"
+msgstr[2] "Odstranit z _fotek štítek „%s“"
-#: src/Resources.vala:393
+#: src/Resources.vala:397
#, c-format
msgid "Remove Tag “%s” From Photo"
-msgstr "Odstranit z fotky šítek „%s“"
+msgid_plural "Remove Tag “%s” From Photos"
+msgstr[0] "Odstranit z fotky šítek „%s“"
+msgstr[1] "Odstranit z fotek šítek „%s“"
+msgstr[2] "Odstranit z fotek šítek „%s“"
-#: src/Resources.vala:394
-#, c-format
-msgid "Remove Tag “%s” From Photos"
-msgstr "Odstranit z fotek štítek „%s“"
-
-#: src/Resources.vala:398
+#: src/Resources.vala:403
#, c-format
msgid "Unable to rename tag to “%s” because the tag already exists."
msgstr "Nelze přejmenovat šítek na „%s“, protože takový už existuje."
-#: src/Resources.vala:402
+#: src/Resources.vala:407
#, c-format
msgid "Unable to rename search to “%s” because the search already exists."
msgstr "Nelze přejmenovat hledání na „%s“, protože takové už existuje."
#. Saved search button
-#: src/Resources.vala:405 src/SearchFilter.vala:1210
+#: src/Resources.vala:410 src/SearchFilter.vala:1145
msgid "Saved Search"
msgstr "Uložené hledání"
-#: src/Resources.vala:407
+#: src/Resources.vala:412
msgid "Delete Search"
msgstr "Smazat hledání"
-#: src/Resources.vala:410
+#: src/Resources.vala:415 ui/savedsearch.ui:12
msgid "_Edit…"
msgstr "_Upravit…"
-#: src/Resources.vala:411
+#: src/Resources.vala:416 ui/savedsearch.ui:8
msgid "Re_name…"
msgstr "Přejme_novat…"
-#: src/Resources.vala:414
+#: src/Resources.vala:419
#, c-format
msgid "Rename Search “%s” to “%s”"
msgstr "Přejmenovat hledání „%s“ na „%s“"
-#: src/Resources.vala:418
+#: src/Resources.vala:423
#, c-format
msgid "Delete Search “%s”"
msgstr "Smazat hledání „%s“"
-#: src/Resources.vala:576
+#: src/Resources.vala:560
#, c-format
msgid "Rate %s"
msgstr "Hodnocení %s"
-#: src/Resources.vala:577
+#: src/Resources.vala:561
#, c-format
msgid "Set rating to %s"
msgstr "Nastavit ohodnocení na %s"
-#: src/Resources.vala:578
+#: src/Resources.vala:562
#, c-format
msgid "Setting rating to %s"
msgstr "Nastavuje se ohodnocení na %s"
-#: src/Resources.vala:580
+#: src/Resources.vala:564
#, c-format
msgid "Display %s"
msgstr "Zobrazit %s"
-#: src/Resources.vala:581
+#: src/Resources.vala:565
#, c-format
msgid "Only show photos with a rating of %s"
msgstr "Zobrazit jen fotografie s ohodnocením %s"
-#: src/Resources.vala:582
+#: src/Resources.vala:566
#, c-format
msgid "%s or Better"
msgstr "%s nebo lepší"
-#: src/Resources.vala:583
+#: src/Resources.vala:567
#, c-format
msgid "Display %s or Better"
msgstr "Zobrazit %s nebo lepší"
-#: src/Resources.vala:584
+#: src/Resources.vala:568
#, c-format
msgid "Only show photos with a rating of %s or better"
msgstr "Zobrazit jen fotografie s hodnocením %s nebo lepším"
-#: src/Resources.vala:675
+#: src/Resources.vala:659 ui/trash.ui:255
msgid "Remove the selected photos from the trash"
msgstr "Odstranit vybrané fotografie z koše"
-#: src/Resources.vala:676
+#: src/Resources.vala:660 ui/offline.ui:221
msgid "Remove the selected photos from the library"
msgstr "Odstraní vybrané fotografie z knihovny"
-#: src/Resources.vala:678
+#: src/Resources.vala:662 ui/trash.ui:68 ui/trash.ui:221 ui/trash.ui:273
msgid "_Restore"
msgstr "O_bnovit"
-#: src/Resources.vala:679
+#: src/Resources.vala:663 ui/trash.ui:270
msgid "Move the selected photos back into the library"
msgstr "Přesunout vybrané fotografie zpět do knihovny"
-#: src/Resources.vala:681
+#: src/Resources.vala:665 ui/collection.ui:121 ui/direct_context.ui:21
+#: 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 "Otevřít ve _správci souborů"
-#: src/Resources.vala:682
+#: src/Resources.vala:666
msgid "Open the selected photo’s directory in the file manager"
msgstr "Otevřít vybranou složku s fotografiemi ve správci souborů"
-#: src/Resources.vala:685
+#: src/Resources.vala:669
#, c-format
msgid "Unable to open in file manager: %s"
msgstr "Nelze otevřít ve správci souborů: %s"
-#: src/Resources.vala:688
+#: src/Resources.vala:672 ui/offline.ui:224
msgid "R_emove From Library"
msgstr "O_dstranit z knihovny"
-#: 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 "Přesu_nout do koše"
-#: 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 "Vybrat _vše"
-#: src/Resources.vala:693
+#: src/Resources.vala:677
msgid "Select all items"
msgstr "Vybrat všechny položky"
@@ -6033,14 +5784,14 @@ msgstr "Vybrat všechny položky"
#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
#. / Locale-specific calendar date format, i.e. "Tue Mar 08, 2006"
#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-#: src/Resources.vala:782
+#: src/Resources.vala:766
msgid "%a %b %d, %Y"
msgstr "%a, %e. %B %Y"
#. / Locale-specific starting date format for multi-date strings,
#. / i.e. the "Tue Mar 08" in "Tue Mar 08 - 10, 2006"
#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-#: src/Resources.vala:787
+#: src/Resources.vala:771
msgctxt "MultidayFormat"
msgid "%a %b %d"
msgstr "%a, %e."
@@ -6048,7 +5799,7 @@ msgstr "%a, %e."
#. / Locale-specific ending date format for multi-date strings,
#. / i.e. the "10, 2006" in "Tue Mar 08 - 10, 2006"
#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-#: src/Resources.vala:792
+#: src/Resources.vala:776
msgctxt "MultidayFormat"
msgid "%d, %Y"
msgstr "%e. %B %Y"
@@ -6056,7 +5807,7 @@ msgstr "%e. %B %Y"
#. / Locale-specific calendar date format for multi-month strings,
#. / i.e. the "Tue Mar 08" in "Tue Mar 08 to Mon Apr 06, 2006"
#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-#: src/Resources.vala:797
+#: src/Resources.vala:781
msgctxt "MultimonthFormat"
msgid "%a %b %d"
msgstr "%a, %e. %B"
@@ -6064,7 +5815,7 @@ msgstr "%a, %e. %B"
#. / Locale-specific calendar date format for multi-month strings,
#. / i.e. the "Mon Apr 06, 2006" in "Tue Mar 08 to Mon Apr 06, 2006"
#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-#: src/Resources.vala:802
+#: src/Resources.vala:786
msgctxt "MultimonthFormat"
msgid "%a %b %d, %Y"
msgstr "%a, %e. %B %Y"
@@ -6078,139 +5829,139 @@ msgid "Saved Searches"
msgstr "Uložená hledání"
#. Ordering must correspond with SearchConditionText.Context
-#: src/searches/SavedSearchDialog.vala:168
+#: src/searches/SavedSearchDialog.vala:162
msgid "contains"
msgstr "obsahuje"
#. 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 "je přesně"
-#: src/searches/SavedSearchDialog.vala:170
+#: src/searches/SavedSearchDialog.vala:164
msgid "starts with"
msgstr "začíná"
-#: src/searches/SavedSearchDialog.vala:171
+#: src/searches/SavedSearchDialog.vala:165
msgid "ends with"
msgstr "končí"
-#: src/searches/SavedSearchDialog.vala:172
+#: src/searches/SavedSearchDialog.vala:166
msgid "does not contain"
msgstr "neobsahuje"
-#: 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 "není nastaveno"
-#: src/searches/SavedSearchDialog.vala:174
+#: src/searches/SavedSearchDialog.vala:168
msgid "is set"
msgstr "je nastaveno"
#. 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 "je"
-#: src/searches/SavedSearchDialog.vala:249
+#: src/searches/SavedSearchDialog.vala:243
msgid "is not"
msgstr "není"
#. Ordering must correspond with SearchConditionMediaType.MediaType
-#: src/searches/SavedSearchDialog.vala:255
+#: src/searches/SavedSearchDialog.vala:249
msgid "any photo"
msgstr "libovolná fotka"
-#: src/searches/SavedSearchDialog.vala:256
+#: src/searches/SavedSearchDialog.vala:250
msgid "a raw photo"
msgstr "fotka RAW"
-#: src/searches/SavedSearchDialog.vala:257
+#: src/searches/SavedSearchDialog.vala:251
msgid "a video"
msgstr "video"
-#: src/searches/SavedSearchDialog.vala:311
+#: src/searches/SavedSearchDialog.vala:305
msgid "has"
msgstr "má"
-#: src/searches/SavedSearchDialog.vala:312
+#: src/searches/SavedSearchDialog.vala:306
msgid "has no"
msgstr "nemá"
-#: src/searches/SavedSearchDialog.vala:317
+#: src/searches/SavedSearchDialog.vala:311
msgid "modifications"
msgstr "změny"
-#: src/searches/SavedSearchDialog.vala:318
+#: src/searches/SavedSearchDialog.vala:312
msgid "internal modifications"
msgstr "interní změny"
-#: src/searches/SavedSearchDialog.vala:319
+#: src/searches/SavedSearchDialog.vala:313
msgid "external modifications"
msgstr "externí změny"
#. Ordering must correspond with SearchConditionFlagged.State
-#: src/searches/SavedSearchDialog.vala:373
+#: src/searches/SavedSearchDialog.vala:367
msgid "flagged"
msgstr "označeno"
-#: src/searches/SavedSearchDialog.vala:374
+#: src/searches/SavedSearchDialog.vala:368
msgid "not flagged"
msgstr "neoznačeno"
-#: src/searches/SavedSearchDialog.vala:437
+#: src/searches/SavedSearchDialog.vala:431
msgid "and higher"
msgstr "a více"
-#: src/searches/SavedSearchDialog.vala:438
+#: src/searches/SavedSearchDialog.vala:432
msgid "only"
msgstr "jen"
-#: src/searches/SavedSearchDialog.vala:439
+#: src/searches/SavedSearchDialog.vala:433
msgid "and lower"
msgstr "a méně"
-#: src/searches/SavedSearchDialog.vala:501
+#: src/searches/SavedSearchDialog.vala:495
msgid "is after"
msgstr "je po"
-#: src/searches/SavedSearchDialog.vala:502
+#: src/searches/SavedSearchDialog.vala:496
msgid "is before"
msgstr "je před"
-#: src/searches/SavedSearchDialog.vala:503
+#: src/searches/SavedSearchDialog.vala:497
msgid "is between"
msgstr "je mezi"
-#: src/searches/SavedSearchDialog.vala:516
+#: src/searches/SavedSearchDialog.vala:510
msgid "and"
msgstr "a"
-#: src/searches/SavedSearchDialog.vala:697
+#: src/searches/SavedSearchDialog.vala:691
msgid "Search"
msgstr "Hledání"
-#: src/searches/SavedSearchDialog.vala:702
+#: src/searches/SavedSearchDialog.vala:696
msgid "Cancel"
msgstr "Zrušit"
-#: src/searches/SavedSearchDialog.vala:703
+#: src/searches/SavedSearchDialog.vala:697
msgid "OK"
msgstr "Budiž"
-#: src/searches/SavedSearchDialog.vala:721
+#: src/searches/SavedSearchDialog.vala:716
msgid "any"
msgstr "cokoliv"
-#: src/searches/SavedSearchDialog.vala:722
+#: src/searches/SavedSearchDialog.vala:717
msgid "all"
msgstr "vše"
-#: src/searches/SavedSearchDialog.vala:723
+#: src/searches/SavedSearchDialog.vala:718
msgid "none"
msgstr "nic"
@@ -6250,8 +6001,8 @@ msgstr "Stav označení"
msgid "Photo state"
msgstr "Stav fotky"
-#. Rating button
-#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:1199
+#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:851
+#: src/SearchFilter.vala:1135
msgid "Rating"
msgstr "Hodnocení"
@@ -6259,45 +6010,57 @@ msgstr "Hodnocení"
msgid "Date"
msgstr "Datum"
-#: src/SearchFilter.vala:614 src/SearchFilter.vala:615
-msgid "Videos"
-msgstr "Videa"
+#: src/SearchFilter.vala:835
+msgid "★+ Rating"
+msgstr "Hodnocení ★+"
-#: src/SearchFilter.vala:620
-msgid "RAW Photos"
-msgstr "Fotografie RAW"
+#: src/SearchFilter.vala:838
+msgid "★★+ Rating"
+msgstr "Hodnocení ★★+"
-#: src/SearchFilter.vala:621
-msgid "RAW photos"
-msgstr "Fotografie RAW"
+#: src/SearchFilter.vala:841
+msgid "★★★+ Rating"
+msgstr "Hodnocení ★★★+"
+
+#: src/SearchFilter.vala:844
+msgid "★★★★+ Rating"
+msgstr "Hodnocení ★★★★+"
+
+#: src/SearchFilter.vala:848
+msgid "★★★★★+ Rating"
+msgstr "Hodnocení ★★★★★+"
-#: src/SearchFilter.vala:1148
+#: src/SearchFilter.vala:1085
#, c-format
-msgid "Error loading UI file %s: %s"
-msgstr "Chyba při čtení souboru %s s uživatelským rozhraním: %s"
+msgid "Error loading search bar UI: %s"
+msgstr "Chyba při načítání uživatelského rozhraním vyhledávací lišty: %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:1094
msgid "Close"
msgstr "Zavřít"
#. Type label and toggles
-#: src/SearchFilter.vala:1165
+#: src/SearchFilter.vala:1100
msgid "Type"
msgstr "Typ"
-#: src/SearchFilter.vala:1211
+#: src/SearchFilter.vala:1107
+msgid "Videos"
+msgstr "Videa"
+
+#: src/SearchFilter.vala:1110
+msgid "RAW Photos"
+msgstr "Fotografie RAW"
+
+#: src/SearchFilter.vala:1146
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í"
-#: src/sidebar/Tree.vala:203
-msgid "New _Tag…"
-msgstr "Nový š_títek…"
-
#: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183
msgid "Settings"
msgstr "Nastavení"
@@ -6370,10 +6133,229 @@ msgid "untitled"
msgstr "bez názvu"
#. multiple videos
-#: src/VideoSupport.vala:490
+#: src/VideoSupport.vala:507
msgid "Export Videos"
msgstr "Export videí"
+#: 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 "_Přepnout označení"
+
+#: ui/collection.ui:82 ui/event.ui:351 ui/event.ui:519 ui/media.ui:351
+#: ui/photo_context.ui:88 ui/photo.ui:341 ui/tags.ui:351
+msgid "_Developer"
+msgstr "_Vývojka"
+
+#: ui/collection.ui:106 ui/event.ui:543 ui/photo_context.ui:113 ui/photo.ui:358
+msgid "Open with E_xternal Editor"
+msgstr "Otevřít v e_xterním editoru"
+
+#: ui/collection.ui:117 ui/event.ui:385 ui/event.ui:554 ui/media.ui:379
+#: ui/photo_context.ui:124 ui/tags.ui:379
+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
+msgid "_File"
+msgstr "_Soubor"
+
+#: ui/direct.ui:13 ui/event.ui:17 ui/media.ui:17 ui/photo.ui:17 ui/tags.ui:17
+msgid "Save _As…"
+msgstr "Uložit j_ako"
+
+#: 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 "_Zobrazit"
+
+#: ui/direct.ui:81 ui/photo.ui:156
+msgid "Fit to _Page"
+msgstr "Přizpůsobit _stránce"
+
+#: ui/direct.ui:86 ui/photo.ui:161
+msgid "Zoom _100%"
+msgstr "Přiblížení _100%"
+
+#: ui/direct.ui:91 ui/photo.ui:166
+msgid "Zoom _200%"
+msgstr "Přiblížení _200%"
+
+#: ui/direct.ui:98 ui/photo.ui:187 ui/top.ui:20
+msgid "_Photo"
+msgstr "_Fotografie"
+
+#: ui/direct.ui:101 ui/photo.ui:190
+msgid "_Previous Photo"
+msgstr "_Předchozí fotka"
+
+#: ui/direct.ui:105 ui/photo.ui:194
+msgid "_Next Photo"
+msgstr "_Následující fotka"
+
+#: ui/direct.ui:131 ui/photo.ui:220
+msgid "T_ools"
+msgstr "Nástr_oje"
+
+#: ui/direct.ui:181 ui/events_directory.ui:158 ui/event.ui:426
+#: ui/import_queue.ui:73 ui/import.ui:191 ui/media.ui:409 ui/offline.ui:188
+#: ui/photo.ui:392 ui/tags.ui:428 ui/trash.ui:197
+msgid "_Frequently Asked Questions"
+msgstr "Ča_sté dotazy a odpovědi"
+
+#: ui/direct.ui:185 ui/events_directory.ui:162 ui/event.ui:430
+#: ui/import_queue.ui:77 ui/import.ui:195 ui/media.ui:413 ui/offline.ui:192
+#: ui/photo.ui:396 ui/tags.ui:432 ui/trash.ui:201
+msgid "_Report a Problem…"
+msgstr "_Nahlásit problém…"
+
+#: 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 ze složky…"
+
+#: 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 z _aplikace…"
+
+#: 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 "Vyp_rázdnit koš"
+
+#: 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 "Na_jít"
+
+#: 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 "No_vé uložené vyhledávání…"
+
+#: 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 "_Základní informace"
+
+#: 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 "_Rozšiřující informace"
+
+#: 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 "Vy_hledávací lišta"
+
+#: 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 "P_ostranní panel"
+
+#: 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 "Nástroj_ová lišta"
+
+#: ui/events_directory.ui:101 ui/event.ui:134 ui/media.ui:134 ui/tags.ui:134
+msgid "_Comments"
+msgstr "_Komentáře"
+
+#: 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 "S_eřadit události"
+
+#: 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 "_Vzestupně"
+
+#: 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 "_Sestupně"
+
+#: 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 "Událos_ti"
+
+#: 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 "O_dstranit z knihovny"
+
+#: ui/event.ui:129 ui/import.ui:104 ui/media.ui:129 ui/tags.ui:129
+msgid "_Titles"
+msgstr "_Názvy"
+
+#: ui/event.ui:139 ui/event.ui:402 ui/media.ui:139 ui/media.ui:385
+#: ui/photo.ui:369 ui/tags.ui:139 ui/tags.ui:385 ui/top.ui:35
+msgid "Ta_gs"
+msgstr "Štít_ky"
+
+#: ui/event.ui:206 ui/media.ui:206 ui/tags.ui:206
+msgid "Sort _Photos"
+msgstr "Seřadit _fotky"
+
+#: ui/event.ui:209 ui/media.ui:209 ui/tags.ui:209
+msgid "By _Title"
+msgstr "Podle _názvu"
+
+#: ui/event.ui:214 ui/media.ui:214 ui/tags.ui:214
+msgid "By _Filename"
+msgstr "Podle názvu _souboru"
+
+#: ui/event.ui:219 ui/media.ui:219 ui/tags.ui:219
+msgid "By Exposure _Date"
+msgstr "Podle _data pořízení"
+
+#: ui/event.ui:224 ui/media.ui:224 ui/tags.ui:224
+msgid "By _Rating"
+msgstr "Podle _hodnocení"
+
+#: ui/event.ui:251 ui/import.ui:174 ui/media.ui:251 ui/photo.ui:135
+#: ui/tags.ui:251
+msgid "_Descending"
+msgstr "_Sestupně"
+
+#: ui/event.ui:275 ui/media.ui:275 ui/tags.ui:275 ui/top.ui:25
+msgid "_Photos"
+msgstr "_Fotografie"
+
+#: ui/import_queue.ui:8
+msgid "_Stop Import"
+msgstr "Za_stavit import"
+
+#: ui/import.ui:13 ui/import.ui:210
+msgid "Import _Selected"
+msgstr "Importovat vy_brané"
+
+#: ui/import.ui:17 ui/import.ui:214
+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"
@@ -6382,7 +6364,7 @@ msgstr "Nastavit jako pozadí plochy"
msgid "Use for Desktop"
msgstr "Použít pro pracovní plochu"
-#: 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 "Použít pro zamykací obrazovku"
@@ -6560,7 +6542,13 @@ msgstr "Zobrazovat n_ázev"
#: ui/shotwell.ui:1534 ui/shotwell.ui:1547
msgid "seconds"
-msgstr "vteřin"
+msgstr "sekund"
+
+#: ui/sidebar_default_context.ui:11 ui/tag_sidebar_context.ui:6
+msgid "New _Tag…"
+msgstr "Nový š_títek…"
+
+#: ui/trash.ui:285
+msgid "Delete all photos in the trash"
+msgstr "Vymazat všechny fotografie v koši"
-#~ msgid "Login"
-#~ msgstr "Přihlásit"
diff --git a/po/de.gmo b/po/de.gmo
index 92fb6d4..f5c5947 100644
Binary files a/po/de.gmo and b/po/de.gmo differ
diff --git a/po/de.po b/po/de.po
index 0f20f48..0a1e24e 100644
--- a/po/de.po
+++ b/po/de.po
@@ -46,8 +46,8 @@ 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-09-29 21:07+0000\n"
-"PO-Revision-Date: 2016-09-30 09:04+0200\n"
+"POT-Creation-Date: 2016-10-18 08:41+0000\n"
+"PO-Revision-Date: 2016-10-30 19:08+0100\n"
"Last-Translator: Mario Blättermann \n"
"Language-Team: Deutsch \n"
"Language: de\n"
@@ -55,7 +55,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.9\n"
+"X-Generator: Poedit 1.8.11\n"
#: misc/shotwell.appdata.xml.in:8 misc/shotwell.desktop.in.in:4
#: plugins/shotwell-publishing-extras/GalleryConnector.vala:115
@@ -73,7 +73,7 @@ msgid ""
"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, "
+"Shotwell’s non-destructive photo editor does not alter your master photos, "
"making it easy to experiment and correct errors."
msgstr ""
"Shotwell ist eine einfach zu bedienende, schnelle Fotoverwaltung, die für "
@@ -158,7 +158,7 @@ msgid "The secret token to sign oauth requests"
msgstr "Geheimer Token zum Signieren von OAuth-Anfragen"
#: misc/org.yorba.shotwell-extras.gschema.xml:26
-#: misc/org.yorba.shotwell.gschema.xml:416
+#: misc/org.yorba.shotwell.gschema.xml:486
msgid "default size"
msgstr "Standardgröße"
@@ -186,9 +186,9 @@ msgid "URL of the Rajce server."
msgstr "Adresse des Rajce-Servers"
#: misc/org.yorba.shotwell-extras.gschema.xml:46
-#: misc/org.yorba.shotwell.gschema.xml:384
-#: misc/org.yorba.shotwell.gschema.xml:442
-#: misc/org.yorba.shotwell.gschema.xml:498
+#: misc/org.yorba.shotwell.gschema.xml:454
+#: misc/org.yorba.shotwell.gschema.xml:512
+#: misc/org.yorba.shotwell.gschema.xml:568
msgid "username"
msgstr "Benutzername"
@@ -205,7 +205,7 @@ msgid "user token, if remembered."
msgstr "Benutzer-Token, falls gespeichert."
#: misc/org.yorba.shotwell-extras.gschema.xml:58
-#: misc/org.yorba.shotwell.gschema.xml:460
+#: misc/org.yorba.shotwell.gschema.xml:530
msgid "last category"
msgstr "Letzte Kategorie"
@@ -214,7 +214,7 @@ msgid "The last selected Rajce category."
msgstr "Die zuletzt in Rajce ausgewählte Kategorie."
#: misc/org.yorba.shotwell-extras.gschema.xml:64
-#: misc/org.yorba.shotwell.gschema.xml:472
+#: misc/org.yorba.shotwell.gschema.xml:542
msgid "last photo size"
msgstr "Letzte Bildgröße"
@@ -254,11 +254,11 @@ msgstr ""
"geöffnet werden soll."
#: misc/org.yorba.shotwell-extras.gschema.xml:88
-#: misc/org.yorba.shotwell.gschema.xml:364
-#: misc/org.yorba.shotwell.gschema.xml:402
-#: misc/org.yorba.shotwell.gschema.xml:428
-#: misc/org.yorba.shotwell.gschema.xml:478
-#: misc/org.yorba.shotwell.gschema.xml:522
+#: 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 "Sensible Informationen entfernen"
@@ -269,58 +269,58 @@ msgid ""
msgstr ""
"Legt fest, ob Metadaten vor dem Hochladen zu Rajce entfernt werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:22
+#: misc/org.yorba.shotwell.gschema.xml:23
msgid "display basic properties"
msgstr "Grundlegende Informationen anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:23
+#: misc/org.yorba.shotwell.gschema.xml:24
msgid "True if the basic properties pane is to be displayed, false otherwise."
msgstr ""
"Legt fest, ob die grundlegenden Informationen angezeigt werden sollen oder "
"nicht."
-#: misc/org.yorba.shotwell.gschema.xml:28
+#: misc/org.yorba.shotwell.gschema.xml:29
msgid "display extended properties"
msgstr "Erweiterte Informationen anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:29
+#: misc/org.yorba.shotwell.gschema.xml:30
msgid ""
"True if the extended properties window is to be displayed, false otherwise."
msgstr ""
"Legt fest, ob das Fenster für die erweiterten Informationen angezeigt werden "
"soll oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:34
+#: misc/org.yorba.shotwell.gschema.xml:35
msgid "display sidebar"
msgstr "Seitenleiste anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:35
+#: misc/org.yorba.shotwell.gschema.xml:36
msgid "True if the sidebar is to be displayed, false otherwise."
msgstr "Legt fest, ob die Seitenleiste angezeigt werden soll oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:40
+#: misc/org.yorba.shotwell.gschema.xml:41
msgid "display toolbar"
msgstr "Werkzeugleiste anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:41
+#: misc/org.yorba.shotwell.gschema.xml:42
msgid "True if the bottom toolbar is to be displayed, false otherwise."
msgstr ""
"Legt fest, ob die untere Werkzeugleiste angezeigt werden soll oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:46
+#: misc/org.yorba.shotwell.gschema.xml:47
msgid "display search bar"
msgstr "Suchleiste anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:47
+#: misc/org.yorba.shotwell.gschema.xml:48
msgid "True if the Search/Filter Toolbar is to be displayed, false otherwise."
msgstr ""
"Legt fest, ob die Such- und Filterleiste angezeigt werden soll oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:52
+#: misc/org.yorba.shotwell.gschema.xml:53
msgid "display photo titles"
msgstr "Bildtitel anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:53
+#: misc/org.yorba.shotwell.gschema.xml:54
msgid ""
"True if photo titles are to be displayed beneath thumbnails in collection "
"views, false otherwise."
@@ -328,11 +328,11 @@ msgstr ""
"Legt fest, ob Bildtitel unter den Vorschaubildern in Sammlungsansichten "
"angezeigt werden sollen oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:58
+#: misc/org.yorba.shotwell.gschema.xml:59
msgid "display photo comments"
msgstr "Kommentare zu den Fotos anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:59
+#: misc/org.yorba.shotwell.gschema.xml:60
msgid ""
"True if photo comments are to be displayed beneath thumbnails in collection "
"views, false otherwise."
@@ -340,11 +340,11 @@ msgstr ""
"Legt fest, ob Kommentare unter den Vorschaubildern in Sammlungsansichten "
"angezeigt werden sollen oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:64
+#: misc/org.yorba.shotwell.gschema.xml:65
msgid "display event comments"
msgstr "Kommentare zu den Ereignissen anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:65
+#: misc/org.yorba.shotwell.gschema.xml:66
msgid ""
"True if event comments are to be displayed beneath thumbnails in event "
"views, false otherwise."
@@ -352,11 +352,11 @@ msgstr ""
"Legt fest, ob Kommentare unter den Vorschaubildern in Ereignisansichten "
"angezeigt werden sollen oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:70
+#: misc/org.yorba.shotwell.gschema.xml:71
msgid "display photo tags"
msgstr "Stichworte jedes Fotos anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:71
+#: misc/org.yorba.shotwell.gschema.xml:72
msgid ""
"True if photo tags are to be listed beneath thumbnails in collection views, "
"false otherwise."
@@ -364,23 +364,23 @@ msgstr ""
"Legt fest, ob Stichworte unter den Vorschaubildern in Sammlungsansichten "
"angezeigt werden sollen oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:76
+#: misc/org.yorba.shotwell.gschema.xml:77
msgid "display photo ratings"
msgstr "Bewertung jedes Fotos anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:77
+#: misc/org.yorba.shotwell.gschema.xml:78
msgid ""
-"True if a photo's rating should be displayed as overlaid trinket, false "
+"True if a photo’s rating should be displayed as overlaid trinket, false "
"otherwise."
msgstr ""
"Legt fest, ob Bewertungen als überlagerte Markierung angezeigt werden sollen "
"oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:82
+#: misc/org.yorba.shotwell.gschema.xml:83
msgid "rating filter level"
msgstr "Filterstufe für Bewertungen"
-#: misc/org.yorba.shotwell.gschema.xml:83
+#: 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 "
@@ -391,60 +391,60 @@ msgstr ""
"Zwei oder besser, 5: Drei oder besser, 6: Vier oder besser, 7: Fünf oder "
"besser."
-#: misc/org.yorba.shotwell.gschema.xml:88
+#: misc/org.yorba.shotwell.gschema.xml:89
msgid "sort events ascending"
msgstr "Ereignisse absteigend sortieren"
-#: misc/org.yorba.shotwell.gschema.xml:89
+#: misc/org.yorba.shotwell.gschema.xml:90
msgid "True if events should be sorted ascending, false if descending."
msgstr ""
"Legt fest, ob Ereignisse aufsteigend sortiert werden sollen, anderenfalls "
"absteigend."
-#: misc/org.yorba.shotwell.gschema.xml:94
+#: misc/org.yorba.shotwell.gschema.xml:95
msgid "sort library photos ascending"
msgstr "Fotos in der Bibliothek aufsteigend sortieren"
-#: misc/org.yorba.shotwell.gschema.xml:95
+#: misc/org.yorba.shotwell.gschema.xml:96
msgid "True if library photos should be sorted ascending, false if descending."
msgstr ""
"Legt fest, ob Fotos in der Bibliothek aufsteigend sortiert werden sollen, "
"anderenfalls absteigend."
-#: misc/org.yorba.shotwell.gschema.xml:100
+#: misc/org.yorba.shotwell.gschema.xml:101
msgid "sort library photos criteria"
msgstr "Kriterien für Fotosortierung"
-#: misc/org.yorba.shotwell.gschema.xml:101
+#: misc/org.yorba.shotwell.gschema.xml:102
msgid ""
"A numeric code that specifies the sort criteria for photos in library views."
msgstr ""
"Ein Zahlencode, der die Sortierkriterien für Fotos in Bibliotheksansichten "
"darstellt."
-#: misc/org.yorba.shotwell.gschema.xml:106
+#: misc/org.yorba.shotwell.gschema.xml:107
msgid "sort event photos ascending"
msgstr "Fotos in Ereignissen aufsteigend sortieren"
-#: misc/org.yorba.shotwell.gschema.xml:107
+#: misc/org.yorba.shotwell.gschema.xml:108
msgid "True if event photos should be sorted ascending, false if descending."
msgstr ""
"Legt fest, ob Fotos in Ereignissen aufsteigend sortiert werden sollen, "
"anderenfalls absteigend."
-#: misc/org.yorba.shotwell.gschema.xml:112
+#: misc/org.yorba.shotwell.gschema.xml:113
msgid "sort event photos criteria"
msgstr "Kriterien für Fotosortierung in Ereignissen"
-#: misc/org.yorba.shotwell.gschema.xml:113
+#: misc/org.yorba.shotwell.gschema.xml:114
msgid "Specifies the sort criteria for event photos."
msgstr "Legt die Sortierkriterien für Fotos in Ereignissen fest."
-#: misc/org.yorba.shotwell.gschema.xml:118
+#: misc/org.yorba.shotwell.gschema.xml:119
msgid "use 24 hour time"
msgstr "Zeitangaben im 24-Stunden-System"
-#: misc/org.yorba.shotwell.gschema.xml:119
+#: 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."
@@ -452,11 +452,11 @@ msgstr ""
"Legt fest, ob Zeiten im 24-Stunden-Format angegeben werden sollen, "
"anderenfalls im AM/PM-Format."
-#: misc/org.yorba.shotwell.gschema.xml:124
+#: misc/org.yorba.shotwell.gschema.xml:125
msgid "keep relative time between photos"
msgstr "Relative Zeit zwischen Fotos erhalten"
-#: misc/org.yorba.shotwell.gschema.xml:125
+#: 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."
@@ -465,11 +465,11 @@ msgstr ""
"erhalten bleiben soll, anderenfalls werden alle Fotos auf die gleiche Zeit "
"gesetzt."
-#: misc/org.yorba.shotwell.gschema.xml:130
+#: misc/org.yorba.shotwell.gschema.xml:131
msgid "modify original photo files"
msgstr "Originale Bilddateien verändern"
-#: misc/org.yorba.shotwell.gschema.xml:131
+#: 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."
@@ -478,11 +478,11 @@ msgstr ""
"ebenfalls verändert werden sollen, oder die Zeitstempel nur in der Datenbank "
"verändert werden."
-#: misc/org.yorba.shotwell.gschema.xml:136
+#: misc/org.yorba.shotwell.gschema.xml:137
msgid "show welcome dialog on startup"
msgstr "Begrüßungsdialog beim Start anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:137
+#: 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."
@@ -490,77 +490,77 @@ msgstr ""
"Legt fest, ob dem Start ein Begrüßungsdialog angezeigt werden soll oder "
"nicht."
-#: misc/org.yorba.shotwell.gschema.xml:142
+#: misc/org.yorba.shotwell.gschema.xml:143
msgid "sidebar position"
msgstr "Position der Seitenleiste"
-#: misc/org.yorba.shotwell.gschema.xml:143
+#: misc/org.yorba.shotwell.gschema.xml:144
msgid "The width, in pixels, of the sidebar"
msgstr "Größe der Seitenleiste in Pixel"
-#: misc/org.yorba.shotwell.gschema.xml:148
+#: misc/org.yorba.shotwell.gschema.xml:149
msgid "photo thumbnail scale"
msgstr "Vorschaubild-Skalierung"
-#: misc/org.yorba.shotwell.gschema.xml:149
+#: misc/org.yorba.shotwell.gschema.xml:150
msgid "The scale of photo thumbnails, ranging from 72 to 360."
msgstr "Vorschaubild-Skalierung im Bereich von 72 bis 360."
-#: misc/org.yorba.shotwell.gschema.xml:154
+#: misc/org.yorba.shotwell.gschema.xml:155
msgid "pin toolbar state"
msgstr "Anheften-Status der Werkzeugleiste"
-#: misc/org.yorba.shotwell.gschema.xml:155
+#: misc/org.yorba.shotwell.gschema.xml:156
msgid "Pin toolbar in fullscreen, or not."
msgstr ""
"Legt fest, ob die Werkzeugleiste im Vollbildmodus angeheftet werden soll "
"oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:160
+#: misc/org.yorba.shotwell.gschema.xml:161
msgid "background color"
msgstr "Hintergrundfarbe"
-#: misc/org.yorba.shotwell.gschema.xml:161
+#: misc/org.yorba.shotwell.gschema.xml:162
msgid "A grayscale color for use as the background color."
msgstr ""
"Eine Farbe der Graustufenskala, die als Hintergrundfarbe verwendet werden "
"soll."
-#: misc/org.yorba.shotwell.gschema.xml:166
-msgid "Selection state of \"hide photos\" option"
+#: misc/org.yorba.shotwell.gschema.xml:167
+msgid "Selection state of “hide photos” option"
msgstr "Auswahlstatus für »Bereits importierte Fotos verbergen«"
-#: misc/org.yorba.shotwell.gschema.xml:167
+#: misc/org.yorba.shotwell.gschema.xml:168
msgid ""
-"Last used selection state of the \"hide photos already imported\" option in "
+"Last used selection state of the “hide photos already imported” option in "
"the import page."
msgstr ""
"Der zuletzt verwendete Status der Option »Bereits importierte Fotos "
"verbergen« der Importseite."
-#: misc/org.yorba.shotwell.gschema.xml:174
+#: misc/org.yorba.shotwell.gschema.xml:175
msgid "delay"
msgstr "Verzögerung"
-#: misc/org.yorba.shotwell.gschema.xml:175
+#: misc/org.yorba.shotwell.gschema.xml:176
msgid "Delay (in seconds) between photos in the slideshow."
msgstr "Verzögerung des Bildwechsels in einer Diaschau (in Sekunden)."
-#: misc/org.yorba.shotwell.gschema.xml:180
+#: misc/org.yorba.shotwell.gschema.xml:181
msgid "transition delay"
msgstr "Übergangsverzögerung"
-#: misc/org.yorba.shotwell.gschema.xml:181
+#: misc/org.yorba.shotwell.gschema.xml:182
msgid ""
"The time (in seconds) that a transition runs between photos in a slideshow"
msgstr ""
"Die Dauer eines Übergangs zwischen Fotos (in Sekunden) in einer Diaschau"
-#: misc/org.yorba.shotwell.gschema.xml:186
+#: misc/org.yorba.shotwell.gschema.xml:187
msgid "transition effect id"
msgstr "Übergangseffekt-Kennung"
-#: misc/org.yorba.shotwell.gschema.xml:187
+#: misc/org.yorba.shotwell.gschema.xml:188
msgid ""
"The name of the transition effect that will be used between photos when "
"running a slideshow"
@@ -568,71 +568,71 @@ msgstr ""
"Der Name des Übergangseffekts, der zwischen Fotos während einer Diaschau "
"angewendet werden soll"
-#: misc/org.yorba.shotwell.gschema.xml:192
+#: misc/org.yorba.shotwell.gschema.xml:193
msgid "Show title"
msgstr "Titel anzeigen"
-#: misc/org.yorba.shotwell.gschema.xml:193
+#: misc/org.yorba.shotwell.gschema.xml:194
msgid "Whether to show the title of a photo during the slideshow"
msgstr ""
"Legt fest, ob der Titel einer Bildes in einer Diaschau angezeigt werden soll"
-#: misc/org.yorba.shotwell.gschema.xml:200
+#: misc/org.yorba.shotwell.gschema.xml:201
msgid "maximize library window"
msgstr "Bibliotheksfenster maximieren"
-#: misc/org.yorba.shotwell.gschema.xml:201
+#: misc/org.yorba.shotwell.gschema.xml:202
msgid "True if library application is maximized, false otherwise."
msgstr "Legt fest, ob das Bibliotheksfenster maximiert ist oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:206
+#: misc/org.yorba.shotwell.gschema.xml:207
msgid "width of library window"
msgstr "Breite des Bibliotheksfensters"
-#: misc/org.yorba.shotwell.gschema.xml:207
+#: misc/org.yorba.shotwell.gschema.xml:208
msgid "The last recorded width of the library application window."
msgstr "Die zuletzt gespeicherte Breite des Bibliotheksfensters der Anwendung."
-#: misc/org.yorba.shotwell.gschema.xml:212
+#: misc/org.yorba.shotwell.gschema.xml:213
msgid "height of library window"
msgstr "Höhe des Bibliotheksfensters"
-#: misc/org.yorba.shotwell.gschema.xml:213
+#: misc/org.yorba.shotwell.gschema.xml:214
msgid "The last recorded height of the library application window."
msgstr "Die zuletzt gespeicherte Höhe des Bibliotheksfensters der Anwendung."
-#: misc/org.yorba.shotwell.gschema.xml:218
+#: misc/org.yorba.shotwell.gschema.xml:219
msgid "maximize direct-edit window"
msgstr "Direktbearbeitungsfenster maximieren"
-#: misc/org.yorba.shotwell.gschema.xml:219
+#: misc/org.yorba.shotwell.gschema.xml:220
msgid "True if direct-edit application is maximized, false otherwise."
msgstr ""
"Legt fest, ob das Direktbearbeitungsfenster maximiert werden soll oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:224
+#: misc/org.yorba.shotwell.gschema.xml:225
msgid "width of direct-edit window"
msgstr "Breite des Direktbearbeitungsfensters"
-#: misc/org.yorba.shotwell.gschema.xml:225
+#: misc/org.yorba.shotwell.gschema.xml:226
msgid "The last recorded width of the direct-edit application window."
msgstr ""
"Die zuletzt gespeicherte Breite des Direktbearbeitungsfensters der Anwendung."
-#: misc/org.yorba.shotwell.gschema.xml:230
+#: misc/org.yorba.shotwell.gschema.xml:231
msgid "height of direct-edit window"
msgstr "Höhe des Direktbearbeitungsfensters"
-#: misc/org.yorba.shotwell.gschema.xml:231
+#: misc/org.yorba.shotwell.gschema.xml:232
msgid "The last recorded height of the direct-edit application window."
msgstr ""
"Die zuletzt gespeicherte Höhe des Direktbearbeitungsfensters der Anwendung."
-#: misc/org.yorba.shotwell.gschema.xml:236
+#: misc/org.yorba.shotwell.gschema.xml:237
msgid "sidebar divider position"
msgstr "Position des Seitenleistentrenners"
-#: misc/org.yorba.shotwell.gschema.xml:237
+#: misc/org.yorba.shotwell.gschema.xml:238
msgid ""
"The last recorded position of the divider between the sidebar and view in "
"library application window."
@@ -640,30 +640,30 @@ msgstr ""
"Die zuletzt gespeicherte Position des Trenners zwischen der Werkzeugleiste "
"und der Ansicht im Bibliotheksfenster der Anwendung."
-#: misc/org.yorba.shotwell.gschema.xml:244
+#: misc/org.yorba.shotwell.gschema.xml:245
msgid "import directory"
msgstr "Import-Ordner"
-#: misc/org.yorba.shotwell.gschema.xml:245
+#: misc/org.yorba.shotwell.gschema.xml:246
msgid "Directory in which imported photo files are placed."
msgstr "Ordner, in dem die importierten Fotodateien abgelegt werden."
-#: misc/org.yorba.shotwell.gschema.xml:250
+#: misc/org.yorba.shotwell.gschema.xml:251
msgid "watch library directory for new files"
msgstr "Bibliotheksordner auf neue Dateien überwachen"
-#: misc/org.yorba.shotwell.gschema.xml:251
+#: misc/org.yorba.shotwell.gschema.xml:252
msgid ""
"If true, files added to the library directory are automatically imported."
msgstr ""
"Legt fest, ob die zum Bibliotheksordner hinzugefügten Dateien automatisch "
"importiert werden sollen."
-#: misc/org.yorba.shotwell.gschema.xml:256
+#: misc/org.yorba.shotwell.gschema.xml:257
msgid "write metadata to master files"
msgstr "Metadaten in Master-Dateien schreiben"
-#: misc/org.yorba.shotwell.gschema.xml:257
+#: misc/org.yorba.shotwell.gschema.xml:258
msgid ""
"If true, changes to metadata (tags, titles, etc.) are written to the master "
"photo file."
@@ -671,11 +671,11 @@ msgstr ""
"Legt fest, ob geänderte Metadaten (Stichworte, Titel usw.) in die Master-"
"Datei geschrieben werden sollen."
-#: misc/org.yorba.shotwell.gschema.xml:262
+#: misc/org.yorba.shotwell.gschema.xml:263
msgid "use lowercase filenames"
msgstr "Dateinamen in Kleinschreibung"
-#: misc/org.yorba.shotwell.gschema.xml:263
+#: misc/org.yorba.shotwell.gschema.xml:264
msgid ""
"If true, Shotwell will convert all filenames to lowercase when importing "
"photo files"
@@ -683,11 +683,11 @@ msgstr ""
"Legt fest, ob Shotwell beim Import von Fotodateien alle Dateinamen in "
"Kleinbuchstaben umwandeln soll"
-#: misc/org.yorba.shotwell.gschema.xml:268
+#: misc/org.yorba.shotwell.gschema.xml:269
msgid "directory pattern"
msgstr "Muster für Ordnernamen"
-#: misc/org.yorba.shotwell.gschema.xml:269
+#: misc/org.yorba.shotwell.gschema.xml:270
msgid ""
"A string encoding a naming pattern that will be used to name photo "
"directories on import."
@@ -695,11 +695,11 @@ msgstr ""
"Eine Zeichenkette, die als Namensmuster beim Benennen der importierten Foto-"
"Ordner verwendet werden soll."
-#: misc/org.yorba.shotwell.gschema.xml:274
+#: misc/org.yorba.shotwell.gschema.xml:275
msgid "directory pattern custom"
msgstr "Benutzerdefiniertes Muster für Ordnernamen"
-#: misc/org.yorba.shotwell.gschema.xml:275
+#: 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."
@@ -707,32 +707,32 @@ msgstr ""
"Eine Zeichenkette, die als benutzerdefiniertes Namensmuster beim Benennen "
"der importierten Foto-Ordner verwendet werden soll."
-#: misc/org.yorba.shotwell.gschema.xml:280
+#: misc/org.yorba.shotwell.gschema.xml:281
msgid "RAW developer default"
msgstr "Standard-RAW-Entwickler"
-#: misc/org.yorba.shotwell.gschema.xml:281
+#: misc/org.yorba.shotwell.gschema.xml:282
msgid "Default option for which RAW developer Shotwell will use."
msgstr "Vorgabe für den durch Shotwell zu verwendenden RAW-Entwickler."
-#: misc/org.yorba.shotwell.gschema.xml:288
+#: misc/org.yorba.shotwell.gschema.xml:289
msgid "Most-recently-used crop aspect ratio menu choice."
msgstr ""
"Das im Menü am häufigsten ausgewählte Seitenverhältnis beim Zuschneiden."
-#: misc/org.yorba.shotwell.gschema.xml:289
+#: misc/org.yorba.shotwell.gschema.xml:290
msgid "A numeric code representing the last crop menu choice the user made."
msgstr ""
"Ein Zahlencode, der das im Menü am häufigsten ausgewählte Seitenverhältnis "
"beim Zuschneiden darstellt."
-#: misc/org.yorba.shotwell.gschema.xml:293
-msgid "Most-recently-used crop custom aspect ratio's numerator."
+#: misc/org.yorba.shotwell.gschema.xml:294
+msgid "Most-recently-used crop custom aspect ratio’s numerator."
msgstr ""
"Erster Wert (Zähler) des am häufigsten verwendeten benutzerdefinierten "
"Seitenverhältnisses beim Zuschneiden."
-#: misc/org.yorba.shotwell.gschema.xml:294
+#: 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."
@@ -740,13 +740,13 @@ msgstr ""
"Eine von Null verschiedene, positive Ganzzahl, die die zuletzt genutzte und "
"gespeicherte Höhe des Zuschnittverhältnisses darstellt."
-#: misc/org.yorba.shotwell.gschema.xml:298
-msgid "Most-recently-used crop custom aspect ratio's denominator."
+#: misc/org.yorba.shotwell.gschema.xml:299
+msgid "Most-recently-used crop custom aspect ratio’s denominator."
msgstr ""
"Zweiter Wert (Nenner) des am häufigsten verwendeten benutzerdefinierten "
"Seitenverhältnisses beim Zuschneiden."
-#: misc/org.yorba.shotwell.gschema.xml:299
+#: 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."
@@ -754,97 +754,142 @@ msgstr ""
"Eine von Null verschiedene, positive Ganzzahl, die das zuletzt genutzte und "
"gespeicherte Zuschnittverhältnis darstellt."
-#: misc/org.yorba.shotwell.gschema.xml:306
+#: misc/org.yorba.shotwell.gschema.xml:307
msgid "external photo editor"
msgstr "Externer Foto-Editor"
-#: misc/org.yorba.shotwell.gschema.xml:307
+#: misc/org.yorba.shotwell.gschema.xml:308
msgid "External application used to edit photos."
msgstr "Externe Anwendung zum Bearbeiten von Fotos."
-#: misc/org.yorba.shotwell.gschema.xml:312
+#: misc/org.yorba.shotwell.gschema.xml:313
msgid "external raw editor"
msgstr "Externer RAW-Editor"
-#: misc/org.yorba.shotwell.gschema.xml:313
+#: misc/org.yorba.shotwell.gschema.xml:314
msgid "External application used to edit RAW photos."
msgstr "Externe Anwendung zum Bearbeiten von RAW-Fotos."
-#: misc/org.yorba.shotwell.gschema.xml:320
+#: misc/org.yorba.shotwell.gschema.xml:352
+#: misc/org.yorba.shotwell.gschema.xml:353
+msgid "Setting in export dialog: how to trim images"
+msgstr "Einstellung im Exportdialog: Zuschneiden von Bildern"
+
+#: misc/org.yorba.shotwell.gschema.xml:358
+msgid "export metadata"
+msgstr "Metadaten exportieren"
+
+#: misc/org.yorba.shotwell.gschema.xml:359
+msgid "Setting in export dialog: option to export metadata"
+msgstr "Einstellung im Exportdialog: Option zum Exportieren von Metadaten"
+
+#: misc/org.yorba.shotwell.gschema.xml:364
+msgid "format setting, special value"
+msgstr "Formatierungseinstellung, spezieller Wert"
+
+#: misc/org.yorba.shotwell.gschema.xml:365
+msgid "Setting in export dialog: format setting, special value"
+msgstr "Einstellung im Exportdialog: Formatierungseinstellung, spezieller Wert"
+
+#: misc/org.yorba.shotwell.gschema.xml:370
+msgid "format setting, type value"
+msgstr "Formatierungseinstellung, Typwert"
+
+#: misc/org.yorba.shotwell.gschema.xml:371
+msgid "Setting in export dialog: format setting, type value"
+msgstr "Einstellung im Exportdialog: Formatierungseinstellung, Typwert"
+
+#: misc/org.yorba.shotwell.gschema.xml:376
+msgid "JPEG quality option"
+msgstr "JPEG-Qualitätsoption"
+
+#: misc/org.yorba.shotwell.gschema.xml:377
+msgid "Setting in export dialog: jpeg quality option"
+msgstr "Einstellung im Exportdialog: JPEG-Qualitätsoption"
+
+#: misc/org.yorba.shotwell.gschema.xml:382
+msgid "maximal size of image"
+msgstr "Maximale Bildgröße"
+
+#: misc/org.yorba.shotwell.gschema.xml:383
+msgid "Setting in export dialog: maximal size of image"
+msgstr "Einstellung im Exportdialog: Maximale Bildgröße"
+
+#: misc/org.yorba.shotwell.gschema.xml:390
msgid "last used publishing service"
msgstr "Zuletzt genutzter Veröffentlichungsdienst"
-#: misc/org.yorba.shotwell.gschema.xml:321
-#: misc/org.yorba.shotwell.gschema.xml:327
+#: 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 ""
"Ein Zahlencode, der den letzten Dienst darstellt, bei dem Fotos "
"veröffentlicht wurden"
-#: misc/org.yorba.shotwell.gschema.xml:326
+#: misc/org.yorba.shotwell.gschema.xml:396
msgid "default publishing service"
msgstr "Standard-Veröffentlichungsdienst"
-#: misc/org.yorba.shotwell.gschema.xml:340
+#: misc/org.yorba.shotwell.gschema.xml:410
msgid "access token"
msgstr "Zugriffs-Token"
-#: misc/org.yorba.shotwell.gschema.xml:341
+#: misc/org.yorba.shotwell.gschema.xml:411
msgid "Facebook OAuth token for the currently logged in session, if any"
msgstr "OAuth-Token für die aktuell laufende Facebook-Sitzung, falls vorhanden"
-#: misc/org.yorba.shotwell.gschema.xml:346
+#: misc/org.yorba.shotwell.gschema.xml:416
msgid "user i.d."
msgstr "Benutzerkennung"
-#: misc/org.yorba.shotwell.gschema.xml:347
+#: misc/org.yorba.shotwell.gschema.xml:417
msgid "Facebook user i.d. for the currently logged in user, if any"
msgstr ""
"Benutzerkennung für die aktuell laufende Facebook-Sitzung, falls vorhanden"
-#: misc/org.yorba.shotwell.gschema.xml:352
+#: misc/org.yorba.shotwell.gschema.xml:422
msgid "user name"
msgstr "Benutzername"
-#: misc/org.yorba.shotwell.gschema.xml:353
+#: misc/org.yorba.shotwell.gschema.xml:423
msgid "The name of the currently logged in Facebook user, if any"
msgstr "Name des aktuell angemeldeten Facebook-Benutzers, falls vorhanden"
-#: misc/org.yorba.shotwell.gschema.xml:358
-#: misc/org.yorba.shotwell.gschema.xml:390
+#: misc/org.yorba.shotwell.gschema.xml:428
+#: misc/org.yorba.shotwell.gschema.xml:460
msgid "default size code"
msgstr "Code für Standardgröße"
-#: misc/org.yorba.shotwell.gschema.xml:359
+#: misc/org.yorba.shotwell.gschema.xml:429
msgid ""
"A numeric code representing the default size for photos published to Facebook"
msgstr ""
"Ein Zahlencode, der die Standardgröße für Fotos darstellt, die zu Facebook "
"hochgeladen werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:365
+#: misc/org.yorba.shotwell.gschema.xml:435
msgid ""
"Whether images being uploaded to Facebook should have their metadata removed "
"first"
msgstr ""
"Legt fest, ob Metadaten vor dem Hochladen zu Facebook entfernt werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:372
+#: misc/org.yorba.shotwell.gschema.xml:442
msgid "OAuth Access Phase Token"
msgstr "OAuth-Token für die Zugriffsphase"
-#: misc/org.yorba.shotwell.gschema.xml:373
+#: misc/org.yorba.shotwell.gschema.xml:443
msgid "The authorization token for the currently logged in Flickr user, if any"
msgstr ""
"Authentifizierungs-Token für den aktuell angemeldeten Facebook-Benutzer, "
"falls vorhanden"
-#: misc/org.yorba.shotwell.gschema.xml:378
+#: misc/org.yorba.shotwell.gschema.xml:448
msgid "OAuth Access Phase Token Secret"
msgstr "OAuth-Token-Geheimnis für die Zugriffsphase"
-#: misc/org.yorba.shotwell.gschema.xml:379
+#: 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"
@@ -853,22 +898,22 @@ msgstr ""
"Authentifizierungs-Token des zur Zeit angemeldeten Flickr-Benutzers "
"verwendet wird, soweit vorhanden"
-#: misc/org.yorba.shotwell.gschema.xml:385
+#: misc/org.yorba.shotwell.gschema.xml:455
msgid "The user name of the currently logged in Flickr user, if any"
msgstr "Name des aktuell angemeldeten Flickr-Benutzers, falls vorhanden"
-#: misc/org.yorba.shotwell.gschema.xml:391
+#: misc/org.yorba.shotwell.gschema.xml:461
msgid ""
"A numeric code representing the default size for photos published to Flickr"
msgstr ""
"Ein Zahlencode, der die Standardgröße für Fotos darstellt, die zu Flickr "
"hochgeladen werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:396
+#: misc/org.yorba.shotwell.gschema.xml:466
msgid "default visibility"
msgstr "Standard-Sichtbarkeit"
-#: misc/org.yorba.shotwell.gschema.xml:397
+#: misc/org.yorba.shotwell.gschema.xml:467
msgid ""
"A numeric code representing the default visibility for photos published to "
"Flickr"
@@ -876,19 +921,19 @@ msgstr ""
"Ein Zahlencode, der die Standard-Sichtbarkeit für Fotos darstellt, die zu "
"Flickr hochgeladen werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:403
+#: misc/org.yorba.shotwell.gschema.xml:473
msgid ""
"Whether images being uploaded to Flickr should have their metadata removed "
"first"
msgstr ""
"Legt fest, ob Metadaten vor dem Hochladen zu Flickr entfernt werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:410
-#: misc/org.yorba.shotwell.gschema.xml:542
+#: misc/org.yorba.shotwell.gschema.xml:480
+#: misc/org.yorba.shotwell.gschema.xml:612
msgid "refresh token"
msgstr "Auffrischungs-Token"
-#: misc/org.yorba.shotwell.gschema.xml:411
+#: 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."
@@ -896,7 +941,7 @@ msgstr ""
"Der OAuth-Token, der beim Auffrischen der Picasa-Web-Album-Sitzung des "
"aktuell angemeldeten Benutzers verwendet wird, soweit vorhanden."
-#: misc/org.yorba.shotwell.gschema.xml:417
+#: misc/org.yorba.shotwell.gschema.xml:487
msgid ""
"A numeric code representing the default size for photos uploaded to Picasa "
"Web Albums"
@@ -904,68 +949,68 @@ msgstr ""
"Ein Zahlencode, der die Standardgröße für Fotos darstellt, die zu Picasa "
"Webalben hochgeladen werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:422
-#: misc/org.yorba.shotwell.gschema.xml:516
+#: misc/org.yorba.shotwell.gschema.xml:492
+#: misc/org.yorba.shotwell.gschema.xml:586
msgid "last album"
msgstr "Letztes Album"
-#: misc/org.yorba.shotwell.gschema.xml:423
-#: misc/org.yorba.shotwell.gschema.xml:517
+#: 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 ""
"Der Name des letzten Albums, in dem der Benutzer Fotos veröffentlicht hat, "
"falls vorhanden"
-#: misc/org.yorba.shotwell.gschema.xml:429
+#: misc/org.yorba.shotwell.gschema.xml:499
msgid ""
"Whether images being uploaded to Picasa should have their metadata removed "
"first"
msgstr ""
"Legt fest, ob Metadaten vor dem Hochladen zu Picasa entfernt werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:436
+#: misc/org.yorba.shotwell.gschema.xml:506
msgid "Piwigo URL"
msgstr "Piwigo-Adresse"
-#: misc/org.yorba.shotwell.gschema.xml:437
+#: misc/org.yorba.shotwell.gschema.xml:507
msgid "URL of the Piwigo server."
msgstr "Adresse des Piwigo-Servers"
-#: misc/org.yorba.shotwell.gschema.xml:443
+#: misc/org.yorba.shotwell.gschema.xml:513
msgid "Piwigo username, if logged in."
msgstr "Piwigo-Benutzername für die Anmeldung"
-#: misc/org.yorba.shotwell.gschema.xml:448
+#: misc/org.yorba.shotwell.gschema.xml:518
msgid "password"
msgstr "Passwort"
-#: misc/org.yorba.shotwell.gschema.xml:449
+#: misc/org.yorba.shotwell.gschema.xml:519
msgid "Piwigo password, if logged in."
msgstr "Piwigo-Passwort für die Anmeldung"
-#: misc/org.yorba.shotwell.gschema.xml:454
+#: misc/org.yorba.shotwell.gschema.xml:524
msgid "remember password"
msgstr "Passwort speichern"
-#: misc/org.yorba.shotwell.gschema.xml:455
+#: misc/org.yorba.shotwell.gschema.xml:525
msgid "If true, remember the Piwigo password."
msgstr ""
"Legt fest, ob das Piwigo-Passwort für weitere Anmeldungen gespeichert werden "
"soll."
-#: misc/org.yorba.shotwell.gschema.xml:461
+#: misc/org.yorba.shotwell.gschema.xml:531
msgid "The last selected Piwigo category."
msgstr "Die zuletzt in Piwigo ausgewählte Kategorie."
-#: misc/org.yorba.shotwell.gschema.xml:466
+#: misc/org.yorba.shotwell.gschema.xml:536
msgid "last permission level"
msgstr "Letzte Zugriffsstufe"
-#: misc/org.yorba.shotwell.gschema.xml:467
+#: misc/org.yorba.shotwell.gschema.xml:537
msgid "The last chosen Piwigo permission level."
msgstr "Die zuletzt gewählte Zugriffsstufe bei Piwigo."
-#: misc/org.yorba.shotwell.gschema.xml:473
+#: misc/org.yorba.shotwell.gschema.xml:543
msgid ""
"A numeric code representing the last photo size preset used when publishing "
"to Piwigo."
@@ -973,21 +1018,21 @@ msgstr ""
"Ein Zahlencode, der die Größe des letzten Fotos darstellt, das zu Piwigo "
"hochgeladen wurde."
-#: misc/org.yorba.shotwell.gschema.xml:479
+#: misc/org.yorba.shotwell.gschema.xml:549
msgid ""
"Whether images being uploaded to Piwigo should have their metadata removed "
"first"
msgstr ""
"Legt fest, ob Metadaten vor dem Hochladen zu Piwigo entfernt werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:484
+#: misc/org.yorba.shotwell.gschema.xml:554
msgid ""
"if title is set and comment unset, use title as comment for uploads to Piwigo"
msgstr ""
"Falls ein Titel und kein Kommentar gesetzt ist, den Titel als Kommentar beim "
"Hochladen zu Piwigo verwenden"
-#: misc/org.yorba.shotwell.gschema.xml:485
+#: 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"
@@ -995,11 +1040,11 @@ msgstr ""
"Legt fest, ob beim Hochladen von Bildern zu Piwigo die Kommentare aus den "
"Titeln erzeugt werden, sofern Titel, aber keine Kommentare festgelegt sind"
-#: misc/org.yorba.shotwell.gschema.xml:490
+#: misc/org.yorba.shotwell.gschema.xml:560
msgid "do not upload tags when uploading to Piwigo"
msgstr "Keine Stichworte zu Piwigo hochladen"
-#: misc/org.yorba.shotwell.gschema.xml:491
+#: 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."
@@ -1008,46 +1053,46 @@ msgstr ""
"werden sollen, so dass diese auf dem entfernten Piwigo-Server nicht "
"erscheinen."
-#: misc/org.yorba.shotwell.gschema.xml:499
+#: misc/org.yorba.shotwell.gschema.xml:569
msgid "Gallery3 username"
msgstr "Gallery3-Benutzername"
-#: misc/org.yorba.shotwell.gschema.xml:504
+#: misc/org.yorba.shotwell.gschema.xml:574
msgid "API key"
msgstr "API-Schlüssel"
-#: misc/org.yorba.shotwell.gschema.xml:505
+#: misc/org.yorba.shotwell.gschema.xml:575
msgid "Gallery3 API key"
msgstr "Gallery3-API-Schlüssel"
-#: misc/org.yorba.shotwell.gschema.xml:510
+#: misc/org.yorba.shotwell.gschema.xml:580
msgid "URL"
msgstr "Adresse"
-#: misc/org.yorba.shotwell.gschema.xml:511
+#: misc/org.yorba.shotwell.gschema.xml:581
msgid "Gallery3 site URL"
msgstr "Gallery3-Adresse"
-#: misc/org.yorba.shotwell.gschema.xml:523
+#: misc/org.yorba.shotwell.gschema.xml:593
msgid ""
"Indicates whether images being uploaded to Gallery3 should have their "
"metadata removed first"
msgstr ""
"Legt fest, ob Metadaten vor dem Hochladen zu Gallery3 entfernt werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:528
+#: misc/org.yorba.shotwell.gschema.xml:598
msgid "scaling constraint of uploaded picture"
msgstr "Skalierungsbeschränkung des hochgeladenen Bildes"
-#: misc/org.yorba.shotwell.gschema.xml:529
+#: misc/org.yorba.shotwell.gschema.xml:599
msgid "The scaling constraint ID of the picture to be uploaded"
msgstr "Die Kennung der Skalierungsbeschränkung des hochgeladenen Bildes"
-#: misc/org.yorba.shotwell.gschema.xml:534
+#: misc/org.yorba.shotwell.gschema.xml:604
msgid "pixels of the major axis uploaded picture"
msgstr "Pixel der Hauptachse des hochgeladenen Bildes"
-#: misc/org.yorba.shotwell.gschema.xml:535
+#: 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"
@@ -1055,7 +1100,7 @@ msgstr ""
"Pixel der Hauptachse des hochzuladenden Bildes. Dies wird nur verwendet, "
"wenn scaling-constraint-id auf einen entsprechenden Wert gesetzt ist"
-#: misc/org.yorba.shotwell.gschema.xml:543
+#: 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."
@@ -1063,32 +1108,32 @@ msgstr ""
"Der OAuth-Token, der beim Auffrischen der YouTube-Sitzung des aktuell "
"angemeldeten Benutzers verwendet wird, soweit vorhanden."
-#: misc/org.yorba.shotwell.gschema.xml:550
+#: misc/org.yorba.shotwell.gschema.xml:620
msgid "last used import service"
msgstr "Zuletzt verwendeter Importdienst"
-#: misc/org.yorba.shotwell.gschema.xml:551
+#: misc/org.yorba.shotwell.gschema.xml:621
msgid ""
"A numeric code representing the last service from which photos were imported"
msgstr ""
"Ein Zahlencode, der den letzten Dienst darstellt, von dem Fotos importiert "
"wurden"
-#: misc/org.yorba.shotwell.gschema.xml:558
+#: misc/org.yorba.shotwell.gschema.xml:628
msgid "interpreter state cookie"
msgstr "Cookie für Interpreter-Status"
-#: misc/org.yorba.shotwell.gschema.xml:559
+#: misc/org.yorba.shotwell.gschema.xml:629
msgid ""
"A numeric code that captures the state of the GStreamer plug-in environment"
msgstr ""
"Ein Zahlencode, der den Status der Plugin-Umgebung von GStreamer darstellt"
-#: misc/org.yorba.shotwell.gschema.xml:566
+#: misc/org.yorba.shotwell.gschema.xml:636
msgid "content layout mode"
msgstr "Anordnungsmodus"
-#: misc/org.yorba.shotwell.gschema.xml:567
+#: misc/org.yorba.shotwell.gschema.xml:637
msgid ""
"A numeric code that describes how photos are laid out on the page during "
"printing"
@@ -1096,35 +1141,35 @@ msgstr ""
"Ein Zahlencode, der darstellt, wie Fotos auf dem Medium beim Druck "
"angeordnet werden sollen"
-#: misc/org.yorba.shotwell.gschema.xml:572
+#: misc/org.yorba.shotwell.gschema.xml:642
msgid "content ppi"
msgstr "PPI für den Inhalt"
-#: misc/org.yorba.shotwell.gschema.xml:573
+#: misc/org.yorba.shotwell.gschema.xml:643
msgid "The number of pixels per inch (ppi) sent to the printer during printing"
msgstr "Wert für Pixel pro Zoll (ppi), der an den Drucker gesendet werden soll"
-#: misc/org.yorba.shotwell.gschema.xml:578
+#: misc/org.yorba.shotwell.gschema.xml:648
msgid "content width"
msgstr "Breite des Inhalts"
-#: misc/org.yorba.shotwell.gschema.xml:579
+#: misc/org.yorba.shotwell.gschema.xml:649
msgid "The width of the printed emulsion on the page when printing"
msgstr "Die Breite des Druckbereiches auf der Seite"
-#: misc/org.yorba.shotwell.gschema.xml:584
+#: misc/org.yorba.shotwell.gschema.xml:654
msgid "content height"
msgstr "Höhe des Inhalts"
-#: misc/org.yorba.shotwell.gschema.xml:585
+#: misc/org.yorba.shotwell.gschema.xml:655
msgid "The height of the printed emulsion on the page when printing"
msgstr "Die Höhe des Druckbereiches auf der Seite"
-#: misc/org.yorba.shotwell.gschema.xml:590
+#: misc/org.yorba.shotwell.gschema.xml:660
msgid "content units"
msgstr "Einheiten für Inhalte"
-#: misc/org.yorba.shotwell.gschema.xml:591
+#: misc/org.yorba.shotwell.gschema.xml:661
msgid ""
"A numeric code representing unit of measure (inches or centimeters) used "
"when printing"
@@ -1132,11 +1177,11 @@ msgstr ""
"Ein Zahlencode, der die beim Drucken verwendete Maßeinheit (Zoll oder "
"Millimeter) darstellt"
-#: misc/org.yorba.shotwell.gschema.xml:596
+#: misc/org.yorba.shotwell.gschema.xml:666
msgid "images per page code"
msgstr "Anzahl der Bilder pro Seite"
-#: misc/org.yorba.shotwell.gschema.xml:597
+#: misc/org.yorba.shotwell.gschema.xml:667
msgid ""
"A numeric code representing the currently selected images per page mode used "
"when printing"
@@ -1144,22 +1189,22 @@ msgstr ""
"Ein Zahlencode, der den aktuell ausgewählten Bilder-pro-Seite-Modus beim "
"Drucken darstellt"
-#: misc/org.yorba.shotwell.gschema.xml:602
+#: misc/org.yorba.shotwell.gschema.xml:672
msgid "size selection"
msgstr "Größenauswahl"
-#: misc/org.yorba.shotwell.gschema.xml:603
+#: misc/org.yorba.shotwell.gschema.xml:673
msgid ""
"The index of the current print size in a pre-defined list of standard sizes"
msgstr ""
"Der Index der aktuellen Druckgröße aus einer vordefinierten Liste von "
"Standardgrößen"
-#: misc/org.yorba.shotwell.gschema.xml:608
+#: misc/org.yorba.shotwell.gschema.xml:678
msgid "match aspect ratio"
msgstr "Seitenverhältnis beibehalten"
-#: misc/org.yorba.shotwell.gschema.xml:609
+#: misc/org.yorba.shotwell.gschema.xml:679
msgid ""
"Determines whether custom print sizes must match the aspect ratio of the "
"original photo"
@@ -1167,205 +1212,205 @@ msgstr ""
"Legt fest, ob benutzerdefinierte Druckgrößen dem Seitenverhältnis des "
"Originalfotos entsprechen müssen"
-#: misc/org.yorba.shotwell.gschema.xml:614
+#: misc/org.yorba.shotwell.gschema.xml:684
msgid "print titles"
msgstr "Bildtitel drucken"
-#: misc/org.yorba.shotwell.gschema.xml:615
+#: 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 ""
"Legt fest, ob der Bildtitel beim Drucken mit gedruckt werden soll oder nicht."
-#: misc/org.yorba.shotwell.gschema.xml:620
+#: misc/org.yorba.shotwell.gschema.xml:690
msgid "titles font"
msgstr "Titelschrift"
-#: misc/org.yorba.shotwell.gschema.xml:621
+#: misc/org.yorba.shotwell.gschema.xml:691
msgid "The name of the font to use for photo titles when they are printed."
msgstr ""
"Der Name der Schrift, die beim Drucken für Bildtitel verwendet werden soll."
-#: misc/org.yorba.shotwell.gschema.xml:632
+#: misc/org.yorba.shotwell.gschema.xml:702
msgid "enable facebook publishing plugin"
msgstr "Facebook-Veröffentlichungs-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:633
+#: misc/org.yorba.shotwell.gschema.xml:703
msgid "True if the Facebook publishing plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob das Facebook-Veröffentlichungs-Plugin aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:638
+#: misc/org.yorba.shotwell.gschema.xml:708
msgid "enable flickr publishing plugin"
msgstr "Flickr-Veröffentlichungs-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:639
+#: misc/org.yorba.shotwell.gschema.xml:709
msgid "True if the Flickr publishing plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob das Flickr-Veröffentlichungs-Plugin aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:644
+#: misc/org.yorba.shotwell.gschema.xml:714
msgid "enable picasa publishing plugin"
msgstr "Picasa-Veröffentlichungs-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:645
+#: misc/org.yorba.shotwell.gschema.xml:715
msgid ""
"True if the Picasa Web Albums publishing plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob das Picasa-Webalben-Veröffentlichungs-Plugin aktiviert ist "
"oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:650
+#: misc/org.yorba.shotwell.gschema.xml:720
msgid "enable youtube publishing plugin"
msgstr "Youtube-Veröffentlichungs-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:651
+#: misc/org.yorba.shotwell.gschema.xml:721
msgid "True if the YouTube publishing plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob das Youtube-Veröffentlichungs-Plugin aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:656
+#: misc/org.yorba.shotwell.gschema.xml:726
msgid "enable piwigo publishing plugin"
msgstr "Piwigo-Veröffentlichungs-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:657
+#: misc/org.yorba.shotwell.gschema.xml:727
msgid "True if the Piwigo publishing plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob das Piwigo-Veröffentlichungs-Plugin aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:662
+#: misc/org.yorba.shotwell.gschema.xml:732
msgid "enable yandex publishing plugin"
msgstr "Yandex-Veröffentlichungs-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:663
+#: misc/org.yorba.shotwell.gschema.xml:733
msgid "True if the Yandex.Fotki publishing plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob das Yandex.Fotki-Veröffentlichungs-Plugin aktiviert ist oder "
"nicht"
-#: misc/org.yorba.shotwell.gschema.xml:668
+#: misc/org.yorba.shotwell.gschema.xml:738
msgid "enable tumblr publishing plugin"
msgstr "Tumblr-Veröffentlichungs-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:669
+#: misc/org.yorba.shotwell.gschema.xml:739
msgid "True if the Tumblr publishing plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob das Tumblr-Veröffentlichungs-Plugin aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:674
+#: misc/org.yorba.shotwell.gschema.xml:744
msgid "enable rajce publishing plugin"
msgstr "Rajce-Veröffentlichungs-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:675
+#: misc/org.yorba.shotwell.gschema.xml:745
msgid "True if the Rajce publishing plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob das Rajce-Veröffentlichungs-Plugin aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:680
+#: misc/org.yorba.shotwell.gschema.xml:750
msgid "enable gallery3 publishing plugin"
msgstr "Gallery3-Veröffentlichungs-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:681
+#: misc/org.yorba.shotwell.gschema.xml:751
msgid "True if the Gallery3 publishing plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob das Gallery3-Veröffentlichungs-Plugin aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:686
+#: misc/org.yorba.shotwell.gschema.xml:756
msgid "enable F-Spot import plugin"
msgstr "F-Spot-Import-Plugin aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:687
+#: misc/org.yorba.shotwell.gschema.xml:757
msgid "True if the F-Spot import plugin is enabled, false otherwise"
msgstr "Legt fest, ob das F-Spot-Import-Plugin aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:692
+#: misc/org.yorba.shotwell.gschema.xml:762
msgid "enable slideshow crumble transition"
msgstr "Zerfallen-Übergang für Diaschauen aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:693
+#: misc/org.yorba.shotwell.gschema.xml:763
msgid ""
"True if the Crumble slideshow transition plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob der Zerfallen-Übergang für Diaschauen aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:698
+#: misc/org.yorba.shotwell.gschema.xml:768
msgid "enable slideshow fade transition"
msgstr "Überblendung für Diaschauen aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:699
+#: misc/org.yorba.shotwell.gschema.xml:769
msgid ""
"True if the Fade slideshow transition plugin is enabled, false otherwise"
msgstr "Legt fest, ob die Überbledung für Diaschauen aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:704
-#: misc/org.yorba.shotwell.gschema.xml:728
+#: misc/org.yorba.shotwell.gschema.xml:774
+#: misc/org.yorba.shotwell.gschema.xml:798
msgid "enable slideshow slide transition"
msgstr "Gleiten-Übergang für Diaschauen aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:705
+#: misc/org.yorba.shotwell.gschema.xml:775
msgid ""
"True if the Slide slideshow transition plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob der Gleiten-Übergang für Diaschauen aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:710
+#: misc/org.yorba.shotwell.gschema.xml:780
msgid "enable slideshow clock transition"
msgstr "Uhr-Übergang für Diaschauen aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:711
+#: misc/org.yorba.shotwell.gschema.xml:781
msgid ""
"True if the Clock slideshow transition plugin is enabled, false otherwise"
msgstr "Legt fest, ob der Uhr-Übergang für Diaschauen aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:716
-#: misc/org.yorba.shotwell.gschema.xml:722
+#: misc/org.yorba.shotwell.gschema.xml:786
+#: misc/org.yorba.shotwell.gschema.xml:792
msgid "enable slideshow circle transition"
msgstr "Kreis-Übergang für Diaschauen aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:717
+#: misc/org.yorba.shotwell.gschema.xml:787
msgid ""
"True if the Circle slideshow transition plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob der Kreis-Übergang für Diaschauen aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:723
+#: misc/org.yorba.shotwell.gschema.xml:793
msgid ""
"True if the Circles slideshow transition plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob der Kreis-Übergang für Diaschauen aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:729
+#: misc/org.yorba.shotwell.gschema.xml:799
msgid ""
"True if the Blinds slideshow transition plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob der Vorhang-Übergang für Diaschauen aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:734
+#: misc/org.yorba.shotwell.gschema.xml:804
msgid "enable slideshow squares transition"
msgstr "Quadrat-Übergang für Diaschauen aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:735
+#: misc/org.yorba.shotwell.gschema.xml:805
msgid ""
"True if the Squares slideshow transition plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob der Quadrat-Übergang für Diaschauen aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:740
+#: misc/org.yorba.shotwell.gschema.xml:810
msgid "enable slideshow stripes transition"
msgstr "Streifen-Übergang für Diaschauen aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:741
+#: misc/org.yorba.shotwell.gschema.xml:811
msgid ""
"True if the Stripes slideshow transition plugin is enabled, false otherwise"
msgstr ""
"Legt fest, ob der Streifen-Übergang für Diaschauen aktiviert ist oder nicht"
-#: misc/org.yorba.shotwell.gschema.xml:746
+#: misc/org.yorba.shotwell.gschema.xml:816
msgid "enable slideshow chess transition"
msgstr "Schachbrett-Übergang für Diaschauen aktivieren"
-#: misc/org.yorba.shotwell.gschema.xml:747
+#: misc/org.yorba.shotwell.gschema.xml:817
msgid ""
"True if the Chess-Board slideshow transition plugin is enabled, false "
"otherwise"
@@ -1383,14 +1428,76 @@ msgstr ""
"Christian Kirbach , 2014, 2015, 2016\n"
"Mario Blättermann "
-#: plugins/common/RESTSupport.vala:451
+#. 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 ""
+"⚫ Die von dieser Webseite erhaltene Identifizierung verweist auf eine andere "
+"Webseite."
+
+#. 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 ""
+"⚫ Die von dieser Webseite erhaltene Identifizierung ist zu alt, um "
+"vertrauenswürdig zu sein. Überprüfen Sie das Datum mithilfe des Kalenders "
+"Ihres Rechners."
+
+#. 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 ""
+"⚫ Die von dieser Webseite erhaltene Identifizierung wurde nicht von einer "
+"vertrauenswürdigen Organisation herausgegeben."
+
+#. 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 ""
+"⚫ Die von dieser Webseite erhaltene Identifizierung konnte nicht verarbeitet "
+"werden. Sie könnte beschädigt sein."
+
+#. 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 ""
+"⚫ Die von dieser Webseite erhaltene Identifizierung wurde von der "
+"vertrauenswürdigen Organisation zurückgezogen, von der sie ausgegeben wurde."
+
+#. 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 ""
+"⚫ Die von dieser Webseite erhaltene Identifizierung ist nicht "
+"vertrauenswürdig, weil die Verschlüsselung zu schwach ist."
+
+#. 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 ""
+"⚫ Die von dieser Webseite erhaltene Identifizierung gilt nur für ein Datum "
+"in der Zukunft. Überprüfen Sie das Datum mithilfe des Kalenders Ihres "
+"Rechners."
+
+#: plugins/common/RESTSupport.vala:509
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958
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 "
"verfügbar"
-#: plugins/common/RESTSupport.vala:1157
+#: plugins/common/RESTSupport.vala:1167
msgid ""
"You have already logged in and out of a Google service during this Shotwell "
"session.\n"
@@ -1509,7 +1616,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
-msgid "_Login"
+msgid "_Log in"
msgstr "_Anmelden"
#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:34
@@ -1580,7 +1687,7 @@ msgstr "Pixel"
#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195
#: plugins/shotwell-publishing/FlickrPublishing.vala:1235
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1329
#: src/Dimensions.vala:17
msgid "Original size"
msgstr "Ursprüngliche Größe"
@@ -1615,8 +1722,8 @@ msgstr "Vorgabeordner für Shotwell"
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"
@@ -1636,7 +1743,7 @@ msgstr ""
#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1773
#, c-format
msgid ""
-"A file required for publishing is unavailable. Publishing to %s can't "
+"A file required for publishing is unavailable. Publishing to %s can’t "
"continue."
msgstr ""
"Eine Datei, die veröffentlicht werden soll, ist nicht verfügbar. Die "
@@ -1707,8 +1814,8 @@ msgstr "Dauerhaft _merken"
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:895
#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107
#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151
-msgid "Login"
-msgstr "Anmelden"
+msgid "Log in"
+msgstr "Anmelden in"
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014
@@ -1734,8 +1841,9 @@ 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"
-msgstr "Copyright (C) 2013 rajce.net"
+#| msgid "Copyright (C) 2013 rajce.net"
+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."
@@ -1785,30 +1893,33 @@ msgstr "Copyright 2012 BJA Electronics"
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105
#: plugins/shotwell-publishing/FlickrPublishing.vala:1231
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1230
-msgid "500 x 375 pixels"
-msgstr "500 x 375 Pixel"
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1325
+#| msgid "500 x 375 pixels"
+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:1231
-msgid "1024 x 768 pixels"
-msgstr "1024 x 768 Pixel"
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1326
+#| msgid "1024 x 768 pixels"
+msgid "1024 × 768 pixels"
+msgstr "1024 × 768 Pixel"
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107
-msgid "1280 x 853 pixels"
-msgstr "1280 x 853 Pixel"
+#| msgid "1280 x 853 pixels"
+msgid "1280 × 853 pixels"
+msgstr "1280 × 853 Pixel"
#: 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"
+msgid "“%s” isn’t a valid response to an OAuth authentication request"
msgstr ""
"»%s« ist keine gültige Antwort auf eine OAuth-Authentifizierungsanfrage"
#: 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( ): kann nicht gestartet werden; das Werkzeug zum "
"Veröffentlichen ist nicht neu startbar."
@@ -1820,13 +1931,13 @@ msgstr ""
"Konto ein."
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:992
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1087
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:1026
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1121
msgid "Invalid User Name or Password"
msgstr "Ungültiger Benutzername oder Passwort"
@@ -1854,7 +1965,7 @@ msgstr "Copyright 2010+ Jewgeni Poljakow "
msgid "Visit the Yandex.Fotki web site"
msgstr "Besuchen Sie die Yandex.Fotki-Webseite"
-#: plugins/shotwell-publishing-extras/YandexPublishing.vala:658
+#: plugins/shotwell-publishing-extras/YandexPublishing.vala:609
msgid "You are not currently logged into Yandex.Fotki."
msgstr "Sie sind aktuell nicht bei Yandex.Fotki angemeldet."
@@ -1879,7 +1990,7 @@ msgid "Public"
msgstr "Öffentlich"
#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1194
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1144
msgid "Friends"
msgstr "Freunde"
@@ -1897,7 +2008,7 @@ msgid "Create a _new album named:"
msgstr "Ein _neues Album mit folgendem Namen erstellen:"
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:108
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1034
+#: plugins/shotwell-publishing/FacebookPublishing.vala:984
msgid "Upload _size:"
msgstr "_Größe zum Hochladen:"
@@ -1917,7 +2028,7 @@ msgstr ""
#: plugins/shotwell-publishing/FacebookPublishing.vala:62
#: plugins/shotwell-publishing/PicasaPublishing.vala:60
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1114
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1209
msgid "Shotwell Connect"
msgstr "Shotwell Connect"
@@ -1925,7 +2036,7 @@ msgstr "Shotwell Connect"
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."
@@ -1959,23 +2070,23 @@ msgid "Large (2048 pixels)"
msgstr "Groß (2048 Pixel)"
#: plugins/shotwell-publishing/FacebookPublishing.vala:255
-msgid "Testing connection to Facebook..."
+msgid "Testing connection to Facebook…"
msgstr "Verbindung zu Facebook wird geprüft …"
#: plugins/shotwell-publishing/FacebookPublishing.vala:348
#: plugins/shotwell-publishing/PicasaPublishing.vala:379
-msgid "Creating album..."
+msgid "Creating album…"
msgstr "Album wird erstellt …"
#: 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 ""
"Eine Datei, die veröffentlicht werden soll, ist nicht verfügbar. Die "
"Veröffentlichung auf Facebook ist nicht möglich."
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1032
+#: plugins/shotwell-publishing/FacebookPublishing.vala:982
#, c-format
msgid ""
"You are logged into Facebook as %s.\n"
@@ -1984,18 +2095,18 @@ msgstr ""
"Sie sind bei Facebook als %s angemeldet.\n"
"\n"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1033
+#: plugins/shotwell-publishing/FacebookPublishing.vala:983
msgid "Where would you like to publish the selected photos?"
msgstr "Wo möchten Sie die ausgewählten Fotos veröffentlichen?"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1193
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1143
#: plugins/shotwell-publishing/FlickrPublishing.vala:1213
msgid "Just me"
msgstr "Nur mich"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1195
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1145
#: plugins/shotwell-publishing/FlickrPublishing.vala:1209
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1218
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1313
msgid "Everyone"
msgstr "Alle"
@@ -2011,7 +2122,7 @@ msgstr ""
msgid "Authorization _Number:"
msgstr "Autorisierungsnummer:"
-#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:132
+#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:128
msgid "Con_tinue"
msgstr "For_tsetzen"
@@ -2019,7 +2130,7 @@ msgstr "For_tsetzen"
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 ""
"Sie sind zurzeit nicht bei Flickr angemeldet.\n"
@@ -2040,21 +2151,21 @@ msgstr ""
"starten Sie es nochmals und versuchen es dann erneut."
#: plugins/shotwell-publishing/FlickrPublishing.vala:374
-msgid "Preparing for login..."
+msgid "Preparing for login…"
msgstr "Anmeldung wird vorbereitet …"
#: 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 ""
"Eine Datei, die veröffentlicht werden soll, ist nicht verfügbar. Die "
"Veröffentlichung auf Flickr ist nicht möglich."
#: plugins/shotwell-publishing/FlickrPublishing.vala:457
-msgid "Verifying authorization..."
-msgstr "Autorisierung wird bestätigt …"
+msgid "Verifying authorization…"
+msgstr "Legitimierung wird bestätigt …"
#: plugins/shotwell-publishing/FlickrPublishing.vala:1152
#, c-format
@@ -2111,14 +2222,16 @@ msgid "Friends only"
msgstr "Nur Freunde"
#: plugins/shotwell-publishing/FlickrPublishing.vala:1233
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1232
-msgid "2048 x 1536 pixels"
-msgstr "2048 x 1536 Pixel"
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1327
+#| msgid "2048 x 1536 pixels"
+msgid "2048 × 1536 pixels"
+msgstr "2048 × 1536 Pixel"
#: plugins/shotwell-publishing/FlickrPublishing.vala:1234
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233
-msgid "4096 x 3072 pixels"
-msgstr "4096 x 3072 Pixel"
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1328
+#| msgid "4096 x 3072 pixels"
+msgid "4096 × 3072 pixels"
+msgstr "4096 × 3072 Pixel"
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:113
msgid "L_ist album in public gallery"
@@ -2132,8 +2245,8 @@ msgstr "Voreingestellte Foto_größe:"
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 ""
"Sie sind zur Zeit nicht bei Picasa Webalben angemeldet.\n"
"\n"
@@ -2143,7 +2256,7 @@ msgstr ""
#: 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 ""
"Eine Datei, die veröffentlicht werden soll, ist nicht verfügbar. Die "
@@ -2160,20 +2273,20 @@ msgid "Videos will appear in:"
msgstr "Videos werden folgendermaßen dargestellt:"
#: plugins/shotwell-publishing/PicasaPublishing.vala:746
-msgid "Small (640 x 480 pixels)"
-msgstr "Klein (640 x 480 Pixel)"
+msgid "Small (640 × 480 pixels)"
+msgstr "Klein (640 × 480 Pixel)"
#: plugins/shotwell-publishing/PicasaPublishing.vala:747
-msgid "Medium (1024 x 768 pixels)"
-msgstr "Mittel (1024 x 768 Pixel)"
+msgid "Medium (1024 × 768 pixels)"
+msgstr "Mittel (1024 × 768 Pixel)"
#: plugins/shotwell-publishing/PicasaPublishing.vala:748
-msgid "Recommended (1600 x 1200 pixels)"
-msgstr "Empfohlen (1600 x 1200 Pixel)"
+msgid "Recommended (1600 × 1200 pixels)"
+msgstr "Empfohlen (1600 × 1200 Pixel)"
#: plugins/shotwell-publishing/PicasaPublishing.vala:749
-msgid "Google+ (2048 x 1536 pixels)"
-msgstr "Google+ (2048 x 1536 Pixel)"
+msgid "Google+ (2048 × 1536 pixels)"
+msgstr "Google+ (2048 × 1536 Pixel)"
#: plugins/shotwell-publishing/PicasaPublishing.vala:750
#: src/editing_tools/EditingTools.vala:756
@@ -2231,18 +2344,31 @@ msgstr "Abmelden"
msgid "Publish"
msgstr "Veröffentlichen"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:747
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:775
#, c-format
-msgid "Creating album %s..."
+msgid "Creating album %s…"
msgstr "Album %s wird erstellt …"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:920
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:948
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."
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:990
+#. %s is the host name that we tried to connect to
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1024
+#, c-format
+msgid ""
+"This does not look like the real %s . 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 ""
+"Dies scheint kein echtes %s zu sein. Angreifer könnten versuchen, von "
+"oder zu dieser Seite übertragene Informationen zu stehlen oder zu "
+"beeinflussen (zum Beispiel private Nachrichten, Kreditkartendaten oder "
+"Passwörter)."
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085
msgid ""
"Enter the URL of your Piwigo photo library as well as the username and "
"password associated with your Piwigo account for that library."
@@ -2250,7 +2376,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:991
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1086
msgid ""
"Shotwell cannot contact your Piwigo photo library. Please verify the URL you "
"entered"
@@ -2258,26 +2384,38 @@ msgstr ""
"Shotwell kann sich nicht mit Ihrer Piwigo-Fotobibliothek verbinden. Bitte "
"überprüfen Sie Ihre angegebene Adresse."
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1021
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116
msgid "Invalid URL"
msgstr "Ungültige Adresse"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1219
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314
msgid "Admins, Family, Friends, Contacts"
msgstr "Admins, Familie, Freunde, Kontakte"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1220
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315
msgid "Admins, Family, Friends"
msgstr "Admins, Familie, Freunde"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316
msgid "Admins, Family"
msgstr "Admins, Familie"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317
msgid "Admins"
msgstr "Admins"
+#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:21
+msgid "This connection is not secure"
+msgstr "Diese Verbindung ist nicht sicher"
+
+#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:75
+msgid "Show the certificate…"
+msgstr "Zertifikat anzeigen …"
+
+#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:88
+msgid "I understand, please _proceed."
+msgstr "Verstanden, bitte _fortfahren."
+
#: plugins/shotwell-publishing/shotwell-publishing.vala:26
msgid "Core Publishing Services"
msgstr "Standard-Veröffentlichungsdienste"
@@ -2302,7 +2440,7 @@ msgstr ""
#: 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 ""
"Eine Datei, die veröffentlicht werden soll, ist nicht verfügbar. Die "
@@ -2315,7 +2453,7 @@ msgstr "Sie sind bei YouTube als %s angemeldet."
#: plugins/shotwell-publishing/YouTubePublishing.vala:464
#, c-format
-msgid "Videos will appear in '%s'"
+msgid "Videos will appear in “%s”"
msgstr "Videos werden in »%s« erscheinen"
#: plugins/shotwell-publishing/YouTubePublishing.vala:496
@@ -2440,7 +2578,7 @@ 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:1425 src/Dialogs.vala:1448
+#: src/Dialogs.vala:28 src/Dialogs.vala:1441 src/Dialogs.vala:1464
#: src/publishing/PublishingUI.vala:512 src/Resources.vala:157
msgid "_Cancel"
msgstr "_Abbrechen"
@@ -2448,7 +2586,7 @@ msgstr "_Abbrechen"
#: src/AppWindow.vala:656
#, 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"
@@ -2554,7 +2692,7 @@ msgstr "RAW+JPEG"
#: src/camera/ImportPage.vala:458
msgid ""
-"Unable to unmount camera. Try unmounting the camera from the file manager."
+"Unable to unmount camera. Try unmounting the camera from the file manager."
msgstr ""
"Das Kameramedium kann nicht ausgehängt werden. Versuchen Sie es bitte über "
"die Dateiverwaltung."
@@ -2606,7 +2744,7 @@ msgstr "Alle Fotos in die Bibliothek importieren"
#: src/camera/ImportPage.vala:1013
msgid ""
"Shotwell needs to unmount the camera from the filesystem in order to access "
-"it. Continue?"
+"it. Continue?"
msgstr ""
"Shotwell muss die Kamera aus dem Dateisystem aushängen, um auf sie zugreifen "
"zu können. Möchten Sie fortsetzen?"
@@ -2621,8 +2759,8 @@ msgstr "Bitte hängen Sie die Kamera aus."
#: src/camera/ImportPage.vala:1029
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 "
+"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 ""
"Die Kamera ist von einer anderen Anwendung reserviert. Shotwell kann nur auf "
@@ -2693,7 +2831,7 @@ 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:1392
+#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1408
msgid "_Keep"
msgstr "_Behalten"
@@ -2730,7 +2868,7 @@ msgstr "Fotos/Videos exportieren"
msgid "Export Photo"
msgstr "Foto exportieren"
-#: src/CollectionPage.vala:458 src/Dialogs.vala:88
+#: src/CollectionPage.vala:458 src/Dialogs.vala:84
msgid "Export Photos"
msgstr "Fotos exportieren"
@@ -2882,7 +3020,7 @@ msgstr "Stichwort zuordnen"
#: src/Commands.vala:1695
#, c-format
-msgid "Move Tag \"%s\""
+msgid "Move Tag “%s”"
msgstr "Stichwort »%s« verschieben"
#: src/Commands.vala:2347
@@ -2943,7 +3081,7 @@ msgstr "%s-Datenbank"
#: 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:"
+msgid "Importing from %s can’t continue because an error occurred:"
msgstr "Import von %s kann nicht fortgesetzt werden, da ein Fehler auftrat:"
#: src/data_imports/DataImportsPluginHost.vala:151
@@ -3047,12 +3185,12 @@ msgstr "Die Hintergrund-Bildvorführung kann nicht vorbereitet werden: %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?"
+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] "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:1393
+#: 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
msgid "_Delete"
@@ -3060,7 +3198,7 @@ msgstr "_Löschen"
#: src/Dialogs.vala:25
#, c-format
-msgid "This will remove the saved search \"%s\". Continue?"
+msgid "This will remove the saved search “%s”. Continue?"
msgstr ""
"Hiermit wird die gespeicherte Suche »%s« entfernt. Soll fortgesetzt werden?"
@@ -3091,16 +3229,16 @@ msgstr "Video exportieren"
#. 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:116
+#: 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 konnte keine Datei zur Bearbeitung dieses Fotos erstellen, weil Sie "
"keine Berechtigung haben, um auf %s zu schreiben."
-#: src/Dialogs.vala:125
+#: src/Dialogs.vala:121
msgid ""
"Unable to export the following photo due to a file error.\n"
"\n"
@@ -3108,7 +3246,7 @@ msgstr ""
"Das Foto kann wegen eines Dateifehlers nicht exportiert werden.\n"
"\n"
-#: src/Dialogs.vala:131
+#: src/Dialogs.vala:127
msgid ""
"\n"
"\n"
@@ -3121,61 +3259,61 @@ 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:148
+#: src/Dialogs.vala:144
msgid "Unmodified"
msgstr "Unverändert"
# Bildformat
-#: src/Dialogs.vala:149
+#: src/Dialogs.vala:145
msgid "Current"
msgstr "Aktuelles"
#. layout controls
-#: src/Dialogs.vala:216
+#: src/Dialogs.vala:221
msgid "_Format:"
msgstr "_Format:"
-#: src/Dialogs.vala:219
+#: src/Dialogs.vala:224
msgid "_Quality:"
msgstr "_Qualität:"
-#: src/Dialogs.vala:222
+#: src/Dialogs.vala:227
msgid "_Scaling constraint:"
msgstr "_Skalierungsbeschränkung:"
-#: src/Dialogs.vala:225
+#: src/Dialogs.vala:230
msgid "_Pixels:"
msgstr "_Pixel:"
-#: src/Dialogs.vala:228
-msgid "Export metadata"
-msgstr "Metadaten exportieren"
+#: src/Dialogs.vala:234
+msgid "Export _metadata:"
+msgstr "_Metadaten exportieren:"
-#: src/Dialogs.vala:462
+#: src/Dialogs.vala:478
msgid "Save Details…"
msgstr "Details speichern …"
-#: src/Dialogs.vala:463
+#: src/Dialogs.vala:479
msgid "Save Details"
msgstr "Details speichern"
-#: src/Dialogs.vala:478
+#: src/Dialogs.vala:494
#, c-format
msgid "(and %d more)\n"
msgstr "(und %d andere)\n"
-#: src/Dialogs.vala:531
+#: src/Dialogs.vala:547
msgid "Import Results Report"
msgstr "Importergebnisse anzeigen"
-#: src/Dialogs.vala:535
+#: src/Dialogs.vala:551
#, c-format
msgid "Attempted to import %d file."
msgid_plural "Attempted to import %d files."
msgstr[0] "%d Datei zu importieren versucht."
msgstr[1] "%d Dateien zu importieren versucht."
-#: src/Dialogs.vala:538
+#: src/Dialogs.vala:554
#, c-format
msgid "Of these, %d file was successfully imported."
msgid_plural "Of these, %d files were successfully imported."
@@ -3185,31 +3323,31 @@ msgstr[1] "Davon wurden %d Dateien erfolgreich importiert."
#.
#. Duplicates
#.
-#: src/Dialogs.vala:550
+#: src/Dialogs.vala:566
msgid "Duplicate Photos/Videos Not Imported:"
msgstr "Duplikate von Fotos und Videos wurden nicht importiert:"
-#: src/Dialogs.vala:554
+#: src/Dialogs.vala:570
msgid "duplicates existing media item"
msgstr "dupliziert bestehendes Medienelement"
#.
#. Files Not Imported Due to Camera Errors
#.
-#: src/Dialogs.vala:565
+#: src/Dialogs.vala:581
msgid "Photos/Videos Not Imported Due to Camera Errors:"
msgstr "Fotos/Videos wurden aufgrund von Kamera-Fehlern nicht importiert:"
-#: src/Dialogs.vala:568 src/Dialogs.vala:583 src/Dialogs.vala:598
-#: src/Dialogs.vala:614 src/Dialogs.vala:629 src/Dialogs.vala:643
+#: 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 "Fehlermeldung:"
#.
#. Files Not Imported Because They Weren't Recognized as Photos or Videos
#.
-#: src/Dialogs.vala:579
-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 ""
"Diese Dateien wurden nicht importiert, da Sie nicht als Foto oder Video "
"erkannt wurden:"
@@ -3217,9 +3355,9 @@ msgstr ""
#.
#. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands
#.
-#: src/Dialogs.vala:594
+#: 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 ""
"Dateien wurden nicht importiert, da Sie nicht in einem mit Shotwell "
@@ -3228,18 +3366,18 @@ msgstr ""
#.
#. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library
#.
-#: src/Dialogs.vala:609
+#: 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 ""
"Dateien wurden nicht importiert, da Sie nicht in die Bibliothek kopiert "
"werden konnten:"
-#: src/Dialogs.vala:613
+#: src/Dialogs.vala:629
#, c-format
msgid ""
-"couldn't copy %s\n"
+"couldn’t copy %s\n"
"\tto %s"
msgstr ""
"%s konnte nicht\n"
@@ -3248,7 +3386,7 @@ msgstr ""
#.
#. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt
#.
-#: src/Dialogs.vala:625
+#: src/Dialogs.vala:641
msgid "Photos/Videos Not Imported Because Files Are Corrupt:"
msgstr ""
"Fotos/Videos konnten nicht importiert werden, da die Dateien beschädigt sind:"
@@ -3256,32 +3394,32 @@ msgstr ""
#.
#. Photos/Videos Not Imported for Other Reasons
#.
-#: src/Dialogs.vala:640
+#: src/Dialogs.vala:656
msgid "Photos/Videos Not Imported for Other Reasons:"
msgstr "Foto/Videos wurden aus anderen Gründen nicht importiert:"
-#: src/Dialogs.vala:660
+#: 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 Duplikat des Fotos wurde nicht importiert:\n"
msgstr[1] "%d Duplikate des Fotos wurden nicht importiert:\n"
-#: src/Dialogs.vala:663
+#: 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 Duplikat des Videos wurde nicht importiert:\n"
msgstr[1] "%d Duplikate des Videos wurden nicht importiert:\n"
-#: src/Dialogs.vala:666
+#: 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 des Fotos/Videos wurde nicht importiert:\n"
msgstr[1] "%d Duplikate der Fotos/Videos wurden nicht importiert:\n"
-#: src/Dialogs.vala:680
+#: 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"
@@ -3291,7 +3429,7 @@ msgstr[0] ""
msgstr[1] ""
"%d Fotos konnten wegen Datei- oder Hardwarefehlern nicht importiert werden:\n"
-#: src/Dialogs.vala:683
+#: 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"
@@ -3302,7 +3440,7 @@ msgstr[1] ""
"%d Videos konnten wegen Datei- oder Hardwarefehlern nicht importiert "
"werden:\n"
-#: src/Dialogs.vala:686
+#: src/Dialogs.vala:702
#, c-format
msgid "1 photo/video failed to import due to a file or hardware error:\n"
msgid_plural ""
@@ -3314,7 +3452,7 @@ msgstr[1] ""
"%d Fotos/Videos konnten wegen Datei- oder Hardwarefehlern nicht importiert "
"werden:\n"
-#: src/Dialogs.vala:689
+#: 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"
@@ -3325,7 +3463,7 @@ msgstr[1] ""
"%d Dateien konnten wegen eines Datei- oder Hardwarefehlers nicht importiert "
"werden:\n"
-#: src/Dialogs.vala:703
+#: src/Dialogs.vala:719
#, c-format
msgid ""
"1 photo failed to import because the photo library folder was not writable:\n"
@@ -3339,7 +3477,7 @@ msgstr[1] ""
"%d Fotos wurden nicht importiert, weil der Ordner der Foto-Bibliothek "
"schreibgeschützt ist:\n"
-#: src/Dialogs.vala:706
+#: src/Dialogs.vala:722
#, c-format
msgid ""
"1 video failed to import because the photo library folder was not writable:\n"
@@ -3353,7 +3491,7 @@ msgstr[1] ""
"%d Videos wurden nicht importiert, weil der Ordner mit der Foto-Bibliothek "
"schreibgeschützt ist:\n"
-#: src/Dialogs.vala:709
+#: src/Dialogs.vala:725
#, c-format
msgid ""
"1 photo/video failed to import because the photo library folder was not "
@@ -3368,7 +3506,7 @@ msgstr[1] ""
"%d Fotos/Videos wurden nicht importiert, weil der Ordner mit der Foto-"
"Bibliothek schreibgeschützt ist:\n"
-#: src/Dialogs.vala:712
+#: src/Dialogs.vala:728
#, c-format
msgid ""
"1 file failed to import because the photo library folder was not writable:\n"
@@ -3382,7 +3520,7 @@ msgstr[1] ""
"%d Dateien wurden nicht importiert, weil der Ordner mit der Foto-Bibliothek "
"schreibgeschützt ist:\n"
-#: src/Dialogs.vala:726
+#: 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"
@@ -3391,7 +3529,7 @@ msgstr[0] ""
msgstr[1] ""
"%d Fotos konnten wegen eines Kamerafehlers nicht importiert werden:\n"
-#: src/Dialogs.vala:729
+#: 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"
@@ -3400,7 +3538,7 @@ msgstr[0] ""
msgstr[1] ""
"%d Videos konnten wegen eines Kamerafehlers nicht importiert werden:\n"
-#: src/Dialogs.vala:732
+#: 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"
@@ -3409,7 +3547,7 @@ msgstr[0] ""
msgstr[1] ""
"%d Fotos/Videos konnten wegen eines Kamerafehlers nicht importiert werden:\n"
-#: src/Dialogs.vala:735
+#: 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"
@@ -3418,7 +3556,7 @@ msgstr[0] ""
msgstr[1] ""
"%d Dateien konnte wegen eines Kamerafehlers nicht importiert werden:\n"
-#: src/Dialogs.vala:749
+#: 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"
@@ -3428,7 +3566,7 @@ msgstr[1] ""
"%d Fotos konnten nicht importiert werden, weil die Dateien beschädigt "
"waren:\n"
-#: src/Dialogs.vala:752
+#: 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"
@@ -3437,7 +3575,7 @@ msgstr[0] ""
msgstr[1] ""
"%d Videos konnten nicht importiert werden, weil die Datei beschädigt war:\n"
-#: src/Dialogs.vala:755
+#: 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"
@@ -3448,7 +3586,7 @@ msgstr[1] ""
"%d Fotos/Videos konnten nicht importiert werden, weil die Datei beschädigt "
"war:\n"
-#: src/Dialogs.vala:758
+#: 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"
@@ -3461,7 +3599,7 @@ msgstr[1] ""
#. 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:775
+#: src/Dialogs.vala:791
#, c-format
msgid "1 unsupported photo skipped:\n"
msgid_plural "%d unsupported photos skipped:\n"
@@ -3470,56 +3608,56 @@ msgstr[1] "%d Fotos mit nicht unterstütztem Format wurden übersprungen:\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:790
+#: src/Dialogs.vala:806
#, c-format
msgid "1 non-image file skipped.\n"
msgid_plural "%d non-image files skipped.\n"
msgstr[0] "Eine Nicht-Bilddatei wurde übersprungen.\n"
msgstr[1] "%d Nicht-Bilddateien wurde übersprungen.\n"
-#: src/Dialogs.vala:801
+#: 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] "Ein Foto wurde wegen Abbruchs durch den Benutzer übersprungen:\n"
msgstr[1] "%d Fotos wurden wegen Abbruchs durch den Benutzer übersprungen:\n"
-#: src/Dialogs.vala:804
+#: 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] "Ein Video wurde wegen Abbruchs durch den Benutzer übersprungen:\n"
msgstr[1] "%d Videos wurden wegen Abbruchs durch den Benutzer übersprungen:\n"
-#: src/Dialogs.vala:807
+#: 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] "Ein Foto/Video wegen Abbruchs durch den Benutzer übersprungen.\n"
msgstr[1] "%d Fotos/Videos wegen Abbruchs durch den Benutzer übersprungen.\n"
-#: src/Dialogs.vala:810
+#: 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] "Eine Datei wegen Abbruchs durch den Benutzer übersprungen.\n"
msgstr[1] "%d Dateien wegen Abbruchs durch den Benutzer übersprungen.\n"
-#: src/Dialogs.vala:824
+#: src/Dialogs.vala:840
#, c-format
msgid "1 photo successfully imported.\n"
msgid_plural "%d photos successfully imported.\n"
msgstr[0] "Ein Foto wurde erfolgreich importiert.\n"
msgstr[1] "%d Fotos wurden erfolgreich importiert.\n"
-#: src/Dialogs.vala:827
+#: src/Dialogs.vala:843
#, c-format
msgid "1 video successfully imported.\n"
msgid_plural "%d videos successfully imported.\n"
msgstr[0] "Ein Video wurde erfolgreich importiert.\n"
msgstr[1] "%d Videos wurden erfolgreich importiert.\n"
-#: src/Dialogs.vala:830
+#: src/Dialogs.vala:846
#, c-format
msgid "1 photo/video successfully imported.\n"
msgid_plural "%d photos/videos successfully imported.\n"
@@ -3528,179 +3666,179 @@ msgstr[1] "%d Fotos/Videos wurden erfolgreich importiert.\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:846
+#: src/Dialogs.vala:862
msgid "No photos or videos imported.\n"
msgstr "Es wurden keine Fotos oder Videos importiert.\n"
-#: src/Dialogs.vala:853 src/Dialogs.vala:872
+#: src/Dialogs.vala:869 src/Dialogs.vala:888
msgid "Import Complete"
msgstr "Import abgeschlossen"
-#: src/Dialogs.vala:1158
+#: src/Dialogs.vala:1174
#, c-format
msgid "%d second"
msgid_plural "%d seconds"
msgstr[0] "%d Sekunde"
msgstr[1] "%d Sekunden"
-#: src/Dialogs.vala:1161
+#: src/Dialogs.vala:1177
#, c-format
msgid "%d minute"
msgid_plural "%d minutes"
msgstr[0] "%d Minute"
msgstr[1] "%d Minuten"
-#: src/Dialogs.vala:1165
+#: src/Dialogs.vala:1181
#, c-format
msgid "%d hour"
msgid_plural "%d hours"
msgstr[0] "%d Stunde"
msgstr[1] "%d Stunden"
-#: src/Dialogs.vala:1168
+#: src/Dialogs.vala:1184
msgid "1 day"
msgstr "1 Tag"
-#: src/Dialogs.vala:1322 src/Resources.vala:231
+#: src/Dialogs.vala:1338 src/Resources.vala:231
msgid "Rename Event"
msgstr "Ereignis umbenennen"
-#: src/Dialogs.vala:1322
+#: src/Dialogs.vala:1338
msgid "Name:"
msgstr "Name:"
#. Dialog title
-#: src/Dialogs.vala:1333
+#: src/Dialogs.vala:1349
msgctxt "Dialog Title"
msgid "Edit Title"
msgstr "Titel bearbeiten"
-#: src/Dialogs.vala:1334 src/Properties.vala:340
+#: src/Dialogs.vala:1350 src/Properties.vala:340
msgid "Title:"
msgstr "Titel:"
#. Dialog title
-#: src/Dialogs.vala:1350 src/Resources.vala:307
+#: src/Dialogs.vala:1366 src/Resources.vala:307
msgid "Edit Event Comment"
msgstr "Kommentar des Ereignisses bearbeiten"
-#: src/Dialogs.vala:1351
+#: src/Dialogs.vala:1367
msgid "Edit Photo/Video Comment"
msgstr "Foto-/Video-Kommentar bearbeiten"
-#: src/Dialogs.vala:1352 src/Properties.vala:628
+#: src/Dialogs.vala:1368 src/Properties.vala:628
msgid "Comment:"
msgstr "Kommentar:"
-#: src/Dialogs.vala:1368
+#: src/Dialogs.vala:1384
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:1372
+#: src/Dialogs.vala:1388
msgid "_Remove From Library"
msgstr "Aus der Bibliothek _entfernen"
-#: src/Dialogs.vala:1415
+#: src/Dialogs.vala:1431
msgid "Revert External Edit?"
msgstr "Externe Veränderung zurücknehmen?"
-#: src/Dialogs.vala:1415
+#: src/Dialogs.vala:1431
msgid "Revert External Edits?"
msgstr "Externe Veränderungen zurücknehmen?"
-#: src/Dialogs.vala:1417
+#: src/Dialogs.vala:1433
#, 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] ""
"Dies wird alle Veränderungen der externen Datei zerstören. Fortfahren?"
msgstr[1] ""
"Dies wird alle Veränderungen der %d externen Dateien zerstören. Fortfahren?"
-#: src/Dialogs.vala:1421
+#: src/Dialogs.vala:1437
msgid "Re_vert External Edit"
msgstr "Externe _Veränderung zurücknehmen"
-#: src/Dialogs.vala:1421
+#: src/Dialogs.vala:1437
msgid "Re_vert External Edits"
msgstr "Externe _Veränderungen zurücknehmen"
-#: src/Dialogs.vala:1442
+#: src/Dialogs.vala:1458
#, 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] "Dies wird das Foto aus der Bibliothek entfernen. Fortsetzen?"
msgstr[1] "Dies wird %d Fotos aus der Bibliothek entfernen. Fortsetzen?"
-#: src/Dialogs.vala:1449 src/Resources.vala:173
+#: src/Dialogs.vala:1465 src/Resources.vala:173
msgid "_Remove"
msgstr "Entfe_rnen"
-#: src/Dialogs.vala:1450
+#: src/Dialogs.vala:1466
msgid "Remove Photo From Library"
msgstr "Foto aus der Bibliothek entfernen"
-#: src/Dialogs.vala:1450
+#: src/Dialogs.vala:1466
msgid "Remove Photos From Library"
msgstr "Fotos aus der Bibliothek entfernen"
-#: src/Dialogs.vala:1543
+#: src/Dialogs.vala:1559
#, c-format
msgid "%d%%"
msgstr "%d%%"
-#: src/Dialogs.vala:1697
+#: src/Dialogs.vala:1713
msgid "AM"
msgstr "Vormittag"
-#: src/Dialogs.vala:1698
+#: src/Dialogs.vala:1714
msgid "PM"
msgstr "Nachmittag"
-#: src/Dialogs.vala:1699
+#: src/Dialogs.vala:1715
msgid "24 Hr"
msgstr "24 Stunden"
-#: src/Dialogs.vala:1714
+#: src/Dialogs.vala:1730
msgid "_Shift photos/videos by the same amount"
msgstr "Fotos/Videos um den gleichen Betrag _versetzen"
-#: src/Dialogs.vala:1719
+#: src/Dialogs.vala:1735
msgid "Set _all photos/videos to this time"
msgstr "Zeit für _alle Fotos/Videos setzen"
-#: src/Dialogs.vala:1726
+#: src/Dialogs.vala:1742
msgid "_Modify original photo file"
msgstr "Originale Bilddatei _verändern"
-#: src/Dialogs.vala:1726
+#: src/Dialogs.vala:1742
msgid "_Modify original photo files"
msgstr "Originale Bilddateien _verändern"
-#: src/Dialogs.vala:1729
+#: src/Dialogs.vala:1745
msgid "_Modify original file"
msgstr "Originaldateien _bearbeiten"
-#: src/Dialogs.vala:1729
+#: src/Dialogs.vala:1745
msgid "_Modify original files"
msgstr "Originaldateien _verändern"
-#: src/Dialogs.vala:1815
+#: src/Dialogs.vala:1831
msgid "Original: "
msgstr "Ursprüngliche Größe:"
-#: src/Dialogs.vala:1816
+#: src/Dialogs.vala:1832
msgid "%m/%d/%Y, %H:%M:%S"
msgstr "%d.%m.%Y, %H:%M:%S"
-#: src/Dialogs.vala:1817
+#: src/Dialogs.vala:1833
msgid "%m/%d/%Y, %I:%M:%S %p"
msgstr "%d.%m.%Y, %I:%M:%S %p"
-#: src/Dialogs.vala:1906
+#: src/Dialogs.vala:1922
#, c-format
msgid ""
"Exposure time will be shifted forward by\n"
@@ -3709,7 +3847,7 @@ msgstr ""
"Aufnahmezeit wird um \n"
"%d %s, %d %s, %d %s, und %d %s nach vorne verlegt."
-#: src/Dialogs.vala:1907
+#: src/Dialogs.vala:1923
#, c-format
msgid ""
"Exposure time will be shifted backward by\n"
@@ -3718,31 +3856,31 @@ msgstr ""
"Aufnahmezeit wird um \n"
"%d %s, %d %s, %d %s, und %d %s nach hinten verlegt."
-#: src/Dialogs.vala:1909
+#: src/Dialogs.vala:1925
msgid "day"
msgid_plural "days"
msgstr[0] "Tag"
msgstr[1] "Tage"
-#: src/Dialogs.vala:1910
+#: src/Dialogs.vala:1926
msgid "hour"
msgid_plural "hours"
msgstr[0] "Stunde"
msgstr[1] "Stunden"
-#: src/Dialogs.vala:1911
+#: src/Dialogs.vala:1927
msgid "minute"
msgid_plural "minutes"
msgstr[0] "Minute"
msgstr[1] "Minuten"
-#: src/Dialogs.vala:1912
+#: src/Dialogs.vala:1928
msgid "second"
msgid_plural "seconds"
msgstr[0] "Sekunde"
msgstr[1] "Sekunden"
-#: src/Dialogs.vala:1956
+#: src/Dialogs.vala:1972
#, c-format
msgid ""
"\n"
@@ -3761,50 +3899,50 @@ msgstr[1] ""
"\n"
"und %d andere."
-#: src/Dialogs.vala:1980 src/Dialogs.vala:2007
+#: src/Dialogs.vala:1996 src/Dialogs.vala:2023
msgid "Tags (separated by commas):"
msgstr "Stichworte (getrennt durch Kommata):"
-#: src/Dialogs.vala:2087
+#: src/Dialogs.vala:2103
msgid "Welcome!"
msgstr "Willkommen!"
-#: src/Dialogs.vala:2094
+#: src/Dialogs.vala:2110
msgid "Welcome to Shotwell!"
msgstr "Willkommen zu Shotwell!"
-#: src/Dialogs.vala:2098
+#: src/Dialogs.vala:2114
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:2117
+#: src/Dialogs.vala:2133
#, c-format
msgid "Choose File %s Import From Folder "
msgstr ""
"Wählen Sie Datei %s aus Ordner importieren "
-#: src/Dialogs.vala:2118
+#: src/Dialogs.vala:2134
msgid "Drag and drop photos onto the Shotwell window"
msgstr "Verschieben Sie Fotos per Ziehen und Ablegen in das Shotwell-Fenster"
-#: src/Dialogs.vala:2119
+#: src/Dialogs.vala:2135
msgid "Connect a camera to your computer and import"
msgstr "Verbinden Sie die Kamera mit Ihrem Rechner und importieren Sie"
-#: src/Dialogs.vala:2129
+#: src/Dialogs.vala:2145
#, c-format
msgid "_Import photos from your %s folder"
msgstr "Fotos aus dem Ordner »%s« _importieren"
-#: src/Dialogs.vala:2136
+#: src/Dialogs.vala:2152
msgid "You can also import photos in any of these ways:"
msgstr "Sie können Fotos auch auf eine der folgenden Weisen importieren:"
-#: src/Dialogs.vala:2146
-msgid "_Don't show this message again"
+#: src/Dialogs.vala:2162
+msgid "_Don’t show this message again"
msgstr "Diese Meldung nicht noch einmal _zeigen"
-#: src/Dialogs.vala:2181
+#: src/Dialogs.vala:2197
#, c-format
msgid "Import photos from your %s library"
msgstr "Bilder aus der %s-Bibliothek importieren"
@@ -3812,41 +3950,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:2328 src/Dialogs.vala:2332
+#: src/Dialogs.vala:2344 src/Dialogs.vala:2348
msgid "(Help)"
msgstr "(Hilfe)"
-#: src/Dialogs.vala:2341
+#: src/Dialogs.vala:2357
#, c-format
msgid "Year%sMonth%sDay"
msgstr "Jahr%sMonat%sTag"
-#: src/Dialogs.vala:2343
+#: src/Dialogs.vala:2359
#, c-format
msgid "Year%sMonth"
msgstr "Jahr%sMonat"
-#: src/Dialogs.vala:2345
+#: src/Dialogs.vala:2361
#, c-format
msgid "Year%sMonth-Day"
msgstr "Jahr%sMonat-Tag"
-#: src/Dialogs.vala:2347
+#: src/Dialogs.vala:2363
msgid "Year-Month-Day"
msgstr "Jahr-Monat-Tag"
-#: src/Dialogs.vala:2348 src/editing_tools/EditingTools.vala:781
+#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:781
msgid "Custom"
msgstr "Benutzerdefiniert"
#. Invalid pattern.
-#: src/Dialogs.vala:2585
+#: src/Dialogs.vala:2601
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:2687
+#: src/Dialogs.vala:2703
msgid ""
"Shotwell can copy the photos into your library folder or it can import them "
"without copying."
@@ -3854,40 +3992,40 @@ 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:2692
+#: src/Dialogs.vala:2708
msgid "Co_py Photos"
msgstr "Fotos ko_pieren"
-#: src/Dialogs.vala:2693
+#: src/Dialogs.vala:2709
msgid "_Import in Place"
msgstr "_Import durch Verknüpfen"
-#: src/Dialogs.vala:2694
+#: src/Dialogs.vala:2710
msgid "Import to Library"
msgstr "In Bibliothek importieren"
-#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085
+#: src/Dialogs.vala:2720 src/PhotoPage.vala:3085
msgid "Remove From Library"
msgstr "Aus Bibliothek entfernen"
-#: src/Dialogs.vala:2705 src/PhotoPage.vala:3085
+#: src/Dialogs.vala:2721 src/PhotoPage.vala:3085
msgid "Removing Photo From Library"
msgstr "Foto wird aus Bibliothek entfernt"
-#: src/Dialogs.vala:2705
+#: src/Dialogs.vala:2721
msgid "Removing Photos From Library"
msgstr "Fotos werden aus Bibliothek entfernt"
-#: src/Dialogs.vala:2719
+#: src/Dialogs.vala:2735
#, 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] ""
@@ -3901,15 +4039,15 @@ msgstr[1] ""
"\n"
"Diese Aktion kann nicht rückgängig gemacht werden!"
-#: src/Dialogs.vala:2723
+#: src/Dialogs.vala:2739
#, 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."
@@ -3924,15 +4062,15 @@ msgstr[1] ""
"\n"
"Diese Aktion kann nicht rückgängig gemacht werden!"
-#: src/Dialogs.vala:2727
+#: src/Dialogs.vala:2743
#, 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."
@@ -3947,12 +4085,12 @@ msgstr[1] ""
"\n"
"Diese Aktion kann nicht rückgängig gemacht werden!"
-#: src/Dialogs.vala:2759
+#: src/Dialogs.vala:2775
#, 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?"
+"%d photos/videos cannot be moved to your desktop trash. Delete these files?"
msgstr[0] ""
"Das Foto oder Video konnte nicht in den Papierkorb verschoben werden. "
"Endgültig löschen?"
@@ -3961,7 +4099,7 @@ msgstr[1] ""
"löschen?"
#. Alert the user that the files were not removed.
-#: src/Dialogs.vala:2776
+#: src/Dialogs.vala:2792
#, c-format
msgid "The photo or video cannot be deleted."
msgid_plural "%d photos/videos cannot be deleted."
@@ -4170,84 +4308,84 @@ msgid "-"
msgstr "-"
#: src/editing_tools/EditingTools.vala:758
-msgid "SD Video (4 : 3)"
+msgid "SD Video (4 ∶ 3)"
msgstr "SD-Video (4 : 3)"
#: src/editing_tools/EditingTools.vala:759
-msgid "HD Video (16 : 9)"
+msgid "HD Video (16 ∶ 9)"
msgstr "HD-Video (16 : 9)"
#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818
-msgid "Wallet (2 x 3 in.)"
-msgstr "Brieftasche (2 x 3 Zoll)"
+msgid "Wallet (2 × 3 in.)"
+msgstr "Brieftasche (2 × 3 Zoll)"
#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821
-msgid "Notecard (3 x 5 in.)"
-msgstr "Notizzettel (3 x 5 Zoll)"
+msgid "Notecard (3 × 5 in.)"
+msgstr "Notizzettel (3 × 5 Zoll)"
#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824
-msgid "4 x 6 in."
-msgstr "4 x 6 Zoll"
+msgid "4 × 6 in."
+msgstr "4 × 6 Zoll"
#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827
-msgid "5 x 7 in."
-msgstr "5 x 7 Zoll"
+msgid "5 × 7 in."
+msgstr "5 × 7 Zoll"
#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830
-msgid "8 x 10 in."
-msgstr "8 x 10 Zoll"
+msgid "8 × 10 in."
+msgstr "8 × 10 Zoll"
#: src/editing_tools/EditingTools.vala:766
-msgid "Letter (8.5 x 11 in.)"
-msgstr "US-Letter (8.5 x 11 in.)"
+msgid "Letter (8.5 × 11 in.)"
+msgstr "US-Letter (8.5 × 11 Zoll)"
#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833
-msgid "11 x 14 in."
-msgstr "11 x 14 Zoll"
+msgid "11 × 14 in."
+msgstr "11 × 14 Zoll"
#: src/editing_tools/EditingTools.vala:768
-msgid "Tabloid (11 x 17 in.)"
-msgstr "Boulevardblatt (11 x 17 in.)"
+msgid "Tabloid (11 × 17 in.)"
+msgstr "Boulevardblatt (11 × 17 Zoll)"
#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836
-msgid "16 x 20 in."
-msgstr "16 x 20 Zoll"
+msgid "16 × 20 in."
+msgstr "16 × 20 Zoll"
#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842
-msgid "Metric Wallet (9 x 13 cm)"
-msgstr "Metrische Brieftasche (9 x 13 cm)"
+msgid "Metric Wallet (9 × 13 cm)"
+msgstr "Metrische Brieftasche (9 × 13 cm)"
#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845
-msgid "Postcard (10 x 15 cm)"
-msgstr "Postkarte (10 x 15 cm)"
+msgid "Postcard (10 × 15 cm)"
+msgstr "Postkarte (10 × 15 cm)"
#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848
-msgid "13 x 18 cm"
-msgstr "13 x 18 cm"
+msgid "13 × 18 cm"
+msgstr "13 × 18 cm"
#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851
-msgid "18 x 24 cm"
-msgstr "18 x 24 cm"
+msgid "18 × 24 cm"
+msgstr "18 × 24 cm"
#: src/editing_tools/EditingTools.vala:775
-msgid "A4 (210 x 297 mm)"
-msgstr "A4 (210 x 297 mm)"
+msgid "A4 (210 × 297 mm)"
+msgstr "A4 (210 × 297 mm)"
#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854
-msgid "20 x 30 cm"
-msgstr "20 x 30 cm"
+msgid "20 × 30 cm"
+msgstr "20 × 30 cm"
#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857
-msgid "24 x 40 cm"
-msgstr "24 x 40 cm"
+msgid "24 × 40 cm"
+msgstr "24 × 40 cm"
#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860
-msgid "30 x 40 cm"
-msgstr "30 x 40 cm"
+msgid "30 × 40 cm"
+msgstr "30 × 40 cm"
#: src/editing_tools/EditingTools.vala:779
-msgid "A3 (297 x 420 mm)"
-msgstr "A3 (297 x 420 mm)"
+msgid "A3 (297 × 420 mm)"
+msgstr "A3 (297 × 420 mm)"
#: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395
msgid "Size:"
@@ -4422,7 +4560,7 @@ msgstr "Wird exportiert"
#: src/Exporter.vala:317
#, c-format
-msgid "File %s already exists. Replace?"
+msgid "File %s already exists. Replace?"
msgstr "Die Datei %s existiert bereits. Soll sie überschrieben werden?"
#: src/Exporter.vala:319
@@ -4638,7 +4776,6 @@ msgid "Updating library…"
msgstr "Bibliothek wird aktualisiert …"
#: src/library/LibraryWindow.vala:1264
-#| msgid "Preparing to auto-import photos..."
msgid "Preparing to auto-import photos…"
msgstr "Preparing to auto-import photos…"
@@ -4677,9 +4814,9 @@ msgstr "Fotos werden gelöscht"
#: 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."
+"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 ""
"Die Datenbank für die Foto-Bibliothek ist nicht mit dieser Version von "
"Shotwell kompatibel. Es sieht so aus, als wäre sie von Shotwell %s (Schema "
@@ -4690,7 +4827,7 @@ msgstr ""
#, 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 "
+"%d) to %s (schema %d). For more information please check the Shotwell Wiki "
"at %s"
msgstr ""
"Shotwell konnte Ihre Foto-Bibliothek nicht von Version %s (Schema %d) zu %s "
@@ -4700,9 +4837,9 @@ msgstr ""
#: 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 "
+"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 ""
"Die Datenbank für die Foto-Bibliothek ist nicht mit dieser Version von "
@@ -4712,7 +4849,7 @@ msgstr ""
#: src/main.vala:71
#, c-format
-msgid "Unknown error attempting to verify Shotwell's database: %s"
+msgid "Unknown error attempting to verify Shotwell’s database: %s"
msgstr "Unbekannter Fehler bei der Überprüfung von Shotwells Datenbank: %s"
#: src/main.vala:104
@@ -4720,7 +4857,7 @@ msgid "Loading Shotwell"
msgstr "Shotwell wird geladen"
#: src/main.vala:294
-msgid "Path to Shotwell's private data"
+msgid "Path to Shotwell’s private data"
msgstr "Pfad zu Shotwells Verwaltungsinformation"
#: src/main.vala:294
@@ -4732,11 +4869,11 @@ msgid "Do not monitor library directory at runtime for changes"
msgstr "Bibliotheksordner nicht laufend auf Veränderungen prüfen"
#: src/main.vala:302
-msgid "Don't display startup progress meter"
+msgid "Don’t display startup progress meter"
msgstr "Fortschrittsbalken beim Start nicht anzeigen"
#: src/main.vala:306
-msgid "Show the application's version"
+msgid "Show the application’s version"
msgstr "Versionsnummer anzeigen"
#. init GTK (valac has already called g_threads_init())
@@ -4746,7 +4883,7 @@ msgstr "[DATEI]"
#: src/main.vala:342
#, c-format
-msgid "Run '%s --help' to see a full list of available command line options.\n"
+msgid "Run “%s --help” to see a full list of available command line options.\n"
msgstr ""
"Rufen Sie »%s --help« auf, um eine vollständige Liste von möglichen "
"Befehlszeilenoptionen zu erhalten.\n"
@@ -4790,7 +4927,7 @@ msgid "Display the comment of each photo"
msgstr "Die Kommentare zu jedem Bild anzeigen"
#: src/MediaPage.vala:470
-msgid "Display each photo's tags"
+msgid "Display each photo’s tags"
msgstr "Stichworte jedes Fotos anzeigen"
#: src/MediaPage.vala:486
@@ -5097,7 +5234,7 @@ msgstr "%d von %d wird hochgeladen"
#: src/publishing/PublishingPluginHost.vala:81
#, c-format
-msgid "Publishing to %s can't continue because an error occurred:"
+msgid "Publishing to %s can’t continue because an error occurred:"
msgstr ""
"Veröffentlichung auf %s kann nicht fortgesetzt werden, weil ein Fehler "
"aufgetreten ist:"
@@ -5325,7 +5462,7 @@ msgid "Enhance"
msgstr "Verbessern"
#: src/Resources.vala:188
-msgid "Automatically improve the photo's appearance"
+msgid "Automatically improve the photo’s appearance"
msgstr "Automatisch das Aussehen des Fotos verbessern"
#: src/Resources.vala:190
@@ -5361,7 +5498,7 @@ msgid "Crop"
msgstr "Zuschneiden"
#: src/Resources.vala:200
-msgid "Crop the photo's size"
+msgid "Crop the photo’s size"
msgstr "Foto auf eine gewünschte Größe zuschneiden"
#: src/Resources.vala:203
@@ -5393,7 +5530,7 @@ msgid "Adjust"
msgstr "Anpassen"
#: src/Resources.vala:212
-msgid "Adjust the photo's color and tone"
+msgid "Adjust the photo’s color and tone"
msgstr "Farbe und Farbton des Fotos anpassen"
#: src/Resources.vala:214
@@ -5583,7 +5720,7 @@ msgid "_Ratings"
msgstr "_Bewertungen"
#: src/Resources.vala:280
-msgid "Display each photo's rating"
+msgid "Display each photo’s rating"
msgstr "Bewertung jedes Fotos anzeigen"
#: src/Resources.vala:282
@@ -5716,13 +5853,13 @@ msgstr "Editor kann nicht gestartet werden: %s"
#: src/Resources.vala:340
#, c-format
-msgid "Add Tag \"%s\""
+msgid "Add Tag “%s”"
msgstr "Stichwort »%s« hinzufügen"
#. Used when adding two tags to photo(s)
#: src/Resources.vala:343
#, c-format
-msgid "Add Tags \"%s\" and \"%s\""
+msgid "Add Tags “%s” and “%s”"
msgstr "Stichworte »%s« und »%s« hinzufügen"
#. Undo/Redo command name (in Edit menu)
@@ -5733,12 +5870,12 @@ msgstr "Stichworte hinzufügen"
#: src/Resources.vala:353
#, c-format
-msgid "_Delete Tag \"%s\""
+msgid "_Delete Tag “%s”"
msgstr "Stichwort »%s« _entfernen"
#: src/Resources.vala:357
#, c-format
-msgid "Delete Tag \"%s\""
+msgid "Delete Tag “%s”"
msgstr "Stichwort »%s« entfernen"
#: src/Resources.vala:360
@@ -5747,12 +5884,12 @@ msgstr "Stichwort entfernen"
#: src/Resources.vala:366
#, c-format
-msgid "Re_name Tag \"%s\"…"
+msgid "Re_name Tag “%s”…"
msgstr "Stichwort »%s« _umbenennen …"
#: src/Resources.vala:370
#, c-format
-msgid "Rename Tag \"%s\" to \"%s\""
+msgid "Rename Tag “%s” to “%s”"
msgstr "Stichwort »%s« zu »%s« umbenennen"
#: src/Resources.vala:373
@@ -5769,54 +5906,54 @@ msgstr "Stichworte ändern"
#: src/Resources.vala:379
#, c-format
-msgid "Tag Photo as \"%s\""
+msgid "Tag Photo as “%s”"
msgstr "Foto mit Stichwort »%s« versehen"
#: src/Resources.vala:379
#, c-format
-msgid "Tag Photos as \"%s\""
+msgid "Tag Photos as “%s”"
msgstr "Fotos mit Stichwort »%s« versehen"
#: src/Resources.vala:383
#, c-format
-msgid "Tag the selected photo as \"%s\""
+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\""
+msgid "Tag the selected photos as “%s”"
msgstr "Ausgewählte Fotos mit Stichwort »%s« versehen"
#: src/Resources.vala:388
#, c-format
-msgid "Remove Tag \"%s\" From _Photo"
+msgid "Remove Tag “%s” From _Photo"
msgstr "Stichwort »%s« von _Foto entfernen"
#: src/Resources.vala:389
#, c-format
-msgid "Remove Tag \"%s\" From _Photos"
+msgid "Remove Tag “%s” From _Photos"
msgstr "Stichwort »%s« von _Fotos entfernen"
#: src/Resources.vala:393
#, c-format
-msgid "Remove Tag \"%s\" From Photo"
+msgid "Remove Tag “%s” From Photo"
msgstr "Stichwort »%s« von Foto entfernen"
#: src/Resources.vala:394
#, c-format
-msgid "Remove Tag \"%s\" From Photos"
+msgid "Remove Tag “%s” From Photos"
msgstr "Stichwort »%s« von Fotos entfernen"
#: src/Resources.vala:398
#, c-format
-msgid "Unable to rename tag to \"%s\" because the tag already exists."
+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
#, 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 ""
"Die Suche kann nicht nach »%s« umbenannt werden, weil die Suche bereits "
"vorhanden ist."
@@ -5840,12 +5977,12 @@ msgstr "_Umbenennen …"
#: src/Resources.vala:414
#, c-format
-msgid "Rename Search \"%s\" to \"%s\""
+msgid "Rename Search “%s” to “%s”"
msgstr "Suche »%s« zu »%s« umbenennen"
#: src/Resources.vala:418
#, c-format
-msgid "Delete Search \"%s\""
+msgid "Delete Search “%s”"
msgstr "Suche »%s« löschen"
#: src/Resources.vala:576
@@ -5909,8 +6046,9 @@ msgid "Show in File Mana_ger"
msgstr "Mit der Dateiverwaltun_g öffnen"
#: src/Resources.vala:682
-msgid "Open the selected photo's directory in the file manager"
-msgstr "Den Speicherort des ausgewählten Fotos in der Dateiverwaltung öffnen"
+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
#, c-format
@@ -6473,6 +6611,9 @@ msgstr "T_itel anzeigen"
msgid "seconds"
msgstr "Sekunden"
+#~ msgid "Login"
+#~ msgstr "Anmelden"
+
#~ msgid "Save Details..."
#~ msgstr "Details speichern …"
diff --git a/po/es.gmo b/po/es.gmo
index 33634f6..da53c6a 100644
Binary files a/po/es.gmo and b/po/es.gmo differ
diff --git a/po/es.po b/po/es.po
index 6f38f69..2a78542 100644
--- a/po/es.po
+++ b/po/es.po
@@ -1,6559 +1,6912 @@
-# po/shotwell-core/shotwell.pot
-# PO message string template file for Shotwell Core Components
-# Copyright 2016 Software Freedom Conservancy Inc.
-# See COPYING for license.
-#
-#
-# Translators:
-# Adolfo Jayme Barrientos , 2011-2013
-# Adolfo Jayme Barrientos , 2013
-# Alejandro Johnson C. , 2012
-# Andres , 2011
-# Claudio Rodrigo Pereyra Diaz , 2012-2013
-# Jorge González , 2011
-# Matias Menich , 2012
-# Rodrigo Cares , 2012-2013
-# verayin , 2011
-# Adolfo Jayme Barrientos , 2011-2012
-# freddy sequera , 2011
-# Jorge González , 2011
-# lsbeeler , 2011
-# Matias Menich , 2012
-# Rodrigo Cares , 2012
-# Daniel Mustieles , 2014, 2015, 2016.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: shotwell-0.15\n"
-"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
-"product=shotwell&keywords=I18N+L10N&component=Internationalization\n"
-"POT-Creation-Date: 2016-09-29 21:07+0000\n"
-"PO-Revision-Date: 2016-09-30 12:17+0200\n"
-"Last-Translator: Daniel Mustieles \n"
-"Language-Team: Español; Castellano \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"
-
-#: 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
-msgid "Shotwell"
-msgstr "Shotwell"
-
-#: misc/shotwell.appdata.xml.in:9
-msgid "Popular photo manager"
-msgstr "Gestor de fotos popular"
-
-#: 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 es un organizador de fotos fácil de usar, diseñado para el "
-"escritorio GNOME. Le permite importar fotos de su cámara o disco, "
-"organizarlas por fecha y asunto o por puntuación. También ofree edición "
-"básica, como recortar, eliminar ojos rojos, ajustes de color y enderezar. El "
-"editor no destructivo de Shotwell no altera las fotos originales, haciendo "
-"que sea más fácil experimentar y corregir errores."
-
-#: 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 ""
-"Cuando esté preparado, Shotwell puede subir sus fotos a varios sitios web, "
-"tales como Facebook, Flickr, Picasa (Google Plus) y más"
-
-#: misc/shotwell.appdata.xml.in:22
-msgid "Shotwell supports JPEG, PNG, TIFF, and a variety of RAW file formats."
-msgstr "Shotwell soporta JPEG, PNG, TIFF, y varios formatos de archivos RAW."
-
-#: misc/shotwell.desktop.in.in:5 src/Resources.vala:17
-msgid "Photo Manager"
-msgstr "Gestor de fotos"
-
-#: misc/shotwell.desktop.in.in:6
-msgid "Organize your photos"
-msgstr "Organice sus fotos"
-
-#. 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 ""
-"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 ""
-"álbum;cámara;cámaras;recortar;editar;mejorar;exportar;galería;imagen;"
-"imágenes;importar;organizar;foto;fotográfos;fotos;fotografía;imprimir;"
-"publicar;rotar;compartir;etiquetas;vídeo;facebook;flickr;picasa;youtube;"
-"piwigo;"
-
-#. 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 "Visor de fotos Shotwell"
-
-#: misc/shotwell-viewer.desktop.in.in:5 src/Resources.vala:18
-msgid "Photo Viewer"
-msgstr "Visor de fotos"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:6
-msgid "authentication token"
-msgstr "testigo de autenticación"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:7
-msgid "Yandex-Fotki authentication token, if logged in."
-msgstr "Testigo de autenticación en Yandex-Fotki, si ha iniciado sesión."
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:14
-msgid "Token"
-msgstr "Testigo"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:15
-msgid "The token to access tumblr"
-msgstr "El testigo para acceder a Tumblr"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:20
-msgid "Secret token"
-msgstr "Testigo secreto"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:21
-msgid "The secret token to sign oauth requests"
-msgstr "El testigo secreto para firmar peticiones oauth"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:26
-#: misc/org.yorba.shotwell.gschema.xml:416
-msgid "default size"
-msgstr "tamaño predeterminado"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:27
-msgid ""
-"A numeric code representing the default size for photos uploaded to Tumblr"
-msgstr ""
-"Un código numérico que representa el tamaño predeterminado de las fotos "
-"subidas a Tumblr"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:32
-msgid "default blog"
-msgstr "blog prederminado"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:33
-msgid "The name of the default blog of the user, if any"
-msgstr "El nombre del blog predeterminado del usuario, si existe"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:40
-msgid "Rajce URL"
-msgstr "URL de Rajce"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:41
-msgid "URL of the Rajce server."
-msgstr "URL del servidor Rajce."
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:46
-#: misc/org.yorba.shotwell.gschema.xml:384
-#: misc/org.yorba.shotwell.gschema.xml:442
-#: misc/org.yorba.shotwell.gschema.xml:498
-msgid "username"
-msgstr "nombre de usuario"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:47
-msgid "Rajce username, if logged in."
-msgstr "Nombre de usuario de Rajce, si ha iniciado sesión."
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:52
-msgid "token"
-msgstr "testigo"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:53
-msgid "user token, if remembered."
-msgstr "testigo de usuario, si se recuerda."
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:58
-#: misc/org.yorba.shotwell.gschema.xml:460
-msgid "last category"
-msgstr "última categoría"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:59
-msgid "The last selected Rajce category."
-msgstr "La última categoría de Rajce seleccionada."
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:64
-#: misc/org.yorba.shotwell.gschema.xml:472
-msgid "last photo size"
-msgstr "último tamaño de foto"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:65
-msgid ""
-"A numeric code representing the last photo size preset used when publishing "
-"to Rajce."
-msgstr ""
-"Un código numérico que representa el último tamaño de foto predefinido usado "
-"para publicar en Rajce."
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:70
-msgid "remember"
-msgstr "recordar"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:71
-msgid "If true, remember last login."
-msgstr "Si es cierto, recordar el último inicio de sesión"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:76
-msgid "hide album"
-msgstr "ocultar álbum"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:77
-msgid "If true, hide the newly created Rajce album."
-msgstr ""
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:82
-msgid "open album in web browser"
-msgstr "abrir álbum en el navegador"
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:83
-msgid ""
-"If true, open target album in the web browser just after uploading photos"
-msgstr ""
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:88
-#: misc/org.yorba.shotwell.gschema.xml:364
-#: misc/org.yorba.shotwell.gschema.xml:402
-#: misc/org.yorba.shotwell.gschema.xml:428
-#: misc/org.yorba.shotwell.gschema.xml:478
-#: misc/org.yorba.shotwell.gschema.xml:522
-msgid "remove sensitive info from uploads"
-msgstr ""
-
-#: misc/org.yorba.shotwell-extras.gschema.xml:89
-msgid ""
-"Whether images being uploaded to Rajce should have their metadata removed "
-"first"
-msgstr ""
-"Indica si se deben eliminar los metadatos antes de subir las imágenes a Rajce"
-
-#: misc/org.yorba.shotwell.gschema.xml:22
-msgid "display basic properties"
-msgstr "mostrar propiedades básicas"
-
-#: misc/org.yorba.shotwell.gschema.xml:23
-msgid "True if the basic properties pane is to be displayed, false otherwise."
-msgstr ""
-"Cierto si se muestra el panel de propiedades básicas, falso en otro caso."
-
-#: misc/org.yorba.shotwell.gschema.xml:28
-msgid "display extended properties"
-msgstr "mostrar propiedades extendidas"
-
-#: misc/org.yorba.shotwell.gschema.xml:29
-msgid ""
-"True if the extended properties window is to be displayed, false otherwise."
-msgstr ""
-"Cierto si se muestra la ventana de propiedades ampliadas, falso en otro caso."
-
-#: misc/org.yorba.shotwell.gschema.xml:34
-msgid "display sidebar"
-msgstr "mostrar barra lateral"
-
-#: misc/org.yorba.shotwell.gschema.xml:35
-msgid "True if the sidebar is to be displayed, false otherwise."
-msgstr "Cierto si se debe mostrar la barra lateral, falso en otro caso."
-
-#: misc/org.yorba.shotwell.gschema.xml:40
-#| msgid "display sidebar"
-msgid "display toolbar"
-msgstr "mostrar barra de herramientas"
-
-#: misc/org.yorba.shotwell.gschema.xml:41
-#| msgid "True if the sidebar is to be displayed, false otherwise."
-msgid "True if the bottom toolbar is to be displayed, false otherwise."
-msgstr ""
-"Cierto si se debe mostrar la barra de herramientas inferior, falso en otro "
-"caso."
-
-#: misc/org.yorba.shotwell.gschema.xml:46
-msgid "display search bar"
-msgstr "mostrar barra de búsqueda"
-
-#: misc/org.yorba.shotwell.gschema.xml:47
-msgid "True if the Search/Filter Toolbar is to be displayed, false otherwise."
-msgstr ""
-"Cierto si se muestra la barra de herramientas de buscar/filtrar, falso en "
-"otro caso."
-
-#: misc/org.yorba.shotwell.gschema.xml:52
-msgid "display photo titles"
-msgstr "mostrar títulos de las fotos"
-
-#: misc/org.yorba.shotwell.gschema.xml:53
-msgid ""
-"True if photo titles are to be displayed beneath thumbnails in collection "
-"views, false otherwise."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:58
-msgid "display photo comments"
-msgstr "mostrar comentarios de las fotos"
-
-#: misc/org.yorba.shotwell.gschema.xml:59
-msgid ""
-"True if photo comments are to be displayed beneath thumbnails in collection "
-"views, false otherwise."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:64
-msgid "display event comments"
-msgstr "mostrar comentarios del evento"
-
-#: misc/org.yorba.shotwell.gschema.xml:65
-msgid ""
-"True if event comments are to be displayed beneath thumbnails in event "
-"views, false otherwise."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:70
-msgid "display photo tags"
-msgstr "mostrar etiquetas de las fotos"
-
-#: misc/org.yorba.shotwell.gschema.xml:71
-msgid ""
-"True if photo tags are to be listed beneath thumbnails in collection views, "
-"false otherwise."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:76
-msgid "display photo ratings"
-msgstr "mostrar puntuación de las fotos"
-
-#: misc/org.yorba.shotwell.gschema.xml:77
-msgid ""
-"True if a photo's rating should be displayed as overlaid trinket, false "
-"otherwise."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:82
-msgid "rating filter level"
-msgstr "nivel de filtrado de puntuación"
-
-#: misc/org.yorba.shotwell.gschema.xml:83
-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 ""
-
-#: misc/org.yorba.shotwell.gschema.xml:88
-msgid "sort events ascending"
-msgstr "ordenar eventos ascendentemente"
-
-#: misc/org.yorba.shotwell.gschema.xml:89
-msgid "True if events should be sorted ascending, false if descending."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:94
-msgid "sort library photos ascending"
-msgstr "ordenar fotos de la biblioteca ascendentemente"
-
-#: misc/org.yorba.shotwell.gschema.xml:95
-msgid "True if library photos should be sorted ascending, false if descending."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:100
-msgid "sort library photos criteria"
-msgstr "criterio de ordenación de fotos en la biblioteca"
-
-#: misc/org.yorba.shotwell.gschema.xml:101
-msgid ""
-"A numeric code that specifies the sort criteria for photos in library views."
-msgstr ""
-"Un código numérico que representa el criterio de ordenación de las fotos el "
-"vistas de biblioteca."
-
-#: misc/org.yorba.shotwell.gschema.xml:106
-msgid "sort event photos ascending"
-msgstr "ordenar fotos de eventos ascendentemente"
-
-#: misc/org.yorba.shotwell.gschema.xml:107
-msgid "True if event photos should be sorted ascending, false if descending."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:112
-msgid "sort event photos criteria"
-msgstr "criterio de ordenación de las fotos de eventos"
-
-#: misc/org.yorba.shotwell.gschema.xml:113
-msgid "Specifies the sort criteria for event photos."
-msgstr "Especifica el criterio de ordenación de las fotos de eventos."
-
-#: misc/org.yorba.shotwell.gschema.xml:118
-msgid "use 24 hour time"
-msgstr "usar formato de 24 horas"
-
-#: misc/org.yorba.shotwell.gschema.xml:119
-msgid ""
-"True if should display times with a 24 hour clock, false if times should use "
-"AM/PM notation."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:124
-msgid "keep relative time between photos"
-msgstr "mantener el tiempo relativo entre fotos"
-
-#: misc/org.yorba.shotwell.gschema.xml:125
-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 ""
-
-#: misc/org.yorba.shotwell.gschema.xml:130
-msgid "modify original photo files"
-msgstr "modificar archivos de fotos originales"
-
-#: misc/org.yorba.shotwell.gschema.xml:131
-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 ""
-
-#: misc/org.yorba.shotwell.gschema.xml:136
-msgid "show welcome dialog on startup"
-msgstr "mostrar diálogo de bienvenida al inicio"
-
-#: misc/org.yorba.shotwell.gschema.xml:137
-msgid ""
-"True if, when on startup, a welcome dialog should be shown. False if it "
-"should not be shown."
-msgstr ""
-"Cierto si se debe mostrar un diálogo de bienvenida al inicio. Falso si no se "
-"debe mostrar."
-
-#: misc/org.yorba.shotwell.gschema.xml:142
-msgid "sidebar position"
-msgstr "posición de la barra lateral"
-
-#: misc/org.yorba.shotwell.gschema.xml:143
-msgid "The width, in pixels, of the sidebar"
-msgstr "La anchura en píxeles de la barra lateral"
-
-#: misc/org.yorba.shotwell.gschema.xml:148
-msgid "photo thumbnail scale"
-msgstr "escala de la miniatura de la foto"
-
-#: misc/org.yorba.shotwell.gschema.xml:149
-msgid "The scale of photo thumbnails, ranging from 72 to 360."
-msgstr "La escala de las miniaturas de las fotos, en un rango de 72 a 360."
-
-#: misc/org.yorba.shotwell.gschema.xml:154
-msgid "pin toolbar state"
-msgstr "estado de anclaje de la barra de herramientas"
-
-#: misc/org.yorba.shotwell.gschema.xml:155
-msgid "Pin toolbar in fullscreen, or not."
-msgstr "Anclar o no la barra de herramientas en modo a pantalla completa."
-
-#: misc/org.yorba.shotwell.gschema.xml:160
-msgid "background color"
-msgstr "color de fondo"
-
-#: misc/org.yorba.shotwell.gschema.xml:161
-msgid "A grayscale color for use as the background color."
-msgstr "La escala de color que usar como color de fondo."
-
-#: misc/org.yorba.shotwell.gschema.xml:166
-msgid "Selection state of \"hide photos\" option"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:167
-msgid ""
-"Last used selection state of the \"hide photos already imported\" option in "
-"the import page."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:174
-msgid "delay"
-msgstr "retardo"
-
-#: misc/org.yorba.shotwell.gschema.xml:175
-msgid "Delay (in seconds) between photos in the slideshow."
-msgstr "Retardo (en segundos) entre fotos en la presentación de diapositivas."
-
-#: misc/org.yorba.shotwell.gschema.xml:180
-msgid "transition delay"
-msgstr "retraso de la transición"
-
-#: misc/org.yorba.shotwell.gschema.xml:181
-msgid ""
-"The time (in seconds) that a transition runs between photos in a slideshow"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:186
-msgid "transition effect id"
-msgstr "ID del efecto de transición"
-
-#: misc/org.yorba.shotwell.gschema.xml:187
-msgid ""
-"The name of the transition effect that will be used between photos when "
-"running a slideshow"
-msgstr ""
-"El nombre del efecto de transición que se usará entre fotos al hacer una "
-"presentación"
-
-#: misc/org.yorba.shotwell.gschema.xml:192
-msgid "Show title"
-msgstr "Mostrar título"
-
-#: misc/org.yorba.shotwell.gschema.xml:193
-msgid "Whether to show the title of a photo during the slideshow"
-msgstr ""
-"Indica si se debe mostrar el título de una foto durante la presentación de "
-"diapositivas"
-
-#: misc/org.yorba.shotwell.gschema.xml:200
-msgid "maximize library window"
-msgstr "maximizar ventana de biblioteca"
-
-#: misc/org.yorba.shotwell.gschema.xml:201
-msgid "True if library application is maximized, false otherwise."
-msgstr ""
-"Cierto si la aplicación de biblioteca está maximizada, falso en otro caso."
-
-#: misc/org.yorba.shotwell.gschema.xml:206
-msgid "width of library window"
-msgstr "anchura de la ventana de biblioteca"
-
-#: misc/org.yorba.shotwell.gschema.xml:207
-msgid "The last recorded width of the library application window."
-msgstr ""
-"La última anchura guardada de la ventana de la aplicación de biblioteca."
-
-#: misc/org.yorba.shotwell.gschema.xml:212
-msgid "height of library window"
-msgstr "altura de la ventana de biblioteca"
-
-#: misc/org.yorba.shotwell.gschema.xml:213
-msgid "The last recorded height of the library application window."
-msgstr ""
-"La última altura guardada de la ventana de la aplicación de biblioteca."
-
-#: misc/org.yorba.shotwell.gschema.xml:218
-msgid "maximize direct-edit window"
-msgstr "maximizar ventana de edición directa"
-
-#: misc/org.yorba.shotwell.gschema.xml:219
-msgid "True if direct-edit application is maximized, false otherwise."
-msgstr ""
-"Cierto si la ventana de edición directa está maximizada, falso en otro caso."
-
-#: misc/org.yorba.shotwell.gschema.xml:224
-msgid "width of direct-edit window"
-msgstr "anchura de la ventana de edición directa"
-
-#: misc/org.yorba.shotwell.gschema.xml:225
-msgid "The last recorded width of the direct-edit application window."
-msgstr "La última anchura guardada de la ventana de edición directa."
-
-#: misc/org.yorba.shotwell.gschema.xml:230
-msgid "height of direct-edit window"
-msgstr "altura de la ventana de edición directa"
-
-#: misc/org.yorba.shotwell.gschema.xml:231
-msgid "The last recorded height of the direct-edit application window."
-msgstr "La última altura guardada de la ventana de edición directa."
-
-#: misc/org.yorba.shotwell.gschema.xml:236
-msgid "sidebar divider position"
-msgstr "posición del divisor de la barra lateral"
-
-#: misc/org.yorba.shotwell.gschema.xml:237
-msgid ""
-"The last recorded position of the divider between the sidebar and view in "
-"library application window."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:244
-msgid "import directory"
-msgstr "importar carpeta"
-
-#: misc/org.yorba.shotwell.gschema.xml:245
-msgid "Directory in which imported photo files are placed."
-msgstr "Carpeta en la que se guardan los archivos de fotos importadas."
-
-#: misc/org.yorba.shotwell.gschema.xml:250
-msgid "watch library directory for new files"
-msgstr "vigilar carpeta de biblioteca en busca de archivos nuevos"
-
-#: misc/org.yorba.shotwell.gschema.xml:251
-msgid ""
-"If true, files added to the library directory are automatically imported."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:256
-msgid "write metadata to master files"
-msgstr "escribir metadatos en archivos maestros"
-
-#: misc/org.yorba.shotwell.gschema.xml:257
-msgid ""
-"If true, changes to metadata (tags, titles, etc.) are written to the master "
-"photo file."
-msgstr ""
-"Si es cierto, los cambios en los metadatos (etiquetas, títulos, etc.) se "
-"escriben al archivo de foto maestro."
-
-#: misc/org.yorba.shotwell.gschema.xml:262
-msgid "use lowercase filenames"
-msgstr "usar nombres de archivos en minúscula"
-
-#: misc/org.yorba.shotwell.gschema.xml:263
-msgid ""
-"If true, Shotwell will convert all filenames to lowercase when importing "
-"photo files"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:268
-msgid "directory pattern"
-msgstr "patrón de carpetas"
-
-#: misc/org.yorba.shotwell.gschema.xml:269
-msgid ""
-"A string encoding a naming pattern that will be used to name photo "
-"directories on import."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:274
-msgid "directory pattern custom"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:275
-msgid ""
-"A string encoding a custom naming pattern that will be used to name photo "
-"directories on import."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:280
-msgid "RAW developer default"
-msgstr "desarrollador RAW predeterminado"
-
-#: misc/org.yorba.shotwell.gschema.xml:281
-msgid "Default option for which RAW developer Shotwell will use."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:288
-msgid "Most-recently-used crop aspect ratio menu choice."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:289
-msgid "A numeric code representing the last crop menu choice the user made."
-msgstr ""
-"Un código numérico que representa la última elección del menú de recortar "
-"que hizo el usuario."
-
-#: misc/org.yorba.shotwell.gschema.xml:293
-msgid "Most-recently-used crop custom aspect ratio's numerator."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:294
-msgid ""
-"A nonzero, positive integer representing the width part of the last custom "
-"crop ratio the user entered."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:298
-msgid "Most-recently-used crop custom aspect ratio's denominator."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:299
-msgid ""
-"A nonzero, positive integer representing the height part of the last custom "
-"crop ratio the user entered."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:306
-msgid "external photo editor"
-msgstr "dditor de fotos externo"
-
-#: misc/org.yorba.shotwell.gschema.xml:307
-msgid "External application used to edit photos."
-msgstr "Aplicación externa usada para editar fotos."
-
-#: misc/org.yorba.shotwell.gschema.xml:312
-msgid "external raw editor"
-msgstr "editor RAW externo"
-
-#: misc/org.yorba.shotwell.gschema.xml:313
-msgid "External application used to edit RAW photos."
-msgstr "Aplicación externa usada para editar fotos RAW."
-
-#: misc/org.yorba.shotwell.gschema.xml:320
-msgid "last used publishing service"
-msgstr "último servicio de publicación usado"
-
-#: misc/org.yorba.shotwell.gschema.xml:321
-#: misc/org.yorba.shotwell.gschema.xml:327
-msgid ""
-"A numeric code representing the last service to which photos were published"
-msgstr ""
-"Un código numérico que representa el último servicio en el que se publicaron "
-"las fotos"
-
-#: misc/org.yorba.shotwell.gschema.xml:326
-msgid "default publishing service"
-msgstr "servicio de publicación predeterminado"
-
-#: misc/org.yorba.shotwell.gschema.xml:340
-msgid "access token"
-msgstr "testigo de acceso"
-
-#: misc/org.yorba.shotwell.gschema.xml:341
-msgid "Facebook OAuth token for the currently logged in session, if any"
-msgstr ""
-"Testigo OAuth de Facebook para el usuario que ha iniciado sesión "
-"actualmente, si existe"
-
-#: misc/org.yorba.shotwell.gschema.xml:346
-msgid "user i.d."
-msgstr "ID de usuario"
-
-#: misc/org.yorba.shotwell.gschema.xml:347
-msgid "Facebook user i.d. for the currently logged in user, if any"
-msgstr ""
-"ID del usuario de Facebook que ha iniciado sesión actualmente, si existe"
-
-#: misc/org.yorba.shotwell.gschema.xml:352
-msgid "user name"
-msgstr "nombre de usuario"
-
-#: misc/org.yorba.shotwell.gschema.xml:353
-msgid "The name of the currently logged in Facebook user, if any"
-msgstr ""
-"El nombre del usuario que actualmente ha iniciado sesión en Facebook, si "
-"existe"
-
-#: misc/org.yorba.shotwell.gschema.xml:358
-#: misc/org.yorba.shotwell.gschema.xml:390
-msgid "default size code"
-msgstr "código de tamaño predeterminado"
-
-#: misc/org.yorba.shotwell.gschema.xml:359
-msgid ""
-"A numeric code representing the default size for photos published to Facebook"
-msgstr ""
-"Un código numérico que representa el tamaño predeterminado de las fotos "
-"publicadas en Facebook"
-
-#: misc/org.yorba.shotwell.gschema.xml:365
-msgid ""
-"Whether images being uploaded to Facebook should have their metadata removed "
-"first"
-msgstr ""
-"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
-"Facebook"
-
-#: misc/org.yorba.shotwell.gschema.xml:372
-msgid "OAuth Access Phase Token"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:373
-msgid "The authorization token for the currently logged in Flickr user, if any"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:378
-msgid "OAuth Access Phase Token Secret"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:379
-msgid ""
-"The cryptographic secret used to sign requests against the authorization "
-"token for the currently logged in Flickr user, if any"
-msgstr ""
-"El secreto criptográfico usado para firmar peticiones con el testigo de "
-"autenticación para el usuario que actualmente ha iniciado sesión en Flickr, "
-"si existe"
-
-#: misc/org.yorba.shotwell.gschema.xml:385
-msgid "The user name of the currently logged in Flickr user, if any"
-msgstr ""
-"El nombre del usuario que actualmente ha iniciado sesión en Flickr, si existe"
-
-#: misc/org.yorba.shotwell.gschema.xml:391
-msgid ""
-"A numeric code representing the default size for photos published to Flickr"
-msgstr ""
-"Un código numérico que representa el tamaño predeterminado de las fotos "
-"publicadas en Flickr"
-
-#: misc/org.yorba.shotwell.gschema.xml:396
-msgid "default visibility"
-msgstr "visibilidad predeterminada"
-
-#: misc/org.yorba.shotwell.gschema.xml:397
-msgid ""
-"A numeric code representing the default visibility for photos published to "
-"Flickr"
-msgstr ""
-"Un código numérico que representa la visibilidad predeterminada de las fotos "
-"publicadas en Flickr"
-
-#: misc/org.yorba.shotwell.gschema.xml:403
-msgid ""
-"Whether images being uploaded to Flickr should have their metadata removed "
-"first"
-msgstr ""
-"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
-"Flicrk"
-
-#: misc/org.yorba.shotwell.gschema.xml:410
-#: misc/org.yorba.shotwell.gschema.xml:542
-msgid "refresh token"
-msgstr "actualizar testigo"
-
-#: misc/org.yorba.shotwell.gschema.xml:411
-msgid ""
-"The OAuth token used to refresh the Picasa Web Albums session for the "
-"currently logged in user, if any."
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:417
-msgid ""
-"A numeric code representing the default size for photos uploaded to Picasa "
-"Web Albums"
-msgstr ""
-"Un código numérico que representa el tamaño predeterminado de las fotos "
-"subidas a álbumes web Picasa"
-
-#: misc/org.yorba.shotwell.gschema.xml:422
-#: misc/org.yorba.shotwell.gschema.xml:516
-msgid "last album"
-msgstr "último álbum"
-
-#: misc/org.yorba.shotwell.gschema.xml:423
-#: misc/org.yorba.shotwell.gschema.xml:517
-msgid "The name of the last album the user published photos to, if any"
-msgstr ""
-"El nombre del último álbum en el que el usuario publicó fotos, si existe"
-
-#: misc/org.yorba.shotwell.gschema.xml:429
-msgid ""
-"Whether images being uploaded to Picasa should have their metadata removed "
-"first"
-msgstr ""
-"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
-"Picasa"
-
-#: misc/org.yorba.shotwell.gschema.xml:436
-#| msgid "Piwigio URL"
-msgid "Piwigo URL"
-msgstr "URL de Pigwio"
-
-#: misc/org.yorba.shotwell.gschema.xml:437
-msgid "URL of the Piwigo server."
-msgstr "URL del servidor Piwigo."
-
-#: misc/org.yorba.shotwell.gschema.xml:443
-msgid "Piwigo username, if logged in."
-msgstr "Nombre de usuario de Piwigo, si ha iniciado sesión."
-
-#: misc/org.yorba.shotwell.gschema.xml:448
-msgid "password"
-msgstr "contraseña"
-
-#: misc/org.yorba.shotwell.gschema.xml:449
-msgid "Piwigo password, if logged in."
-msgstr "Contraseña de Piwigo, si ha iniciado sesión."
-
-#: misc/org.yorba.shotwell.gschema.xml:454
-msgid "remember password"
-msgstr "recortar contraseña"
-
-#: misc/org.yorba.shotwell.gschema.xml:455
-msgid "If true, remember the Piwigo password."
-msgstr "Si es cierto, recordar la contraseña de Piwigo."
-
-#: misc/org.yorba.shotwell.gschema.xml:461
-msgid "The last selected Piwigo category."
-msgstr "La última categoría de Piwigo seleccionada."
-
-#: misc/org.yorba.shotwell.gschema.xml:466
-msgid "last permission level"
-msgstr "último nivel de permisos"
-
-#: misc/org.yorba.shotwell.gschema.xml:467
-msgid "The last chosen Piwigo permission level."
-msgstr "El último nivel de privilegios elegido el Piwigo."
-
-#: misc/org.yorba.shotwell.gschema.xml:473
-msgid ""
-"A numeric code representing the last photo size preset used when publishing "
-"to Piwigo."
-msgstr ""
-"Un código numérico que representa el último tamaño de foto predefinido usado "
-"para publicar en Piwigo."
-
-#: misc/org.yorba.shotwell.gschema.xml:479
-msgid ""
-"Whether images being uploaded to Piwigo should have their metadata removed "
-"first"
-msgstr ""
-"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
-"Piwigo"
-
-#: misc/org.yorba.shotwell.gschema.xml:484
-msgid ""
-"if title is set and comment unset, use title as comment for uploads to Piwigo"
-msgstr ""
-"si se definió el titulo pero no un comentario, usar el título como "
-"comentario para las subidas a Piwigo"
-
-#: misc/org.yorba.shotwell.gschema.xml:485
-msgid ""
-"Whether images being uploaded to Piwigo should have their comment set from "
-"the title if title is set and comment unset"
-msgstr ""
-"Indica si las imágenes que se vayan a subir a Piwigo deben tener un "
-"comentario a partir del título, si tiene, y no tiene comentario"
-
-#: misc/org.yorba.shotwell.gschema.xml:490
-msgid "do not upload tags when uploading to Piwigo"
-msgstr "no subir etiquetas al subir a Piwigo"
-
-#: misc/org.yorba.shotwell.gschema.xml:491
-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 ""
-"Indica si se deben eliminar las etiquetas antes de subir las imágenes a "
-"Piwigo, para que esas etiquetas no aparezcan en el servidor remoto de Piwigo."
-
-#: misc/org.yorba.shotwell.gschema.xml:499
-msgid "Gallery3 username"
-msgstr "Nombre de usuario de Gallery3"
-
-#: misc/org.yorba.shotwell.gschema.xml:504
-msgid "API key"
-msgstr "Clave de la API"
-
-#: misc/org.yorba.shotwell.gschema.xml:505
-msgid "Gallery3 API key"
-msgstr "Clave de la API de Gallery3"
-
-#: misc/org.yorba.shotwell.gschema.xml:510
-msgid "URL"
-msgstr "URL"
-
-#: misc/org.yorba.shotwell.gschema.xml:511
-msgid "Gallery3 site URL"
-msgstr "URL de Gallery3"
-
-#: misc/org.yorba.shotwell.gschema.xml:523
-msgid ""
-"Indicates whether images being uploaded to Gallery3 should have their "
-"metadata removed first"
-msgstr ""
-"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
-"Gallery3"
-
-#: misc/org.yorba.shotwell.gschema.xml:528
-msgid "scaling constraint of uploaded picture"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:529
-msgid "The scaling constraint ID of the picture to be uploaded"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:534
-msgid "pixels of the major axis uploaded picture"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:535
-msgid ""
-"The pixels of the major axis of the picture to be uploaded; used only if "
-"scaling-constraint-id is an appropriate value"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:543
-msgid ""
-"The OAuth token used to refresh the YouTube session for the currently logged "
-"in user, if any."
-msgstr ""
-"El testigo OAuth usado para actualizar la sesión de Youtube para el usuario "
-"que ha iniciado sesión actualmente, si existe."
-
-#: misc/org.yorba.shotwell.gschema.xml:550
-msgid "last used import service"
-msgstr "último servicio de importación usado"
-
-#: misc/org.yorba.shotwell.gschema.xml:551
-msgid ""
-"A numeric code representing the last service from which photos were imported"
-msgstr ""
-"Un código numérico que representa el último servicio del que se importaron "
-"fotos"
-
-#: misc/org.yorba.shotwell.gschema.xml:558
-msgid "interpreter state cookie"
-msgstr "cookie de estado del intérprete"
-
-#: misc/org.yorba.shotwell.gschema.xml:559
-msgid ""
-"A numeric code that captures the state of the GStreamer plug-in environment"
-msgstr ""
-"Un código numérico que captura el estado del entorno del complemento "
-"GStreamer"
-
-#: misc/org.yorba.shotwell.gschema.xml:566
-msgid "content layout mode"
-msgstr "modo de distribución del contenido"
-
-#: misc/org.yorba.shotwell.gschema.xml:567
-msgid ""
-"A numeric code that describes how photos are laid out on the page during "
-"printing"
-msgstr ""
-"Un código numérico que representa cuántas fotos aparecen en la página al "
-"imprimir"
-
-#: misc/org.yorba.shotwell.gschema.xml:572
-msgid "content ppi"
-msgstr "ppp del contenido"
-
-#: misc/org.yorba.shotwell.gschema.xml:573
-msgid "The number of pixels per inch (ppi) sent to the printer during printing"
-msgstr ""
-"El número de píxeles por pulgada (ppp) enviado a la impresora al imprimir"
-
-#: misc/org.yorba.shotwell.gschema.xml:578
-msgid "content width"
-msgstr "anchura del contenido"
-
-#: misc/org.yorba.shotwell.gschema.xml:579
-msgid "The width of the printed emulsion on the page when printing"
-msgstr "La anchura de la emulsión impresa en la página al imprimir"
-
-#: misc/org.yorba.shotwell.gschema.xml:584
-msgid "content height"
-msgstr "altura del contenido"
-
-#: misc/org.yorba.shotwell.gschema.xml:585
-msgid "The height of the printed emulsion on the page when printing"
-msgstr "La altura de la emulsión impresa en la página al imprimir"
-
-#: misc/org.yorba.shotwell.gschema.xml:590
-msgid "content units"
-msgstr "unidades del contenido"
-
-#: misc/org.yorba.shotwell.gschema.xml:591
-msgid ""
-"A numeric code representing unit of measure (inches or centimeters) used "
-"when printing"
-msgstr ""
-"Un código numérico que representa la unidad de medida (pulgadas o "
-"centímetros) usada al imprimir"
-
-#: misc/org.yorba.shotwell.gschema.xml:596
-msgid "images per page code"
-msgstr "código de imágenes por página"
-
-#: misc/org.yorba.shotwell.gschema.xml:597
-msgid ""
-"A numeric code representing the currently selected images per page mode used "
-"when printing"
-msgstr ""
-"Un código numérico que representa el modo usado de imágenes por página "
-"seleccionadas actualmente al imprimir"
-
-#: misc/org.yorba.shotwell.gschema.xml:602
-msgid "size selection"
-msgstr "tamaño de la selección"
-
-#: misc/org.yorba.shotwell.gschema.xml:603
-msgid ""
-"The index of the current print size in a pre-defined list of standard sizes"
-msgstr ""
-"El índice del tamaño de impresión actual en una lista de tamaños estándar "
-"predefinidos"
-
-#: misc/org.yorba.shotwell.gschema.xml:608
-msgid "match aspect ratio"
-msgstr "coincidir con relación de aspecto"
-
-#: misc/org.yorba.shotwell.gschema.xml:609
-msgid ""
-"Determines whether custom print sizes must match the aspect ratio of the "
-"original photo"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:614
-msgid "print titles"
-msgstr "imprimir títulos"
-
-#: misc/org.yorba.shotwell.gschema.xml:615
-msgid ""
-"True if the title of a photo should be printed when the photo is printed, "
-"false otherwise."
-msgstr ""
-"Cierto si se debe imprimir el título de la foto al imprimirla, falso en otro "
-"caso."
-
-#: misc/org.yorba.shotwell.gschema.xml:620
-msgid "titles font"
-msgstr "tipografía de los títulos"
-
-#: misc/org.yorba.shotwell.gschema.xml:621
-msgid "The name of the font to use for photo titles when they are printed."
-msgstr "El nombre de la tipografía que usar cuando se imprimen los títulos."
-
-#: misc/org.yorba.shotwell.gschema.xml:632
-msgid "enable facebook publishing plugin"
-msgstr "activar complemento de publicación en Facebook"
-
-#: misc/org.yorba.shotwell.gschema.xml:633
-msgid "True if the Facebook publishing plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de publicación en Facebook está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:638
-msgid "enable flickr publishing plugin"
-msgstr "activar complemento de publicación en Flickr"
-
-#: misc/org.yorba.shotwell.gschema.xml:639
-msgid "True if the Flickr publishing plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de publicación en Flickr está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:644
-msgid "enable picasa publishing plugin"
-msgstr "activar complemento de publicación en Picasa"
-
-#: misc/org.yorba.shotwell.gschema.xml:645
-msgid ""
-"True if the Picasa Web Albums publishing plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de publicación en álbumes web Picasa está activado, "
-"falso en otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:650
-msgid "enable youtube publishing plugin"
-msgstr "activar complemento de publicación en Youtube"
-
-#: misc/org.yorba.shotwell.gschema.xml:651
-msgid "True if the YouTube publishing plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de publicación en Youtube está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:656
-msgid "enable piwigo publishing plugin"
-msgstr "activar complemento de publicación en Piwigo"
-
-#: misc/org.yorba.shotwell.gschema.xml:657
-msgid "True if the Piwigo publishing plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de publicación en Piwigo está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:662
-msgid "enable yandex publishing plugin"
-msgstr "activar complemento de publicación en Yandex"
-
-#: misc/org.yorba.shotwell.gschema.xml:663
-msgid "True if the Yandex.Fotki publishing plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de publicación en Yandex.Fotki está activado, falso "
-"en otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:668
-msgid "enable tumblr publishing plugin"
-msgstr "activar complemento de publicación en Tumblr"
-
-#: misc/org.yorba.shotwell.gschema.xml:669
-msgid "True if the Tumblr publishing plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de publicación en Tumblr está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:674
-msgid "enable rajce publishing plugin"
-msgstr "activar complemento de publicación en Rajce"
-
-#: misc/org.yorba.shotwell.gschema.xml:675
-msgid "True if the Rajce publishing plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de publicación en Rajce está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:680
-msgid "enable gallery3 publishing plugin"
-msgstr "activar complemento de publicación en Gallery3"
-
-#: misc/org.yorba.shotwell.gschema.xml:681
-msgid "True if the Gallery3 publishing plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de publicación en Gallery3 está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:686
-msgid "enable F-Spot import plugin"
-msgstr "activar complemento de importación de F-Spot"
-
-#: misc/org.yorba.shotwell.gschema.xml:687
-msgid "True if the F-Spot import plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de importación de F-Spot está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:692
-msgid "enable slideshow crumble transition"
-msgstr "activar transición de desmenuzado del pase de diapositivas"
-
-#: misc/org.yorba.shotwell.gschema.xml:693
-msgid ""
-"True if the Crumble slideshow transition plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de transición de desmoronar está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:698
-msgid "enable slideshow fade transition"
-msgstr "activar transición de fundido del pase de diapositivas"
-
-#: misc/org.yorba.shotwell.gschema.xml:699
-msgid ""
-"True if the Fade slideshow transition plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de transición de fundido está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:704
-#: misc/org.yorba.shotwell.gschema.xml:728
-msgid "enable slideshow slide transition"
-msgstr "activar transición lateral del pase de diapositivas"
-
-#: misc/org.yorba.shotwell.gschema.xml:705
-msgid ""
-"True if the Slide slideshow transition plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de transición lateral está activado, falso en otro "
-"caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:710
-msgid "enable slideshow clock transition"
-msgstr "activar transición de reloj del pase de diapositivas"
-
-#: misc/org.yorba.shotwell.gschema.xml:711
-msgid ""
-"True if the Clock slideshow transition plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de transición de reloj está activado, falso en otro "
-"caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:716
-#: misc/org.yorba.shotwell.gschema.xml:722
-msgid "enable slideshow circle transition"
-msgstr "activar transición circular del pase de diapositivas"
-
-#: misc/org.yorba.shotwell.gschema.xml:717
-msgid ""
-"True if the Circle slideshow transition plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de transición circular está activado, falso en otro "
-"caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:723
-msgid ""
-"True if the Circles slideshow transition plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de transición en círculos está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:729
-msgid ""
-"True if the Blinds slideshow transition plugin is enabled, false otherwise"
-msgstr ""
-
-#: misc/org.yorba.shotwell.gschema.xml:734
-msgid "enable slideshow squares transition"
-msgstr "activar transición de cuadros del pase de diapositivas"
-
-#: misc/org.yorba.shotwell.gschema.xml:735
-msgid ""
-"True if the Squares slideshow transition plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de transición de cuadros está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:740
-msgid "enable slideshow stripes transition"
-msgstr "activar transición de bandas del pase de diapositivas"
-
-#: misc/org.yorba.shotwell.gschema.xml:741
-msgid ""
-"True if the Stripes slideshow transition plugin is enabled, false otherwise"
-msgstr ""
-"Cierto si el complemento de transición de bandas está activado, falso en "
-"otro caso"
-
-#: misc/org.yorba.shotwell.gschema.xml:746
-msgid "enable slideshow chess transition"
-msgstr "activar transición de ajedrez del pase de diapositivas"
-
-#: misc/org.yorba.shotwell.gschema.xml:747
-msgid ""
-"True if the Chess-Board slideshow transition plugin is enabled, false "
-"otherwise"
-msgstr ""
-"Cierto si el complemento de transición de tablero de ajedrez está activado, "
-"falso en otro caso"
-
-#: plugins/common/Resources.vala:12
-msgid "Visit the Shotwell home page"
-msgstr "Visite la página web de Shotwell"
-
-#: plugins/common/Resources.vala:31 src/AppWindow.vala:679
-msgid "translator-credits"
-msgstr ""
-"Daniel Mustieles , 2014-2016\n"
-"Adolfo Jayme Barrientos , 2011–2013\n"
-"Claudio Rodrigo Pereyra Diaz , 2011–2013\n"
-"monkey.libre \n"
-"Jorge González , 2011\n"
-"José Luis Navarro "
-
-#: plugins/common/RESTSupport.vala:451
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958
-msgid "A temporary file needed for publishing is unavailable"
-msgstr "No está disponible un archivo temporal necesario para la publicación"
-
-#: plugins/common/RESTSupport.vala:1157
-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 ""
-"Ya ha iniciado y cerrado sesión de Google durante esta sesión de Shotwell.\n"
-"Para seguir publicando en servicios de Google, cierre y reinicie Shotwell, e "
-"intente publicar de nuevo."
-
-#: 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"
-"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 ""
-"Bienvenido/a al servicio de importación de F-Spot.\n"
-"\n"
-"Seleccione una colección a importar, ya sea eligiendo una de las colecciones "
-"existentes encontradas por Shotwell o eligiendo un archivo de base de datos "
-"de F-Spot alternativo."
-
-#: plugins/shotwell-data-imports/FSpotImporter.vala:60
-msgid ""
-"Welcome to the F-Spot library import service.\n"
-"\n"
-"Please select an F-Spot database file."
-msgstr ""
-"Bienvenido/a al servicio de importación de colecciones de F-Spot.\n"
-"\n"
-"Seleccione un archivo de colección de F-Spot."
-
-#: plugins/shotwell-data-imports/FSpotImporter.vala:62
-msgid "Manually select an F-Spot database file to import:"
-msgstr "Seleccionar manualmente una colección de F-Spot para importar:"
-
-#: 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"
-msgstr ""
-"No se puede abrir el archivo seleccionado de F-Spot: el archivo no existe o "
-"no es un archivo de colección de F-Spot"
-
-#: 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"
-msgstr ""
-"No se puede abrir el archivo seleccionado de F-Spot: esta versión de F-Spot "
-"no está soportada por Shotwell"
-
-#: plugins/shotwell-data-imports/FSpotImporter.vala:68
-msgid ""
-"Cannot read the selected F-Spot database file: error while reading tags table"
-msgstr ""
-"No se puede abrir el archivo seleccionado de F-Spot: error al leer la tabla "
-"de etiquetas"
-
-#: plugins/shotwell-data-imports/FSpotImporter.vala:70
-msgid ""
-"Cannot read the selected F-Spot database file: error while reading photos "
-"table"
-msgstr ""
-"No se puede abrir el archivo seleccionado de F-Spot: error al leer la tabla "
-"de fotos"
-
-#: plugins/shotwell-data-imports/FSpotImporter.vala:72
-#, 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 encontró %d fotos en la colección de F-Spot y está importándolas "
-"ahora. Los duplicados se detectarán y eliminarán automáticamente.\n"
-"\n"
-"Puede cerrar este diálogo y empezar a utilizar Shotwell mientras el proceso "
-"de importación ocurre en segundo plano."
-
-#: plugins/shotwell-data-imports/FSpotImporter.vala:86
-#, c-format
-msgid "F-Spot library: %s"
-msgstr "Colección de F-Spot: %s"
-
-#: plugins/shotwell-data-imports/FSpotImporter.vala:424
-msgid "Preparing to import"
-msgstr "Preparando para importar"
-
-#: plugins/shotwell-data-imports/shotwell-data-imports.vala:22
-msgid "Core Data Import Services"
-msgstr "Servicios de importación de datos de núcleo"
-
-#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:5
-#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:125
-msgid "Go _Back"
-msgstr "A_trás"
-
-#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8
-#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145
-#: ui/shotwell.ui:1627
-msgid "_Login"
-msgstr "Iniciar _sesión"
-
-#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:34
-msgid "_Gallery3 URL:"
-msgstr "URL de _Gallery3:"
-
-#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:64
-msgid "_User name:"
-msgstr "_Nombre de usuario:"
-
-#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:79
-msgid "_Password:"
-msgstr "_Contraseña:"
-
-#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:178
-msgid "API _Key:"
-msgstr "_Clave de la API:"
-
-#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:208
-msgid "or"
-msgstr "o"
-
-#: 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/tumblr_publishing_options_pane.ui:116
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:115
-#: 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 "Cerrar _sesión"
-
-#: 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/tumblr_publishing_options_pane.ui:134
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:129
-#: 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
-msgid "_Publish"
-msgstr "_Publicar"
-
-#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:11
-msgid "A _new album"
-msgstr "Un álbum _nuevo"
-
-#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:17
-msgid "An _existing album"
-msgstr "Un álbum _existente"
-
-#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:22
-msgid "_Remove location, tag and camera-identifying data before uploading"
-msgstr "_Quitar ubicación, etiqueta y datos de la cámara antes de subir"
-
-#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:135
-msgid "Scaling constraint:"
-msgstr "Re_stricción de escalado:"
-
-#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:153
-msgid "pixels"
-msgstr "píxeles"
-
-#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1235
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234
-#: src/Dimensions.vala:17
-msgid "Original size"
-msgstr "Tamaño original"
-
-#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:196
-#: src/Dimensions.vala:20
-msgid "Width or height"
-msgstr "Anchura o altura"
-
-#: plugins/shotwell-publishing-extras/GalleryConnector.vala:41
-msgid "Gallery3 publishing module"
-msgstr "Módulo de publicación 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 ""
-"No ha iniciado sesión en su Galería.\n"
-"\n"
-"Debe haber registrado una cuenta de Gallery3 para poder iniciar sesión."
-
-#: plugins/shotwell-publishing-extras/GalleryConnector.vala:117
-msgid "Shotwell default directory"
-msgstr "Carpeta predeterminada de Shotwell"
-
-#: 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."
-msgstr ""
-"\n"
-"\n"
-"El archivo «%s» puede no estar soportado o ser demasiado grande para esta "
-"instancia de Gallery3."
-
-#: plugins/shotwell-publishing-extras/GalleryConnector.vala:802
-msgid ""
-"\n"
-"Note that Gallery3 only supports the video types that Flowplayer does."
-msgstr ""
-"\n"
-"Tenga en cuenta que Gallery3 sólo soporta los mismos tipos de vídeo que "
-"Flowplayer."
-
-#: 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 ""
-"No está disponible un archivo necesario para publicar. La publicación en %s "
-"no puede continuar."
-
-#. populate any widgets whose contents are
-#. programmatically-generated
-#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1550
-#, c-format
-msgid "Publishing to %s as %s."
-msgstr "Publicar en %s como %s."
-
-#: 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 ""
-"Escriba el URL de su sitio Gallery3, así como el nombre de usuario y "
-"contraseña (o clave API) para su cuenta de Gallery3."
-
-#: 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 ""
-"El nombre de usuario y la contraseña o la clave de la API no son correctos. "
-"Para interntarlo de nuevo, vuelva a introducir su nombre y su contraseña a "
-"continuación."
-
-#: 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)."
-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 ""
-"El URL introducido no parece ser la carpeta principal de una instancia de "
-"Gallery3. Asegúrese de que lo ha escrito correctamente y que no tiene "
-"elementos adicionales (ej. index.php)."
-
-#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1872
-msgid "Unrecognized User"
-msgstr "Usuario no reconocido"
-
-#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1877
-msgid " Site Not Found"
-msgstr " Sitio no encontrado"
-
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:49
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:892
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:49
-msgid "_Email address"
-msgstr "Dirección de correo _electrónico"
-
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:59
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:893
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:59
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:73
-msgid "_Password"
-msgstr "_Contraseña"
-
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:103
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:894
-msgid "_Remember"
-msgstr "_Recordar"
-
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:125
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:895
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151
-msgid "Login"
-msgstr "Iniciar sesión"
-
-#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:75
-msgid "An _existing album:"
-msgstr "Un álbum _existente:"
-
-#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:135
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:94
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:52
-msgid "A _new album named:"
-msgstr "Un álbum _nuevo:"
-
-#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:159
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1005
-msgid "_Hide album"
-msgstr "_Ocultar álbum"
-
-#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:178
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016
-msgid "Open target _album in browser"
-msgstr "Abrir ál_bum objetivo en el navegador"
-
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:40
-msgid "Copyright (C) 2013 rajce.net"
-msgstr "Copyright (C) 2013 rajce.net"
-
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:744
-msgid "An error message occurred when publishing to Rajce. Please try again."
-msgstr "Ocurrió un error al publicar en Rajce. Inténtelo de nuevo."
-
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:833
-msgid "Enter email and password associated with your Rajce account."
-msgstr ""
-"Escriba el nombre de usuario y contraseña asociados con su cuenta de Rajce."
-
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:834
-msgid "Invalid email and/or password. Please try again"
-msgstr "Usuario y/o contraseña no válidos. Inténtelo de nuevo"
-
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:865
-msgid "Invalid User Email or Password"
-msgstr "Nombre de usuario o contraseña no válidos"
-
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1012
-#, c-format
-msgid "You are logged into Rajce as %s."
-msgstr "Ha iniciado sesión en Rajce como %s."
-
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013
-#: plugins/shotwell-publishing/PicasaPublishing.vala:670
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:24
-msgid "Photos will appear in:"
-msgstr "Las fotos aparecen en:"
-
-#: plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala:20
-msgid "Shotwell Extra Publishing Services"
-msgstr "Servicios de publicación adicionales de Shotwell"
-
-#: 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 "_Tamaño de la foto:"
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:36
-msgid "Copyright 2012 BJA Electronics"
-msgstr "Copyright 2012 BJA Electronics"
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1231
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1230
-msgid "500 x 375 pixels"
-msgstr "500 × 375 píxeles"
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1232
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1231
-msgid "1024 x 768 pixels"
-msgstr "1024 × 768 píxeles"
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107
-msgid "1280 x 853 pixels"
-msgstr "1280 × 853 píxeles"
-
-#: 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 "«%s» no es una respuesta válida a una solicitud de autenticación OAuth"
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:559
-msgid ""
-"TumblrPublisher: start( ): can't start; this publisher is not restartable."
-msgstr ""
-"TumblrPublisher: start( ): no puede iniciar, este publicador no es "
-"reiniciable."
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:587
-msgid "Enter the username and password associated with your Tumblr account."
-msgstr ""
-"Escriba el nombre de usuario y contraseña asociados con su cuenta de Tumblr."
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:992
-msgid "Username and/or password invalid. Please try again"
-msgstr "Usuario y/o contraseña no válidos. Inténtelo de nuevo"
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1026
-msgid "Invalid User Name or Password"
-msgstr "Nombre de usuario o contraseña no válidos"
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:634
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:752
-#, c-format
-msgid "Could not load UI: %s"
-msgstr "No se pudo cargar la IU: %s"
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:734
-#, c-format
-msgid ""
-"You are logged into Tumblr as %s.\n"
-"\n"
-msgstr ""
-"Ha iniciado sesión en Tumblr como %s.\n"
-"\n"
-
-#: plugins/shotwell-publishing-extras/YandexPublishing.vala:22
-msgid "Copyright 2010+ Evgeniy Polyakov "
-msgstr "Copyright 2010+ Evgeniy Polyakov "
-
-#: plugins/shotwell-publishing-extras/YandexPublishing.vala:25
-msgid "Visit the Yandex.Fotki web site"
-msgstr "Visitar el sitio web de Yandex.Fotki"
-
-#: plugins/shotwell-publishing-extras/YandexPublishing.vala:658
-msgid "You are not currently logged into Yandex.Fotki."
-msgstr "Actualmente no ha iniciado sesión en Yandex.Fotki."
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:24
-msgid "_Albums (or write new):"
-msgstr "Álb_umes (o crear uno nuevo):"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:38
-msgid "Access _type:"
-msgstr "_Tipo de acceso:"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:81
-msgid "Disable _comments"
-msgstr "Desactivar _comentarios"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:96
-msgid "_Forbid downloading original photo"
-msgstr "_No permitir la descarga de la foto original"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:159
-msgid "Public"
-msgstr "Público"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1194
-msgid "Friends"
-msgstr "Amigos"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:165
-#: plugins/shotwell-publishing/YouTubePublishing.vala:498
-msgid "Private"
-msgstr "Privado"
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:39
-msgid "Publish to an e_xisting album:"
-msgstr "Publicar en un álbum e_xistente:"
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:57
-msgid "Create a _new album named:"
-msgstr "Crear un álbum _nuevo llamado:"
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:108
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1034
-msgid "Upload _size:"
-msgstr "_Tamaño de subida:"
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:139
-msgid "Videos and new photo albums _visible to:"
-msgstr "Vídeos y álbumes de fotos nuevos _visibles para:"
-
-#: 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
-msgid ""
-"_Remove location, camera, and other identifying information before uploading"
-msgstr "_Quitar ubicación, cámara y otra información antes de subir"
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:62
-#: plugins/shotwell-publishing/PicasaPublishing.vala:60
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1114
-msgid "Shotwell Connect"
-msgstr "Shotwell Connect"
-
-#: 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 "
-"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 ""
-"Actualmente no ha iniciado sesión en Facebook.\n"
-"\n"
-"Si no tiene una cuenta de Facebook, puede crear una durante el proceso de "
-"inicio de sesión. Durante el inicio de sesión, Shotwell Connect le puede "
-"pedir permiso para subir fotos y publicar en su muro. Estos permisos son "
-"necesarios para que Shotwell Connect funcione."
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:66
-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 ""
-"Ya ha iniciado y cerrado sesión de Facebook durante esta sesión de "
-"Shotwell.\n"
-"Para seguir publicando en Facebook, cierre y reinicie Shotwell, e intente "
-"publicar de nuevo."
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:87
-msgid "Standard (720 pixels)"
-msgstr "Estándar (720 píxeles)"
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:90
-msgid "Large (2048 pixels)"
-msgstr "Grande (2048 píxeles)"
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:255
-msgid "Testing connection to Facebook..."
-msgstr "Comprobando la conexión a Facebook…"
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:348
-#: plugins/shotwell-publishing/PicasaPublishing.vala:379
-msgid "Creating album..."
-msgstr "Creando el álbum…"
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:374
-msgid ""
-"A file required for publishing is unavailable. Publishing to Facebook can't "
-"continue."
-msgstr ""
-"No está disponible un archivo necesario para publicar. La publicación en "
-"Facebook no puede continuar."
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1032
-#, c-format
-msgid ""
-"You are logged into Facebook as %s.\n"
-"\n"
-msgstr ""
-"Ha iniciado sesión en Facebook como %s.\n"
-"\n"
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1033
-msgid "Where would you like to publish the selected photos?"
-msgstr "¿Dónde quiere publicar las fotos seleccionadas?"
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1193
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1213
-msgid "Just me"
-msgstr "Solo yo"
-
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1195
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1209
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1218
-msgid "Everyone"
-msgstr "Todos"
-
-#: 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 ""
-"Introduzca el número de confirmación que aparece en su navegador web después "
-"de iniciar sesión en Flickr."
-
-#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:37
-msgid "Authorization _Number:"
-msgstr "_Número de autorización:"
-
-#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83
-#: src/Dialogs.vala:132
-msgid "Con_tinue"
-msgstr "Con_tinuar"
-
-#: 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 "
-"authorize Shotwell Connect to link to your Flickr account."
-msgstr ""
-"Actualmente no ha iniciado sesión en Flickr.\n"
-"\n"
-"Pulse Iniciar sesión para identificarse en Flickr en su navegador web. "
-"Tendrá que autorizar a Shotwell Connect para que se enlace a su cuenta de "
-"Flickr."
-
-#: 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 ""
-"Ya ha iniciado y cerrado sesión de Flickr durante esta sesión de Shotwell.\n"
-"Para seguir publicando en Flickr, cierre y reinicie Shotwell, e intente "
-"publicar de nuevo."
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:374
-msgid "Preparing for login..."
-msgstr "Preparándose para iniciar sesión…"
-
-#: 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 "
-"continue."
-msgstr ""
-"No está disponible un archivo necesario para publicar. La publicación en "
-"Flickr no puede continuar."
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:457
-msgid "Verifying authorization..."
-msgstr "Comprobando la autorización…"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1152
-#, c-format
-msgid ""
-"You are logged into Flickr as %s.\n"
-"\n"
-msgstr ""
-"Ha iniciado sesión en Flickr como %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 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] ""
-"Su cuenta gratuita de Flickr limita la cantidad de datos que puede subir al "
-"mes.\n"
-"Este mes tiene %d megabyte restantes de su límite de subida."
-msgstr[1] ""
-"Su cuenta gratuita de Flickr limita la cantidad de datos que puede subir al "
-"mes.\n"
-"Este mes tiene %d megabytes restantes de su límite de sudiba."
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1159
-msgid "Your Flickr Pro account entitles you to unlimited uploads."
-msgstr "Su cuenta de Flickr Pro le permite subidas ilimitadas."
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1164
-msgid "Photos _visible to:"
-msgstr "Fotos _visibles para:"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1166
-msgid "Videos _visible to:"
-msgstr "Vídeos _visibles para:"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1169
-msgid "Photos and videos _visible to:"
-msgstr "Fotos y vídeos _visibles para:"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1210
-msgid "Friends & family only"
-msgstr "Solo amigos y familia"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1211
-msgid "Family only"
-msgstr "Solo familia"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1212
-msgid "Friends only"
-msgstr "Solo amigos"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1233
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1232
-msgid "2048 x 1536 pixels"
-msgstr "2048 × 1536 píxeles"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1234
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1233
-msgid "4096 x 3072 pixels"
-msgstr "4096 × 3072 píxeles"
-
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:113
-msgid "L_ist album in public gallery"
-msgstr "_Listar álbum en la galería pública"
-
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:150
-msgid "Photo _size preset:"
-msgstr "_Tamaño de foto predefinido:"
-
-#: 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."
-msgstr ""
-"Actualmente no ha iniciado sesión en Álbumes web de Picasa.\n"
-"\n"
-"Pulse Iniciar sesión para identificarse en Álbumes web de Picasa en su "
-"navegador web. Tendrá que autorizar a Shotwell Connect para que se enlace a "
-"su cuenta de Álbumes web de Picasa."
-
-#: plugins/shotwell-publishing/PicasaPublishing.vala:361
-msgid ""
-"A file required for publishing is unavailable. Publishing to Picasa can't "
-"continue."
-msgstr ""
-"No está disponible un archivo necesario para publicar. La publicación en "
-"Picasa no puede continuar."
-
-#. populate any widgets whose contents are programmatically-generated.
-#: plugins/shotwell-publishing/PicasaPublishing.vala:659
-#, c-format
-msgid "You are logged into Picasa Web Albums as %s."
-msgstr "Ha iniciado sesión en Álbumes web de Picasa como %s."
-
-#: plugins/shotwell-publishing/PicasaPublishing.vala:665
-msgid "Videos will appear in:"
-msgstr "Los vídeos aparecerán en:"
-
-#: plugins/shotwell-publishing/PicasaPublishing.vala:746
-msgid "Small (640 x 480 pixels)"
-msgstr "Pequeño (640 × 480 píxeles)"
-
-#: plugins/shotwell-publishing/PicasaPublishing.vala:747
-msgid "Medium (1024 x 768 pixels)"
-msgstr "Mediano (1024 × 768 píxeles)"
-
-#: plugins/shotwell-publishing/PicasaPublishing.vala:748
-msgid "Recommended (1600 x 1200 pixels)"
-msgstr "Recomendado (1600 × 1200 píxeles)"
-
-#: plugins/shotwell-publishing/PicasaPublishing.vala:749
-msgid "Google+ (2048 x 1536 pixels)"
-msgstr "Google+ (2048 × 1536 píxeles)"
-
-#: plugins/shotwell-publishing/PicasaPublishing.vala:750
-#: src/editing_tools/EditingTools.vala:756
-msgid "Original Size"
-msgstr "Tamaño original"
-
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:49
-msgid "_URL of your Piwigo photo library"
-msgstr "_URL de su biblioteca de fotos Piwigo"
-
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:59
-msgid "User _name"
-msgstr "_Nombre de usuario"
-
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:130
-msgid "_Remember Password"
-msgstr "_Recortar contraseña"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:40
-msgid "An _existing category:"
-msgstr "Una categoría _existente:"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:121
-msgid "Photos will be _visible by:"
-msgstr "Las fotos serán _visibles para:"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:149
-msgid "Photo size:"
-msgstr "Tamaño de la foto:"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:176
-msgid "within category:"
-msgstr "en la categoría:"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:210
-msgid "Album comment:"
-msgstr "Comentario del álbum:"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:242
-msgid "_If a title is set and comment unset, use title as comment"
-msgstr ""
-"_Si se definió el titulo pero no un comentario, usar el título como "
-"comentario"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:258
-msgid "_Do no upload tags"
-msgstr "_No cargar las etiquetas"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:278
-msgid "Logout"
-msgstr "Salir"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:291
-#: src/Resources.vala:295
-msgid "Publish"
-msgstr "Publicar"
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:747
-#, c-format
-msgid "Creating album %s..."
-msgstr "Creando el álbum %s…"
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:920
-msgid "An error message occurred when publishing to Piwigo. Please try again."
-msgstr "Ocurrió un error al publicar en Piwigo. Inténtelo de nuevo."
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:990
-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 ""
-"Escriba el URL de su colección fotográfica de Piwigo, así como el nombre de "
-"usuario y contraseña asociados a esa colección."
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:991
-msgid ""
-"Shotwell cannot contact your Piwigo photo library. Please verify the URL you "
-"entered"
-msgstr ""
-"Shotwell no puede contactar su colección de fotos de Piwigo. Compruebe la "
-"URL que ha introducido"
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1021
-msgid "Invalid URL"
-msgstr "URL no válida"
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1219
-msgid "Admins, Family, Friends, Contacts"
-msgstr "Administradores, Familia, Amigos, Contactos"
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1220
-msgid "Admins, Family, Friends"
-msgstr "Administradores, Familia, Amigos"
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1221
-msgid "Admins, Family"
-msgstr "Administradores, Familia"
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1222
-msgid "Admins"
-msgstr "Administradores"
-
-#: plugins/shotwell-publishing/shotwell-publishing.vala:26
-msgid "Core Publishing Services"
-msgstr "Servicios de publicación"
-
-#: plugins/shotwell-publishing/youtube_publishing_options_pane.ui:55
-msgid "Video privacy _setting:"
-msgstr "Co_nfiguración de privacidad de vídeos:"
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:58
-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 ""
-"No ha iniciado sesión en YouTube.\n"
-"\n"
-"Debe haber registrado una cuenta de Google y configurarla para utilizarla "
-"con YouTube para continuar. Puede configurar la mayoría de cuentas mediante "
-"el uso de su navegador para registrarse en el sitio de YouTube al menos una "
-"vez."
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:363
-msgid ""
-"A file required for publishing is unavailable. Publishing to Youtube can't "
-"continue."
-msgstr ""
-"No está disponible un archivo necesario para publicar. La publicación en "
-"Youtube no puede continuar."
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:462
-#, c-format
-msgid "You are logged into YouTube as %s."
-msgstr "Ha iniciado sesión en YouTube como %s."
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:464
-#, c-format
-msgid "Videos will appear in '%s'"
-msgstr "Los vídeos aparecerán en «%s»"
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:496
-msgid "Public listed"
-msgstr "Listado públicamente"
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:497
-msgid "Public unlisted"
-msgstr "No listado públicamente"
-
-#: plugins/shotwell-transitions/BlindsEffect.vala:20
-msgid "Blinds"
-msgstr "Persianas"
-
-#: plugins/shotwell-transitions/ChessEffect.vala:20
-msgid "Chess"
-msgstr "Ajedrez"
-
-#: plugins/shotwell-transitions/CircleEffect.vala:20
-msgid "Circle"
-msgstr "Círculo"
-
-#: plugins/shotwell-transitions/CirclesEffect.vala:20
-msgid "Circles"
-msgstr "Círculos"
-
-#: plugins/shotwell-transitions/ClockEffect.vala:20
-msgid "Clock"
-msgstr "Reloj"
-
-#: plugins/shotwell-transitions/CrumbleEffect.vala:20
-msgid "Crumble"
-msgstr "Desmoronar"
-
-#: plugins/shotwell-transitions/FadeEffect.vala:20
-msgid "Fade"
-msgstr "Desvanecer"
-
-#: plugins/shotwell-transitions/shotwell-transitions.vala:28
-msgid "Core Slideshow Transitions"
-msgstr "Transiciones de pase de diapositivas"
-
-#: 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."
-
-#: plugins/shotwell-transitions/SlideEffect.vala:20
-msgid "Slide"
-msgstr "Diapositiva"
-
-#: plugins/shotwell-transitions/SquaresEffect.vala:20
-msgid "Squares"
-msgstr "Cuadrados"
-
-#: plugins/shotwell-transitions/StripesEffect.vala:20
-msgid "Stripes"
-msgstr "Franjas"
-
-#: src/AppDirs.vala:64 src/AppDirs.vala:115
-#, c-format
-msgid "Unable to create cache directory %s: %s"
-msgstr "No se pudo crear la carpeta de caché %s: %s"
-
-#: src/AppDirs.vala:74 src/AppDirs.vala:104
-#, c-format
-msgid "Unable to create data directory %s: %s"
-msgstr "No se puede crear la carpeta de datos %s: %s"
-
-#. If XDG yarfed, use ~/Pictures
-#: src/AppDirs.vala:168
-msgid "Pictures"
-msgstr "Imágenes"
-
-#: src/AppDirs.vala:206
-#, c-format
-msgid "Unable to create temporary directory %s: %s"
-msgstr "No se puede crear la carpeta temporal %s: %s"
-
-#: src/AppDirs.vala:223 src/AppDirs.vala:254
-#, c-format
-msgid "Unable to create data subdirectory %s: %s"
-msgstr "No se puede crear la subcarpeta de datos %s: %s"
-
-#: src/AppDirs.vala:236
-#, c-format
-msgid "Could not make directory %s writable"
-msgstr "No se pudo hacer que la carpeta %s sea escribible"
-
-#: src/AppDirs.vala:239
-#, c-format
-msgid "Could not make directory %s writable: %s"
-msgstr "No se pudo hacer escribible la carpeta %s: %s"
-
-#: src/AppWindow.vala:54
-msgid "Pin Toolbar"
-msgstr "Anclar la barra de herramientas"
-
-#: src/AppWindow.vala:55
-msgid "Pin the toolbar open"
-msgstr "Mantener abierta la barra de herramientas"
-
-#: src/AppWindow.vala:60
-msgid "Leave fullscreen"
-msgstr "Salir de pantalla completa"
-
-#: src/AppWindow.vala:499
-msgid "_Contents"
-msgstr "_Contenido"
-
-#: src/AppWindow.vala:504
-msgid "_Frequently Asked Questions"
-msgstr "_Preguntas más frecuentes"
-
-#: src/AppWindow.vala:509
-#| msgid "_Report a Problem..."
-msgid "_Report a Problem…"
-msgstr "_Informar de un problema…"
-
-#: 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:1425 src/Dialogs.vala:1448
-#: src/publishing/PublishingUI.vala:512 src/Resources.vala:157
-msgid "_Cancel"
-msgstr "_Cancelar"
-
-#: src/AppWindow.vala:656
-#, c-format
-msgid ""
-"A fatal error occurred when accessing Shotwell's library. Shotwell cannot "
-"continue.\n"
-"\n"
-"%s"
-msgstr ""
-"Ocurrió un error grave al acceder a la colección de Shotwell. Shotwell no "
-"puede continuar.\n"
-"\n"
-"%s"
-
-#: src/AppWindow.vala:676
-msgid "Visit the Shotwell web site"
-msgstr "Visite la página web de Shotwell"
-
-#: src/AppWindow.vala:688
-#, c-format
-msgid "Unable to display help: %s"
-msgstr "No se puede mostrar la ayuda: %s"
-
-#: src/AppWindow.vala:696
-#, c-format
-msgid "Unable to navigate to bug database: %s"
-msgstr "No se pudo navegar en la base de datos de errores: %s"
-
-#: src/AppWindow.vala:704
-#, c-format
-msgid "Unable to display FAQ: %s"
-msgstr "No se pudieron mostrar las P+F: %s"
-
-#: src/BatchImport.vala:26
-msgid "Success"
-msgstr "Éxito"
-
-#: src/BatchImport.vala:29
-msgid "File error"
-msgstr "Error de archivo"
-
-#: src/BatchImport.vala:32
-msgid "Unable to decode file"
-msgstr "No se puede descodificar el archivo"
-
-#: src/BatchImport.vala:35
-msgid "Database error"
-msgstr "Error de la base de datos"
-
-#: src/BatchImport.vala:38
-msgid "User aborted import"
-msgstr "El usuario canceló la importación"
-
-#: src/BatchImport.vala:41
-msgid "Not a file"
-msgstr "No es un archivo"
-
-#: src/BatchImport.vala:44
-msgid "File already exists in database"
-msgstr "El archivo ya existe en la base de datos"
-
-#: src/BatchImport.vala:47
-msgid "Unsupported file format"
-msgstr "Formato de archivo no soportado"
-
-#: src/BatchImport.vala:50
-msgid "Not an image file"
-msgstr "No es un archivo de imagen"
-
-#: src/BatchImport.vala:53
-msgid "Disk failure"
-msgstr "Fallo en disco"
-
-#: src/BatchImport.vala:56
-msgid "Disk full"
-msgstr "Disco lleno"
-
-#: src/BatchImport.vala:59
-msgid "Camera error"
-msgstr "Error de la cámara"
-
-#: src/BatchImport.vala:62
-msgid "File write error"
-msgstr "Error de escritura en el archivo"
-
-#: src/BatchImport.vala:65
-msgid "Corrupt image file"
-msgstr "Archivo de imagen dañado"
-
-#: src/BatchImport.vala:68
-#, c-format
-msgid "Imported failed (%d)"
-msgstr "Fallo de importación (%d)"
-
-#: src/camera/Branch.vala:85
-msgid "Cameras"
-msgstr "Cámaras"
-
-#: src/camera/Branch.vala:99 src/camera/ImportPage.vala:710
-#: src/camera/ImportPage.vala:726 src/MediaPage.vala:440
-#: src/photos/RawSupport.vala:303
-msgid "Camera"
-msgstr "Cámara"
-
-#: src/camera/ImportPage.vala:311 src/Properties.vala:227
-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 ""
-"No se puede desmontar la cámara. Intente desmontar la cámara desde el gestor "
-"de archivos."
-
-#. hide duplicates checkbox
-#: src/camera/ImportPage.vala:775
-msgid "Hide photos already imported"
-msgstr "Ocultar fotos ya importadas"
-
-#: src/camera/ImportPage.vala:776
-msgid "Only display photos that have not been imported"
-msgstr "Mostrar solo las fotos que no han sido importadas"
-
-#: src/camera/ImportPage.vala:842
-msgid "The camera seems to be empty. No photos/videos found to import"
-msgstr ""
-
-#: src/camera/ImportPage.vala:846
-#| msgid "No photos/videos found"
-msgid "No new photos/videos found on camera"
-msgstr "No se encontraron fotos/vídeos en la cámara"
-
-#: src/camera/ImportPage.vala:873 src/MediaPage.vala:451
-msgid "_Titles"
-msgstr "_Títulos"
-
-#: src/camera/ImportPage.vala:874 src/MediaPage.vala:452
-msgid "Display the title of each photo"
-msgstr "Mostrar el título de cada foto"
-
-#: src/camera/ImportPage.vala:885
-msgid "Import _Selected"
-msgstr "Importar _seleccionadas"
-
-#: src/camera/ImportPage.vala:886
-msgid "Import the selected photos into your library"
-msgstr "Importar las fotos seleccionadas a su colección"
-
-#: src/camera/ImportPage.vala:891
-msgid "Import _All"
-msgstr "Importar tod_as"
-
-#: src/camera/ImportPage.vala:892
-msgid "Import all the photos into your library"
-msgstr "Importar todas las fotos a su colección"
-
-#. it's mounted, offer to unmount for the user
-#: src/camera/ImportPage.vala:1013
-msgid ""
-"Shotwell needs to unmount the camera from the filesystem in order to access "
-"it. Continue?"
-msgstr ""
-"Shotwell necesita desmontar la cámara del sistema de archivos con el fin de "
-"acceder a ella. ¿Continuar?"
-
-#: src/camera/ImportPage.vala:1019
-msgid "_Unmount"
-msgstr "_Desmontar"
-
-#: src/camera/ImportPage.vala:1024
-msgid "Please unmount the camera."
-msgstr "Desmonte la cámara."
-
-#: src/camera/ImportPage.vala:1029
-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 ""
-"La cámara está bloqueada por otra aplicación. Shotwell solo puede acceder a "
-"la cámara cuando está desbloqueada. Cierre cualquier otra aplicación que "
-"esté utilizando la cámara e inténtelo de nuevo."
-
-#: src/camera/ImportPage.vala:1039
-msgid "Please close any other application using the camera."
-msgstr "Cierre cualquier otra aplicación que esté utilizando la cámara."
-
-#: src/camera/ImportPage.vala:1044
-#, c-format
-msgid ""
-"Unable to fetch previews from the camera:\n"
-"%s"
-msgstr ""
-"No se pueden obtener previsualizaciones de la cámara:\n"
-"%s"
-
-#: src/camera/ImportPage.vala:1061
-#| msgid "Unmounting..."
-msgid "Unmounting…"
-msgstr "Desmontando…"
-
-#: src/camera/ImportPage.vala:1152
-#| msgid "Starting import, please wait..."
-msgid "Starting import, please wait…"
-msgstr "Iniciando la importación, espere un momento…"
-
-#: src/camera/ImportPage.vala:1169
-msgid "Fetching photo information"
-msgstr "Obteniendo información de la foto"
-
-#: src/camera/ImportPage.vala:1527
-#, c-format
-msgid "Fetching preview for %s"
-msgstr "Obteniendo previsualización para %s"
-
-#: src/camera/ImportPage.vala:1643
-#, c-format
-msgid "Unable to lock camera: %s"
-msgstr "No se puede bloquear la cámara: %s"
-
-#: src/camera/ImportPage.vala:1728
-#, c-format
-msgid "Delete this photo from camera?"
-msgid_plural "Delete these %d photos from camera?"
-msgstr[0] "¿Quiere eliminar esta foto de la cámara?"
-msgstr[1] "¿Quiere eliminar estas %d fotos de la cámara?"
-
-#: src/camera/ImportPage.vala:1731
-#, c-format
-msgid "Delete this video from camera?"
-msgid_plural "Delete these %d videos from camera?"
-msgstr[0] "¿Quiere eliminar esta foto de la cámara?"
-msgstr[1] "¿Quiere eliminar estas %d fotos de la cámara?"
-
-#: src/camera/ImportPage.vala:1734
-#, c-format
-msgid "Delete this photo/video from camera?"
-msgid_plural "Delete these %d photos/videos from camera?"
-msgstr[0] "¿Quiere eliminar esta foto/vídeo de la cámara?"
-msgstr[1] "¿Quiere eliminar estas %d fotos/vídeos de la cámara?"
-
-#: src/camera/ImportPage.vala:1737
-#, c-format
-msgid "Delete these files from camera?"
-msgid_plural "Delete these %d files from camera?"
-msgstr[0] "¿Eliminar este archivo de la cámara?"
-msgstr[1] "¿Eliminar estos %d archivos de la cámara?"
-
-#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1392
-msgid "_Keep"
-msgstr "_Mantener"
-
-#: src/camera/ImportPage.vala:1764
-msgid "Removing photos/videos from camera"
-msgstr "Eliminando fotos/vídeos de la cámara"
-
-#: src/camera/ImportPage.vala:1768
-#, 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] "No se puede eliminar %d foto/vídeo de la cámara, debido a errores."
-msgstr[1] ""
-"No se pueden eliminar %d fotos/vídeos de la cámara, debido a errores."
-
-#: src/CollectionPage.vala:230 src/PhotoPage.vala:2635
-msgid "S_lideshow"
-msgstr "_Diapositivas"
-
-#: src/CollectionPage.vala:231 src/PhotoPage.vala:2636
-msgid "Play a slideshow"
-msgstr "Iniciar un pase de diapositivas"
-
-#: src/CollectionPage.vala:456
-msgid "Export Photo/Video"
-msgstr "Exportar foto o vídeo"
-
-#: src/CollectionPage.vala:456
-msgid "Export Photos/Videos"
-msgstr "Exportar fotos/vídeos"
-
-#: src/CollectionPage.vala:458 src/Dialogs.vala:59 src/PhotoPage.vala:3209
-msgid "Export Photo"
-msgstr "Exportar foto"
-
-#: src/CollectionPage.vala:458 src/Dialogs.vala:88
-msgid "Export Photos"
-msgstr "Exportar fotos"
-
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
-msgid "Rotating"
-msgstr "Girando"
-
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
-msgid "Undoing Rotate"
-msgstr "Deshaciendo el giro"
-
-#: src/CollectionPage.vala:570
-msgid "Flipping Horizontally"
-msgstr "Volteando horizontalmente"
-
-#: src/CollectionPage.vala:571
-msgid "Undoing Flip Horizontally"
-msgstr "Deshaciendo volteo horizontal"
-
-#: src/CollectionPage.vala:580
-msgid "Flipping Vertically"
-msgstr "Volteando verticalmente"
-
-#: src/CollectionPage.vala:581
-msgid "Undoing Flip Vertically"
-msgstr "Deshaciendo volteo vertical"
-
-#: src/Commands.vala:737
-msgid "Reverting"
-msgstr "Revirtiendo"
-
-#: src/Commands.vala:737
-msgid "Undoing Revert"
-msgstr "Deshaciendo reversión"
-
-#: src/Commands.vala:781
-msgid "Enhancing"
-msgstr "Mejorando"
-
-#: src/Commands.vala:781
-msgid "Undoing Enhance"
-msgstr "Deshaciendo mejora"
-
-#: src/Commands.vala:857
-msgid "Applying Color Transformations"
-msgstr "Aplicando transformación de color"
-
-#: src/Commands.vala:857
-msgid "Undoing Color Transformations"
-msgstr "Deshaciendo transformación de color"
-
-#: src/Commands.vala:1007
-msgid "Creating New Event"
-msgstr "Creando un evento nuevo"
-
-#: src/Commands.vala:1008
-msgid "Removing Event"
-msgstr "Quitando el evento"
-
-#: src/Commands.vala:1017
-msgid "Moving Photos to New Event"
-msgstr "Moviendo fotos a un evento nuevo"
-
-#: src/Commands.vala:1018
-msgid "Setting Photos to Previous Event"
-msgstr "Estableciendo fotos al evento anterior"
-
-#: src/Commands.vala:1075
-msgid "Merging"
-msgstr "Combinando"
-
-#: src/Commands.vala:1076
-msgid "Unmerging"
-msgstr "Deshaciendo la combinación"
-
-#: src/Commands.vala:1085
-msgid "Duplicating photos"
-msgstr "Duplicando las fotos"
-
-#: src/Commands.vala:1085
-msgid "Removing duplicated photos"
-msgstr "Quitando las fotos duplicadas"
-
-#: 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] "No se puede duplicar una foto debido a un error de archivo"
-msgstr[1] "No se pueden duplicar %d fotos debido a errores de archivo"
-
-#: src/Commands.vala:1195
-msgid "Restoring previous rating"
-msgstr "Restaurar valoración anterior"
-
-#: src/Commands.vala:1205 src/Commands.vala:1206
-msgid "Increasing ratings"
-msgstr "Aumentando la valoración"
-
-#: src/Commands.vala:1205 src/Commands.vala:1206
-msgid "Decreasing ratings"
-msgstr "Disminuyendo la valoración"
-
-#: src/Commands.vala:1256
-msgid "Setting RAW developer"
-msgstr "Configurando el revelador RAW"
-
-#: src/Commands.vala:1256
-msgid "Restoring previous RAW developer"
-msgstr "Restaurando el revelador RAW anterior"
-
-#: src/Commands.vala:1257
-msgid "Set Developer"
-msgstr "Establecer revelador"
-
-#: src/Commands.vala:1347
-msgid "Original photo could not be adjusted."
-msgstr "No se pudo ajustar la foto original."
-
-#: src/Commands.vala:1368
-msgid "Adjusting Date and Time"
-msgstr "Ajustar fecha y hora"
-
-#: src/Commands.vala:1368
-msgid "Undoing Date and Time Adjustment"
-msgstr "Deshacer ajuste de fecha y hora"
-
-#: src/Commands.vala:1399
-msgid "One original photo could not be adjusted."
-msgid_plural "The following original photos could not be adjusted."
-msgstr[0] "No se pudo modificar una foto original."
-msgstr[1] "No se pudieron modificar las siguientes fotos originales."
-
-#: src/Commands.vala:1401 src/Commands.vala:1425
-msgid "Time Adjustment Error"
-msgstr "Error al ajustar la hora"
-
-#: 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] ""
-"El ajuste de la hora no se puede deshacer en el archivo de la foto siguiente."
-msgstr[1] ""
-"El ajuste de la hora no se puede deshacer en el archivo de la foto siguiente."
-
-#: src/Commands.vala:1637 src/Commands.vala:1660
-msgid "Create Tag"
-msgstr "Crear etiqueta"
-
-#: src/Commands.vala:1695
-#, c-format
-msgid "Move Tag \"%s\""
-msgstr "Mover etiqueta «%s»"
-
-#: src/Commands.vala:2347
-msgid "Move Photos to Trash"
-msgstr "Mover fotos a la papelera"
-
-#: src/Commands.vala:2347
-msgid "Restore Photos from Trash"
-msgstr "Restaurar fotos desde la papelera"
-
-#: src/Commands.vala:2348
-msgid "Move the photos to the Shotwell trash"
-msgstr "Mover las fotos a la papelera de Shotwell"
-
-#: src/Commands.vala:2348
-msgid "Restore the photos back to the Shotwell library"
-msgstr "Restaurar las fotos a la colección de Shotwell"
-
-#: src/Commands.vala:2367
-msgid "Moving Photos to Trash"
-msgstr "Mover fotos a la papelera"
-
-#: src/Commands.vala:2367
-msgid "Restoring Photos From Trash"
-msgstr "Restaurar fotos desde la papelera"
-
-#: src/Commands.vala:2453
-msgid "Flag selected photos"
-msgstr "Marcar las fotos seleccionadas"
-
-#: src/Commands.vala:2454
-msgid "Unflag selected photos"
-msgstr "Desmarcar las fotos seleccionadas"
-
-#: src/Commands.vala:2455
-msgid "Flagging selected photos"
-msgstr "Marcando las fotos seleccionadas"
-
-#: src/Commands.vala:2456
-msgid "Unflagging selected photos"
-msgstr "Desmarcando las fotos seleccionadas"
-
-#: src/Commands.vala:2463
-msgid "Flag"
-msgstr "Marcar"
-
-#: src/Commands.vala:2463
-msgid "Unflag"
-msgstr "Desmarcar"
-
-#. 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 "Base de datos %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 ""
-"La importación desde %s no puede continuar porque ha ocurrido un error:"
-
-#: src/data_imports/DataImportsPluginHost.vala:151
-msgid "To try importing from another service, select one from the above menu."
-msgstr ""
-"Para intentar importar desde otro servicio, seleccione uno desde el menú "
-"anterior."
-
-#: 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 ""
-"No tiene ningún complemento de importación de datos activado.\n"
-"\n"
-"Para utilizar la función Importar desde aplicación, necesita activar al "
-"menos un complemento de importación. Puede hacerlo en el cuadro de diálogo "
-"Preferencias."
-
-#: src/data_imports/DataImportsUI.vala:100
-msgid "Database file:"
-msgstr "Archivo de base de datos:"
-
-#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:904
-msgid "_Import"
-msgstr "_Importar"
-
-#: src/data_imports/DataImportsUI.vala:220
-msgid "Import From Application"
-msgstr "Importar desde aplicación"
-
-#: src/data_imports/DataImportsUI.vala:221
-msgid "Import media _from:"
-msgstr "Importar medios _desde:"
-
-#: src/data_imports/DataImportsUI.vala:408
-#: src/publishing/PublishingUI.vala:507
-msgid "_Close"
-msgstr "_Cerrar"
-
-#: src/data_imports/DataImports.vala:22
-msgid "Data Imports"
-msgstr "Importaciones de datos"
-
-#: src/db/DatabaseTable.vala:37
-#, c-format
-msgid "Unable to open/create photo database %s: error code %d"
-msgstr "No se puede abrir/crear base de datos de fotos %s: código de error %d"
-
-#: src/db/DatabaseTable.vala:46
-#, c-format
-msgid ""
-"Unable to write to photo database file:\n"
-" %s"
-msgstr ""
-"No se pudo escribir el archivo de la base de datos de fotos:\n"
-"%s"
-
-#: src/db/DatabaseTable.vala:48
-#, c-format
-msgid ""
-"Error accessing database file:\n"
-" %s\n"
-"\n"
-"Error was: \n"
-"%s"
-msgstr ""
-"Error al acceder al archivo de la base de datos:\n"
-"%s\n"
-"\n"
-"El error fue:\n"
-"%s"
-
-#: src/db/DatabaseTable.vala:88
-#, c-format
-msgid "Unable to restore photo database %s"
-msgstr "No se pudo restaurar la base de datos de fotos %s"
-
-#: src/DesktopIntegration.vala:121
-#, c-format
-msgid "Unable to launch Nautilus Send-To: %s"
-msgstr "No se puede abrir Nautilus Enviar a: %s"
-
-#: src/DesktopIntegration.vala:129
-msgid "Send To"
-msgstr "Enviar a"
-
-#: src/DesktopIntegration.vala:174
-#, c-format
-msgid "Unable to export background to %s: %s"
-msgstr "No se puede exportar el fondo de pantalla a %s: %s"
-
-#: src/DesktopIntegration.vala:311
-#, c-format
-msgid "Unable to prepare desktop slideshow: %s"
-msgstr "No se puede preparar el presentación de diapositivas de escritorio: %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] "Esto eliminará la etiqueta «%s» de una foto. ¿Continuar?"
-msgstr[1] "Esto eliminará la etiqueta «%s» de %d fotos. ¿Continuar?"
-
-#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1393
-#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409
-#: src/Resources.vala:674
-msgid "_Delete"
-msgstr "_Eliminar"
-
-#: src/Dialogs.vala:25
-#, c-format
-msgid "This will remove the saved search \"%s\". Continue?"
-msgstr "Esto quitará la búsqueda guardada «%s». ¿Quiere continuar?"
-
-#: src/Dialogs.vala:36
-msgid ""
-"Switching developers will undo all changes you have made to this photo in "
-"Shotwell"
-msgid_plural ""
-"Switching developers will undo all changes you have made to these photos in "
-"Shotwell"
-msgstr[0] ""
-"Al cambiar de revelador se desharán todos los cambios que realizó a esta "
-"foto en Shotwell"
-msgstr[1] ""
-"Al cambiar de revelador se desharán todos los cambios que realizó a estas "
-"fotos en Shotwell"
-
-#: src/Dialogs.vala:40
-msgid "_Switch Developer"
-msgstr "_Cambiar de revelador"
-
-#: src/Dialogs.vala:59
-msgid "Export Video"
-msgstr "Exportar vídeo"
-
-#. 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:116
-#, 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 no pudo crear un archivo para editar esta foto porque no tiene "
-"permiso para escribir en %s."
-
-#: src/Dialogs.vala:125
-msgid ""
-"Unable to export the following photo due to a file error.\n"
-"\n"
-msgstr "No se puede exportar la siguiente foto debido a un error de archivo.\n"
-
-#: src/Dialogs.vala:131
-msgid ""
-"\n"
-"\n"
-"Would you like to continue exporting?"
-msgstr ""
-"\n"
-"\n"
-"¿Quiere continuar la exportación?"
-
-#. "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:148
-msgid "Unmodified"
-msgstr "Sin modificar"
-
-#: src/Dialogs.vala:149
-msgid "Current"
-msgstr "Actual"
-
-#. layout controls
-#: src/Dialogs.vala:216
-msgid "_Format:"
-msgstr "_Formato:"
-
-#: src/Dialogs.vala:219
-msgid "_Quality:"
-msgstr "_Calidad:"
-
-#: src/Dialogs.vala:222
-msgid "_Scaling constraint:"
-msgstr "Re_stricción de escala:"
-
-#: src/Dialogs.vala:225
-msgid "_Pixels:"
-msgstr "_Píxeles:"
-
-#: src/Dialogs.vala:228
-msgid "Export metadata"
-msgstr "Exportar metadatos"
-
-#: src/Dialogs.vala:462
-#| msgid "Save Details"
-msgid "Save Details…"
-msgstr "Guardar detalles…"
-
-#: src/Dialogs.vala:463
-msgid "Save Details"
-msgstr "Guardar detalles"
-
-#: src/Dialogs.vala:478
-#, c-format
-msgid "(and %d more)\n"
-msgstr "(y %d más)\n"
-
-#: src/Dialogs.vala:531
-msgid "Import Results Report"
-msgstr "Informe de resultados de importación"
-
-#: src/Dialogs.vala:535
-#, c-format
-msgid "Attempted to import %d file."
-msgid_plural "Attempted to import %d files."
-msgstr[0] "Se intentó importar %d archivo."
-msgstr[1] "Se intentaron importar %d archivos."
-
-#: src/Dialogs.vala:538
-#, c-format
-msgid "Of these, %d file was successfully imported."
-msgid_plural "Of these, %d files were successfully imported."
-msgstr[0] "De ellos, se importó %d archivo correctamente."
-msgstr[1] "De ellos, se importaron %d archivos correctamente."
-
-#.
-#. Duplicates
-#.
-#: src/Dialogs.vala:550
-msgid "Duplicate Photos/Videos Not Imported:"
-msgstr "Fotos/vídeos duplicados no importados:"
-
-#: src/Dialogs.vala:554
-msgid "duplicates existing media item"
-msgstr "duplica el elemento existente"
-
-#.
-#. Files Not Imported Due to Camera Errors
-#.
-#: src/Dialogs.vala:565
-msgid "Photos/Videos Not Imported Due to Camera Errors:"
-msgstr "Fotos/vídeos no importados debido a errores de cámara:"
-
-#: src/Dialogs.vala:568 src/Dialogs.vala:583 src/Dialogs.vala:598
-#: src/Dialogs.vala:614 src/Dialogs.vala:629 src/Dialogs.vala:643
-msgid "error message:"
-msgstr "mensaje de error:"
-
-#.
-#. Files Not Imported Because They Weren't Recognized as Photos or Videos
-#.
-#: src/Dialogs.vala:579
-msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:"
-msgstr "Archivos no importados porque no se reconocieron como fotos o vídeos:"
-
-#.
-#. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands
-#.
-#: src/Dialogs.vala:594
-msgid ""
-"Photos/Videos Not Imported Because They Weren't in a Format Shotwell "
-"Understands:"
-msgstr ""
-"Fotos/vídeos no importados porque no estaban en un formato compatible con "
-"Shotwell:"
-
-#.
-#. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library
-#.
-#: src/Dialogs.vala:609
-msgid ""
-"Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its "
-"Library:"
-msgstr ""
-"Fotos/vídeos no importados porque Shotwell no pudo copiarlos a su colección:"
-
-#: src/Dialogs.vala:613
-#, c-format
-msgid ""
-"couldn't copy %s\n"
-"\tto %s"
-msgstr ""
-"no se pudo copiar %s\n"
-"\ta %s"
-
-#.
-#. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt
-#.
-#: src/Dialogs.vala:625
-msgid "Photos/Videos Not Imported Because Files Are Corrupt:"
-msgstr "No se importaron las fotos/vídeos porque los archivos están dañados:"
-
-#.
-#. Photos/Videos Not Imported for Other Reasons
-#.
-#: src/Dialogs.vala:640
-msgid "Photos/Videos Not Imported for Other Reasons:"
-msgstr "Fotos/vídeos no importados por otros motivos:"
-
-#: src/Dialogs.vala:660
-#, c-format
-msgid "1 duplicate photo was not imported:\n"
-msgid_plural "%d duplicate photos were not imported:\n"
-msgstr[0] "No se importó 1 foto duplicada:\r\n"
-msgstr[1] "No se importaron %d fotos duplicadas:\r\n"
-
-#: src/Dialogs.vala:663
-#, c-format
-msgid "1 duplicate video was not imported:\n"
-msgid_plural "%d duplicate videos were not imported:\n"
-msgstr[0] "No se importó 1 vídeo duplicado:\r\n"
-msgstr[1] "No se importaron %d vídeos duplicados:\r\n"
-
-#: src/Dialogs.vala:666
-#, c-format
-msgid "1 duplicate photo/video was not imported:\n"
-msgid_plural "%d duplicate photos/videos were not imported:\n"
-msgstr[0] "No se importó 1 foto/vídeo duplicado:\r\n"
-msgstr[1] "No se importaron %d fotos/vídeos duplicados:\r\n"
-
-#: src/Dialogs.vala:680
-#, 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] ""
-"Falló al importar 1 foto debido a un error del archivo o de hardware:\n"
-msgstr[1] ""
-"Falló al importar %d fotos debido a un error del archivo o de hardware:\n"
-
-#: src/Dialogs.vala:683
-#, 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] ""
-"Falló al importar 1 vídeo debido a un error del archivo o de hardware:\r\n"
-msgstr[1] ""
-"Falló al importar %d vídeos debido a un error del archivo o de hardware:\r\n"
-
-#: src/Dialogs.vala:686
-#, 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] ""
-"Falló al importar 1 foto/vídeo debido a un error del archivo o de hardware:"
-"\r\n"
-msgstr[1] ""
-"Falló al importar %d fotos/vídeos debido a un error del archivo o de "
-"hardware:\r\n"
-
-#: src/Dialogs.vala:689
-#, 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] ""
-"Falló al importar 1 archivo debido a un error del archivo o de hardware:\n"
-msgstr[1] ""
-"Falló al importar %d archivos debido a un error de archivo o de hardware:\n"
-
-#: src/Dialogs.vala:703
-#, 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] ""
-"Falló al importar 1 foto porque la carpeta de la colección de fotos no se "
-"puede escribir:\n"
-msgstr[1] ""
-"Falló al importar %d fotos porque la carpeta de la colección de fotos no se "
-"puede escribir:\n"
-
-#: src/Dialogs.vala:706
-#, 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] ""
-"Falló al importar 1 foto porque la carpeta de la colección de fotos no se "
-"puede escribir:\n"
-msgstr[1] ""
-"Falló al importar %d fotos porque la carpeta de la colección de fotos no se "
-"puede escribir:\n"
-
-#: src/Dialogs.vala:709
-#, c-format
-msgid ""
-"1 photo/video failed to import because the photo library folder was not "
-"writable:\n"
-msgid_plural ""
-"%d photos/videos failed to import because the photo library folder was not "
-"writable:\n"
-msgstr[0] ""
-"Falló al importar 1 foto/vídeo porque la carpeta de la colección de fotos no "
-"se puede escribir:\n"
-msgstr[1] ""
-"Falló al importar %d fotos/vídeos porque la carpeta de la colección de fotos "
-"no se puede escribir:\n"
-
-#: src/Dialogs.vala:712
-#, c-format
-msgid ""
-"1 file failed to import because the photo library folder was not writable:\n"
-msgid_plural ""
-"%d files failed to import because the photo library folder was not "
-"writable:\n"
-msgstr[0] ""
-"Falló la importación de 1 archivo porque no se puede escribir en la "
-"colección de fotos:\n"
-msgstr[1] ""
-"Falló la importación de %d archivos porque no se puede escribir en la "
-"colección de fotos:\n"
-
-#: src/Dialogs.vala:726
-#, 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] "Falló al importar 1 foto/vídeo debido a un error de la cámara:\n"
-msgstr[1] "Falló al importar %d fotos debido a un error de la cámara:\n"
-
-#: src/Dialogs.vala:729
-#, 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] "Falló al importar 1 foto/vídeo debido a un error de la cámara:\n"
-msgstr[1] "Falló al importar %d vídeos debido a un error de la cámara:\n"
-
-#: src/Dialogs.vala:732
-#, 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] "Falló al importar 1 foto/vídeo debido a un error de la cámara:\n"
-msgstr[1] "Falló al importar %d foto/vídeo debido a un error de la cámara:\n"
-
-#: src/Dialogs.vala:735
-#, 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] "Falló al importar 1 archivo debido a un error de la cámara: \n"
-msgstr[1] "Falló al importar %d archivor debido a un error de la cámara: \n"
-
-#: src/Dialogs.vala:749
-#, 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] "No se pudo importar una foto porque está dañada:\n"
-msgstr[1] "No se pudieron importar %d fotos porque están dañadas:\n"
-
-#: src/Dialogs.vala:752
-#, 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] "No se pudo importar un vídeo porque está dañado:\n"
-msgstr[1] "No se pudieron importar %d vídeos porque están dañados:\n"
-
-#: src/Dialogs.vala:755
-#, 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] "No se pudo importar 1 foto/vídeo porque está dañado:\n"
-msgstr[1] "No se pudieron importar %d fotos/vídeos porque están dañados:\n"
-
-#: src/Dialogs.vala:758
-#, 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] "No se pudo importar un archivo porque está dañado:\n"
-msgstr[1] "No se pudieron importar %d archivos porque están dañados:\n"
-
-#. 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:775
-#, c-format
-msgid "1 unsupported photo skipped:\n"
-msgid_plural "%d unsupported photos skipped:\n"
-msgstr[0] "Se omitió 1 foto no compatible:\n"
-msgstr[1] "Se omitieron %d fotos no compatibles:\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:790
-#, c-format
-msgid "1 non-image file skipped.\n"
-msgid_plural "%d non-image files skipped.\n"
-msgstr[0] "Se omitió 1 archivo que no era una imagen.\n"
-msgstr[1] "Se omitieron %d archivos que no eran imágenes.\n"
-
-#: src/Dialogs.vala:801
-#, c-format
-msgid "1 photo skipped due to user cancel:\n"
-msgid_plural "%d photos skipped due to user cancel:\n"
-msgstr[0] "Se omitió 1 foto debido a la cancelación del usuario:\n"
-msgstr[1] "Se omitieron %d fotos debido a la cancelación del usuario:\n"
-
-#: src/Dialogs.vala:804
-#, c-format
-msgid "1 video skipped due to user cancel:\n"
-msgid_plural "%d videos skipped due to user cancel:\n"
-msgstr[0] "Se omitió 1 vídeo debido a la cancelación del usuario:\n"
-msgstr[1] "Se omitieron %d vídeos debido a la cancelación del usuario:\n"
-
-#: src/Dialogs.vala:807
-#, 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] "Se omitió 1 foto/vídeo debido a la cancelación del usuario:\n"
-msgstr[1] "Se omitieron %d fotos/vídeos debido a la cancelación del usuario:\n"
-
-#: src/Dialogs.vala:810
-#, c-format
-msgid "1 file skipped due to user cancel:\n"
-msgid_plural "%d file skipped due to user cancel:\n"
-msgstr[0] "Se omitió 1 archivo debido a la cancelación del usuario:\n"
-msgstr[1] "Se omitieron %d archivos debido a la cancelación del usuario:\n"
-
-#: src/Dialogs.vala:824
-#, c-format
-msgid "1 photo successfully imported.\n"
-msgid_plural "%d photos successfully imported.\n"
-msgstr[0] "1 foto correctamente importada.\n"
-msgstr[1] "%d fotos importadas correctamente.\n"
-
-#: src/Dialogs.vala:827
-#, c-format
-msgid "1 video successfully imported.\n"
-msgid_plural "%d videos successfully imported.\n"
-msgstr[0] "1 vídeo correctamente importado.\n"
-msgstr[1] "%d vídeos importados correctamente.\n"
-
-#: src/Dialogs.vala:830
-#, c-format
-msgid "1 photo/video successfully imported.\n"
-msgid_plural "%d photos/videos successfully imported.\n"
-msgstr[0] "1 foto/vídeo correctamente importado.\n"
-msgstr[1] "%d fotos/vídeos importados correctamente.\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:846
-msgid "No photos or videos imported.\n"
-msgstr "No se importó ninguna foto o vídeo.\n"
-
-#: src/Dialogs.vala:853 src/Dialogs.vala:872
-msgid "Import Complete"
-msgstr "Importación completa"
-
-#: src/Dialogs.vala:1158
-#, c-format
-msgid "%d second"
-msgid_plural "%d seconds"
-msgstr[0] "%d segundo"
-msgstr[1] "%d segundos"
-
-#: src/Dialogs.vala:1161
-#, c-format
-msgid "%d minute"
-msgid_plural "%d minutes"
-msgstr[0] "%d minuto"
-msgstr[1] "%d minutos"
-
-#: src/Dialogs.vala:1165
-#, c-format
-msgid "%d hour"
-msgid_plural "%d hours"
-msgstr[0] "%d hora"
-msgstr[1] "%d horas"
-
-#: src/Dialogs.vala:1168
-msgid "1 day"
-msgstr "1 día"
-
-#: src/Dialogs.vala:1322 src/Resources.vala:231
-msgid "Rename Event"
-msgstr "Renombrar evento"
-
-#: src/Dialogs.vala:1322
-msgid "Name:"
-msgstr "Nombre:"
-
-#. Dialog title
-#: src/Dialogs.vala:1333
-msgctxt "Dialog Title"
-msgid "Edit Title"
-msgstr "Editar título"
-
-#: src/Dialogs.vala:1334 src/Properties.vala:340
-msgid "Title:"
-msgstr "Título:"
-
-#. Dialog title
-#: src/Dialogs.vala:1350 src/Resources.vala:307
-msgid "Edit Event Comment"
-msgstr "Editar comentario de evento"
-
-#: src/Dialogs.vala:1351
-msgid "Edit Photo/Video Comment"
-msgstr "Editar comentario de foto/vídeo"
-
-#: src/Dialogs.vala:1352 src/Properties.vala:628
-msgid "Comment:"
-msgstr "Comentario:"
-
-#: src/Dialogs.vala:1368
-msgid "Remove and _Trash File"
-msgid_plural "Remove and _Trash Files"
-msgstr[0] "Eliminar archivo y mover a la _papelera"
-msgstr[1] "Eliminar archivos y mover a la _papelera"
-
-#: src/Dialogs.vala:1372
-msgid "_Remove From Library"
-msgstr "_Quitar de la colección"
-
-#: src/Dialogs.vala:1415
-msgid "Revert External Edit?"
-msgstr "¿Revertir las ediciones externas?"
-
-#: src/Dialogs.vala:1415
-msgid "Revert External Edits?"
-msgstr "¿Revertir ediciones externas?"
-
-#: src/Dialogs.vala:1417
-#, 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] ""
-"Esto destruirá todos los cambios realizados en el archivo externo. "
-"¿Continuar?"
-msgstr[1] ""
-"Esto destruirá todos los cambios realizados en los %d archivos externos. "
-"¿Continuar?"
-
-#: src/Dialogs.vala:1421
-msgid "Re_vert External Edit"
-msgstr "Re_vertir edición externa"
-
-#: src/Dialogs.vala:1421
-msgid "Re_vert External Edits"
-msgstr "Re_vertir ediciones externas"
-
-#: src/Dialogs.vala:1442
-#, 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] "Esto quitará la foto de la colección. ¿Continuar?"
-msgstr[1] "Esto quitará las %d fotos de la colección. ¿Continuar?"
-
-#: src/Dialogs.vala:1449 src/Resources.vala:173
-msgid "_Remove"
-msgstr "_Quitar"
-
-#: src/Dialogs.vala:1450
-msgid "Remove Photo From Library"
-msgstr "Quitar la foto de la colección"
-
-#: src/Dialogs.vala:1450
-msgid "Remove Photos From Library"
-msgstr "Quitar fotos de la colección"
-
-#: src/Dialogs.vala:1543
-#, c-format
-msgid "%d%%"
-msgstr "%d%%"
-
-#: src/Dialogs.vala:1697
-msgid "AM"
-msgstr "a.m."
-
-#: src/Dialogs.vala:1698
-msgid "PM"
-msgstr "p.m."
-
-#: src/Dialogs.vala:1699
-msgid "24 Hr"
-msgstr "24 hrs."
-
-#: src/Dialogs.vala:1714
-msgid "_Shift photos/videos by the same amount"
-msgstr "_Desplazar todas las fotos y/o vídeos la misma cantidad"
-
-#: src/Dialogs.vala:1719
-msgid "Set _all photos/videos to this time"
-msgstr "Ajustar _todas las fotos y/o vídeos a esta hora"
-
-#: src/Dialogs.vala:1726
-msgid "_Modify original photo file"
-msgstr "_Modificar archivo de foto original"
-
-#: src/Dialogs.vala:1726
-msgid "_Modify original photo files"
-msgstr ":Modificar archivos de fotos originales"
-
-#: src/Dialogs.vala:1729
-msgid "_Modify original file"
-msgstr "_Modificar archivos originales"
-
-#: src/Dialogs.vala:1729
-msgid "_Modify original files"
-msgstr "_Modificar archivos originales"
-
-#: src/Dialogs.vala:1815
-msgid "Original: "
-msgstr "Original:"
-
-#: src/Dialogs.vala:1816
-msgid "%m/%d/%Y, %H:%M:%S"
-msgstr "%d/%m/%Y, %H:%M:%S"
-
-#: src/Dialogs.vala:1817
-msgid "%m/%d/%Y, %I:%M:%S %p"
-msgstr "%d/%m/%Y, %H:%M:%S %p"
-
-#: src/Dialogs.vala:1906
-#, c-format
-msgid ""
-"Exposure time will be shifted forward by\n"
-"%d %s, %d %s, %d %s, and %d %s."
-msgstr ""
-"El tiempo de exposición se adelantará por\n"
-"%d %s, %d %s, %d %s, y %d %s."
-
-#: src/Dialogs.vala:1907
-#, c-format
-msgid ""
-"Exposure time will be shifted backward by\n"
-"%d %s, %d %s, %d %s, and %d %s."
-msgstr ""
-"El tiempo de exposición se atrasará por\n"
-"%d %s, %d %s, %d %s, y %d %s."
-
-#: src/Dialogs.vala:1909
-msgid "day"
-msgid_plural "days"
-msgstr[0] "día"
-msgstr[1] "días"
-
-#: src/Dialogs.vala:1910
-msgid "hour"
-msgid_plural "hours"
-msgstr[0] "hora"
-msgstr[1] "horas"
-
-#: src/Dialogs.vala:1911
-msgid "minute"
-msgid_plural "minutes"
-msgstr[0] "minuto"
-msgstr[1] "minutos"
-
-#: src/Dialogs.vala:1912
-msgid "second"
-msgid_plural "seconds"
-msgstr[0] "segundo"
-msgstr[1] "segundos"
-
-#: src/Dialogs.vala:1956
-#, c-format
-msgid ""
-"\n"
-"\n"
-"And %d other."
-msgid_plural ""
-"\n"
-"\n"
-"And %d others."
-msgstr[0] ""
-"\n"
-"\n"
-"Y %d más."
-msgstr[1] ""
-"\n"
-"\n"
-"Y %d más."
-
-#: src/Dialogs.vala:1980 src/Dialogs.vala:2007
-msgid "Tags (separated by commas):"
-msgstr "Etiquetas (separadas por comas):"
-
-#: src/Dialogs.vala:2087
-msgid "Welcome!"
-msgstr "Bienvenido/a"
-
-#: src/Dialogs.vala:2094
-msgid "Welcome to Shotwell!"
-msgstr "Bienvenido/a a Shotwell."
-
-#: src/Dialogs.vala:2098
-msgid "To get started, import photos in any of these ways:"
-msgstr "Para comenzar, importe fotos de cualquiera de las siguientes formas:"
-
-#: src/Dialogs.vala:2117
-#, c-format
-msgid "Choose File %s Import From Folder "
-msgstr "Elija Archivo %s Importar desde carpeta "
-
-#: src/Dialogs.vala:2118
-msgid "Drag and drop photos onto the Shotwell window"
-msgstr "Arrastre y suelte fotos en la ventana de Shotwell"
-
-#: src/Dialogs.vala:2119
-msgid "Connect a camera to your computer and import"
-msgstr "Conecte una cámara al equipo e importe"
-
-#: src/Dialogs.vala:2129
-#, c-format
-msgid "_Import photos from your %s folder"
-msgstr "_Importar fotos desde su carpeta %s"
-
-#: src/Dialogs.vala:2136
-msgid "You can also import photos in any of these ways:"
-msgstr "También puede importar fotos en cualquiera de estas formas:"
-
-#: src/Dialogs.vala:2146
-msgid "_Don't show this message again"
-msgstr "_No mostrar este mensaje de nuevo"
-
-#: src/Dialogs.vala:2181
-#, c-format
-msgid "Import photos from your %s library"
-msgstr "Importar fotos desde su colección %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:2328 src/Dialogs.vala:2332
-msgid "(Help)"
-msgstr "(Ayuda)"
-
-#: src/Dialogs.vala:2341
-#, c-format
-msgid "Year%sMonth%sDay"
-msgstr "Año%sMes%sDía"
-
-#: src/Dialogs.vala:2343
-#, c-format
-msgid "Year%sMonth"
-msgstr "Año%sMes"
-
-#: src/Dialogs.vala:2345
-#, c-format
-msgid "Year%sMonth-Day"
-msgstr "Año%sMes-Día"
-
-#: src/Dialogs.vala:2347
-msgid "Year-Month-Day"
-msgstr "Año-Mes-Día"
-
-#: src/Dialogs.vala:2348 src/editing_tools/EditingTools.vala:781
-msgid "Custom"
-msgstr "Personalizado"
-
-#. Invalid pattern.
-#: src/Dialogs.vala:2585
-msgid "Invalid pattern"
-msgstr "Patrón no válido"
-
-#. 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:2687
-msgid ""
-"Shotwell can copy the photos into your library folder or it can import them "
-"without copying."
-msgstr ""
-"Shotwell puede copiar las fotos en su colección o puede importarlas sin "
-"copiarlas."
-
-#: src/Dialogs.vala:2692
-msgid "Co_py Photos"
-msgstr "C_opiar fotos"
-
-#: src/Dialogs.vala:2693
-msgid "_Import in Place"
-msgstr "_Importar en el lugar"
-
-#: src/Dialogs.vala:2694
-msgid "Import to Library"
-msgstr "Importar a la colección"
-
-#: src/Dialogs.vala:2704 src/PhotoPage.vala:3085
-msgid "Remove From Library"
-msgstr "Quitar de la colección"
-
-#: src/Dialogs.vala:2705 src/PhotoPage.vala:3085
-msgid "Removing Photo From Library"
-msgstr "Quitando la foto de la colección"
-
-#: src/Dialogs.vala:2705
-msgid "Removing Photos From Library"
-msgstr "Quitando fotos de la colección"
-
-#: src/Dialogs.vala:2719
-#, c-format
-msgid ""
-"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"
-"\n"
-"This action cannot be undone."
-msgstr[0] ""
-"Esto quitará la foto y/o el vídeo de su colección de Shotwell. ¿Le gustaría "
-"mover el archivo a la papelera del escritorio?\n"
-"\n"
-"Esta acción no se puede deshacer."
-msgstr[1] ""
-"Esto quitará %d fotos y/o vídeos de su colección de Shotwell. ¿Le gustaría "
-"mover los archivos a la papelera del escritorio?\n"
-"\n"
-"Esta acción no se puede deshacer."
-
-#: src/Dialogs.vala:2723
-#, c-format
-msgid ""
-"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 "
-"to move the files to your desktop trash?\n"
-"\n"
-"This action cannot be undone."
-msgstr[0] ""
-"Esto quitará el vídeo de su colección de Shotwell. ¿Le gustaría mover el "
-"archivo a la papelera del escritorio?\n"
-"\n"
-"Esta acción no se puede deshacer."
-msgstr[1] ""
-"Esto quitará los %d vídeos de su colección de Shotwell. ¿Le gustaría mover "
-"los archivos a la papelera del escritorio?\n"
-"\n"
-"Esta acción no se puede deshacer."
-
-#: src/Dialogs.vala:2727
-#, c-format
-msgid ""
-"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 "
-"to move the files to your desktop trash?\n"
-"\n"
-"This action cannot be undone."
-msgstr[0] ""
-"Esto quitará la foto de su colección de Shotwell. ¿Le gustaría mover el "
-"archivo a la papelera del escritorio?\n"
-"\n"
-"Esta acción no se puede deshacer."
-msgstr[1] ""
-"Esto quitará %d fotos de su colección de Shotwell. ¿Le gustaría mover los "
-"archivos a la papelera del escritorio?\n"
-"\n"
-"Esta acción no se puede deshacer."
-
-#: src/Dialogs.vala:2759
-#, 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] ""
-"No se puede mover la foto o el vídeo a la papelera de su escritorio. "
-"¿Eliminar este archivo?"
-msgstr[1] ""
-"No se pueden mover las %d fotos o vídeos a la papelera de su escritorio. "
-"¿Eliminar estos archivos?"
-
-#. Alert the user that the files were not removed.
-#: src/Dialogs.vala:2776
-#, c-format
-msgid "The photo or video cannot be deleted."
-msgid_plural "%d photos/videos cannot be deleted."
-msgstr[0] "No se puede eliminar la foto o el vídeo."
-msgstr[1] "No se pueden eliminar las %d fotos o vídeos."
-
-#: src/Dimensions.vala:23
-msgid "Width"
-msgstr "Anchura"
-
-#: src/Dimensions.vala:26
-msgid "Height"
-msgstr "Altura"
-
-#: src/direct/DirectPhotoPage.vala:46 src/library/LibraryWindow.vala:335
-msgid "_File"
-msgstr "_Archivo"
-
-#: src/direct/DirectPhotoPage.vala:51 src/direct/DirectPhotoPage.vala:432
-#: src/Resources.vala:175
-msgid "_Save"
-msgstr "_Guardar"
-
-#: src/direct/DirectPhotoPage.vala:52
-msgid "Save photo"
-msgstr "Guardar la foto"
-
-#: src/direct/DirectPhotoPage.vala:57
-#| msgid "Save _As"
-msgid "Save _As…"
-msgstr "Guardar _como…"
-
-#: src/direct/DirectPhotoPage.vala:58
-msgid "Save photo with a different name"
-msgstr "Guardar la foto con un nombre diferente"
-
-#: src/direct/DirectPhotoPage.vala:69
-msgid "Print the photo to a printer connected to your computer"
-msgstr "Imprimir la foto en una impresora conectada a su equipo"
-
-#: src/direct/DirectPhotoPage.vala:73 src/library/LibraryWindow.vala:339
-#: src/Resources.vala:159
-msgid "_Edit"
-msgstr "_Editar"
-
-#: 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 "_Herramientas"
-
-#: src/direct/DirectPhotoPage.vala:86 src/PhotoPage.vala:2421
-msgid "_Previous Photo"
-msgstr "Foto _anterior"
-
-#: src/direct/DirectPhotoPage.vala:87 src/PhotoPage.vala:2422
-msgid "Previous Photo"
-msgstr "Foto anterior"
-
-#: src/direct/DirectPhotoPage.vala:92 src/PhotoPage.vala:2427
-msgid "_Next Photo"
-msgstr "_Siguiente foto"
-
-#: src/direct/DirectPhotoPage.vala:93 src/PhotoPage.vala:2428
-msgid "Next Photo"
-msgstr "Siguiente foto"
-
-#: src/direct/DirectPhotoPage.vala:165 src/library/LibraryWindow.vala:343
-#: src/PhotoPage.vala:2412
-msgid "_View"
-msgstr "_Ver"
-
-#: src/direct/DirectPhotoPage.vala:169 src/library/LibraryWindow.vala:363
-#: src/Resources.vala:162
-msgid "_Help"
-msgstr "Ay_uda"
-
-#: src/direct/DirectPhotoPage.vala:174 src/MediaPage.vala:340
-#: src/PhotoPage.vala:2591 src/Resources.vala:183
-msgid "Zoom _In"
-msgstr "_Ampliar"
-
-#: src/direct/DirectPhotoPage.vala:175 src/PhotoPage.vala:2592
-msgid "Increase the magnification of the photo"
-msgstr "Aumentar la ampliación de la foto"
-
-#: src/direct/DirectPhotoPage.vala:180 src/MediaPage.vala:346
-#: src/PhotoPage.vala:2597 src/Resources.vala:184
-msgid "Zoom _Out"
-msgstr "Re_ducir"
-
-#: src/direct/DirectPhotoPage.vala:181 src/PhotoPage.vala:2598
-msgid "Decrease the magnification of the photo"
-msgstr "Reducir la ampliación de la foto"
-
-#: src/direct/DirectPhotoPage.vala:186 src/PhotoPage.vala:2603
-msgid "Fit to _Page"
-msgstr "Aj_ustar a la página"
-
-#: src/direct/DirectPhotoPage.vala:187 src/PhotoPage.vala:2604
-msgid "Zoom the photo to fit on the screen"
-msgstr "Aumentar la foto hasta ajustar a la pantalla"
-
-#: src/direct/DirectPhotoPage.vala:193 src/PhotoPage.vala:2610
-#, no-c-format
-msgid "Zoom _100%"
-msgstr "Ampliar al _100%"
-
-#: src/direct/DirectPhotoPage.vala:195 src/PhotoPage.vala:2612
-#, no-c-format
-msgid "Zoom the photo to 100% magnification"
-msgstr "Ampliar la foto al 100%"
-
-#: src/direct/DirectPhotoPage.vala:201 src/PhotoPage.vala:2618
-#, no-c-format
-msgid "Zoom _200%"
-msgstr "Ampliar al _200%"
-
-#: src/direct/DirectPhotoPage.vala:203 src/PhotoPage.vala:2620
-#, no-c-format
-msgid "Zoom the photo to 200% magnification"
-msgstr "Ampliar la foto al 200%"
-
-#: src/direct/DirectPhotoPage.vala:227
-#, c-format
-msgid "%s does not exist."
-msgstr "%s no existe."
-
-#: src/direct/DirectPhotoPage.vala:229
-#, c-format
-msgid "%s is not a file."
-msgstr "%s no es un archivo."
-
-#: src/direct/DirectPhotoPage.vala:231
-#, c-format
-msgid ""
-"%s does not support the file format of\n"
-"%s."
-msgstr ""
-"%s no es compatible con el formato de archivo de\n"
-"%s."
-
-#: src/direct/DirectPhotoPage.vala:248
-#, c-format
-msgid "Unable open photo %s. Sorry."
-msgstr "No se puede abrir la foto %s."
-
-#: src/direct/DirectPhotoPage.vala:432
-msgid "_Save a Copy"
-msgstr "_Guardar una copia"
-
-#: src/direct/DirectPhotoPage.vala:435
-#, c-format
-msgid "Lose changes to %s?"
-msgstr "¿Quiere descartar los cambios a %s?"
-
-#: src/direct/DirectPhotoPage.vala:436
-msgid "Close _without Saving"
-msgstr "Cerrar _sin guardar"
-
-#: src/direct/DirectPhotoPage.vala:469
-#, c-format
-msgid "Error while saving to %s: %s"
-msgstr "Error al guardar en %s: %s"
-
-#: src/direct/DirectPhotoPage.vala:497 src/direct/DirectPhotoPage.vala:518
-msgid "Save As"
-msgstr "Guardar como"
-
-#. verify this is a directory
-#: src/DirectoryMonitor.vala:889
-#, c-format
-msgid "Unable to monitor %s: Not a directory (%s)"
-msgstr "No se puede monitorizar %s: No es un directorio (%s)"
-
-#: src/editing_tools/EditingTools.vala:665
-msgid "Return to current photo dimensions"
-msgstr "Volver a las dimensiones actuales de la foto"
-
-#: src/editing_tools/EditingTools.vala:668
-msgid "Set the crop for this photo"
-msgstr "Establecer el corte para esta foto"
-
-#: src/editing_tools/EditingTools.vala:680
-msgid "Pivot the crop rectangle between portrait and landscape orientations"
-msgstr ""
-"Girar el rectángulo de corte entre las orientaciones vertical y horizontal"
-
-#: src/editing_tools/EditingTools.vala:753
-msgid "Unconstrained"
-msgstr "Sin restricciones"
-
-#: src/editing_tools/EditingTools.vala:754
-msgid "Square"
-msgstr "Cuadrado"
-
-#: src/editing_tools/EditingTools.vala:755
-msgid "Screen"
-msgstr "Pantalla"
-
-#: 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 "Vídeo SD (4:3)"
-
-#: src/editing_tools/EditingTools.vala:759
-msgid "HD Video (16 : 9)"
-msgstr "Vídeo HD (16:9)"
-
-#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818
-msgid "Wallet (2 x 3 in.)"
-msgstr "Cartera (2 × 3 pulg.)"
-
-#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821
-msgid "Notecard (3 x 5 in.)"
-msgstr "Tarjeta de notas (3 × 5 pulg.)"
-
-#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824
-msgid "4 x 6 in."
-msgstr "4 × 6 pulg."
-
-#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827
-msgid "5 x 7 in."
-msgstr "5 × 7 pulg."
-
-#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830
-msgid "8 x 10 in."
-msgstr "8 × 10 pulg."
-
-#: src/editing_tools/EditingTools.vala:766
-msgid "Letter (8.5 x 11 in.)"
-msgstr "Carta (8.5 × 11 pulg.)"
-
-#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833
-msgid "11 x 14 in."
-msgstr "11 × 14 pulg."
-
-#: src/editing_tools/EditingTools.vala:768
-msgid "Tabloid (11 x 17 in.)"
-msgstr "Tabloide (11 × 17 pulg.)"
-
-#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836
-msgid "16 x 20 in."
-msgstr "16 × 20 pulg."
-
-#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842
-msgid "Metric Wallet (9 x 13 cm)"
-msgstr "Cartera métrica (9 × 13 cm)"
-
-#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845
-msgid "Postcard (10 x 15 cm)"
-msgstr "Tarjeta postal (10 × 15 cm)"
-
-#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848
-msgid "13 x 18 cm"
-msgstr "13 × 18 cm"
-
-#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851
-msgid "18 x 24 cm"
-msgstr "18 × 24 cm"
-
-#: src/editing_tools/EditingTools.vala:775
-msgid "A4 (210 x 297 mm)"
-msgstr "A4 (210 × 297 mm)"
-
-#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854
-msgid "20 x 30 cm"
-msgstr "20 × 30 cm"
-
-#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857
-msgid "24 x 40 cm"
-msgstr "24 × 40 cm"
-
-#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860
-msgid "30 x 40 cm"
-msgstr "30 × 40 cm"
-
-#: src/editing_tools/EditingTools.vala:779
-msgid "A3 (297 x 420 mm)"
-msgstr "A3 (297 × 420 mm)"
-
-#: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395
-msgid "Size:"
-msgstr "Tamaño:"
-
-#: src/editing_tools/EditingTools.vala:1887
-msgid "Close the red-eye tool"
-msgstr "Cerrar la herramienta de ojos rojos"
-
-#: src/editing_tools/EditingTools.vala:1890
-msgid "Remove any red-eye effects in the selected region"
-msgstr "Quitar cualquier efecto de ojos rojos en la región seleccionada"
-
-#: src/editing_tools/EditingTools.vala:2229
-#: src/editing_tools/StraightenTool.vala:102
-msgid "_Reset"
-msgstr "_Restablecer"
-
-#. 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
-msgid "Exposure:"
-msgstr "Exposición:"
-
-#: src/editing_tools/EditingTools.vala:2251
-msgid "Contrast:"
-msgstr "Contraste:"
-
-#: src/editing_tools/EditingTools.vala:2259
-msgid "Saturation:"
-msgstr "Saturación:"
-
-#: src/editing_tools/EditingTools.vala:2267
-msgid "Tint:"
-msgstr "Matiz:"
-
-#: src/editing_tools/EditingTools.vala:2276
-msgid "Temperature:"
-msgstr "Temperatura:"
-
-#: src/editing_tools/EditingTools.vala:2284
-msgid "Shadows:"
-msgstr "Sombras:"
-
-#: src/editing_tools/EditingTools.vala:2292
-msgid "Highlights:"
-msgstr "Resaltadas:"
-
-#: src/editing_tools/EditingTools.vala:2346
-msgid "Reset Colors"
-msgstr "Restablecer colores"
-
-#: src/editing_tools/EditingTools.vala:2346
-msgid "Reset all color adjustments to original"
-msgstr "Restablecer todos los ajustes de color al original"
-
-#: src/editing_tools/EditingTools.vala:2705
-msgid "Temperature"
-msgstr "Temperatura"
-
-#: src/editing_tools/EditingTools.vala:2717
-msgid "Tint"
-msgstr "Matiz"
-
-#: src/editing_tools/EditingTools.vala:2729
-#| msgid "Contrast Expansion"
-msgid "Contrast"
-msgstr "Contraste"
-
-#: src/editing_tools/EditingTools.vala:2743
-msgid "Saturation"
-msgstr "Saturación"
-
-#: src/editing_tools/EditingTools.vala:2756
-msgid "Exposure"
-msgstr "Exposición"
-
-#: src/editing_tools/EditingTools.vala:2769
-msgid "Shadows"
-msgstr "Sombras"
-
-#: src/editing_tools/EditingTools.vala:2782
-msgid "Highlights"
-msgstr "Resaltadas"
-
-#: src/editing_tools/EditingTools.vala:2792
-msgid "Contrast Expansion"
-msgstr "Expansión de contraste"
-
-#: src/editing_tools/StraightenTool.vala:99
-msgid "Angle:"
-msgstr "Ángulo:"
-
-#: src/editing_tools/StraightenTool.vala:100 src/Resources.vala:202
-msgid "_Straighten"
-msgstr "_Enderezar"
-
-#: src/events/Branch.vala:25
-msgid "Events"
-msgstr "Eventos"
-
-#: src/events/EventDirectoryItem.vala:83
-#, c-format
-msgid "%d Photo/Video"
-msgid_plural "%d Photos/Videos"
-msgstr[0] "%d foto/vídeo"
-msgstr[1] "%d fotos/vídeos"
-
-#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:355
-#, c-format
-msgid "%d Video"
-msgid_plural "%d Videos"
-msgstr[0] "%d vídeo"
-msgstr[1] "%d vídeos"
-
-#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:353
-#, c-format
-msgid "%d Photo"
-msgid_plural "%d Photos"
-msgstr[0] "%d foto"
-msgstr[1] "%d fotos"
-
-#: src/events/EventPage.vala:129
-msgid "No Event"
-msgstr "No hay eventos"
-
-#: src/events/EventsDirectoryPage.vala:130 src/MediaPage.vala:457
-msgid "_Comments"
-msgstr "_Comentarios"
-
-#: src/events/EventsDirectoryPage.vala:131
-msgid "Display the comment of each event"
-msgstr "Mostrar el comentario de cada evento"
-
-#: src/events/EventsDirectoryPage.vala:155
-msgid "No events"
-msgstr "No hay eventos"
-
-#: src/events/EventsDirectoryPage.vala:159
-msgid "No events found"
-msgstr "No se encontraron eventos"
-
-#: src/events/EventsDirectoryPage.vala:230
-msgid "All Events"
-msgstr "Todos los eventos"
-
-#: src/events/EventsDirectoryPage.vala:244
-msgid "Undated"
-msgstr "Sin fecha"
-
-#: src/events/EventsDirectoryPage.vala:245
-msgid "%Y"
-msgstr "%Y"
-
-#: src/events/EventsDirectoryPage.vala:246
-msgid "%B"
-msgstr "%B"
-
-#. if no name, pretty up the start time
-#: src/Event.vala:753
-#, c-format
-msgid "Event %s"
-msgstr "Evento %s"
-
-#: src/Exporter.vala:232
-#, c-format
-msgid "Unable to generate a temporary file for %s: %s"
-msgstr "No se puede crear el directorio temporal %s: %s"
-
-#: src/Exporter.vala:299
-msgid "Exporting"
-msgstr "Exportando"
-
-#: src/Exporter.vala:317
-#, c-format
-msgid "File %s already exists. Replace?"
-msgstr "El archivo %s ya existe. ¿Quiere reemplazarlo?"
-
-#: src/Exporter.vala:319
-msgid "_Skip"
-msgstr "_Omitir"
-
-#: src/Exporter.vala:319
-msgid "_Replace"
-msgstr "_Reemplazar"
-
-#: src/Exporter.vala:319
-msgid "Replace _All"
-msgstr "Reempla_zar todo"
-
-#: src/Exporter.vala:319
-msgid "Export"
-msgstr "Exportar"
-
-#: src/folders/Branch.vala:141
-msgid "Folders"
-msgstr "Carpetas"
-
-#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:1191
-msgid "Library"
-msgstr "Colección"
-
-#: src/library/Branch.vala:97 src/SearchFilter.vala:608
-#: src/SearchFilter.vala:609
-msgid "Photos"
-msgstr "Fotos"
-
-#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:602
-#: src/SearchFilter.vala:603 src/SearchFilter.vala:1188
-msgid "Flagged"
-msgstr "Marcada"
-
-#: src/library/ImportQueuePage.vala:8
-#| msgid "Importing"
-msgid "Importing…"
-msgstr "Importando…"
-
-#: src/library/ImportQueuePage.vala:67
-msgid "_Stop Import"
-msgstr "_Detener importación"
-
-#: src/library/ImportQueuePage.vala:68
-msgid "Stop importing photos"
-msgstr "Detener la importación de fotos"
-
-#: src/library/ImportQueuePage.vala:124
-#| msgid "Preparing to import"
-msgid "Preparing to import…"
-msgstr "Preparando para importar…"
-
-#: src/library/ImportQueuePage.vala:151
-#, c-format
-msgid "Imported %s"
-msgstr "Importada %s"
-
-#: src/library/LastImportPage.vala:8
-msgid "Last Import"
-msgstr "Última importación"
-
-#: src/library/LibraryWindow.vala:285
-#| msgid "Import From Folder"
-msgid "_Import From Folder…"
-msgstr "_Importar desde carpeta…"
-
-#: src/library/LibraryWindow.vala:286
-msgid "Import photos from disk to library"
-msgstr "Importar fotos desde el disco a la colección"
-
-#: src/library/LibraryWindow.vala:293
-#| msgid "Import From Application"
-msgid "Import From _Application…"
-msgstr "Importar desde _aplicación…"
-
-#: src/library/LibraryWindow.vala:297
-msgid "Sort _Events"
-msgstr "Ordenar _eventos"
-
-#: src/library/LibraryWindow.vala:307
-msgid "Empty T_rash"
-msgstr "Vaciar la papele_ra"
-
-#: src/library/LibraryWindow.vala:308
-msgid "Delete all photos in the trash"
-msgstr "Eliminar todas las fotos en la papelera"
-
-#: src/library/LibraryWindow.vala:313
-msgid "View Eve_nt for Photo"
-msgstr "Ver eve_nto para la foto"
-
-#: src/library/LibraryWindow.vala:317
-msgid "_Find"
-msgstr "_Buscar"
-
-#: src/library/LibraryWindow.vala:318
-msgid "Find photos and videos by search criteria"
-msgstr "Buscar fotos y vídeos por criterio de búsqueda"
-
-#: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77
-#: src/sidebar/Tree.vala:199
-#| msgid "Ne_w Saved Search..."
-msgid "Ne_w Saved Search…"
-msgstr "_Búsqueda guardada nueva…"
-
-#: src/library/LibraryWindow.vala:351
-msgid "_Photos"
-msgstr "_Fotos"
-
-#: src/library/LibraryWindow.vala:355
-msgid "Even_ts"
-msgstr "Even_tos"
-
-#: src/library/LibraryWindow.vala:359 src/MediaPage.vala:469
-msgid "Ta_gs"
-msgstr "_Etiquetas"
-
-#: src/library/LibraryWindow.vala:374
-msgid "_Basic Information"
-msgstr "Información _básica"
-
-#: src/library/LibraryWindow.vala:375
-msgid "Display basic information for the selection"
-msgstr "Mostrar la información básica para la selección"
-
-#: src/library/LibraryWindow.vala:380
-msgid "E_xtended Information"
-msgstr "Información e_xtendida"
-
-#: src/library/LibraryWindow.vala:381
-msgid "Display extended information for the selection"
-msgstr "Mostrar la información extendida para la selección"
-
-#: src/library/LibraryWindow.vala:386
-msgid "_Search Bar"
-msgstr "_Barra de búsqueda"
-
-#: src/library/LibraryWindow.vala:387
-msgid "Display the search bar"
-msgstr "Mostrar la barra de búsqueda"
-
-#: src/library/LibraryWindow.vala:392
-msgid "S_idebar"
-msgstr "_Barra lateral"
-
-#: src/library/LibraryWindow.vala:393
-msgid "Display the sidebar"
-msgstr "Mostrar la barra lateral"
-
-#: src/library/LibraryWindow.vala:398
-#| msgid "Pin Toolbar"
-msgid "T_oolbar"
-msgstr "B_arra de herramientas"
-
-#: src/library/LibraryWindow.vala:399
-#| msgid "Display the sidebar"
-msgid "Display the tool bar"
-msgstr "Mostrar la barra de herramientas"
-
-#: src/library/LibraryWindow.vala:411 src/MediaPage.vala:515
-msgid "_Ascending"
-msgstr "_Ascendente"
-
-#: src/library/LibraryWindow.vala:412 src/MediaPage.vala:516
-msgid "Sort photos in an ascending order"
-msgstr "Ordenar fotos en orden ascendente"
-
-#: src/library/LibraryWindow.vala:418 src/MediaPage.vala:521
-msgid "D_escending"
-msgstr "D_escendente"
-
-#: src/library/LibraryWindow.vala:419 src/MediaPage.vala:522
-msgid "Sort photos in a descending order"
-msgstr "Ordenar fotos en orden descendente"
-
-#: src/library/LibraryWindow.vala:657
-msgid "Import From Folder"
-msgstr "Importar desde carpeta"
-
-#: src/library/LibraryWindow.vala:726
-msgid "Empty Trash"
-msgstr "Vaciar la papelera"
-
-#: src/library/LibraryWindow.vala:726
-#| msgid "Emptying Trash..."
-msgid "Emptying Trash…"
-msgstr "Vaciando la papelera…"
-
-#: src/library/LibraryWindow.vala:901
-#, c-format
-msgid ""
-"Shotwell is configured to import photos to your home directory.\n"
-"We recommend changing this in Edit %s Preferences"
-"span>.\n"
-"Do you want to continue importing photos?"
-msgstr ""
-"Shotwell esta´configurado para importar fotos a su carpeta personal.\n"
-"Se recomienda cambiar esto en Editar %s Preferencias"
-"span>.\n"
-"¿Quiere seguir importando fotos?"
-
-#: src/library/LibraryWindow.vala:904 ui/shotwell.ui:784
-msgid "Library Location"
-msgstr "Ubicación de la colección"
-
-#. TODO: Specify which directory/file.
-#: src/library/LibraryWindow.vala:917
-msgid "Photos cannot be imported from this directory."
-msgstr "Las fotos no pueden importarse desde esta carpeta."
-
-#: src/library/LibraryWindow.vala:1203
-#, c-format
-msgid "%s (%d%%)"
-msgstr "%s (%d%%)"
-
-#: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258
-#| msgid "Updating library..."
-msgid "Updating library…"
-msgstr "Actualizando la colección…"
-
-#: src/library/LibraryWindow.vala:1264
-#| msgid "Preparing to auto-import photos..."
-msgid "Preparing to auto-import photos…"
-msgstr "Preparando para importar fotos automáticamente…"
-
-#: src/library/LibraryWindow.vala:1269
-#| msgid "Auto-importing photos..."
-msgid "Auto-importing photos…"
-msgstr "Importando fotos automáticamente…"
-
-#: src/library/LibraryWindow.vala:1277
-#| msgid "Writing metadata to files..."
-msgid "Writing metadata to files…"
-msgstr "Escribiendo metadatos en los archivos…"
-
-#: src/library/OfflinePage.vala:8
-msgid "Missing Files"
-msgstr "Archivos faltantes"
-
-#: src/library/OfflinePage.vala:106
-#| msgid "Deleting..."
-msgid "Deleting…"
-msgstr "Eliminando…"
-
-#: src/library/TrashPage.vala:8
-msgid "Trash"
-msgstr "Papelera"
-
-#: src/library/TrashPage.vala:108
-msgid "Trash is empty"
-msgstr "La papelera está vacía"
-
-#: src/library/TrashPage.vala:112
-msgid "Delete"
-msgstr "Eliminar"
-
-#: src/library/TrashPage.vala:113
-msgid "Deleting Photos"
-msgstr "Eliminando fotos"
-
-#: 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 ""
-"Su colección de fotos no es compatible con esta versión de Shotwell. Parece "
-"que fue creada por Shotwell %s (esquema %d). Esta versión es %s (esquema "
-"%d). Use la versión más reciente de 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 no pudo actualizar su colección de fotos desde la versión %s "
-"(esquema %d) a la %s (esquema %d). Para obtener más información , consulte "
-"el wiki de Shotwell en %s"
-
-#: 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 ""
-"Su colección de fotos no es compatible con esta versión de Shotwell. Parece "
-"que fue creada por Shotwell %s (esquema %d). Esta versión es %s (esquema "
-"%d). Vacíe la colección mediante la eliminación de %s, y vuelva a importar "
-"las fotos."
-
-#: src/main.vala:71
-#, c-format
-msgid "Unknown error attempting to verify Shotwell's database: %s"
-msgstr ""
-"Error desconocido al intentar verificar la base de datos de Shotwell: %s"
-
-#: src/main.vala:104
-msgid "Loading Shotwell"
-msgstr "Cargando Shotwell"
-
-#: src/main.vala:294
-msgid "Path to Shotwell's private data"
-msgstr "Ruta a los datos privados de Shotwell"
-
-#: src/main.vala:294
-msgid "DIRECTORY"
-msgstr "DIRECTORIO"
-
-#: src/main.vala:298
-msgid "Do not monitor library directory at runtime for changes"
-msgstr ""
-"No monitorear el directorio de la colección en tiempo de ejecución para "
-"buscar cambios"
-
-#: src/main.vala:302
-msgid "Don't display startup progress meter"
-msgstr "No mostrar medidor de progreso de inicio"
-
-#: src/main.vala:306
-msgid "Show the application's version"
-msgstr "Mostrar la versión de la aplicación"
-
-#. init GTK (valac has already called g_threads_init())
-#: src/main.vala:338
-msgid "[FILE]"
-msgstr "[ARCHIVO]"
-
-#: src/main.vala:342
-#, c-format
-msgid "Run '%s --help' to see a full list of available command line options.\n"
-msgstr ""
-"Ejecute «%s --help» para ver una lista completa de opciones de línea de "
-"órdenes.\n"
-
-#: src/MediaMonitor.vala:400
-#, c-format
-msgid "Unable to process monitoring updates: %s"
-msgstr "No se pueden procesar las actualizaciones de la monitorización %s"
-
-#: src/MediaPage.vala:158
-msgid "Adjust the size of the thumbnails"
-msgstr "Ajustar el tamaño de las miniaturas"
-
-#: src/MediaPage.vala:341
-msgid "Increase the magnification of the thumbnails"
-msgstr "Aumentar la ampliación de las miniaturas"
-
-#: src/MediaPage.vala:347
-msgid "Decrease the magnification of the thumbnails"
-msgstr "Disminuir la ampliación de las miniaturas"
-
-#: src/MediaPage.vala:414
-msgid "Sort _Photos"
-msgstr "Ordenar _fotos"
-
-#: src/MediaPage.vala:423
-msgid "_Play Video"
-msgstr "_Reproducir vídeo"
-
-#: src/MediaPage.vala:424
-msgid "Open the selected videos in the system video player"
-msgstr "Abrir los vídeos seleccionados en el reproductor de vídeos del sistema"
-
-#: src/MediaPage.vala:428 src/PhotoPage.vala:2640
-msgid "_Developer"
-msgstr "_Revelador"
-
-#: src/MediaPage.vala:458
-msgid "Display the comment of each photo"
-msgstr "Mostrar el comentario de cada foto"
-
-#: src/MediaPage.vala:470
-msgid "Display each photo's tags"
-msgstr "Mostrar la etiqueta de cada foto"
-
-#: src/MediaPage.vala:486
-msgid "By _Title"
-msgstr "Por _título"
-
-#: src/MediaPage.vala:487
-msgid "Sort photos by title"
-msgstr "Ordenar las fotos por título"
-
-#: src/MediaPage.vala:492
-msgid "By Exposure _Date"
-msgstr "Por fecha de exposición"
-
-#: src/MediaPage.vala:493
-msgid "Sort photos by exposure date"
-msgstr "Ordenar fotos por fecha de exposición"
-
-#: src/MediaPage.vala:498
-msgid "By _Rating"
-msgstr "Por p_untuación"
-
-#: src/MediaPage.vala:499
-msgid "Sort photos by rating"
-msgstr "Ordenar fotos por puntuación"
-
-#: src/MediaPage.vala:504
-msgid "By _Filename"
-msgstr "Por _nombre del archivo"
-
-#: src/MediaPage.vala:505
-msgid "Sort photos by filename"
-msgstr "Ordenar fotos por nombre"
-
-#: src/MediaPage.vala:723
-#, c-format
-msgid ""
-"Shotwell was unable to play the selected video:\n"
-"%s"
-msgstr ""
-"Shotwell no pudo reproducir el vídeo seleccionado:\n"
-"%s"
-
-#: src/Page.vala:1266
-msgid "No photos/videos"
-msgstr "No hay fotos/vídeos"
-
-#: src/Page.vala:1270
-msgid "No photos/videos found which match the current filter"
-msgstr "No se han encontrado fotos/vídeos que coincidan con el filtro actual"
-
-#: src/Page.vala:2576
-msgid "Photos cannot be exported to this directory."
-msgstr "No se pueden exportar las fotos a este directorio."
-
-#. previous button
-#: src/PhotoPage.vala:533
-msgid "Previous photo"
-msgstr "Foto anterior"
-
-#. next button
-#: src/PhotoPage.vala:539
-msgid "Next photo"
-msgstr "Siguiente foto"
-
-#: src/PhotoPage.vala:1845
-#, c-format
-msgid "Photo source file missing: %s"
-msgstr "Falta el archivo de origen de la foto: %s"
-
-#: src/PhotoPage.vala:3229
-#, c-format
-msgid "Unable to export %s: %s"
-msgstr "No se puede exportar %s: %s"
-
-#: src/photos/BmpSupport.vala:32
-msgid "BMP"
-msgstr "BMP"
-
-#: src/photos/JfifSupport.vala:84
-msgid "JPEG"
-msgstr "JPEG"
-
-#: src/photos/JfifSupport.vala:185
-#, c-format
-msgid "Low (%d%%)"
-msgstr "Baja (%d%%)"
-
-#: src/photos/JfifSupport.vala:188
-#, c-format
-msgid "Medium (%d%%)"
-msgstr "Media (%d%%)"
-
-#: src/photos/JfifSupport.vala:191
-#, c-format
-msgid "High (%d%%)"
-msgstr "Alta (%d%%)"
-
-#: src/photos/JfifSupport.vala:194
-#, c-format
-msgid "Maximum (%d%%)"
-msgstr "Máxima (%d%%)"
-
-#: src/photos/PngSupport.vala:30
-msgid "PNG"
-msgstr "PNG"
-
-#: src/photos/RawSupport.vala:134
-msgid "RAW"
-msgstr "RAW"
-
-#: src/photos/TiffSupport.vala:86
-msgid "TIFF"
-msgstr "TIFF"
-
-#: src/Photo.vala:3753
-msgid "modified"
-msgstr "modificada"
-
-#: src/Printing.vala:255
-msgid "Fill the entire page"
-msgstr "Llenar la página entera"
-
-#: src/Printing.vala:256
-msgid "2 images per page"
-msgstr "2 imágenes por página"
-
-#: src/Printing.vala:257
-msgid "4 images per page"
-msgstr "4 imágenes por página"
-
-#: src/Printing.vala:258
-msgid "6 images per page"
-msgstr "6 imágenes por página"
-
-#: src/Printing.vala:259
-msgid "8 images per page"
-msgstr "8 imágenes por página"
-
-#: src/Printing.vala:260
-msgid "16 images per page"
-msgstr "16 imágenes por página"
-
-#: src/Printing.vala:261
-msgid "32 images per page"
-msgstr "32 imágenes por página"
-
-#: src/Printing.vala:348
-msgid "in."
-msgstr "pulg."
-
-#: src/Printing.vala:349
-msgid "cm"
-msgstr "cm"
-
-#: src/Printing.vala:876
-msgid "Image Settings"
-msgstr "Ajustes de la imagen"
-
-#: src/Printing.vala:889
-#| msgid "Printing..."
-msgid "Printing…"
-msgstr "Imprimiendo…"
-
-#: src/Printing.vala:909 src/Printing.vala:1112
-#, c-format
-msgid ""
-"Unable to print photo:\n"
-"\n"
-"%s"
-msgstr ""
-"No se puede imprimir la foto:\n"
-"\n"
-"%s"
-
-#: src/Properties.vala:84
-msgid "Today"
-msgstr "Hoy"
-
-#: src/Properties.vala:86
-msgid "Yesterday"
-msgstr "Ayer"
-
-#: src/Properties.vala:343
-msgid "Items:"
-msgstr "Elementos:"
-
-#: src/Properties.vala:346
-#, c-format
-msgid "%d Event"
-msgid_plural "%d Events"
-msgstr[0] "%d evento"
-msgstr[1] "%d eventos"
-
-#. display only one date if start and end are the same
-#: src/Properties.vala:377
-msgid "Date:"
-msgstr "Fecha:"
-
-#. display only one time if start and end are the same
-#: src/Properties.vala:381
-msgid "Time:"
-msgstr "Hora:"
-
-#. display time range
-#. display date range
-#: src/Properties.vala:384 src/Properties.vala:389
-msgid "From:"
-msgstr "De:"
-
-#: src/Properties.vala:385 src/Properties.vala:390
-msgid "To:"
-msgstr "A:"
-
-#: src/Properties.vala:404
-msgid "Duration:"
-msgstr "Duración:"
-
-#: src/Properties.vala:404
-#, c-format
-msgid "%.1f seconds"
-msgstr "%.1f segundos"
-
-#: src/Properties.vala:408
-msgid "Developer:"
-msgstr "Revelador:"
-
-#. nothing special to be done for now for Events
-#: src/Properties.vala:583
-msgid "Location:"
-msgstr "Ubicación:"
-
-#: src/Properties.vala:586
-msgid "File size:"
-msgstr "Tamaño del archivo:"
-
-#: src/Properties.vala:590
-msgid "Current Development:"
-msgstr "Desarrollo actual:"
-
-#: src/Properties.vala:592
-msgid "Original dimensions:"
-msgstr "Dimensiones originales:"
-
-#: src/Properties.vala:595
-msgid "Camera make:"
-msgstr "Cámara:"
-
-#: src/Properties.vala:598
-msgid "Camera model:"
-msgstr "Modelo de la cámara:"
-
-#: src/Properties.vala:601
-msgid "Flash:"
-msgstr "Flash:"
-
-#: src/Properties.vala:603
-msgid "Focal length:"
-msgstr "Longitud focal:"
-
-#: src/Properties.vala:606
-msgid "Exposure date:"
-msgstr "Fecha de exposición:"
-
-#: src/Properties.vala:609
-msgid "Exposure time:"
-msgstr "Tiempo de exposición:"
-
-#: src/Properties.vala:612
-msgid "Exposure bias:"
-msgstr "Exposición:"
-
-#: src/Properties.vala:614
-msgid "GPS latitude:"
-msgstr "Latitud GPS:"
-
-#: src/Properties.vala:617
-msgid "GPS longitude:"
-msgstr "Longitud GPS:"
-
-#: src/Properties.vala:620
-msgid "Artist:"
-msgstr "Artista:"
-
-#: src/Properties.vala:622
-msgid "Copyright:"
-msgstr "Copyright:"
-
-#: src/Properties.vala:624
-msgid "Software:"
-msgstr "Software:"
-
-#: src/Properties.vala:641
-msgid "Extended Information"
-msgstr "Información extendida"
-
-#: src/publishing/PublishingPluginHost.vala:11
-msgid "Preparing for upload"
-msgstr "Preparando para subir"
-
-#: src/publishing/PublishingPluginHost.vala:12
-#, c-format
-msgid "Uploading %d of %d"
-msgstr "Subiendo %d de %d"
-
-#: src/publishing/PublishingPluginHost.vala:81
-#, c-format
-msgid "Publishing to %s can't continue because an error occurred:"
-msgstr "No se puede continuar la publicación en %s porque ocurrió un error:"
-
-#: src/publishing/PublishingPluginHost.vala:84
-msgid "To try publishing to another service, select one from the above menu."
-msgstr ""
-"Para intentar publicar en otro servicio, seleccione uno en el menú de arriba."
-
-#: src/publishing/PublishingUI.vala:105
-msgid "The selected photos/videos were successfully published."
-msgstr "Las fotos/vídeos seleccionados se publicaron correctamente."
-
-#: src/publishing/PublishingUI.vala:107
-msgid "The selected videos were successfully published."
-msgstr "Las fotos seleccionadas se publicaron correctamente."
-
-#: src/publishing/PublishingUI.vala:109
-msgid "The selected photos were successfully published."
-msgstr "Las fotos seleccionadas se publicaron correctamente."
-
-#: src/publishing/PublishingUI.vala:112
-msgid "The selected video was successfully published."
-msgstr "El vídeo seleccionado se publicó correctamente."
-
-#: src/publishing/PublishingUI.vala:114
-msgid "The selected photo was successfully published."
-msgstr "La foto seleccionada se publicó correctamente."
-
-#: src/publishing/PublishingUI.vala:122
-#| msgid "Fetching account information..."
-msgid "Fetching account information…"
-msgstr "Obteniendo información de la cuenta…"
-
-#: src/publishing/PublishingUI.vala:128
-#| msgid "Logging in..."
-msgid "Logging in…"
-msgstr "Iniciando sesión…"
-
-#: src/publishing/PublishingUI.vala:188
-msgid "Publish Photos"
-msgstr "Publicar fotos"
-
-#: src/publishing/PublishingUI.vala:189
-msgid "Publish photos _to:"
-msgstr "Publicar fo_tos en:"
-
-#: src/publishing/PublishingUI.vala:191
-msgid "Publish Videos"
-msgstr "Publicar vídeos"
-
-#: src/publishing/PublishingUI.vala:192
-msgid "Publish videos _to"
-msgstr "Publicar vídeos _en"
-
-#: src/publishing/PublishingUI.vala:194
-msgid "Publish Photos and Videos"
-msgstr "Publicar fotos y vídeos"
-
-#: src/publishing/PublishingUI.vala:195
-msgid "Publish photos and videos _to"
-msgstr "Publicar fotos y vídeos _en"
-
-#. There are no enabled publishing services that accept this media type,
-#. warn the user.
-#: src/publishing/PublishingUI.vala:397
-msgid "Unable to publish"
-msgstr "No se pudo publicar"
-
-#: src/publishing/PublishingUI.vala:398
-#, c-format
-msgid ""
-"Shotwell cannot publish the selected items because you do not have a "
-"compatible publishing plugin enabled. To correct this, choose Edit %s "
-"Preferences and enable one or more of the publishing plugins on the "
-"Plugins tab."
-msgstr ""
-"Shotwell no puede publicar el elemento seleccionado porque no tiene activado "
-"un complemento compatible. Para corregir esto, vaya a Editar %s "
-"Preferencias y active uno o más complementos de publicación en la "
-"pestaña Complementos ."
-
-#: src/publishing/Publishing.vala:16
-msgid "Publishing"
-msgstr "Publicando"
-
-#: src/Resources.vala:139
-msgid "Rotate _Right"
-msgstr "Girar a la _derecha"
-
-#: src/Resources.vala:140 src/Resources.vala:145
-msgid "Rotate"
-msgstr "Girar"
-
-#: src/Resources.vala:141
-msgid "Rotate Right"
-msgstr "Girar a la derecha"
-
-#: src/Resources.vala:142
-msgid "Rotate the photos right (press Ctrl to rotate left)"
-msgstr "Girar las fotos a la derecha (oprima Ctrl para girar a la izquierda)"
-
-#: src/Resources.vala:144
-msgid "Rotate _Left"
-msgstr "Girar a la izq_uierda"
-
-#: src/Resources.vala:146
-msgid "Rotate Left"
-msgstr "Girar a la izquierda"
-
-#: src/Resources.vala:147
-msgid "Rotate the photos left"
-msgstr "Girar las fotos a la izquierda"
-
-#: src/Resources.vala:149
-msgid "Flip Hori_zontally"
-msgstr "Voltear hori_zontalmente"
-
-#: src/Resources.vala:150
-msgid "Flip Horizontally"
-msgstr "Voltear horizontalmente"
-
-#: src/Resources.vala:152
-msgid "Flip Verti_cally"
-msgstr "Voltear _verticalmente"
-
-#: src/Resources.vala:153
-msgid "Flip Vertically"
-msgstr "Voltear verticalmente"
-
-#: src/Resources.vala:155
-msgid "_About"
-msgstr "_Acerca de"
-
-#: src/Resources.vala:156
-msgid "_Apply"
-msgstr "_Aplicar"
-
-#: src/Resources.vala:160
-msgid "_Forward"
-msgstr "_Adelante"
-
-#: src/Resources.vala:161
-msgid "Fulls_creen"
-msgstr "Pantalla c_ompleta"
-
-#: src/Resources.vala:163
-msgid "Leave _Fullscreen"
-msgstr "Salir de pantalla co_mpleta"
-
-#: src/Resources.vala:164 src/Resources.vala:363
-msgid "_New"
-msgstr "_Nueva"
-
-#: src/Resources.vala:165
-msgid "_Next"
-msgstr "_Siguiente"
-
-#: src/Resources.vala:166
-msgid "_OK"
-msgstr "_Aceptar"
-
-#: src/Resources.vala:167
-msgid "_Play"
-msgstr "_Reproducir"
-
-#: src/Resources.vala:168 src/Resources.vala:317
-msgid "_Preferences"
-msgstr "_Preferencias"
-
-#: src/Resources.vala:169
-msgid "_Previous"
-msgstr "_Anterior"
-
-#: src/Resources.vala:170
-msgid "_Print"
-msgstr "_Imprimir"
-
-#: src/Resources.vala:171
-msgid "_Quit"
-msgstr "_Salir"
-
-#: src/Resources.vala:172
-msgid "_Refresh"
-msgstr "_Actualizar"
-
-#: src/Resources.vala:174
-msgid "_Revert"
-msgstr "_Revertir"
-
-#: src/Resources.vala:176
-msgid "Save _As"
-msgstr "Guardar _como"
-
-#: src/Resources.vala:177
-msgid "Sort _Ascending"
-msgstr "Ordenar _ascendentemente"
-
-#: src/Resources.vala:178
-msgid "Sort _Descending"
-msgstr "Ordenar d_escendentemente"
-
-#: src/Resources.vala:179
-msgid "_Stop"
-msgstr "_Detener"
-
-#: src/Resources.vala:180
-msgid "_Undelete"
-msgstr "_Recuperar"
-
-#: src/Resources.vala:181
-msgid "_Normal Size"
-msgstr "Tamaño _normal"
-
-#: src/Resources.vala:182
-msgid "Best _Fit"
-msgstr "_Mejor ajuste"
-
-#: src/Resources.vala:186
-msgid "_Enhance"
-msgstr "M_ejorar"
-
-#: src/Resources.vala:187
-msgid "Enhance"
-msgstr "Mejorar"
-
-#: src/Resources.vala:188
-msgid "Automatically improve the photo's appearance"
-msgstr "Mejorar automáticamente la apariencia de la foto"
-
-#: src/Resources.vala:190
-msgid "_Copy Color Adjustments"
-msgstr "_Copiar ajustes de color"
-
-#: src/Resources.vala:191
-msgid "Copy Color Adjustments"
-msgstr "Copiar ajustes de color"
-
-#: src/Resources.vala:192
-msgid "Copy the color adjustments applied to the photo"
-msgstr "Copiar los ajustes de color aplicados a la foto"
-
-#: src/Resources.vala:194
-msgid "_Paste Color Adjustments"
-msgstr "_Pegar ajustes de color"
-
-#: src/Resources.vala:195
-msgid "Paste Color Adjustments"
-msgstr "Pegar ajustes de color"
-
-#: src/Resources.vala:196
-msgid "Apply copied color adjustments to the selected photos"
-msgstr "Aplicar ajuste de color copiado a las fotos seleccionadas"
-
-#: src/Resources.vala:198
-msgid "_Crop"
-msgstr "Re_cortar"
-
-#: src/Resources.vala:199
-msgid "Crop"
-msgstr "Recortar"
-
-#: src/Resources.vala:200
-msgid "Crop the photo's size"
-msgstr "Recortar el tamaño de la foto"
-
-#: src/Resources.vala:203
-msgid "Straighten"
-msgstr "Enderezar"
-
-#: src/Resources.vala:204
-msgid "Straighten the photo"
-msgstr "Enderezar la foto"
-
-#: src/Resources.vala:206
-msgid "_Red-eye"
-msgstr "Ojos _rojos"
-
-#: src/Resources.vala:207
-msgid "Red-eye"
-msgstr "Ojos rojos"
-
-#: src/Resources.vala:208
-msgid "Reduce or eliminate any red-eye effects in the photo"
-msgstr "Reducir o eliminar cualquier efecto de ojos rojos en la foto"
-
-#: src/Resources.vala:210
-msgid "_Adjust"
-msgstr "_Ajuste"
-
-#: src/Resources.vala:211
-msgid "Adjust"
-msgstr "Ajuste"
-
-#: src/Resources.vala:212
-msgid "Adjust the photo's color and tone"
-msgstr "Ajustar el color y el tono de la foto"
-
-#: src/Resources.vala:214
-msgid "Re_vert to Original"
-msgstr "_Volver al original"
-
-#: src/Resources.vala:215
-msgid "Revert to Original"
-msgstr "Volver al original"
-
-#: src/Resources.vala:217
-msgid "Revert External E_dits"
-msgstr "Revertir e_diciones externas"
-
-#: src/Resources.vala:218
-msgid "Revert to the master photo"
-msgstr "Revertir a la foto original"
-
-#: src/Resources.vala:220
-msgid "Set as _Desktop Background"
-msgstr "Establecer como fondo _de escritorio"
-
-#: src/Resources.vala:221
-msgid "Set selected image to be the new desktop background"
-msgstr "Establezca la imagen seleccionada como nuevo fondo de escritorio"
-
-#: src/Resources.vala:222
-#| msgid "Set as Desktop Slideshow"
-msgid "Set as _Desktop Slideshow…"
-msgstr "Establecer como pase de _diapositivas de escritorio…"
-
-#: src/Resources.vala:224
-msgid "_Undo"
-msgstr "_Deshacer"
-
-#: src/Resources.vala:225
-msgid "Undo"
-msgstr "Deshacer"
-
-#: src/Resources.vala:227
-msgid "_Redo"
-msgstr "_Rehacer"
-
-#: src/Resources.vala:228
-msgid "Redo"
-msgstr "Rehacer"
-
-#: src/Resources.vala:230
-#| msgid "Rename Event"
-msgid "Re_name Event…"
-msgstr "Re_nombrar evento…"
-
-#: src/Resources.vala:233
-msgid "Make _Key Photo for Event"
-msgstr "Hacer foto _clave para el evento"
-
-#: src/Resources.vala:234
-msgid "Make Key Photo for Event"
-msgstr "Hacer foto clave para el evento"
-
-#: src/Resources.vala:236
-msgid "_New Event"
-msgstr "Evento _nuevo"
-
-#: src/Resources.vala:237
-msgid "New Event"
-msgstr "Evento nuevo"
-
-#: src/Resources.vala:239
-msgid "Move Photos"
-msgstr "Mover fotos"
-
-#: src/Resources.vala:240
-msgid "Move photos to an event"
-msgstr "Mover fotos a un evento"
-
-#: src/Resources.vala:242
-msgid "_Merge Events"
-msgstr "_Combinar eventos"
-
-#: src/Resources.vala:243
-msgid "Merge"
-msgstr "Combinar"
-
-#: src/Resources.vala:244
-msgid "Combine events into a single event"
-msgstr "Combinar eventos en uno solo"
-
-#: src/Resources.vala:246
-msgid "_Set Rating"
-msgstr "Establecer p_untuación"
-
-#: src/Resources.vala:247
-msgid "Set Rating"
-msgstr "Establecer puntuación"
-
-#: src/Resources.vala:248
-msgid "Change the rating of your photo"
-msgstr "Cambiar la puntuación de su foto"
-
-#: src/Resources.vala:250
-msgid "_Increase"
-msgstr "_Aumentar"
-
-#: src/Resources.vala:251
-msgid "Increase Rating"
-msgstr "Aumentar puntuación"
-
-#: src/Resources.vala:253
-msgid "_Decrease"
-msgstr "Disminuir"
-
-#: src/Resources.vala:254
-msgid "Decrease Rating"
-msgstr "Disminuir puntuación"
-
-#: src/Resources.vala:256
-msgid "_Unrated"
-msgstr "_Sin puntuar"
-
-#: src/Resources.vala:257
-msgid "Unrated"
-msgstr "Sin puntuar"
-
-#: src/Resources.vala:258
-msgid "Rate Unrated"
-msgstr "Puntuar no puntuadas"
-
-#: src/Resources.vala:259
-msgid "Setting as unrated"
-msgstr "Establecer como sin puntuación"
-
-#: src/Resources.vala:260
-msgid "Remove any ratings"
-msgstr "Quitar cualquier puntuación"
-
-#: src/Resources.vala:262
-msgid "_Rejected"
-msgstr "_Rechazado"
-
-#: src/Resources.vala:263
-msgid "Rejected"
-msgstr "Rechazada"
-
-#: src/Resources.vala:264
-msgid "Rate Rejected"
-msgstr "Puntuar rechazadas"
-
-#: src/Resources.vala:265
-msgid "Setting as rejected"
-msgstr "Estableciendo como rechazada"
-
-#: src/Resources.vala:266
-msgid "Set rating to rejected"
-msgstr "Establecer puntuación para rechazadas"
-
-#: src/Resources.vala:268
-msgid "Rejected _Only"
-msgstr "Solo _rechazadas"
-
-#: src/Resources.vala:269
-msgid "Rejected Only"
-msgstr "Solo rechazadas"
-
-#: src/Resources.vala:270
-msgid "Show only rejected photos"
-msgstr "Mostrar solo las fotos rechazadas"
-
-#: src/Resources.vala:272
-msgid "All + _Rejected"
-msgstr "Todas + _rechazadas"
-
-#: src/Resources.vala:273
-msgctxt "Tooltip"
-msgid "Show all photos, including rejected"
-msgstr "Mostrar todas las fotos, incluyendo las rechazadas"
-
-#: src/Resources.vala:275
-msgid "_All Photos"
-msgstr "Todas las _fotos"
-
-#. Button tooltip
-#: src/Resources.vala:277
-msgid "Show all photos"
-msgstr "Mostrar todas las fotos"
-
-#: src/Resources.vala:279
-msgid "_Ratings"
-msgstr "_Puntuaciones"
-
-#: src/Resources.vala:280
-msgid "Display each photo's rating"
-msgstr "Mostrar la puntuación de cada foto"
-
-#: src/Resources.vala:282
-msgid "_Filter Photos"
-msgstr "_Filtrar fotos"
-
-#: src/Resources.vala:283
-msgid "Filter Photos"
-msgstr "Filtrar fotos"
-
-#: src/Resources.vala:284
-msgid "Limit the number of photos displayed based on a filter"
-msgstr "Limitar el número de fotos mostradas en base al filtro"
-
-#: src/Resources.vala:286
-msgid "_Duplicate"
-msgstr "_Duplicar"
-
-#: src/Resources.vala:287
-msgid "Duplicate"
-msgstr "Duplicar"
-
-#: src/Resources.vala:288
-msgid "Make a duplicate of the photo"
-msgstr "Hacer un duplicado de la foto"
-
-#: src/Resources.vala:290
-#| msgid "Export"
-msgid "_Export…"
-msgstr "_Exportar…"
-
-#: src/Resources.vala:292
-#| msgid "_Print"
-msgid "_Print…"
-msgstr "_Imprimir…"
-
-#: src/Resources.vala:294
-#| msgid "Publish"
-msgid "Pu_blish…"
-msgstr "Pu_blicar…"
-
-#: src/Resources.vala:296
-msgid "Publish to various websites"
-msgstr "Publicar en varios sitios web"
-
-#: src/Resources.vala:298
-#| msgctxt "Dialog Title"
-#| msgid "Edit Title"
-msgid "Edit _Title…"
-msgstr "Editar _título…"
-
-#. Button label
-#: src/Resources.vala:300
-msgctxt "Button Label"
-msgid "Edit Title"
-msgstr "Editar título"
-
-#: src/Resources.vala:302
-#| msgid "Edit Comment"
-msgid "Edit _Comment…"
-msgstr "Editar _comentario…"
-
-#. Button label
-#: src/Resources.vala:304
-msgid "Edit Comment"
-msgstr "Editar comentario"
-
-#: src/Resources.vala:306
-#| msgid "Edit Event Comment"
-msgid "Edit Event _Comment…"
-msgstr "Editar _comentario de evento…"
-
-#: src/Resources.vala:309
-#| msgid "Adjust Date and Time"
-msgid "_Adjust Date and Time…"
-msgstr "_Ajustar fecha y hora…"
-
-#: src/Resources.vala:310
-msgid "Adjust Date and Time"
-msgstr "Ajustar fecha y hora"
-
-#: src/Resources.vala:312
-#| msgctxt "Dialog Title"
-#| msgid "Add Tags"
-msgid "Add _Tags…"
-msgstr "Añadir e_tiquetas…"
-
-#: src/Resources.vala:313
-#| msgctxt "Dialog Title"
-#| msgid "Add Tags"
-msgid "_Add Tags…"
-msgstr "_Añadir etiquetas…"
-
-#. Dialog title
-#: src/Resources.vala:315
-msgctxt "Dialog Title"
-msgid "Add Tags"
-msgstr "Añadir etiquetas"
-
-#: src/Resources.vala:319
-msgid "Open With E_xternal Editor"
-msgstr "Abrir con editor e_xterno"
-
-#: src/Resources.vala:321
-msgid "Open With RA_W Editor"
-msgstr "Abrir con editor RA_W"
-
-#: src/Resources.vala:323
-#| msgid "Send To"
-msgid "Send _To…"
-msgstr "En_viar a…"
-
-#: src/Resources.vala:324
-#| msgid "Send To"
-msgid "Send T_o…"
-msgstr "Env_iar a…"
-
-#: src/Resources.vala:326
-#| msgid "_Find"
-msgid "_Find…"
-msgstr "_Buscar…"
-
-#: src/Resources.vala:327
-msgid "Find"
-msgstr "Buscar"
-
-#: src/Resources.vala:328
-msgid "Find an image by typing text that appears in its name or tags"
-msgstr ""
-"Buscar una imagen escribiendo el texto que aparece en su nombre o etiquetas"
-
-#: src/Resources.vala:330
-msgid "_Flag"
-msgstr "_Marcar"
-
-#: src/Resources.vala:332
-msgid "Un_flag"
-msgstr "_Desmarcar"
-
-#: src/Resources.vala:335
-#, c-format
-msgid "Unable to launch editor: %s"
-msgstr "No se puede abrir el editor: %s"
-
-#: src/Resources.vala:340
-#, c-format
-msgid "Add Tag \"%s\""
-msgstr "Añadir etiqueta «%s»"
-
-#. Used when adding two tags to photo(s)
-#: src/Resources.vala:343
-#, c-format
-msgid "Add Tags \"%s\" and \"%s\""
-msgstr "Añadir etiquetas «%s» y «%s»"
-
-#. Undo/Redo command name (in Edit menu)
-#: src/Resources.vala:348
-msgctxt "UndoRedo menu entry"
-msgid "Add Tags"
-msgstr "Añadir etiquetas"
-
-#: src/Resources.vala:353
-#, c-format
-msgid "_Delete Tag \"%s\""
-msgstr "_Eliminar etiqueta «%s»"
-
-#: src/Resources.vala:357
-#, c-format
-msgid "Delete Tag \"%s\""
-msgstr "Eliminar etiqueta «%s»"
-
-#: src/Resources.vala:360
-msgid "Delete Tag"
-msgstr "Eliminar etiqueta"
-
-#: src/Resources.vala:366
-#, c-format
-#| msgid "Re_name Tag \"%s\"..."
-msgid "Re_name Tag \"%s\"…"
-msgstr "Re_nombrar etiqueta «%s»…"
-
-#: src/Resources.vala:370
-#, c-format
-msgid "Rename Tag \"%s\" to \"%s\""
-msgstr "Renombrar la etiqueta «%s» a «%s»"
-
-#: src/Resources.vala:373
-#| msgid "_Rename..."
-msgid "_Rename…"
-msgstr "_Renombrar…"
-
-#: src/Resources.vala:375
-#| msgid "Modify Tags"
-msgid "Modif_y Tags…"
-msgstr "Mod_ificar etiquetas…"
-
-#: src/Resources.vala:376
-msgid "Modify Tags"
-msgstr "Modificar etiquetas"
-
-#: src/Resources.vala:379
-#, c-format
-msgid "Tag Photo as \"%s\""
-msgstr "Etiquetar fotos como «%s»"
-
-#: src/Resources.vala:379
-#, c-format
-msgid "Tag Photos as \"%s\""
-msgstr "Etiquetar fotos como «%s»"
-
-#: src/Resources.vala:383
-#, c-format
-msgid "Tag the selected photo as \"%s\""
-msgstr "Etiquetar las fotos seleccionadas como «%s»"
-
-#: src/Resources.vala:384
-#, c-format
-msgid "Tag the selected photos as \"%s\""
-msgstr "Etiquetar las fotos seleccionadas como «%s»"
-
-#: src/Resources.vala:388
-#, c-format
-msgid "Remove Tag \"%s\" From _Photo"
-msgstr "Quitar la etiqueta «%s» de las _fotos"
-
-#: src/Resources.vala:389
-#, c-format
-msgid "Remove Tag \"%s\" From _Photos"
-msgstr "Quitar la etiqueta «%s» de las _fotos"
-
-#: src/Resources.vala:393
-#, c-format
-msgid "Remove Tag \"%s\" From Photo"
-msgstr "Quitar la etiqueta «%s» de las fotos"
-
-#: src/Resources.vala:394
-#, c-format
-msgid "Remove Tag \"%s\" From Photos"
-msgstr "Quitar la etiqueta «%s» de las fotos"
-
-#: src/Resources.vala:398
-#, c-format
-msgid "Unable to rename tag to \"%s\" because the tag already exists."
-msgstr "No se puede renombrar la etiqueta a «%s» porque la etiqueta ya existe."
-
-#: src/Resources.vala:402
-#, c-format
-msgid "Unable to rename search to \"%s\" because the search already exists."
-msgstr "No se pudo renombrar la búsqueda «%s» porque la búsqueda ya existe."
-
-#. Saved search button
-#: src/Resources.vala:405 src/SearchFilter.vala:1210
-msgid "Saved Search"
-msgstr "Búsqueda guardada"
-
-#: src/Resources.vala:407
-msgid "Delete Search"
-msgstr "Eliminar búsqueda"
-
-#: src/Resources.vala:410
-#| msgid "_Edit"
-msgid "_Edit…"
-msgstr "_Editar…"
-
-#: src/Resources.vala:411
-#| msgid "Re_name..."
-msgid "Re_name…"
-msgstr "Re_nombrar…"
-
-#: src/Resources.vala:414
-#, c-format
-msgid "Rename Search \"%s\" to \"%s\""
-msgstr "Renombrar la búsqueda «%s» a «%s»"
-
-#: src/Resources.vala:418
-#, c-format
-msgid "Delete Search \"%s\""
-msgstr "Eliminar búsqueda «%s»"
-
-#: src/Resources.vala:576
-#, c-format
-msgid "Rate %s"
-msgstr "Puntuar %s"
-
-#: src/Resources.vala:577
-#, c-format
-msgid "Set rating to %s"
-msgstr "Establecer puntuación para %s"
-
-#: src/Resources.vala:578
-#, c-format
-msgid "Setting rating to %s"
-msgstr "Estableciendo la puntuación de %s"
-
-#: src/Resources.vala:580
-#, c-format
-msgid "Display %s"
-msgstr "Mostrar %s"
-
-#: src/Resources.vala:581
-#, c-format
-msgid "Only show photos with a rating of %s"
-msgstr "Solo mostrar fotos con puntuación %s"
-
-#: src/Resources.vala:582
-#, c-format
-msgid "%s or Better"
-msgstr "%s o mayor"
-
-#: src/Resources.vala:583
-#, c-format
-msgid "Display %s or Better"
-msgstr "Mostrar %s o mayor"
-
-#: src/Resources.vala:584
-#, c-format
-msgid "Only show photos with a rating of %s or better"
-msgstr "Solo mostrar fotos con puntuación %s o mayor"
-
-#: src/Resources.vala:675
-msgid "Remove the selected photos from the trash"
-msgstr "Quitar las fotos seleccionadas de la papelera"
-
-#: src/Resources.vala:676
-msgid "Remove the selected photos from the library"
-msgstr "Quitar las fotos seleccionadas de la colección"
-
-#: src/Resources.vala:678
-msgid "_Restore"
-msgstr "_Restaurar"
-
-#: src/Resources.vala:679
-msgid "Move the selected photos back into the library"
-msgstr "Mover las fotos seleccionadas de vuelta a la colección"
-
-#: src/Resources.vala:681
-msgid "Show in File Mana_ger"
-msgstr "Mostrar en ge_stor de archivos"
-
-#: src/Resources.vala:682
-msgid "Open the selected photo's directory in the file manager"
-msgstr "Abrir el directorio de la foto seleccionada en el gestor de archivos"
-
-#: src/Resources.vala:685
-#, c-format
-msgid "Unable to open in file manager: %s"
-msgstr "No se puede abrir el gestor de archivos: %s"
-
-#: src/Resources.vala:688
-msgid "R_emove From Library"
-msgstr "_Quitar de la colección"
-
-#: src/Resources.vala:690
-msgid "_Move to Trash"
-msgstr "_Mover a la papelera"
-
-#: src/Resources.vala:692
-msgid "Select _All"
-msgstr "Seleccionar _todo"
-
-#: src/Resources.vala:693
-msgid "Select all items"
-msgstr "Seleccionar todos los elementos"
-
-#. ...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
-#. / 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
-#. / 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
-msgid "%a %b %d, %Y"
-msgstr "%a %d de %b de %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
-#| msgid "%a %b %d"
-msgctxt "MultidayFormat"
-msgid "%a %b %d"
-msgstr "%a, %d de %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:792
-#| msgid "%d, %Y"
-msgctxt "MultidayFormat"
-msgid "%d, %Y"
-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
-#| msgid "%a %b %d"
-msgctxt "MultimonthFormat"
-msgid "%a %b %d"
-msgstr "%a, %d de %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
-#| msgid "%a %b %d, %Y"
-msgctxt "MultimonthFormat"
-msgid "%a %b %d, %Y"
-msgstr "%a %d de %b de %Y"
-
-#: src/Screensaver.vala:18 src/SlideshowPage.vala:141
-msgid "Slideshow"
-msgstr "Diapositivas"
-
-#: src/searches/Branch.vala:68
-msgid "Saved Searches"
-msgstr "Búsquedas guardadas"
-
-#. Ordering must correspond with SearchConditionText.Context
-#: src/searches/SavedSearchDialog.vala:168
-msgid "contains"
-msgstr "contiene"
-
-#. Ordering must correspond with Context
-#: src/searches/SavedSearchDialog.vala:169
-#: src/searches/SavedSearchDialog.vala:500
-msgid "is exactly"
-msgstr "es exactamente"
-
-#: src/searches/SavedSearchDialog.vala:170
-msgid "starts with"
-msgstr "comienza por"
-
-#: src/searches/SavedSearchDialog.vala:171
-msgid "ends with"
-msgstr "termina por"
-
-#: src/searches/SavedSearchDialog.vala:172
-msgid "does not contain"
-msgstr "no contiene"
-
-#: src/searches/SavedSearchDialog.vala:173
-#: src/searches/SavedSearchDialog.vala:504
-msgid "is not set"
-msgstr "no está establecida"
-
-#: src/searches/SavedSearchDialog.vala:174
-msgid "is set"
-msgstr "está establecida"
-
-#. Ordering must correspond with SearchConditionMediaType.Context
-#: src/searches/SavedSearchDialog.vala:248
-#: src/searches/SavedSearchDialog.vala:379
-#: src/searches/SavedSearchDialog.vala:444
-msgid "is"
-msgstr "es"
-
-#: src/searches/SavedSearchDialog.vala:249
-msgid "is not"
-msgstr "no es"
-
-#. Ordering must correspond with SearchConditionMediaType.MediaType
-#: src/searches/SavedSearchDialog.vala:255
-msgid "any photo"
-msgstr "cualquier foto"
-
-#: src/searches/SavedSearchDialog.vala:256
-msgid "a raw photo"
-msgstr "una foto en «raw»"
-
-#: src/searches/SavedSearchDialog.vala:257
-msgid "a video"
-msgstr "un vídeo"
-
-#: src/searches/SavedSearchDialog.vala:311
-msgid "has"
-msgstr "tiene"
-
-#: src/searches/SavedSearchDialog.vala:312
-msgid "has no"
-msgstr "no tiene"
-
-#: src/searches/SavedSearchDialog.vala:317
-msgid "modifications"
-msgstr "modificaciones"
-
-#: src/searches/SavedSearchDialog.vala:318
-msgid "internal modifications"
-msgstr "modificaciones internas"
-
-#: src/searches/SavedSearchDialog.vala:319
-msgid "external modifications"
-msgstr "modificaciones externas"
-
-#. Ordering must correspond with SearchConditionFlagged.State
-#: src/searches/SavedSearchDialog.vala:373
-msgid "flagged"
-msgstr "marcada"
-
-#: src/searches/SavedSearchDialog.vala:374
-msgid "not flagged"
-msgstr "no marcada"
-
-#: src/searches/SavedSearchDialog.vala:437
-msgid "and higher"
-msgstr "y superior"
-
-#: src/searches/SavedSearchDialog.vala:438
-msgid "only"
-msgstr "solo"
-
-#: src/searches/SavedSearchDialog.vala:439
-msgid "and lower"
-msgstr "e inferior"
-
-#: src/searches/SavedSearchDialog.vala:501
-msgid "is after"
-msgstr "está después"
-
-#: src/searches/SavedSearchDialog.vala:502
-msgid "is before"
-msgstr "está antes"
-
-#: src/searches/SavedSearchDialog.vala:503
-msgid "is between"
-msgstr "está entre"
-
-#: src/searches/SavedSearchDialog.vala:516
-msgid "and"
-msgstr "y"
-
-#: src/searches/SavedSearchDialog.vala:697
-msgid "Search"
-msgstr "Búsqueda"
-
-#: src/searches/SavedSearchDialog.vala:702
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: src/searches/SavedSearchDialog.vala:703
-msgid "OK"
-msgstr "Aceptar"
-
-#: src/searches/SavedSearchDialog.vala:721
-msgid "any"
-msgstr "cualquiera"
-
-#: src/searches/SavedSearchDialog.vala:722
-msgid "all"
-msgstr "todos"
-
-#: src/searches/SavedSearchDialog.vala:723
-msgid "none"
-msgstr "ninguna"
-
-#: src/searches/SearchBoolean.vala:157
-msgid "Any text"
-msgstr "Cualquier texto"
-
-#: src/searches/SearchBoolean.vala:160
-msgid "Title"
-msgstr "Título"
-
-#: src/searches/SearchBoolean.vala:163
-msgid "Tag"
-msgstr "Etiqueta"
-
-#: src/searches/SearchBoolean.vala:166
-msgid "Comment"
-msgstr "Comentario"
-
-#: src/searches/SearchBoolean.vala:169
-msgid "Event name"
-msgstr "Nombre del acontecimiento"
-
-#: src/searches/SearchBoolean.vala:172
-msgid "File name"
-msgstr "Nombre del archivo"
-
-#: src/searches/SearchBoolean.vala:175
-msgid "Media type"
-msgstr "Tipo de medio"
-
-#: src/searches/SearchBoolean.vala:178
-msgid "Flag state"
-msgstr "Estado de la opción"
-
-#: src/searches/SearchBoolean.vala:181
-msgid "Photo state"
-msgstr "Estado de la foto"
-
-#. Rating button
-#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:1199
-msgid "Rating"
-msgstr "Puntuación"
-
-#: src/searches/SearchBoolean.vala:187
-msgid "Date"
-msgstr "Fecha"
-
-#: src/SearchFilter.vala:614 src/SearchFilter.vala:615
-msgid "Videos"
-msgstr "Vídeos"
-
-#: src/SearchFilter.vala:620
-msgid "RAW Photos"
-msgstr "Fotos RAW"
-
-#: src/SearchFilter.vala:621
-msgid "RAW photos"
-msgstr "Fotos RAW"
-
-#: src/SearchFilter.vala:1148
-#, c-format
-msgid "Error loading UI file %s: %s"
-msgstr "Error al cargar el archivo de IU %s: %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
-msgid "Close"
-msgstr "Cerrar"
-
-#. Type label and toggles
-#: src/SearchFilter.vala:1165
-msgid "Type"
-msgstr "Tipo"
-
-#: src/SearchFilter.vala:1211
-msgid "Use a saved search to filter items in the current view"
-msgstr ""
-
-#: src/sidebar/Tree.vala:203
-#| msgid "New _Tag..."
-msgid "New _Tag…"
-msgstr "E_tiqueta nueva…"
-
-#: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183
-msgid "Settings"
-msgstr "Configuración"
-
-#. Set up toolbar
-#. add toolbar buttons
-#: src/SlideshowPage.vala:160
-msgid "Back"
-msgstr "Atrás"
-
-#: src/SlideshowPage.vala:162
-msgid "Go to the previous photo"
-msgstr "Ir a la foto anterior"
-
-#: src/SlideshowPage.vala:167 src/SlideshowPage.vala:274
-msgid "Pause"
-msgstr "Pausa"
-
-#: src/SlideshowPage.vala:169 src/SlideshowPage.vala:275
-msgid "Pause the slideshow"
-msgstr "Pausar la presentación"
-
-#: src/SlideshowPage.vala:174
-msgid "Next"
-msgstr "Siguiente"
-
-#: src/SlideshowPage.vala:176
-msgid "Go to the next photo"
-msgstr "Ir a la siguiente foto"
-
-#: src/SlideshowPage.vala:184
-msgid "Change slideshow settings"
-msgstr "Cambiar la configuración de la presentación"
-
-#. An entire slideshow set might be missing, so check for a loop.
-#: src/SlideshowPage.vala:238
-msgid "All photo source files are missing."
-msgstr "Todos los archivos origen de fotos están perdidos."
-
-#: src/SlideshowPage.vala:270
-msgid "Play"
-msgstr "Reproducir"
-
-#: src/SlideshowPage.vala:271
-msgid "Continue the slideshow"
-msgstr "Continuar la presentación"
-
-#: src/slideshow/Slideshow.vala:22
-msgid "Slideshow Transitions"
-msgstr "Transiciones de diapositiva"
-
-#: src/slideshow/TransitionEffects.vala:98
-msgid "(None)"
-msgstr "(Ninguna)"
-
-#: src/slideshow/TransitionEffects.vala:287
-msgid "None"
-msgstr "Ninguna"
-
-#: src/slideshow/TransitionEffects.vala:339
-msgid "Random"
-msgstr "Aleatorio"
-
-#: src/tags/Branch.vala:131
-msgid "Tags"
-msgstr "Etiquetas"
-
-#: src/Tag.vala:830
-msgid "untitled"
-msgstr "sin título"
-
-#. multiple videos
-#: src/VideoSupport.vala:490
-msgid "Export Videos"
-msgstr "Exportar vídeos"
-
-#: ui/set_background_dialog.ui:15
-msgid "Set as Desktop Background"
-msgstr "Establecer como fondo de escritorio"
-
-#: ui/set_background_dialog.ui:77 ui/set_background_slideshow_dialog.ui:132
-msgid "Use for Desktop"
-msgstr "Usar para el escritorio"
-
-#: ui/set_background_dialog.ui:93 ui/set_background_slideshow_dialog.ui:148
-msgid "Use for Lock Screen"
-msgstr "Usar para la pantalla de bloqueo"
-
-#: ui/set_background_slideshow_dialog.ui:15
-msgid "Set as Desktop Slideshow"
-msgstr "Establecer como pase de diapositivas de escritorio"
-
-#: ui/set_background_slideshow_dialog.ui:33
-msgid "Show each photo for"
-msgstr "Mostrar cada foto para"
-
-#: ui/set_background_slideshow_dialog.ui:45
-msgid "period of time"
-msgstr "periodo de tiempo"
-
-#: ui/set_background_slideshow_dialog.ui:94
-msgid "Generate desktop background slideshow"
-msgstr "Generar un pase de diapositivas de fondo de escritorio"
-
-#: ui/set_background_slideshow_dialog.ui:115
-msgid "How long each photo is shown on the desktop background"
-msgstr "Cuánto tiempo se muestra cada foto en el fondo de escritorio"
-
-#: ui/shotwell.ui:23
-msgid "_Name of search:"
-msgstr "_Nombre de la búsqueda:"
-
-#: ui/shotwell.ui:81
-msgid "_Match"
-msgstr "_Coincidir"
-
-#: ui/shotwell.ui:108
-msgid "of the following:"
-msgstr "de los siguientes:"
-
-#: ui/shotwell.ui:195
-msgid "Printed Image Size "
-msgstr "Tamaño de imagen impresa "
-
-#: ui/shotwell.ui:212
-msgid "Use a _standard size:"
-msgstr "Utilizar un tamaño e_stándar:"
-
-#: ui/shotwell.ui:255
-msgid "Use a c_ustom size:"
-msgstr "Utilizar un tamaño p_ersonalizado:"
-
-#: ui/shotwell.ui:345
-msgid "_Match photo aspect ratio"
-msgstr "E_mparejar relación de aspecto de la foto"
-
-#: ui/shotwell.ui:369
-msgid "_Autosize:"
-msgstr "Tamaño _automático:"
-
-#: ui/shotwell.ui:409
-msgid "Titles "
-msgstr "Títulos "
-
-#: ui/shotwell.ui:426
-msgid "Print image _title"
-msgstr "Imprimir el _título de la imagen"
-
-#: ui/shotwell.ui:470
-msgid "Pixel Resolution "
-msgstr "Resolución de píxeles "
-
-#: ui/shotwell.ui:490
-msgid "_Output photo at:"
-msgstr "_Salida de foto en:"
-
-#: ui/shotwell.ui:525
-msgid "pixels per inch"
-msgstr "píxeles por pulgada"
-
-#: ui/shotwell.ui:559
-msgid "label"
-msgstr "etiqueta"
-
-#: ui/shotwell.ui:681
-msgid "Shotwell Preferences"
-msgstr "Preferencias de Shotwell"
-
-#: ui/shotwell.ui:730
-msgid "white"
-msgstr "blanco"
-
-#: ui/shotwell.ui:757
-msgid "black"
-msgstr "negro"
-
-#: ui/shotwell.ui:805
-msgid "_Watch library directory for new files"
-msgstr "_Vigilar mi colección en busca de archivos nuevos"
-
-#: ui/shotwell.ui:834
-msgid "Metadata"
-msgstr "Metadatos"
-
-#: ui/shotwell.ui:854
-msgid "Write tags, titles, and other _metadata to photo files"
-msgstr ""
-"Escribir etiquetas, títulos y otros _metadatos en los archivos de fotos"
-
-#: ui/shotwell.ui:880
-msgid "Display"
-msgstr "Mostrar"
-
-#: ui/shotwell.ui:901
-msgid "_Import photos to:"
-msgstr "_Importar fotos a:"
-
-#: ui/shotwell.ui:924
-msgid "_Background:"
-msgstr "_Fondo:"
-
-#: ui/shotwell.ui:947
-msgid "Importing"
-msgstr "Importando"
-
-#: ui/shotwell.ui:970
-msgid "_Directory structure:"
-msgstr "Estructura de _carpetas:"
-
-#: ui/shotwell.ui:1009
-msgid "_Pattern:"
-msgstr "_Patrón:"
-
-#: ui/shotwell.ui:1091
-msgid "Example:"
-msgstr "Ejemplo:"
-
-#: ui/shotwell.ui:1108
-msgid "R_ename imported files to lowercase"
-msgstr "R_enombrar los archivos importados a minúsculas"
-
-#: ui/shotwell.ui:1137
-msgid "RAW Developer"
-msgstr "Revelador RAW"
-
-#: ui/shotwell.ui:1172
-msgid "De_fault:"
-msgstr "_Predeterminado:"
-
-#: ui/shotwell.ui:1226
-msgid "E_xternal photo editor:"
-msgstr "Editor de fotos e_xterno:"
-
-#: ui/shotwell.ui:1242
-msgid "External _RAW editor:"
-msgstr "Editor _RAW externo:"
-
-#: ui/shotwell.ui:1307
-msgid "External Editors"
-msgstr "Editores externos"
-
-#: ui/shotwell.ui:1334
-msgid "Plugins"
-msgstr "Complementos"
-
-#: ui/shotwell.ui:1400
-msgid "_Delay:"
-msgstr "_Retardo:"
-
-#: ui/shotwell.ui:1416
-msgid "_Transition effect:"
-msgstr "Efecto de _transición:"
-
-#: ui/shotwell.ui:1432
-msgid "Transition d_elay:"
-msgstr "R_etraso de transición:"
-
-#: ui/shotwell.ui:1444
-msgid "Show t_itle"
-msgstr "Mostrar tít_ulo"
-
-#: ui/shotwell.ui:1534 ui/shotwell.ui:1547
-msgid "seconds"
-msgstr "segundos"
-
-#~ msgid "Save Details..."
-#~ msgstr "Guardar detalles…"
-
-#~ msgid "Save _As..."
-#~ msgstr "G_uardar como…"
-
-#~ msgid "Importing..."
-#~ msgstr "Importando…"
-
-#~ msgid "Preparing to import..."
-#~ msgstr "Preparando importación…"
-
-#~ msgid "_Import From Folder..."
-#~ msgstr "_Importar desde carpeta…"
-
-#~ msgid "Import From _Application..."
-#~ msgstr "Importar desde _aplicación…"
-
-#~ msgid "Set as _Desktop Slideshow..."
-#~ msgstr "Establecer como pase de _diapositivas de escritorio…"
-
-#~ msgid "Re_name Event..."
-#~ msgstr "Re_nombrar evento…"
-
-#~ msgid "_Export..."
-#~ msgstr "_Exportar…"
-
-#~ msgid "_Print..."
-#~ msgstr "_Imprimir…"
-
-#~ msgid "Pu_blish..."
-#~ msgstr "Pu_blicar…"
-
-#~ msgid "Edit _Title..."
-#~ msgstr "Editar el _título…"
-
-#~ msgid "Edit _Comment..."
-#~ msgstr "Editar _comentario…"
-
-#~ msgid "Edit Event _Comment..."
-#~ msgstr "Editar _comentario del evento…"
-
-#~ msgid "_Adjust Date and Time..."
-#~ msgstr "_Ajustar fecha y hora…"
-
-#~ msgid "Add _Tags..."
-#~ msgstr "Añadir e_tiquetas…"
-
-#~ msgid "_Add Tags..."
-#~ msgstr "_Añadir etiquetas…"
-
-#~ msgid "Send _To..."
-#~ msgstr "En_viar a…"
-
-#~ msgid "Send T_o..."
-#~ msgstr "En_viar a…"
-
-#~ msgid "_Find..."
-#~ msgstr "Buscar…"
-
-#~ msgid "Modif_y Tags..."
-#~ msgstr "Modif_icar etiquetas…"
-
-#~ msgid "_Edit..."
-#~ msgstr "_Editar…"
-
-#~ msgid "%-I:%M %p"
-#~ msgstr "%-I:%M %p"
-
-#~ msgid "%-I:%M:%S %p"
-#~ msgstr "%-I:%M:%S %p"
-
-#~ msgid "Intro message replaced at runtime"
-#~ msgstr "Mensaje de introducción reemplazado en tiempo de ejecución"
-
-#~ msgid "'Publishing to $url as $username' (populated in application code)"
-#~ msgstr ""
-#~ "«Publicando en $url como $username» (informado en el código de la "
-#~ "aplicación)"
-
-#~ msgid "you are logged in rajce as $name"
-#~ msgstr "ha iniciado sesión en rajce como $name"
-
-#~ msgid "$mediatype will appear in"
-#~ msgstr "$mediatype aparecerá en"
-
-#~ msgid "Copyright 2009-2015 Yorba Foundation"
-#~ msgstr "Copyright 2009-2015 Fundación Yorba"
-
-#~ msgid "Visit the Yorba web site"
-#~ msgstr "Visitar el sitio web de Yorba"
-
-#, fuzzy
-#~| msgid ""
-#~| "A file required for publishing is unavailable. Publishing to Flickr "
-#~| "can't continue."
-#~ msgid "A file required for publishing is unavailable. Publishing to "
-#~ msgstr ""
-#~ "No está disponible un archivo necesario para publicar. La publicación en "
-#~ "Flickr no puede continuar."
-
-#~ msgid "Only _Remove"
-#~ msgstr "Solo quita_r"
-
-#~ msgid "Shotwell is configured to import photos to your home directory.\n"
-#~ msgstr ""
-#~ "Shotwell está configurado para importar fotos desde su carpeta personal.\n"
-
-#~ msgid ""
-#~ " (text depends on fb username and is modified in the app - \n"
-#~ "anything put into this field won't display)"
-#~ msgstr ""
-#~ " (el texto depende del nombre de usuario de Facebook y se modifica en la "
-#~ "aplicación;\n"
-#~ "no se mostrará el contenido de este campo)"
-
-#~ 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 ""
-#~ "Ha iniciado sesión en Flickr como (name).\n"
-#~ "\n"
-#~ "(la etiqueta de esta cadena se rellena y se ubica en el código, \n"
-#~ "y los cambios hechos aquí no se mostrarán)"
-
-#~ msgid "_visibility label (populated in the code)"
-#~ msgstr "etiqueta de _visibilidad (rellenada en el código)"
-
-#~ msgid ""
-#~ "$mediatype will appear in\n"
-#~ "(populated in code)"
-#~ msgstr ""
-#~ "$mediatype aparecerá en\n"
-#~ "(rellenado en el código)"
-
-#~ 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 ""
-#~ "Ha iniciado sesión en Tumblr como (nombre).\n"
-#~ "\n"
-#~ "(la etiqueta de esta cadena se rellena y se ubica en el código, \n"
-#~ "y los cambios hechos aquí no se mostrarán)"
+# po/shotwell-core/shotwell.pot
+# PO message string template file for Shotwell Core Components
+# Copyright 2016 Software Freedom Conservancy Inc.
+# See COPYING for license.
+#
+#
+# Translators:
+# Adolfo Jayme Barrientos , 2011-2013
+# Alejandro Johnson C. , 2012
+# Andres , 2011
+# Claudio Rodrigo Pereyra Diaz , 2012-2013
+# Jorge González , 2011
+# Matias Menich , 2012
+# Rodrigo Cares , 2012-2013
+# verayin , 2011
+# freddy sequera , 2011
+# Jorge González , 2011
+# lsbeeler , 2011
+# Matias Menich , 2012
+# Rodrigo Cares , 2012
+#
+#
+#
+#
+# Daniel Mustieles , 2014, 2015, 2016.
, 2016.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: shotwell-0.15\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-10 11:50+0000\n"
+"PO-Revision-Date: 2016-11-11 \n"
+"Last-Translator: Daniel Mustieles \n"
+"Language-Team: es \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"
+
+#: 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
+msgid "Shotwell"
+msgstr "Shotwell"
+
+#: misc/shotwell.appdata.xml.in:9
+msgid "Popular photo manager"
+msgstr "Gestor de fotos popular"
+
+#: 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 es un organizador de fotos fácil de usar, diseñado para el "
+"escritorio GNOME. Le permite importar fotos de su cámara o disco, "
+"organizarlas por fecha y asunto o por puntuación. También ofree edición "
+"básica, como recortar, eliminar ojos rojos, ajustes de color y enderezar. El "
+"editor no destructivo de Shotwell no altera las fotos originales, haciendo "
+"que sea más fácil experimentar y corregir errores."
+
+#: 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 ""
+"Cuando esté preparado, Shotwell puede subir sus fotos a varios sitios web, "
+"tales como Facebook, Flickr, Picasa (Google Plus) y más"
+
+#: misc/shotwell.appdata.xml.in:22
+msgid "Shotwell supports JPEG, PNG, TIFF, and a variety of RAW file formats."
+msgstr "Shotwell soporta JPEG, PNG, TIFF, y varios formatos de archivos RAW."
+
+#: misc/shotwell.desktop.in.in:5 src/Resources.vala:17
+msgid "Photo Manager"
+msgstr "Gestor de fotos"
+
+#: misc/shotwell.desktop.in.in:6
+msgid "Organize your photos"
+msgstr "Organice sus fotos"
+
+#. 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 ""
+"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 ""
+"álbum;cámara;cámaras;recortar;editar;mejorar;exportar;galería;imagen;"
+"imágenes;importar;organizar;foto;fotográfos;fotos;fotografía;imprimir;"
+"publicar;rotar;compartir;etiquetas;vídeo;facebook;flickr;picasa;youtube;"
+"piwigo;"
+
+#. 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 "Visor de fotos Shotwell"
+
+#: misc/shotwell-viewer.desktop.in.in:5 src/Resources.vala:18
+msgid "Photo Viewer"
+msgstr "Visor de fotos"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:6
+msgid "authentication token"
+msgstr "testigo de autenticación"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:7
+msgid "Yandex-Fotki authentication token, if logged in."
+msgstr "Testigo de autenticación en Yandex-Fotki, si ha iniciado sesión."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:14
+msgid "Token"
+msgstr "Testigo"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:15
+msgid "The token to access tumblr"
+msgstr "El testigo para acceder a Tumblr"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:20
+msgid "Secret token"
+msgstr "Testigo secreto"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:21
+msgid "The secret token to sign oauth requests"
+msgstr "El testigo secreto para firmar peticiones oauth"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:26
+#: misc/org.yorba.shotwell.gschema.xml:486
+msgid "default size"
+msgstr "tamaño predeterminado"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:27
+msgid ""
+"A numeric code representing the default size for photos uploaded to Tumblr"
+msgstr ""
+"Un código numérico que representa el tamaño predeterminado de las fotos "
+"subidas a Tumblr"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:32
+msgid "default blog"
+msgstr "blog prederminado"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:33
+msgid "The name of the default blog of the user, if any"
+msgstr "El nombre del blog predeterminado del usuario, si existe"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:40
+msgid "Rajce URL"
+msgstr "URL de Rajce"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:41
+msgid "URL of the Rajce server."
+msgstr "URL del servidor Rajce."
+
+#: 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 "nombre de usuario"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:47
+msgid "Rajce username, if logged in."
+msgstr "Nombre de usuario de Rajce, si ha iniciado sesión."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:52
+msgid "token"
+msgstr "testigo"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:53
+msgid "user token, if remembered."
+msgstr "testigo de usuario, si se recuerda."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:58
+#: misc/org.yorba.shotwell.gschema.xml:530
+msgid "last category"
+msgstr "última categoría"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:59
+msgid "The last selected Rajce category."
+msgstr "La última categoría de Rajce seleccionada."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:64
+#: misc/org.yorba.shotwell.gschema.xml:542
+msgid "last photo size"
+msgstr "último tamaño de foto"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:65
+msgid ""
+"A numeric code representing the last photo size preset used when publishing "
+"to Rajce."
+msgstr ""
+"Un código numérico que representa el último tamaño de foto predefinido usado "
+"para publicar en Rajce."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:70
+msgid "remember"
+msgstr "recordar"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:71
+msgid "If true, remember last login."
+msgstr "Si es cierto, recordar el último inicio de sesión"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:76
+msgid "hide album"
+msgstr "ocultar álbum"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:77
+msgid "If true, hide the newly created Rajce album."
+msgstr "Si es cierto, ocultar el nuevo álbum creado en Rajce."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:82
+msgid "open album in web browser"
+msgstr "abrir álbum en el navegador"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:83
+msgid ""
+"If true, open target album in the web browser just after uploading photos"
+msgstr ""
+"Si es cierto, abrir el álbum objetivo en el navegador web justo después de "
+"subir las fotos"
+
+#: 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 "eliminar contenido comprometido de las subidas"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:89
+msgid ""
+"Whether images being uploaded to Rajce should have their metadata removed "
+"first"
+msgstr ""
+"Indica si se deben eliminar los metadatos antes de subir las imágenes a Rajce"
+
+#: misc/org.yorba.shotwell.gschema.xml:23
+msgid "display basic properties"
+msgstr "mostrar propiedades básicas"
+
+#: misc/org.yorba.shotwell.gschema.xml:24
+msgid "True if the basic properties pane is to be displayed, false otherwise."
+msgstr ""
+"Cierto si se muestra el panel de propiedades básicas, falso en otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:29
+msgid "display extended properties"
+msgstr "mostrar propiedades extendidas"
+
+#: misc/org.yorba.shotwell.gschema.xml:30
+msgid ""
+"True if the extended properties window is to be displayed, false otherwise."
+msgstr ""
+"Cierto si se muestra la ventana de propiedades ampliadas, falso en otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:35
+msgid "display sidebar"
+msgstr "mostrar barra lateral"
+
+#: misc/org.yorba.shotwell.gschema.xml:36
+msgid "True if the sidebar is to be displayed, false otherwise."
+msgstr "Cierto si se debe mostrar la barra lateral, falso en otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:41
+msgid "display toolbar"
+msgstr "mostrar barra de herramientas"
+
+#: misc/org.yorba.shotwell.gschema.xml:42
+msgid "True if the bottom toolbar is to be displayed, false otherwise."
+msgstr ""
+"Cierto si se debe mostrar la barra de herramientas inferior, falso en otro "
+"caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:47
+msgid "display search bar"
+msgstr "mostrar barra de búsqueda"
+
+#: misc/org.yorba.shotwell.gschema.xml:48
+msgid "True if the Search/Filter Toolbar is to be displayed, false otherwise."
+msgstr ""
+"Cierto si se muestra la barra de herramientas de buscar/filtrar, falso en "
+"otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:53
+msgid "display photo titles"
+msgstr "mostrar títulos de las fotos"
+
+#: misc/org.yorba.shotwell.gschema.xml:54
+msgid ""
+"True if photo titles are to be displayed beneath thumbnails in collection "
+"views, false otherwise."
+msgstr ""
+"Cierto si se deben mostrar los títulos de las fotos debajo de las miniaturas "
+"en la vista de la colección, falso en otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:59
+msgid "display photo comments"
+msgstr "mostrar comentarios de las fotos"
+
+#: misc/org.yorba.shotwell.gschema.xml:60
+msgid ""
+"True if photo comments are to be displayed beneath thumbnails in collection "
+"views, false otherwise."
+msgstr ""
+"Cierto si se deben mostrar los comentarios debajo de las miniaturas en la "
+"vista de la colección, falso en otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:65
+msgid "display event comments"
+msgstr "mostrar comentarios del evento"
+
+#: misc/org.yorba.shotwell.gschema.xml:66
+msgid ""
+"True if event comments are to be displayed beneath thumbnails in event "
+"views, false otherwise."
+msgstr ""
+"Cierto si se deben mostrar los comentarios debajo de las miniaturas en la "
+"vista de la colección, falso en otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:71
+msgid "display photo tags"
+msgstr "mostrar etiquetas de las fotos"
+
+#: misc/org.yorba.shotwell.gschema.xml:72
+msgid ""
+"True if photo tags are to be listed beneath thumbnails in collection views, "
+"false otherwise."
+msgstr ""
+"Cierto si se deben poner en una lista las etiquetas de las fotos debajo de "
+"las miniaturas en la vista de colección."
+
+#: misc/org.yorba.shotwell.gschema.xml:77
+msgid "display photo ratings"
+msgstr "mostrar puntuación de las fotos"
+
+#: misc/org.yorba.shotwell.gschema.xml:78
+#| msgid ""
+#| "True if the basic properties pane is to be displayed, false otherwise."
+msgid ""
+"True if a photo’s rating should be displayed as overlaid trinket, false "
+"otherwise."
+msgstr ""
+"Cierto si se muestra el panel de propiedades básicas, falso en otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:83
+msgid "rating filter level"
+msgstr "nivel de filtrado de puntuación"
+
+#: 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 ""
+"Determina cómo filtrar las fotos según sus calificaciones. 1: rechazada o "
+"mejor, 2: sin puntuar o mejor, 3: una o mejor, 4: dos o mejor, 5: tres o "
+"mejor, 6: cuatro o mejor, 7: cinco o mejor"
+
+#: misc/org.yorba.shotwell.gschema.xml:89
+msgid "sort events ascending"
+msgstr "ordenar eventos ascendentemente"
+
+#: misc/org.yorba.shotwell.gschema.xml:90
+msgid "True if events should be sorted ascending, false if descending."
+msgstr ""
+"Cierto si se deben clasificar los eventos ascendentemente, falso si "
+"descendentemente."
+
+#: misc/org.yorba.shotwell.gschema.xml:95
+msgid "sort library photos ascending"
+msgstr "ordenar fotos de la biblioteca ascendentemente"
+
+#: misc/org.yorba.shotwell.gschema.xml:96
+msgid "True if library photos should be sorted ascending, false if descending."
+msgstr ""
+"Cierto si se debe clasificar la biblioteca de fotos ascendentemente, falso "
+"si descendentemente."
+
+#: misc/org.yorba.shotwell.gschema.xml:101
+msgid "sort library photos criteria"
+msgstr "criterio de ordenación de fotos en la biblioteca"
+
+#: misc/org.yorba.shotwell.gschema.xml:102
+msgid ""
+"A numeric code that specifies the sort criteria for photos in library views."
+msgstr ""
+"Un código numérico que representa el criterio de ordenación de las fotos el "
+"vistas de biblioteca."
+
+#: misc/org.yorba.shotwell.gschema.xml:107
+msgid "sort event photos ascending"
+msgstr "ordenar fotos de eventos ascendentemente"
+
+#: misc/org.yorba.shotwell.gschema.xml:108
+msgid "True if event photos should be sorted ascending, false if descending."
+msgstr ""
+"Cierto si se deben ordenar las fotos de eventos ascendentemente, falso si es "
+"descendentemente."
+
+#: misc/org.yorba.shotwell.gschema.xml:113
+msgid "sort event photos criteria"
+msgstr "criterio de ordenación de las fotos de eventos"
+
+#: misc/org.yorba.shotwell.gschema.xml:114
+msgid "Specifies the sort criteria for event photos."
+msgstr "Especifica el criterio de ordenación de las fotos de eventos."
+
+#: misc/org.yorba.shotwell.gschema.xml:119
+msgid "use 24 hour time"
+msgstr "usar formato de 24 horas"
+
+#: 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 ""
+"Cierto si se debe mostrar la hora con formato 24 horas, falso si se debe "
+"usar el formato am/pm."
+
+#: misc/org.yorba.shotwell.gschema.xml:125
+msgid "keep relative time between photos"
+msgstr "mantener el tiempo relativo entre fotos"
+
+#: 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 ""
+"Cierto si cuando se ajusta la hora y la fecha de las fotos se mantiene la "
+"hora relativa. Falso si todas las fotos deben ajustarse a la misma hora."
+
+#: misc/org.yorba.shotwell.gschema.xml:131
+msgid "modify original photo files"
+msgstr "modificar archivos de fotos originales"
+
+#: 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 ""
+"Cierto si cuando ajustamos la hora y la fecha de las fotos los archivos "
+"originales también se deben modificar. Falso si los cambios sólo se hacen en "
+"la base de datos."
+
+#: misc/org.yorba.shotwell.gschema.xml:137
+msgid "show welcome dialog on startup"
+msgstr "mostrar diálogo de bienvenida al inicio"
+
+#: 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 ""
+"Cierto si se debe mostrar un diálogo de bienvenida al inicio. Falso si no se "
+"debe mostrar."
+
+#: misc/org.yorba.shotwell.gschema.xml:143
+msgid "sidebar position"
+msgstr "posición de la barra lateral"
+
+#: misc/org.yorba.shotwell.gschema.xml:144
+msgid "The width, in pixels, of the sidebar"
+msgstr "La anchura en píxeles de la barra lateral"
+
+#: misc/org.yorba.shotwell.gschema.xml:149
+msgid "photo thumbnail scale"
+msgstr "escala de la miniatura de la foto"
+
+#: misc/org.yorba.shotwell.gschema.xml:150
+msgid "The scale of photo thumbnails, ranging from 72 to 360."
+msgstr "La escala de las miniaturas de las fotos, en un rango de 72 a 360."
+
+#: misc/org.yorba.shotwell.gschema.xml:155
+msgid "pin toolbar state"
+msgstr "estado de anclaje de la barra de herramientas"
+
+#: misc/org.yorba.shotwell.gschema.xml:156
+msgid "Pin toolbar in fullscreen, or not."
+msgstr "Anclar o no la barra de herramientas en modo a pantalla completa."
+
+#: misc/org.yorba.shotwell.gschema.xml:161
+msgid "background color"
+msgstr "color de fondo"
+
+#: misc/org.yorba.shotwell.gschema.xml:162
+msgid "A grayscale color for use as the background color."
+msgstr "La escala de color que usar como color de fondo."
+
+#: misc/org.yorba.shotwell.gschema.xml:167
+msgid "Selection state of “hide photos” option"
+msgstr "Estado de la selección de la opción «ocultar fotos»"
+
+#: misc/org.yorba.shotwell.gschema.xml:168
+msgid ""
+"Last used selection state of the “hide photos already imported” option in "
+"the import page."
+msgstr ""
+"Último estado de selección usado de la opción «ocultar fotos ya importadas» "
+"en la página de importación."
+
+#: misc/org.yorba.shotwell.gschema.xml:175
+msgid "delay"
+msgstr "retardo"
+
+#: misc/org.yorba.shotwell.gschema.xml:176
+msgid "Delay (in seconds) between photos in the slideshow."
+msgstr "Retardo (en segundos) entre fotos en la presentación de diapositivas."
+
+#: misc/org.yorba.shotwell.gschema.xml:181
+msgid "transition delay"
+msgstr "retraso de la transición"
+
+#: misc/org.yorba.shotwell.gschema.xml:182
+msgid ""
+"The time (in seconds) that a transition runs between photos in a slideshow"
+msgstr ""
+"El tiempo (en segundos) que transcurre entre las fotos en una presentación "
+"de diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:187
+msgid "transition effect id"
+msgstr "ID del efecto de transición"
+
+#: 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 ""
+"El nombre del efecto de transición que se usará entre fotos al hacer una "
+"presentación"
+
+#: misc/org.yorba.shotwell.gschema.xml:193
+msgid "Show title"
+msgstr "Mostrar título"
+
+#: misc/org.yorba.shotwell.gschema.xml:194
+msgid "Whether to show the title of a photo during the slideshow"
+msgstr ""
+"Indica si se debe mostrar el título de una foto durante la presentación de "
+"diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:201
+msgid "maximize library window"
+msgstr "maximizar ventana de biblioteca"
+
+#: misc/org.yorba.shotwell.gschema.xml:202
+msgid "True if library application is maximized, false otherwise."
+msgstr ""
+"Cierto si la aplicación de biblioteca está maximizada, falso en otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:207
+msgid "width of library window"
+msgstr "anchura de la ventana de biblioteca"
+
+#: misc/org.yorba.shotwell.gschema.xml:208
+msgid "The last recorded width of the library application window."
+msgstr ""
+"La última anchura guardada de la ventana de la aplicación de biblioteca."
+
+#: misc/org.yorba.shotwell.gschema.xml:213
+msgid "height of library window"
+msgstr "altura de la ventana de biblioteca"
+
+#: misc/org.yorba.shotwell.gschema.xml:214
+msgid "The last recorded height of the library application window."
+msgstr ""
+"La última altura guardada de la ventana de la aplicación de biblioteca."
+
+#: misc/org.yorba.shotwell.gschema.xml:219
+msgid "maximize direct-edit window"
+msgstr "maximizar ventana de edición directa"
+
+#: misc/org.yorba.shotwell.gschema.xml:220
+msgid "True if direct-edit application is maximized, false otherwise."
+msgstr ""
+"Cierto si la ventana de edición directa está maximizada, falso en otro caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:225
+msgid "width of direct-edit window"
+msgstr "anchura de la ventana de edición directa"
+
+#: misc/org.yorba.shotwell.gschema.xml:226
+msgid "The last recorded width of the direct-edit application window."
+msgstr "La última anchura guardada de la ventana de edición directa."
+
+#: misc/org.yorba.shotwell.gschema.xml:231
+msgid "height of direct-edit window"
+msgstr "altura de la ventana de edición directa"
+
+#: misc/org.yorba.shotwell.gschema.xml:232
+msgid "The last recorded height of the direct-edit application window."
+msgstr "La última altura guardada de la ventana de edición directa."
+
+#: misc/org.yorba.shotwell.gschema.xml:237
+msgid "sidebar divider position"
+msgstr "posición del divisor de la barra lateral"
+
+#: 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 ""
+"La última posición registrada del divisor entre la barra lateral y la vista "
+"de la ventana de la aplicación de la biblioteca."
+
+#: misc/org.yorba.shotwell.gschema.xml:245
+msgid "import directory"
+msgstr "importar carpeta"
+
+#: misc/org.yorba.shotwell.gschema.xml:246
+msgid "Directory in which imported photo files are placed."
+msgstr "Carpeta en la que se guardan los archivos de fotos importadas."
+
+#: misc/org.yorba.shotwell.gschema.xml:251
+msgid "watch library directory for new files"
+msgstr "vigilar carpeta de biblioteca en busca de archivos nuevos"
+
+#: misc/org.yorba.shotwell.gschema.xml:252
+msgid ""
+"If true, files added to the library directory are automatically imported."
+msgstr ""
+"Si es cierto si los archivos añadidos a la carpeta de la biblioteca se "
+"importan automáticamente."
+
+#: misc/org.yorba.shotwell.gschema.xml:257
+msgid "write metadata to master files"
+msgstr "escribir metadatos en archivos maestros"
+
+#: misc/org.yorba.shotwell.gschema.xml:258
+msgid ""
+"If true, changes to metadata (tags, titles, etc.) are written to the master "
+"photo file."
+msgstr ""
+"Si es cierto, los cambios en los metadatos (etiquetas, títulos, etc.) se "
+"escriben al archivo de foto maestro."
+
+#: misc/org.yorba.shotwell.gschema.xml:263
+msgid "use lowercase filenames"
+msgstr "usar nombres de archivos en minúscula"
+
+#: misc/org.yorba.shotwell.gschema.xml:264
+msgid ""
+"If true, Shotwell will convert all filenames to lowercase when importing "
+"photo files"
+msgstr ""
+"Si es cierto, Shotwell convertirá todos los nombres de archivos en "
+"minúsculas cuando importe archivos de fotos"
+
+#: misc/org.yorba.shotwell.gschema.xml:269
+msgid "directory pattern"
+msgstr "patrón de carpetas"
+
+#: 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 ""
+"Una cadena que codifica un patrón de nombre que se utilizará para nombrar "
+"las carpetas de fotos en la importación."
+
+#: misc/org.yorba.shotwell.gschema.xml:275
+msgid "directory pattern custom"
+msgstr "Patrón de carpetas personalizadas"
+
+#: 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 ""
+"Una cadena que codifica un patrón de nombre que se utilizará para nombrar "
+"las carpetas de fotos en la importación."
+
+#: misc/org.yorba.shotwell.gschema.xml:281
+msgid "RAW developer default"
+msgstr "desarrollador RAW predeterminado"
+
+#: misc/org.yorba.shotwell.gschema.xml:282
+msgid "Default option for which RAW developer Shotwell will use."
+msgstr "Opción predeterminada que utilizará el desarrollador RAW Shotwell."
+
+#: misc/org.yorba.shotwell.gschema.xml:289
+msgid "Most-recently-used crop aspect ratio menu choice."
+msgstr "Elección más reciente del menú de relación de aspecto del recorte."
+
+#: misc/org.yorba.shotwell.gschema.xml:290
+msgid "A numeric code representing the last crop menu choice the user made."
+msgstr ""
+"Un código numérico que representa la última elección del menú de recortar "
+"que hizo el usuario."
+
+#: misc/org.yorba.shotwell.gschema.xml:294
+msgid "Most-recently-used crop custom aspect ratio’s numerator."
+msgstr ""
+"Numerador utilizado más recientemente de relación de aspecto del recorte "
+"personalizado."
+
+#: 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 ""
+"Un número entero positivo no cero que representa el ancho de la última "
+"relación del recorte personalizado que el usuario introdujo."
+
+#: misc/org.yorba.shotwell.gschema.xml:299
+msgid "Most-recently-used crop custom aspect ratio’s denominator."
+msgstr ""
+"Denominador utilizado más recientemente de relación de aspecto del recorte "
+"personalizado."
+
+#: 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 ""
+"Un número entero positivo no cero que representa la altura de la última "
+"relación del recorte personalizado que el usuario introdujo."
+
+#: misc/org.yorba.shotwell.gschema.xml:307
+msgid "external photo editor"
+msgstr "editor de fotos externo"
+
+#: misc/org.yorba.shotwell.gschema.xml:308
+msgid "External application used to edit photos."
+msgstr "Aplicación externa usada para editar fotos."
+
+#: misc/org.yorba.shotwell.gschema.xml:313
+msgid "external raw editor"
+msgstr "editor RAW externo"
+
+#: misc/org.yorba.shotwell.gschema.xml:314
+msgid "External application used to edit RAW photos."
+msgstr "Aplicación externa usada para editar fotos RAW."
+
+#: misc/org.yorba.shotwell.gschema.xml:352
+#: misc/org.yorba.shotwell.gschema.xml:353
+msgid "Setting in export dialog: how to trim images"
+msgstr ""
+"Configurando el cuadro de diálogo de exportación: cómo recortar imágenes"
+
+#: misc/org.yorba.shotwell.gschema.xml:358
+msgid "export metadata"
+msgstr "exportar metadatos"
+
+#: misc/org.yorba.shotwell.gschema.xml:359
+msgid "Setting in export dialog: option to export metadata"
+msgstr ""
+"Configurando el cuadro de diálogo de exportación: opción para exportar "
+"metadatos"
+
+#: misc/org.yorba.shotwell.gschema.xml:364
+msgid "format setting, special value"
+msgstr "configuración de formato, valor especial"
+
+#: misc/org.yorba.shotwell.gschema.xml:365
+msgid "Setting in export dialog: format setting, special value"
+msgstr ""
+"Configurando el cuadro de diálogo de exportación: configuración de formato, "
+"valor especial"
+
+#: misc/org.yorba.shotwell.gschema.xml:370
+msgid "format setting, type value"
+msgstr "configuración de formato, valor de tipo"
+
+#: misc/org.yorba.shotwell.gschema.xml:371
+msgid "Setting in export dialog: format setting, type value"
+msgstr ""
+"Configurando el cuadro de diálogo de exportación: configuración de formato, "
+"valor de tipo"
+
+#: misc/org.yorba.shotwell.gschema.xml:376
+msgid "JPEG quality option"
+msgstr "Opción de calidad JPEG"
+
+#: misc/org.yorba.shotwell.gschema.xml:377
+msgid "Setting in export dialog: jpeg quality option"
+msgstr ""
+"Configurando el cuadro de diálogo de exportación: opción de calidad JPEG"
+
+#: misc/org.yorba.shotwell.gschema.xml:382
+msgid "maximal size of image"
+msgstr "tamaño máximo de la imagen"
+
+#: misc/org.yorba.shotwell.gschema.xml:383
+msgid "Setting in export dialog: maximal size of image"
+msgstr ""
+"Configurando el cuadro de diálogo de exportación: tamaño máximo de la imagen"
+
+#: misc/org.yorba.shotwell.gschema.xml:390
+msgid "last used publishing service"
+msgstr "último servicio de publicación usado"
+
+#: 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 ""
+"Un código numérico que representa el último servicio en el que se publicaron "
+"las fotos"
+
+#: misc/org.yorba.shotwell.gschema.xml:396
+msgid "default publishing service"
+msgstr "servicio de publicación predeterminado"
+
+#: misc/org.yorba.shotwell.gschema.xml:410
+msgid "access token"
+msgstr "testigo de acceso"
+
+#: misc/org.yorba.shotwell.gschema.xml:411
+msgid "Facebook OAuth token for the currently logged in session, if any"
+msgstr ""
+"Testigo OAuth de Facebook para el usuario que ha iniciado sesión "
+"actualmente, si existe"
+
+#: misc/org.yorba.shotwell.gschema.xml:416
+msgid "user i.d."
+msgstr "ID de usuario"
+
+#: misc/org.yorba.shotwell.gschema.xml:417
+msgid "Facebook user i.d. for the currently logged in user, if any"
+msgstr ""
+"ID del usuario de Facebook que ha iniciado sesión actualmente, si existe"
+
+#: misc/org.yorba.shotwell.gschema.xml:422
+msgid "user name"
+msgstr "nombre de usuario"
+
+#: misc/org.yorba.shotwell.gschema.xml:423
+msgid "The name of the currently logged in Facebook user, if any"
+msgstr ""
+"El nombre del usuario que actualmente ha iniciado sesión en Facebook, si "
+"existe"
+
+#: misc/org.yorba.shotwell.gschema.xml:428
+#: misc/org.yorba.shotwell.gschema.xml:460
+msgid "default size code"
+msgstr "código de tamaño predeterminado"
+
+#: misc/org.yorba.shotwell.gschema.xml:429
+msgid ""
+"A numeric code representing the default size for photos published to Facebook"
+msgstr ""
+"Un código numérico que representa el tamaño predeterminado de las fotos "
+"publicadas en Facebook"
+
+#: misc/org.yorba.shotwell.gschema.xml:435
+msgid ""
+"Whether images being uploaded to Facebook should have their metadata removed "
+"first"
+msgstr ""
+"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
+"Facebook"
+
+#: misc/org.yorba.shotwell.gschema.xml:442
+msgid "OAuth Access Phase Token"
+msgstr "Fase de acceso de testigo OAuth"
+
+#: misc/org.yorba.shotwell.gschema.xml:443
+msgid "The authorization token for the currently logged in Flickr user, if any"
+msgstr ""
+"El testigo de autenticación para el usuario que actualmente ha iniciado "
+"sesión en Flickr, si existe"
+
+#: misc/org.yorba.shotwell.gschema.xml:448
+msgid "OAuth Access Phase Token Secret"
+msgstr "Fase de acceso del testigo secreto OAuth"
+
+#: 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 ""
+"El secreto criptográfico usado para firmar peticiones con el testigo de "
+"autenticación para el usuario que actualmente ha iniciado sesión en Flickr, "
+"si existe"
+
+#: misc/org.yorba.shotwell.gschema.xml:455
+msgid "The user name of the currently logged in Flickr user, if any"
+msgstr ""
+"El nombre del usuario que actualmente ha iniciado sesión en Flickr, si existe"
+
+#: misc/org.yorba.shotwell.gschema.xml:461
+msgid ""
+"A numeric code representing the default size for photos published to Flickr"
+msgstr ""
+"Un código numérico que representa el tamaño predeterminado de las fotos "
+"publicadas en Flickr"
+
+#: misc/org.yorba.shotwell.gschema.xml:466
+msgid "default visibility"
+msgstr "visibilidad predeterminada"
+
+#: misc/org.yorba.shotwell.gschema.xml:467
+msgid ""
+"A numeric code representing the default visibility for photos published to "
+"Flickr"
+msgstr ""
+"Un código numérico que representa la visibilidad predeterminada de las fotos "
+"publicadas en Flickr"
+
+#: misc/org.yorba.shotwell.gschema.xml:473
+msgid ""
+"Whether images being uploaded to Flickr should have their metadata removed "
+"first"
+msgstr ""
+"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
+"Flicrk"
+
+#: misc/org.yorba.shotwell.gschema.xml:480
+#: misc/org.yorba.shotwell.gschema.xml:612
+msgid "refresh token"
+msgstr "actualizar testigo"
+
+#: 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 ""
+"El testigo OAuth utilizado para actualizar la sesión de álbumes web de "
+"Picasa para el usuario que actualmente ha iniciado sesión, si existe"
+
+#: misc/org.yorba.shotwell.gschema.xml:487
+msgid ""
+"A numeric code representing the default size for photos uploaded to Picasa "
+"Web Albums"
+msgstr ""
+"Un código numérico que representa el tamaño predeterminado de las fotos "
+"subidas a álbumes web Picasa"
+
+#: misc/org.yorba.shotwell.gschema.xml:492
+#: misc/org.yorba.shotwell.gschema.xml:586
+msgid "last album"
+msgstr "último álbum"
+
+#: 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 ""
+"El nombre del último álbum en el que el usuario publicó fotos, si existe"
+
+#: misc/org.yorba.shotwell.gschema.xml:499
+msgid ""
+"Whether images being uploaded to Picasa should have their metadata removed "
+"first"
+msgstr ""
+"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
+"Picasa"
+
+#: misc/org.yorba.shotwell.gschema.xml:506
+msgid "Piwigo URL"
+msgstr "URL de Pigwio"
+
+#: misc/org.yorba.shotwell.gschema.xml:507
+msgid "URL of the Piwigo server."
+msgstr "URL del servidor Piwigo."
+
+#: misc/org.yorba.shotwell.gschema.xml:513
+msgid "Piwigo username, if logged in."
+msgstr "Nombre de usuario de Piwigo, si ha iniciado sesión."
+
+#: misc/org.yorba.shotwell.gschema.xml:518
+msgid "password"
+msgstr "contraseña"
+
+#: misc/org.yorba.shotwell.gschema.xml:519
+msgid "Piwigo password, if logged in."
+msgstr "Contraseña de Piwigo, si ha iniciado sesión."
+
+#: misc/org.yorba.shotwell.gschema.xml:524
+msgid "remember password"
+msgstr "recortar contraseña"
+
+#: misc/org.yorba.shotwell.gschema.xml:525
+msgid "If true, remember the Piwigo password."
+msgstr "Si es cierto, recordar la contraseña de Piwigo."
+
+#: misc/org.yorba.shotwell.gschema.xml:531
+msgid "The last selected Piwigo category."
+msgstr "La última categoría de Piwigo seleccionada."
+
+#: misc/org.yorba.shotwell.gschema.xml:536
+msgid "last permission level"
+msgstr "último nivel de permisos"
+
+#: misc/org.yorba.shotwell.gschema.xml:537
+msgid "The last chosen Piwigo permission level."
+msgstr "El último nivel de privilegios elegido el Piwigo."
+
+#: misc/org.yorba.shotwell.gschema.xml:543
+msgid ""
+"A numeric code representing the last photo size preset used when publishing "
+"to Piwigo."
+msgstr ""
+"Un código numérico que representa el último tamaño de foto predefinido usado "
+"para publicar en Piwigo."
+
+#: misc/org.yorba.shotwell.gschema.xml:549
+msgid ""
+"Whether images being uploaded to Piwigo should have their metadata removed "
+"first"
+msgstr ""
+"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
+"Piwigo"
+
+#: misc/org.yorba.shotwell.gschema.xml:554
+msgid ""
+"if title is set and comment unset, use title as comment for uploads to Piwigo"
+msgstr ""
+"si se definió el titulo pero no un comentario, usar el título como "
+"comentario para las subidas a 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 ""
+"Indica si las imágenes que se vayan a subir a Piwigo deben tener un "
+"comentario a partir del título, si tiene, y no tiene comentario"
+
+#: misc/org.yorba.shotwell.gschema.xml:560
+msgid "do not upload tags when uploading to Piwigo"
+msgstr "no subir etiquetas al subir a 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 ""
+"Indica si se deben eliminar las etiquetas antes de subir las imágenes a "
+"Piwigo, para que esas etiquetas no aparezcan en el servidor remoto de Piwigo."
+
+#: misc/org.yorba.shotwell.gschema.xml:569
+msgid "Gallery3 username"
+msgstr "Nombre de usuario de Gallery3"
+
+#: misc/org.yorba.shotwell.gschema.xml:574
+msgid "API key"
+msgstr "Clave de la API"
+
+#: misc/org.yorba.shotwell.gschema.xml:575
+msgid "Gallery3 API key"
+msgstr "Clave de la API de Gallery3"
+
+#: misc/org.yorba.shotwell.gschema.xml:580
+msgid "URL"
+msgstr "URL"
+
+#: misc/org.yorba.shotwell.gschema.xml:581
+msgid "Gallery3 site URL"
+msgstr "URL de Gallery3"
+
+#: misc/org.yorba.shotwell.gschema.xml:593
+msgid ""
+"Indicates whether images being uploaded to Gallery3 should have their "
+"metadata removed first"
+msgstr ""
+"Indica si se deben eliminar los metadatos antes de subir las imágenes a "
+"Gallery3"
+
+#: misc/org.yorba.shotwell.gschema.xml:598
+msgid "scaling constraint of uploaded picture"
+msgstr "restricción de escala de una foto subida"
+
+#: misc/org.yorba.shotwell.gschema.xml:599
+msgid "The scaling constraint ID of the picture to be uploaded"
+msgstr "El ID de la restricción de escala de la foto que se subirá"
+
+#: misc/org.yorba.shotwell.gschema.xml:604
+msgid "pixels of the major axis uploaded picture"
+msgstr "píxeles del eje principal de la foto subida"
+
+#: 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 ""
+"Los píxeles del eje principal de la foto que se subirá; usados solo si el ID "
+"de la restricción de escala tiene un valor adecuado"
+
+#: 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 ""
+"El testigo OAuth usado para actualizar la sesión de Youtube para el usuario "
+"que ha iniciado sesión actualmente, si existe."
+
+#: misc/org.yorba.shotwell.gschema.xml:620
+msgid "last used import service"
+msgstr "último servicio de importación usado"
+
+#: misc/org.yorba.shotwell.gschema.xml:621
+msgid ""
+"A numeric code representing the last service from which photos were imported"
+msgstr ""
+"Un código numérico que representa el último servicio del que se importaron "
+"fotos"
+
+#: misc/org.yorba.shotwell.gschema.xml:628
+msgid "interpreter state cookie"
+msgstr "cookie de estado del intérprete"
+
+#: misc/org.yorba.shotwell.gschema.xml:629
+msgid ""
+"A numeric code that captures the state of the GStreamer plug-in environment"
+msgstr ""
+"Un código numérico que captura el estado del entorno del complemento "
+"GStreamer"
+
+#: misc/org.yorba.shotwell.gschema.xml:636
+msgid "content layout mode"
+msgstr "modo de distribución del contenido"
+
+#: misc/org.yorba.shotwell.gschema.xml:637
+msgid ""
+"A numeric code that describes how photos are laid out on the page during "
+"printing"
+msgstr ""
+"Un código numérico que representa cuántas fotos aparecen en la página al "
+"imprimir"
+
+#: misc/org.yorba.shotwell.gschema.xml:642
+msgid "content ppi"
+msgstr "ppp del contenido"
+
+#: misc/org.yorba.shotwell.gschema.xml:643
+msgid "The number of pixels per inch (ppi) sent to the printer during printing"
+msgstr ""
+"El número de píxeles por pulgada (ppp) enviado a la impresora al imprimir"
+
+#: misc/org.yorba.shotwell.gschema.xml:648
+msgid "content width"
+msgstr "anchura del contenido"
+
+#: misc/org.yorba.shotwell.gschema.xml:649
+msgid "The width of the printed emulsion on the page when printing"
+msgstr "La anchura de la emulsión impresa en la página al imprimir"
+
+#: misc/org.yorba.shotwell.gschema.xml:654
+msgid "content height"
+msgstr "altura del contenido"
+
+#: misc/org.yorba.shotwell.gschema.xml:655
+msgid "The height of the printed emulsion on the page when printing"
+msgstr "La altura de la emulsión impresa en la página al imprimir"
+
+#: misc/org.yorba.shotwell.gschema.xml:660
+msgid "content units"
+msgstr "unidades del contenido"
+
+#: misc/org.yorba.shotwell.gschema.xml:661
+msgid ""
+"A numeric code representing unit of measure (inches or centimeters) used "
+"when printing"
+msgstr ""
+"Un código numérico que representa la unidad de medida (pulgadas o "
+"centímetros) usada al imprimir"
+
+#: misc/org.yorba.shotwell.gschema.xml:666
+msgid "images per page code"
+msgstr "código de imágenes por página"
+
+#: misc/org.yorba.shotwell.gschema.xml:667
+msgid ""
+"A numeric code representing the currently selected images per page mode used "
+"when printing"
+msgstr ""
+"Un código numérico que representa el modo usado de imágenes por página "
+"seleccionadas actualmente al imprimir"
+
+#: misc/org.yorba.shotwell.gschema.xml:672
+msgid "size selection"
+msgstr "tamaño de la selección"
+
+#: misc/org.yorba.shotwell.gschema.xml:673
+msgid ""
+"The index of the current print size in a pre-defined list of standard sizes"
+msgstr ""
+"El índice del tamaño de impresión actual en una lista de tamaños estándar "
+"predefinidos"
+
+#: misc/org.yorba.shotwell.gschema.xml:678
+msgid "match aspect ratio"
+msgstr "coincidir con relación de aspecto"
+
+#: misc/org.yorba.shotwell.gschema.xml:679
+msgid ""
+"Determines whether custom print sizes must match the aspect ratio of the "
+"original photo"
+msgstr ""
+"Determina si los tamaños de impresión personalizados deben coincidir con la "
+"relación de aspecto de la fotografía original"
+
+#: misc/org.yorba.shotwell.gschema.xml:684
+msgid "print titles"
+msgstr "imprimir títulos"
+
+#: 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 ""
+"Cierto si se debe imprimir el título de la foto al imprimirla, falso en otro "
+"caso."
+
+#: misc/org.yorba.shotwell.gschema.xml:690
+msgid "titles font"
+msgstr "tipografía de los títulos"
+
+#: misc/org.yorba.shotwell.gschema.xml:691
+msgid "The name of the font to use for photo titles when they are printed."
+msgstr "El nombre de la tipografía que usar cuando se imprimen los títulos."
+
+#: misc/org.yorba.shotwell.gschema.xml:702
+msgid "enable facebook publishing plugin"
+msgstr "activar complemento de publicación en Facebook"
+
+#: misc/org.yorba.shotwell.gschema.xml:703
+msgid "True if the Facebook publishing plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de publicación en Facebook está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:708
+msgid "enable flickr publishing plugin"
+msgstr "activar complemento de publicación en Flickr"
+
+#: misc/org.yorba.shotwell.gschema.xml:709
+msgid "True if the Flickr publishing plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de publicación en Flickr está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:714
+msgid "enable picasa publishing plugin"
+msgstr "activar complemento de publicación en Picasa"
+
+#: misc/org.yorba.shotwell.gschema.xml:715
+msgid ""
+"True if the Picasa Web Albums publishing plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de publicación en álbumes web Picasa está activado, "
+"falso en otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:720
+msgid "enable youtube publishing plugin"
+msgstr "activar complemento de publicación en Youtube"
+
+#: misc/org.yorba.shotwell.gschema.xml:721
+msgid "True if the YouTube publishing plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de publicación en Youtube está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:726
+msgid "enable piwigo publishing plugin"
+msgstr "activar complemento de publicación en Piwigo"
+
+#: misc/org.yorba.shotwell.gschema.xml:727
+msgid "True if the Piwigo publishing plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de publicación en Piwigo está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:732
+msgid "enable yandex publishing plugin"
+msgstr "activar complemento de publicación en Yandex"
+
+#: misc/org.yorba.shotwell.gschema.xml:733
+msgid "True if the Yandex.Fotki publishing plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de publicación en Yandex.Fotki está activado, falso "
+"en otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:738
+msgid "enable tumblr publishing plugin"
+msgstr "activar complemento de publicación en Tumblr"
+
+#: misc/org.yorba.shotwell.gschema.xml:739
+msgid "True if the Tumblr publishing plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de publicación en Tumblr está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:744
+msgid "enable rajce publishing plugin"
+msgstr "activar complemento de publicación en Rajce"
+
+#: misc/org.yorba.shotwell.gschema.xml:745
+msgid "True if the Rajce publishing plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de publicación en Rajce está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:750
+msgid "enable gallery3 publishing plugin"
+msgstr "activar complemento de publicación en Gallery3"
+
+#: misc/org.yorba.shotwell.gschema.xml:751
+msgid "True if the Gallery3 publishing plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de publicación en Gallery3 está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:756
+msgid "enable F-Spot import plugin"
+msgstr "activar complemento de importación de F-Spot"
+
+#: misc/org.yorba.shotwell.gschema.xml:757
+msgid "True if the F-Spot import plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de importación de F-Spot está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:762
+msgid "enable slideshow crumble transition"
+msgstr "activar transición de desmenuzado del pase de diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:763
+msgid ""
+"True if the Crumble slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de transición de desmoronar está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:768
+msgid "enable slideshow fade transition"
+msgstr "activar transición de fundido del pase de diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:769
+msgid ""
+"True if the Fade slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de transición de fundido está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:774
+#: misc/org.yorba.shotwell.gschema.xml:798
+msgid "enable slideshow slide transition"
+msgstr "activar transición lateral del pase de diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:775
+msgid ""
+"True if the Slide slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de transición lateral está activado, falso en otro "
+"caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:780
+msgid "enable slideshow clock transition"
+msgstr "activar transición de reloj del pase de diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:781
+msgid ""
+"True if the Clock slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de transición de reloj está activado, falso en otro "
+"caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:786
+#: misc/org.yorba.shotwell.gschema.xml:792
+msgid "enable slideshow circle transition"
+msgstr "activar transición circular del pase de diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:787
+msgid ""
+"True if the Circle slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de transición circular está activado, falso en otro "
+"caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:793
+msgid ""
+"True if the Circles slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de transición en círculos está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:799
+msgid ""
+"True if the Blinds slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de transición de persianas está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:804
+msgid "enable slideshow squares transition"
+msgstr "activar transición de cuadros del pase de diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:805
+msgid ""
+"True if the Squares slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de transición de cuadros está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:810
+msgid "enable slideshow stripes transition"
+msgstr "activar transición de bandas del pase de diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:811
+msgid ""
+"True if the Stripes slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Cierto si el complemento de transición de bandas está activado, falso en "
+"otro caso"
+
+#: misc/org.yorba.shotwell.gschema.xml:816
+msgid "enable slideshow chess transition"
+msgstr "activar transición de ajedrez del pase de diapositivas"
+
+#: misc/org.yorba.shotwell.gschema.xml:817
+msgid ""
+"True if the Chess-Board slideshow transition plugin is enabled, false "
+"otherwise"
+msgstr ""
+"Cierto si el complemento de transición de tablero de ajedrez está activado, "
+"falso en otro caso"
+
+#: plugins/common/Resources.vala:12
+msgid "Visit the Shotwell home page"
+msgstr "Visite la página web de Shotwell"
+
+#: plugins/common/Resources.vala:31 src/AppWindow.vala:679
+msgid "translator-credits"
+msgstr ""
+"Daniel Mustieles , 2014-2016\n"
+"Adolfo Jayme Barrientos , 2011–2013\n"
+"Claudio Rodrigo Pereyra Diaz , 2011–2013\n"
+"monkey.libre \n"
+"Jorge González , 2011\n"
+"José Luis Navarro "
+
+#. 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 ""
+"⚫ Este sitio web presenta una identificación que pertenece a un sitio web "
+"diferente."
+
+#. 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 ""
+"⚫ La identificación de este sitio web es demasiado antigua como para "
+"confiar. Compruebe la fecha en el calendario de su equipo."
+
+#. 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 ""
+"⚫ La identificación de este sitio web no ha sido emitida por una "
+"organización de confianza."
+
+#. 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 ""
+"⚫ La identificación de este sitio web no se pudo procesar. Puede estar "
+"dañada."
+
+#. 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 ""
+"⚫ La identificación de este sitio web ha sido revocada por la organización "
+"de confianza que la emitió."
+
+#. 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 ""
+"⚫ No se puede confiar en la identificación de este sitio web porque utiliza "
+"un cifrado muy débil."
+
+#. 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 ""
+"⚫ La identificación de este sitio web sólo es válida para fechas futuras. "
+"Compruebe la fecha en el calendario de su equipo."
+
+#: plugins/common/RESTSupport.vala:509
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958
+msgid "A temporary file needed for publishing is unavailable"
+msgstr "No está disponible un archivo temporal necesario para la publicación"
+
+#: 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 ""
+"Ya ha iniciado y cerrado sesión de Google durante esta sesión de Shotwell.\n"
+"Para seguir publicando en servicios de Google, cierre y reinicie Shotwell, e "
+"intente publicar de nuevo."
+
+#: 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"
+"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 ""
+"Bienvenido/a al servicio de importación de F-Spot.\n"
+"\n"
+"Seleccione una colección a importar, ya sea eligiendo una de las colecciones "
+"existentes encontradas por Shotwell o eligiendo un archivo de base de datos "
+"de F-Spot alternativo."
+
+#: plugins/shotwell-data-imports/FSpotImporter.vala:60
+msgid ""
+"Welcome to the F-Spot library import service.\n"
+"\n"
+"Please select an F-Spot database file."
+msgstr ""
+"Bienvenido/a al servicio de importación de colecciones de F-Spot.\n"
+"\n"
+"Seleccione un archivo de colección de F-Spot."
+
+#: plugins/shotwell-data-imports/FSpotImporter.vala:62
+msgid "Manually select an F-Spot database file to import:"
+msgstr "Seleccionar manualmente una colección de F-Spot para importar:"
+
+#: 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"
+msgstr ""
+"No se puede abrir el archivo seleccionado de F-Spot: el archivo no existe o "
+"no es un archivo de colección de F-Spot"
+
+#: 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"
+msgstr ""
+"No se puede abrir el archivo seleccionado de F-Spot: esta versión de F-Spot "
+"no está soportada por Shotwell"
+
+#: plugins/shotwell-data-imports/FSpotImporter.vala:68
+msgid ""
+"Cannot read the selected F-Spot database file: error while reading tags table"
+msgstr ""
+"No se puede abrir el archivo seleccionado de F-Spot: error al leer la tabla "
+"de etiquetas"
+
+#: plugins/shotwell-data-imports/FSpotImporter.vala:70
+msgid ""
+"Cannot read the selected F-Spot database file: error while reading photos "
+"table"
+msgstr ""
+"No se puede abrir el archivo seleccionado de F-Spot: error al leer la tabla "
+"de fotos"
+
+#: plugins/shotwell-data-imports/FSpotImporter.vala:72
+#, 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 encontró %d fotos en la colección de F-Spot y está importándolas "
+"ahora. Los duplicados se detectarán y eliminarán automáticamente.\n"
+"\n"
+"Puede cerrar este diálogo y empezar a utilizar Shotwell mientras el proceso "
+"de importación ocurre en segundo plano."
+
+#: plugins/shotwell-data-imports/FSpotImporter.vala:86
+#, c-format
+msgid "F-Spot library: %s"
+msgstr "Colección de F-Spot: %s"
+
+#: plugins/shotwell-data-imports/FSpotImporter.vala:424
+msgid "Preparing to import"
+msgstr "Preparando para importar"
+
+#: plugins/shotwell-data-imports/shotwell-data-imports.vala:22
+msgid "Core Data Import Services"
+msgstr "Servicios de importación de datos de núcleo"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:5
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:125
+msgid "Go _Back"
+msgstr "A_trás"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145
+#: ui/shotwell.ui:1627
+#| msgid "_Login"
+msgid "_Log in"
+msgstr "Iniciar _sesión"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:34
+msgid "_Gallery3 URL:"
+msgstr "URL de _Gallery3:"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:64
+msgid "_User name:"
+msgstr "_Nombre de usuario:"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:79
+msgid "_Password:"
+msgstr "_Contraseña:"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:178
+msgid "API _Key:"
+msgstr "_Clave de la API:"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:208
+msgid "or"
+msgstr "o"
+
+#: 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/tumblr_publishing_options_pane.ui:116
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:115
+#: 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 "Cerrar _sesión"
+
+#: 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/tumblr_publishing_options_pane.ui:134
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:129
+#: 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
+msgid "_Publish"
+msgstr "_Publicar"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:11
+msgid "A _new album"
+msgstr "Un álbum _nuevo"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:17
+msgid "An _existing album"
+msgstr "Un álbum _existente"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:22
+msgid "_Remove location, tag and camera-identifying data before uploading"
+msgstr "_Quitar ubicación, etiqueta y datos de la cámara antes de subir"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:135
+msgid "Scaling constraint:"
+msgstr "Re_stricción de escalado:"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:153
+msgid "pixels"
+msgstr "píxeles"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1235
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1329
+#: src/Dimensions.vala:17
+msgid "Original size"
+msgstr "Tamaño original"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:196
+#: src/Dimensions.vala:20
+msgid "Width or height"
+msgstr "Anchura o altura"
+
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:41
+msgid "Gallery3 publishing module"
+msgstr "Módulo de publicación 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 ""
+"No ha iniciado sesión en su Galería.\n"
+"\n"
+"Debe haber registrado una cuenta de Gallery3 para poder iniciar sesión."
+
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:117
+msgid "Shotwell default directory"
+msgstr "Carpeta predeterminada de Shotwell"
+
+#: 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."
+msgid ""
+"\n"
+"\n"
+"The file “%s” may not be supported by or may be too large for this instance "
+"of Gallery3."
+msgstr ""
+"\n"
+"\n"
+"El archivo «%s» puede no estar soportado o ser demasiado grande para esta "
+"instancia de Gallery3."
+
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:802
+msgid ""
+"\n"
+"Note that Gallery3 only supports the video types that Flowplayer does."
+msgstr ""
+"\n"
+"Tenga en cuenta que Gallery3 sólo soporta los mismos tipos de vídeo que "
+"Flowplayer."
+
+#: 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."
+msgid ""
+"A file required for publishing is unavailable. Publishing to %s can’t "
+"continue."
+msgstr ""
+"No está disponible un archivo necesario para publicar. La publicación en %s "
+"no puede continuar."
+
+#. populate any widgets whose contents are
+#. programmatically-generated
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1550
+#, c-format
+msgid "Publishing to %s as %s."
+msgstr "Publicar en %s como %s."
+
+#: 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 ""
+"Escriba el URL de su sitio Gallery3, así como el nombre de usuario y "
+"contraseña (o clave API) para su cuenta de Gallery3."
+
+#: 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 ""
+"El nombre de usuario y la contraseña o la clave de la API no son correctos. "
+"Para interntarlo de nuevo, vuelva a introducir su nombre y su contraseña a "
+"continuación."
+
+#: 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 ""
+"El URL introducido no parece ser la carpeta principal de una instancia de "
+"Gallery3. Asegúrese de que lo ha escrito correctamente y que no tiene "
+"elementos adicionales (ej. index.php)."
+
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1872
+msgid "Unrecognized User"
+msgstr "Usuario no reconocido"
+
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1877
+msgid " Site Not Found"
+msgstr " Sitio no encontrado"
+
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:49
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:892
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:49
+msgid "_Email address"
+msgstr "Dirección de correo _electrónico"
+
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:59
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:893
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:59
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:73
+msgid "_Password"
+msgstr "_Contraseña"
+
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:103
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:894
+msgid "_Remember"
+msgstr "_Recordar"
+
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:125
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:895
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151
+#| msgid "Logging in…"
+msgid "Log in"
+msgstr "Iniciando sesión…"
+
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:75
+msgid "An _existing album:"
+msgstr "Un álbum _existente:"
+
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:135
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:94
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:52
+msgid "A _new album named:"
+msgstr "Un álbum _nuevo:"
+
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:159
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1005
+msgid "_Hide album"
+msgstr "_Ocultar álbum"
+
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:178
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016
+msgid "Open target _album in browser"
+msgstr "Abrir ál_bum objetivo en el navegador"
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:40
+#| msgid "Copyright (C) 2013 rajce.net"
+msgid "Copyright © 2013 rajce.net"
+msgstr "Copyright (C) 2013 rajce.net"
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:744
+msgid "An error message occurred when publishing to Rajce. Please try again."
+msgstr "Ocurrió un error al publicar en Rajce. Inténtelo de nuevo."
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:833
+msgid "Enter email and password associated with your Rajce account."
+msgstr ""
+"Escriba el nombre de usuario y contraseña asociados con su cuenta de Rajce."
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:834
+msgid "Invalid email and/or password. Please try again"
+msgstr "Usuario y/o contraseña no válidos. Inténtelo de nuevo"
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:865
+msgid "Invalid User Email or Password"
+msgstr "Nombre de usuario o contraseña no válidos"
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1012
+#, c-format
+msgid "You are logged into Rajce as %s."
+msgstr "Ha iniciado sesión en Rajce como %s."
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013
+#: plugins/shotwell-publishing/PicasaPublishing.vala:670
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:24
+msgid "Photos will appear in:"
+msgstr "Las fotos aparecen en:"
+
+#: plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala:20
+msgid "Shotwell Extra Publishing Services"
+msgstr "Servicios de publicación adicionales de Shotwell"
+
+#: 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 "_Tamaño de la foto:"
+
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:36
+msgid "Copyright 2012 BJA Electronics"
+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"
+msgid "500 × 375 pixels"
+msgstr "500 × 375 píxeles"
+
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1232
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1326
+#| msgid "1024 x 768 pixels"
+msgid "1024 × 768 pixels"
+msgstr "1024 × 768 píxeles"
+
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107
+#| msgid "1280 x 853 pixels"
+msgid "1280 × 853 pixels"
+msgstr "1280 × 853 píxeles"
+
+#: 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"
+msgid "“%s” isn’t a valid response to an OAuth authentication request"
+msgstr "«%s» no es una respuesta válida a una solicitud de autenticación OAuth"
+
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:559
+#| msgid ""
+#| "TumblrPublisher: start( ): can't start; this publisher is not restartable."
+msgid ""
+"TumblrPublisher: start( ): can’t start; this publisher is not restartable."
+msgstr ""
+"TumblrPublisher: start( ): no puede iniciar, este publicador no es "
+"reiniciable."
+
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:587
+msgid "Enter the username and password associated with your Tumblr account."
+msgstr ""
+"Escriba el nombre de usuario y contraseña asociados con su cuenta de Tumblr."
+
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1087
+msgid "Username and/or password invalid. Please try again"
+msgstr "Usuario y/o contraseña no válidos. Inténtelo de nuevo"
+
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1121
+msgid "Invalid User Name or Password"
+msgstr "Nombre de usuario o contraseña no válidos"
+
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:634
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:752
+#, c-format
+msgid "Could not load UI: %s"
+msgstr "No se pudo cargar la IU: %s"
+
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:734
+#, c-format
+msgid ""
+"You are logged into Tumblr as %s.\n"
+"\n"
+msgstr ""
+"Ha iniciado sesión en Tumblr como %s.\n"
+"\n"
+
+#: plugins/shotwell-publishing-extras/YandexPublishing.vala:22
+msgid "Copyright 2010+ Evgeniy Polyakov "
+msgstr "Copyright 2010+ Evgeniy Polyakov "
+
+#: plugins/shotwell-publishing-extras/YandexPublishing.vala:25
+msgid "Visit the Yandex.Fotki web site"
+msgstr "Visitar el sitio web de Yandex.Fotki"
+
+#: plugins/shotwell-publishing-extras/YandexPublishing.vala:609
+msgid "You are not currently logged into Yandex.Fotki."
+msgstr "Actualmente no ha iniciado sesión en Yandex.Fotki."
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:24
+msgid "_Albums (or write new):"
+msgstr "Álb_umes (o crear uno nuevo):"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:38
+msgid "Access _type:"
+msgstr "_Tipo de acceso:"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:81
+msgid "Disable _comments"
+msgstr "Desactivar _comentarios"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:96
+msgid "_Forbid downloading original photo"
+msgstr "_No permitir la descarga de la foto original"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:159
+msgid "Public"
+msgstr "Público"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1144
+msgid "Friends"
+msgstr "Amigos"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:165
+#: plugins/shotwell-publishing/YouTubePublishing.vala:498
+msgid "Private"
+msgstr "Privado"
+
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:39
+msgid "Publish to an e_xisting album:"
+msgstr "Publicar en un álbum e_xistente:"
+
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:57
+msgid "Create a _new album named:"
+msgstr "Crear un álbum _nuevo llamado:"
+
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:108
+#: plugins/shotwell-publishing/FacebookPublishing.vala:984
+msgid "Upload _size:"
+msgstr "_Tamaño de subida:"
+
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:139
+msgid "Videos and new photo albums _visible to:"
+msgstr "Vídeos y álbumes de fotos nuevos _visibles para:"
+
+#: 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
+msgid ""
+"_Remove location, camera, and other identifying information before uploading"
+msgstr "_Quitar ubicación, cámara y otra información antes de subir"
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:62
+#: plugins/shotwell-publishing/PicasaPublishing.vala:60
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1209
+msgid "Shotwell Connect"
+msgstr "Shotwell Connect"
+
+#: 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 "
+#| "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."
+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 ""
+"Actualmente no ha iniciado sesión en Facebook.\n"
+"\n"
+"Si no tiene una cuenta de Facebook, puede crear una durante el proceso de "
+"inicio de sesión. Durante el inicio de sesión, Shotwell Connect le puede "
+"pedir permiso para subir fotos y publicar en su muro. Estos permisos son "
+"necesarios para que Shotwell Connect funcione."
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:66
+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 ""
+"Ya ha iniciado y cerrado sesión de Facebook durante esta sesión de "
+"Shotwell.\n"
+"Para seguir publicando en Facebook, cierre y reinicie Shotwell, e intente "
+"publicar de nuevo."
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:87
+msgid "Standard (720 pixels)"
+msgstr "Estándar (720 píxeles)"
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:90
+msgid "Large (2048 pixels)"
+msgstr "Grande (2048 píxeles)"
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:255
+#| msgid "Testing connection to Facebook..."
+msgid "Testing connection to Facebook…"
+msgstr "Comprobando la conexión a Facebook…"
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:348
+#: plugins/shotwell-publishing/PicasaPublishing.vala:379
+#| msgid "Creating album..."
+msgid "Creating album…"
+msgstr "Creando el álbum…"
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:374
+#| msgid ""
+#| "A file required for publishing is unavailable. Publishing to Facebook "
+#| "can't continue."
+msgid ""
+"A file required for publishing is unavailable. Publishing to Facebook can’t "
+"continue."
+msgstr ""
+"No está disponible un archivo necesario para publicar. La publicación en "
+"Facebook no puede continuar."
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:982
+#, c-format
+msgid ""
+"You are logged into Facebook as %s.\n"
+"\n"
+msgstr ""
+"Ha iniciado sesión en Facebook como %s.\n"
+"\n"
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:983
+msgid "Where would you like to publish the selected photos?"
+msgstr "¿Dónde quiere publicar las fotos seleccionadas?"
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1143
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1213
+msgid "Just me"
+msgstr "Solo yo"
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1145
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1209
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1313
+msgid "Everyone"
+msgstr "Todos"
+
+#: 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 ""
+"Introduzca el número de confirmación que aparece en su navegador web después "
+"de iniciar sesión en Flickr."
+
+#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:37
+msgid "Authorization _Number:"
+msgstr "_Número de autorización:"
+
+#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83
+#: src/Dialogs.vala:128
+msgid "Con_tinue"
+msgstr "Con_tinuar"
+
+#: 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 "
+#| "authorize Shotwell Connect to link to your Flickr account."
+msgid ""
+"You are not currently logged into Flickr.\n"
+"\n"
+"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 ""
+"Actualmente no ha iniciado sesión en Flickr.\n"
+"\n"
+"Pulse Iniciar sesión para identificarse en Flickr en su navegador web. "
+"Tendrá que autorizar a Shotwell Connect para que se enlace a su cuenta de "
+"Flickr."
+
+#: 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 ""
+"Ya ha iniciado y cerrado sesión de Flickr durante esta sesión de Shotwell.\n"
+"Para seguir publicando en Flickr, cierre y reinicie Shotwell, e intente "
+"publicar de nuevo."
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:374
+#| msgid "Preparing for login..."
+msgid "Preparing for login…"
+msgstr "Preparándose para iniciar sesión…"
+
+#: 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 "
+#| "continue."
+msgid ""
+"A file required for publishing is unavailable. Publishing to Flickr can’t "
+"continue."
+msgstr ""
+"No está disponible un archivo necesario para publicar. La publicación en "
+"Flickr no puede continuar."
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:457
+#| msgid "Verifying authorization..."
+msgid "Verifying authorization…"
+msgstr "Comprobando la autorización…"
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1152
+#, c-format
+msgid ""
+"You are logged into Flickr as %s.\n"
+"\n"
+msgstr ""
+"Ha iniciado sesión en Flickr como %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 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] ""
+"Su cuenta gratuita de Flickr limita la cantidad de datos que puede subir al "
+"mes.\n"
+"Este mes tiene %d megabyte restantes de su límite de subida."
+msgstr[1] ""
+"Su cuenta gratuita de Flickr limita la cantidad de datos que puede subir al "
+"mes.\n"
+"Este mes tiene %d megabytes restantes de su límite de sudiba."
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1159
+msgid "Your Flickr Pro account entitles you to unlimited uploads."
+msgstr "Su cuenta de Flickr Pro le permite subidas ilimitadas."
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1164
+msgid "Photos _visible to:"
+msgstr "Fotos _visibles para:"
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1166
+msgid "Videos _visible to:"
+msgstr "Vídeos _visibles para:"
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1169
+msgid "Photos and videos _visible to:"
+msgstr "Fotos y vídeos _visibles para:"
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1210
+msgid "Friends & family only"
+msgstr "Solo amigos y familia"
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1211
+msgid "Family only"
+msgstr "Solo familia"
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1212
+msgid "Friends only"
+msgstr "Solo amigos"
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1233
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1327
+#| msgid "2048 x 1536 pixels"
+msgid "2048 × 1536 pixels"
+msgstr "2048 × 1536 píxeles"
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1234
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1328
+#| msgid "4096 x 3072 pixels"
+msgid "4096 × 3072 pixels"
+msgstr "4096 × 3072 píxeles"
+
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:113
+msgid "L_ist album in public gallery"
+msgstr "_Listar álbum en la galería pública"
+
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:150
+msgid "Photo _size preset:"
+msgstr "_Tamaño de foto predefinido:"
+
+#: 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."
+msgid ""
+"You are not currently logged into Picasa Web Albums.\n"
+"\n"
+"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 ""
+"Actualmente no ha iniciado sesión en Álbumes web de Picasa.\n"
+"\n"
+"Pulse Iniciar sesión para identificarse en Álbumes web de Picasa en su "
+"navegador web. Tendrá que autorizar a Shotwell Connect para que se enlace a "
+"su cuenta de Álbumes web de Picasa."
+
+#: plugins/shotwell-publishing/PicasaPublishing.vala:361
+#| msgid ""
+#| "A file required for publishing is unavailable. Publishing to Picasa can't "
+#| "continue."
+msgid ""
+"A file required for publishing is unavailable. Publishing to Picasa can’t "
+"continue."
+msgstr ""
+"No está disponible un archivo necesario para publicar. La publicación en "
+"Picasa no puede continuar."
+
+#. populate any widgets whose contents are programmatically-generated.
+#: plugins/shotwell-publishing/PicasaPublishing.vala:659
+#, c-format
+msgid "You are logged into Picasa Web Albums as %s."
+msgstr "Ha iniciado sesión en Álbumes web de Picasa como %s."
+
+#: plugins/shotwell-publishing/PicasaPublishing.vala:665
+msgid "Videos will appear in:"
+msgstr "Los vídeos aparecerán en:"
+
+#: plugins/shotwell-publishing/PicasaPublishing.vala:746
+#| msgid "Small (640 x 480 pixels)"
+msgid "Small (640 × 480 pixels)"
+msgstr "Pequeño (640 × 480 píxeles)"
+
+#: plugins/shotwell-publishing/PicasaPublishing.vala:747
+#| msgid "Medium (1024 x 768 pixels)"
+msgid "Medium (1024 × 768 pixels)"
+msgstr "Mediano (1024 × 768 píxeles)"
+
+#: plugins/shotwell-publishing/PicasaPublishing.vala:748
+#| msgid "Recommended (1600 x 1200 pixels)"
+msgid "Recommended (1600 × 1200 pixels)"
+msgstr "Recomendado (1600 × 1200 píxeles)"
+
+#: plugins/shotwell-publishing/PicasaPublishing.vala:749
+#| msgid "Google+ (2048 x 1536 pixels)"
+msgid "Google+ (2048 × 1536 pixels)"
+msgstr "Google+ (2048 × 1536 píxeles)"
+
+#: plugins/shotwell-publishing/PicasaPublishing.vala:750
+#: src/editing_tools/EditingTools.vala:756
+msgid "Original Size"
+msgstr "Tamaño original"
+
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:49
+msgid "_URL of your Piwigo photo library"
+msgstr "_URL de su biblioteca de fotos Piwigo"
+
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:59
+msgid "User _name"
+msgstr "_Nombre de usuario"
+
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:130
+msgid "_Remember Password"
+msgstr "_Recortar contraseña"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:40
+msgid "An _existing category:"
+msgstr "Una categoría _existente:"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:121
+msgid "Photos will be _visible by:"
+msgstr "Las fotos serán _visibles para:"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:149
+msgid "Photo size:"
+msgstr "Tamaño de la foto:"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:176
+msgid "within category:"
+msgstr "en la categoría:"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:210
+msgid "Album comment:"
+msgstr "Comentario del álbum:"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:242
+msgid "_If a title is set and comment unset, use title as comment"
+msgstr ""
+"_Si se definió el titulo pero no un comentario, usar el título como "
+"comentario"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:258
+msgid "_Do no upload tags"
+msgstr "_No cargar las etiquetas"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:278
+msgid "Logout"
+msgstr "Salir"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:291
+#: src/Resources.vala:295
+msgid "Publish"
+msgstr "Publicar"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:775
+#, c-format
+#| msgid "Creating album %s..."
+msgid "Creating album %s…"
+msgstr "Creando el álbum %s…"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:948
+msgid "An error message occurred when publishing to Piwigo. Please try again."
+msgstr "Ocurrió un error al publicar en Piwigo. Inténtelo de nuevo."
+
+#. %s is the host name that we tried to connect to
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1024
+#, c-format
+msgid ""
+"This does not look like the real %s . 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 ""
+"Esto no parece el %s real. Los atacantes pueden estar tratando de "
+"robar o alterar la información que entra o sale de este sitio (por ejemplo, "
+"mensajes privados, información de tarjetas de crédito o contraseñas)."
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085
+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 ""
+"Escriba el URL de su colección fotográfica de Piwigo, así como el nombre de "
+"usuario y contraseña asociados a esa colección."
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1086
+msgid ""
+"Shotwell cannot contact your Piwigo photo library. Please verify the URL you "
+"entered"
+msgstr ""
+"Shotwell no puede contactar su colección de fotos de Piwigo. Compruebe la "
+"URL que ha introducido"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116
+msgid "Invalid URL"
+msgstr "URL no válida"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314
+msgid "Admins, Family, Friends, Contacts"
+msgstr "Administradores, Familia, Amigos, Contactos"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315
+msgid "Admins, Family, Friends"
+msgstr "Administradores, Familia, Amigos"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316
+msgid "Admins, Family"
+msgstr "Administradores, Familia"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317
+msgid "Admins"
+msgstr "Administradores"
+
+#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:21
+msgid "This connection is not secure"
+msgstr "Esta conexión no es segura"
+
+#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:75
+msgid "Show the certificate…"
+msgstr "Mostrar el certificado…"
+
+#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:88
+msgid "I understand, please _proceed."
+msgstr "Lo entiendo, _continuar."
+
+#: plugins/shotwell-publishing/shotwell-publishing.vala:26
+msgid "Core Publishing Services"
+msgstr "Servicios de publicación"
+
+#: plugins/shotwell-publishing/youtube_publishing_options_pane.ui:55
+msgid "Video privacy _setting:"
+msgstr "Co_nfiguración de privacidad de vídeos:"
+
+#: plugins/shotwell-publishing/YouTubePublishing.vala:58
+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 ""
+"No ha iniciado sesión en YouTube.\n"
+"\n"
+"Debe haber registrado una cuenta de Google y configurarla para utilizarla "
+"con YouTube para continuar. Puede configurar la mayoría de cuentas mediante "
+"el uso de su navegador para registrarse en el sitio de YouTube al menos una "
+"vez."
+
+#: plugins/shotwell-publishing/YouTubePublishing.vala:363
+#| msgid ""
+#| "A file required for publishing is unavailable. Publishing to Youtube "
+#| "can't continue."
+msgid ""
+"A file required for publishing is unavailable. Publishing to YouTube can’t "
+"continue."
+msgstr ""
+"No está disponible un archivo necesario para publicar. La publicación en "
+"Youtube no puede continuar."
+
+#: plugins/shotwell-publishing/YouTubePublishing.vala:462
+#, c-format
+msgid "You are logged into YouTube as %s."
+msgstr "Ha iniciado sesión en YouTube como %s."
+
+#: plugins/shotwell-publishing/YouTubePublishing.vala:464
+#, c-format
+#| msgid "Videos will appear in '%s'"
+msgid "Videos will appear in “%s”"
+msgstr "Los vídeos aparecerán en «%s»"
+
+#: plugins/shotwell-publishing/YouTubePublishing.vala:496
+msgid "Public listed"
+msgstr "Listado públicamente"
+
+#: plugins/shotwell-publishing/YouTubePublishing.vala:497
+msgid "Public unlisted"
+msgstr "No listado públicamente"
+
+#: plugins/shotwell-transitions/BlindsEffect.vala:20
+msgid "Blinds"
+msgstr "Persianas"
+
+#: plugins/shotwell-transitions/ChessEffect.vala:20
+msgid "Chess"
+msgstr "Ajedrez"
+
+#: plugins/shotwell-transitions/CircleEffect.vala:20
+msgid "Circle"
+msgstr "Círculo"
+
+#: plugins/shotwell-transitions/CirclesEffect.vala:20
+msgid "Circles"
+msgstr "Círculos"
+
+#: plugins/shotwell-transitions/ClockEffect.vala:20
+msgid "Clock"
+msgstr "Reloj"
+
+#: plugins/shotwell-transitions/CrumbleEffect.vala:20
+msgid "Crumble"
+msgstr "Desmoronar"
+
+#: plugins/shotwell-transitions/FadeEffect.vala:20
+msgid "Fade"
+msgstr "Desvanecer"
+
+#: plugins/shotwell-transitions/shotwell-transitions.vala:28
+msgid "Core Slideshow Transitions"
+msgstr "Transiciones de pase de diapositivas"
+
+#: 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."
+
+#: plugins/shotwell-transitions/SlideEffect.vala:20
+msgid "Slide"
+msgstr "Diapositiva"
+
+#: plugins/shotwell-transitions/SquaresEffect.vala:20
+msgid "Squares"
+msgstr "Cuadrados"
+
+#: plugins/shotwell-transitions/StripesEffect.vala:20
+msgid "Stripes"
+msgstr "Franjas"
+
+#: src/AppDirs.vala:64 src/AppDirs.vala:115
+#, c-format
+msgid "Unable to create cache directory %s: %s"
+msgstr "No se pudo crear la carpeta de caché %s: %s"
+
+#: src/AppDirs.vala:74 src/AppDirs.vala:104
+#, c-format
+msgid "Unable to create data directory %s: %s"
+msgstr "No se puede crear la carpeta de datos %s: %s"
+
+#. If XDG yarfed, use ~/Pictures
+#: src/AppDirs.vala:168
+msgid "Pictures"
+msgstr "Imágenes"
+
+#: src/AppDirs.vala:206
+#, c-format
+msgid "Unable to create temporary directory %s: %s"
+msgstr "No se puede crear la carpeta temporal %s: %s"
+
+#: src/AppDirs.vala:223 src/AppDirs.vala:254
+#, c-format
+msgid "Unable to create data subdirectory %s: %s"
+msgstr "No se puede crear la subcarpeta de datos %s: %s"
+
+#: src/AppDirs.vala:236
+#, c-format
+msgid "Could not make directory %s writable"
+msgstr "No se pudo hacer que la carpeta %s sea escribible"
+
+#: src/AppDirs.vala:239
+#, c-format
+msgid "Could not make directory %s writable: %s"
+msgstr "No se pudo hacer escribible la carpeta %s: %s"
+
+#: src/AppWindow.vala:54
+msgid "Pin Toolbar"
+msgstr "Anclar la barra de herramientas"
+
+#: src/AppWindow.vala:55
+msgid "Pin the toolbar open"
+msgstr "Mantener abierta la barra de herramientas"
+
+#: src/AppWindow.vala:60
+msgid "Leave fullscreen"
+msgstr "Salir de pantalla completa"
+
+#: src/AppWindow.vala:499
+msgid "_Contents"
+msgstr "_Contenido"
+
+#: src/AppWindow.vala:504
+msgid "_Frequently Asked Questions"
+msgstr "_Preguntas más frecuentes"
+
+#: src/AppWindow.vala:509
+msgid "_Report a Problem…"
+msgstr "_Informar de un problema…"
+
+#: 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
+msgid "_Cancel"
+msgstr "_Cancelar"
+
+#: src/AppWindow.vala:656
+#, c-format
+#| msgid ""
+#| "A fatal error occurred when accessing Shotwell's library. Shotwell "
+#| "cannot continue.\n"
+#| "\n"
+#| "%s"
+msgid ""
+"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot "
+"continue.\n"
+"\n"
+"%s"
+msgstr ""
+"Ocurrió un error grave al acceder a la colección de Shotwell. Shotwell no "
+"puede continuar.\n"
+"\n"
+"%s"
+
+#: src/AppWindow.vala:676
+msgid "Visit the Shotwell web site"
+msgstr "Visite la página web de Shotwell"
+
+#: src/AppWindow.vala:688
+#, c-format
+msgid "Unable to display help: %s"
+msgstr "No se puede mostrar la ayuda: %s"
+
+#: src/AppWindow.vala:696
+#, c-format
+msgid "Unable to navigate to bug database: %s"
+msgstr "No se pudo navegar en la base de datos de errores: %s"
+
+#: src/AppWindow.vala:704
+#, c-format
+msgid "Unable to display FAQ: %s"
+msgstr "No se pudieron mostrar las P+F: %s"
+
+#: src/BatchImport.vala:26
+msgid "Success"
+msgstr "Éxito"
+
+#: src/BatchImport.vala:29
+msgid "File error"
+msgstr "Error de archivo"
+
+#: src/BatchImport.vala:32
+msgid "Unable to decode file"
+msgstr "No se puede descodificar el archivo"
+
+#: src/BatchImport.vala:35
+msgid "Database error"
+msgstr "Error de la base de datos"
+
+#: src/BatchImport.vala:38
+msgid "User aborted import"
+msgstr "El usuario canceló la importación"
+
+#: src/BatchImport.vala:41
+msgid "Not a file"
+msgstr "No es un archivo"
+
+#: src/BatchImport.vala:44
+msgid "File already exists in database"
+msgstr "El archivo ya existe en la base de datos"
+
+#: src/BatchImport.vala:47
+msgid "Unsupported file format"
+msgstr "Formato de archivo no soportado"
+
+#: src/BatchImport.vala:50
+msgid "Not an image file"
+msgstr "No es un archivo de imagen"
+
+#: src/BatchImport.vala:53
+msgid "Disk failure"
+msgstr "Fallo en disco"
+
+#: src/BatchImport.vala:56
+msgid "Disk full"
+msgstr "Disco lleno"
+
+#: src/BatchImport.vala:59
+msgid "Camera error"
+msgstr "Error de la cámara"
+
+#: src/BatchImport.vala:62
+msgid "File write error"
+msgstr "Error de escritura en el archivo"
+
+#: src/BatchImport.vala:65
+msgid "Corrupt image file"
+msgstr "Archivo de imagen dañado"
+
+#: src/BatchImport.vala:68
+#, c-format
+msgid "Imported failed (%d)"
+msgstr "Fallo de importación (%d)"
+
+#: src/camera/Branch.vala:85
+msgid "Cameras"
+msgstr "Cámaras"
+
+#: src/camera/Branch.vala:99 src/camera/ImportPage.vala:710
+#: src/camera/ImportPage.vala:726 src/MediaPage.vala:440
+#: src/photos/RawSupport.vala:303
+msgid "Camera"
+msgstr "Cámara"
+
+#: src/camera/ImportPage.vala:311 src/Properties.vala:227
+msgid "RAW+JPEG"
+msgstr "RAW+JPEG"
+
+#: src/camera/ImportPage.vala:458
+#| msgid ""
+#| "Unable to unmount camera. Try unmounting the camera from the file "
+#| "manager."
+msgid ""
+"Unable to unmount camera. Try unmounting the camera from the file manager."
+msgstr ""
+"No se puede desmontar la cámara. Intente desmontar la cámara desde el gestor "
+"de archivos."
+
+#. hide duplicates checkbox
+#: src/camera/ImportPage.vala:775
+msgid "Hide photos already imported"
+msgstr "Ocultar fotos ya importadas"
+
+#: src/camera/ImportPage.vala:776
+msgid "Only display photos that have not been imported"
+msgstr "Mostrar solo las fotos que no han sido importadas"
+
+#: src/camera/ImportPage.vala:842
+msgid "The camera seems to be empty. No photos/videos found to import"
+msgstr "La cámara parece estar vacía. No se han importado fotos/vídeos"
+
+#: src/camera/ImportPage.vala:846
+msgid "No new photos/videos found on camera"
+msgstr "No se encontraron fotos/vídeos en la cámara"
+
+#: src/camera/ImportPage.vala:873 src/MediaPage.vala:451
+msgid "_Titles"
+msgstr "_Títulos"
+
+#: src/camera/ImportPage.vala:874 src/MediaPage.vala:452
+msgid "Display the title of each photo"
+msgstr "Mostrar el título de cada foto"
+
+#: src/camera/ImportPage.vala:885
+msgid "Import _Selected"
+msgstr "Importar _seleccionadas"
+
+#: src/camera/ImportPage.vala:886
+msgid "Import the selected photos into your library"
+msgstr "Importar las fotos seleccionadas a su colección"
+
+#: src/camera/ImportPage.vala:891
+msgid "Import _All"
+msgstr "Importar tod_as"
+
+#: src/camera/ImportPage.vala:892
+msgid "Import all the photos into your library"
+msgstr "Importar todas las fotos a su colección"
+
+#. it's mounted, offer to unmount for the user
+#: src/camera/ImportPage.vala:1013
+#| msgid ""
+#| "Shotwell needs to unmount the camera from the filesystem in order to "
+#| "access it. Continue?"
+msgid ""
+"Shotwell needs to unmount the camera from the filesystem in order to access "
+"it. Continue?"
+msgstr ""
+"Shotwell necesita desmontar la cámara del sistema de archivos con el fin de "
+"acceder a ella. ¿Continuar?"
+
+#: src/camera/ImportPage.vala:1019
+msgid "_Unmount"
+msgstr "_Desmontar"
+
+#: src/camera/ImportPage.vala:1024
+msgid "Please unmount the camera."
+msgstr "Desmonte la cámara."
+
+#: src/camera/ImportPage.vala:1029
+#| 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."
+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 ""
+"La cámara está bloqueada por otra aplicación. Shotwell solo puede acceder a "
+"la cámara cuando está desbloqueada. Cierre cualquier otra aplicación que "
+"esté utilizando la cámara e inténtelo de nuevo."
+
+#: src/camera/ImportPage.vala:1039
+msgid "Please close any other application using the camera."
+msgstr "Cierre cualquier otra aplicación que esté utilizando la cámara."
+
+#: src/camera/ImportPage.vala:1044
+#, c-format
+msgid ""
+"Unable to fetch previews from the camera:\n"
+"%s"
+msgstr ""
+"No se pueden obtener previsualizaciones de la cámara:\n"
+"%s"
+
+#: src/camera/ImportPage.vala:1061
+msgid "Unmounting…"
+msgstr "Desmontando…"
+
+#: src/camera/ImportPage.vala:1152
+msgid "Starting import, please wait…"
+msgstr "Iniciando la importación, espere un momento…"
+
+#: src/camera/ImportPage.vala:1169
+msgid "Fetching photo information"
+msgstr "Obteniendo información de la foto"
+
+#: src/camera/ImportPage.vala:1527
+#, c-format
+msgid "Fetching preview for %s"
+msgstr "Obteniendo previsualización para %s"
+
+#: src/camera/ImportPage.vala:1643
+#, c-format
+msgid "Unable to lock camera: %s"
+msgstr "No se puede bloquear la cámara: %s"
+
+#: src/camera/ImportPage.vala:1728
+#, c-format
+msgid "Delete this photo from camera?"
+msgid_plural "Delete these %d photos from camera?"
+msgstr[0] "¿Quiere eliminar esta foto de la cámara?"
+msgstr[1] "¿Quiere eliminar estas %d fotos de la cámara?"
+
+#: src/camera/ImportPage.vala:1731
+#, c-format
+msgid "Delete this video from camera?"
+msgid_plural "Delete these %d videos from camera?"
+msgstr[0] "¿Quiere eliminar esta foto de la cámara?"
+msgstr[1] "¿Quiere eliminar estas %d fotos de la cámara?"
+
+#: src/camera/ImportPage.vala:1734
+#, c-format
+msgid "Delete this photo/video from camera?"
+msgid_plural "Delete these %d photos/videos from camera?"
+msgstr[0] "¿Quiere eliminar esta foto/vídeo de la cámara?"
+msgstr[1] "¿Quiere eliminar estas %d fotos/vídeos de la cámara?"
+
+#: src/camera/ImportPage.vala:1737
+#, c-format
+msgid "Delete these files from camera?"
+msgid_plural "Delete these %d files from camera?"
+msgstr[0] "¿Eliminar este archivo de la cámara?"
+msgstr[1] "¿Eliminar estos %d archivos de la cámara?"
+
+#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1408
+msgid "_Keep"
+msgstr "_Mantener"
+
+#: src/camera/ImportPage.vala:1764
+msgid "Removing photos/videos from camera"
+msgstr "Eliminando fotos/vídeos de la cámara"
+
+#: src/camera/ImportPage.vala:1768
+#, 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] "No se puede eliminar %d foto/vídeo de la cámara, debido a errores."
+msgstr[1] ""
+"No se pueden eliminar %d fotos/vídeos de la cámara, debido a errores."
+
+#: src/CollectionPage.vala:230 src/PhotoPage.vala:2635
+msgid "S_lideshow"
+msgstr "_Diapositivas"
+
+#: src/CollectionPage.vala:231 src/PhotoPage.vala:2636
+msgid "Play a slideshow"
+msgstr "Iniciar un pase de diapositivas"
+
+#: src/CollectionPage.vala:456
+msgid "Export Photo/Video"
+msgstr "Exportar foto o vídeo"
+
+#: src/CollectionPage.vala:456
+msgid "Export Photos/Videos"
+msgstr "Exportar fotos/vídeos"
+
+#: src/CollectionPage.vala:458 src/Dialogs.vala:59 src/PhotoPage.vala:3209
+msgid "Export Photo"
+msgstr "Exportar foto"
+
+#: src/CollectionPage.vala:458 src/Dialogs.vala:84
+msgid "Export Photos"
+msgstr "Exportar fotos"
+
+#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
+msgid "Rotating"
+msgstr "Girando"
+
+#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
+msgid "Undoing Rotate"
+msgstr "Deshaciendo el giro"
+
+#: src/CollectionPage.vala:570
+msgid "Flipping Horizontally"
+msgstr "Volteando horizontalmente"
+
+#: src/CollectionPage.vala:571
+msgid "Undoing Flip Horizontally"
+msgstr "Deshaciendo volteo horizontal"
+
+#: src/CollectionPage.vala:580
+msgid "Flipping Vertically"
+msgstr "Volteando verticalmente"
+
+#: src/CollectionPage.vala:581
+msgid "Undoing Flip Vertically"
+msgstr "Deshaciendo volteo vertical"
+
+#: src/Commands.vala:737
+msgid "Reverting"
+msgstr "Revirtiendo"
+
+#: src/Commands.vala:737
+msgid "Undoing Revert"
+msgstr "Deshaciendo reversión"
+
+#: src/Commands.vala:781
+msgid "Enhancing"
+msgstr "Mejorando"
+
+#: src/Commands.vala:781
+msgid "Undoing Enhance"
+msgstr "Deshaciendo mejora"
+
+#: src/Commands.vala:857
+msgid "Applying Color Transformations"
+msgstr "Aplicando transformación de color"
+
+#: src/Commands.vala:857
+msgid "Undoing Color Transformations"
+msgstr "Deshaciendo transformación de color"
+
+#: src/Commands.vala:1007
+msgid "Creating New Event"
+msgstr "Creando un evento nuevo"
+
+#: src/Commands.vala:1008
+msgid "Removing Event"
+msgstr "Quitando el evento"
+
+#: src/Commands.vala:1017
+msgid "Moving Photos to New Event"
+msgstr "Moviendo fotos a un evento nuevo"
+
+#: src/Commands.vala:1018
+msgid "Setting Photos to Previous Event"
+msgstr "Estableciendo fotos al evento anterior"
+
+#: src/Commands.vala:1075
+msgid "Merging"
+msgstr "Combinando"
+
+#: src/Commands.vala:1076
+msgid "Unmerging"
+msgstr "Deshaciendo la combinación"
+
+#: src/Commands.vala:1085
+msgid "Duplicating photos"
+msgstr "Duplicando las fotos"
+
+#: src/Commands.vala:1085
+msgid "Removing duplicated photos"
+msgstr "Quitando las fotos duplicadas"
+
+#: 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] "No se puede duplicar una foto debido a un error de archivo"
+msgstr[1] "No se pueden duplicar %d fotos debido a errores de archivo"
+
+#: src/Commands.vala:1195
+msgid "Restoring previous rating"
+msgstr "Restaurar valoración anterior"
+
+#: src/Commands.vala:1205 src/Commands.vala:1206
+msgid "Increasing ratings"
+msgstr "Aumentando la valoración"
+
+#: src/Commands.vala:1205 src/Commands.vala:1206
+msgid "Decreasing ratings"
+msgstr "Disminuyendo la valoración"
+
+#: src/Commands.vala:1256
+msgid "Setting RAW developer"
+msgstr "Configurando el revelador RAW"
+
+#: src/Commands.vala:1256
+msgid "Restoring previous RAW developer"
+msgstr "Restaurando el revelador RAW anterior"
+
+#: src/Commands.vala:1257
+msgid "Set Developer"
+msgstr "Establecer revelador"
+
+#: src/Commands.vala:1347
+msgid "Original photo could not be adjusted."
+msgstr "No se pudo ajustar la foto original."
+
+#: src/Commands.vala:1368
+msgid "Adjusting Date and Time"
+msgstr "Ajustar fecha y hora"
+
+#: src/Commands.vala:1368
+msgid "Undoing Date and Time Adjustment"
+msgstr "Deshacer ajuste de fecha y hora"
+
+#: src/Commands.vala:1399
+msgid "One original photo could not be adjusted."
+msgid_plural "The following original photos could not be adjusted."
+msgstr[0] "No se pudo modificar una foto original."
+msgstr[1] "No se pudieron modificar las siguientes fotos originales."
+
+#: src/Commands.vala:1401 src/Commands.vala:1425
+msgid "Time Adjustment Error"
+msgstr "Error al ajustar la hora"
+
+#: 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] ""
+"El ajuste de la hora no se puede deshacer en el archivo de la foto siguiente."
+msgstr[1] ""
+"El ajuste de la hora no se puede deshacer en el archivo de la foto siguiente."
+
+#: src/Commands.vala:1637 src/Commands.vala:1660
+msgid "Create Tag"
+msgstr "Crear etiqueta"
+
+#: src/Commands.vala:1695
+#, c-format
+#| msgid "Move Tag \"%s\""
+msgid "Move Tag “%s”"
+msgstr "Mover etiqueta «%s»"
+
+#: src/Commands.vala:2347
+msgid "Move Photos to Trash"
+msgstr "Mover fotos a la papelera"
+
+#: src/Commands.vala:2347
+msgid "Restore Photos from Trash"
+msgstr "Restaurar fotos desde la papelera"
+
+#: src/Commands.vala:2348
+msgid "Move the photos to the Shotwell trash"
+msgstr "Mover las fotos a la papelera de Shotwell"
+
+#: src/Commands.vala:2348
+msgid "Restore the photos back to the Shotwell library"
+msgstr "Restaurar las fotos a la colección de Shotwell"
+
+#: src/Commands.vala:2367
+msgid "Moving Photos to Trash"
+msgstr "Mover fotos a la papelera"
+
+#: src/Commands.vala:2367
+msgid "Restoring Photos From Trash"
+msgstr "Restaurar fotos desde la papelera"
+
+#: src/Commands.vala:2453
+msgid "Flag selected photos"
+msgstr "Marcar las fotos seleccionadas"
+
+#: src/Commands.vala:2454
+msgid "Unflag selected photos"
+msgstr "Desmarcar las fotos seleccionadas"
+
+#: src/Commands.vala:2455
+msgid "Flagging selected photos"
+msgstr "Marcando las fotos seleccionadas"
+
+#: src/Commands.vala:2456
+msgid "Unflagging selected photos"
+msgstr "Desmarcando las fotos seleccionadas"
+
+#: src/Commands.vala:2463
+msgid "Flag"
+msgstr "Marcar"
+
+#: src/Commands.vala:2463
+msgid "Unflag"
+msgstr "Desmarcar"
+
+#. 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 "Base de datos %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:"
+msgid "Importing from %s can’t continue because an error occurred:"
+msgstr ""
+"La importación desde %s no puede continuar porque ha ocurrido un error:"
+
+#: src/data_imports/DataImportsPluginHost.vala:151
+msgid "To try importing from another service, select one from the above menu."
+msgstr ""
+"Para intentar importar desde otro servicio, seleccione uno desde el menú "
+"anterior."
+
+#: 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 ""
+"No tiene ningún complemento de importación de datos activado.\n"
+"\n"
+"Para utilizar la función Importar desde aplicación, necesita activar al "
+"menos un complemento de importación. Puede hacerlo en el cuadro de diálogo "
+"Preferencias."
+
+#: src/data_imports/DataImportsUI.vala:100
+msgid "Database file:"
+msgstr "Archivo de base de datos:"
+
+#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:904
+msgid "_Import"
+msgstr "_Importar"
+
+#: src/data_imports/DataImportsUI.vala:220
+msgid "Import From Application"
+msgstr "Importar desde aplicación"
+
+#: src/data_imports/DataImportsUI.vala:221
+msgid "Import media _from:"
+msgstr "Importar medios _desde:"
+
+#: src/data_imports/DataImportsUI.vala:408
+#: src/publishing/PublishingUI.vala:507
+msgid "_Close"
+msgstr "_Cerrar"
+
+#: src/data_imports/DataImports.vala:22
+msgid "Data Imports"
+msgstr "Importaciones de datos"
+
+#: src/db/DatabaseTable.vala:37
+#, c-format
+msgid "Unable to open/create photo database %s: error code %d"
+msgstr "No se puede abrir/crear base de datos de fotos %s: código de error %d"
+
+#: src/db/DatabaseTable.vala:46
+#, c-format
+msgid ""
+"Unable to write to photo database file:\n"
+" %s"
+msgstr ""
+"No se pudo escribir el archivo de la base de datos de fotos:\n"
+"%s"
+
+#: src/db/DatabaseTable.vala:48
+#, c-format
+msgid ""
+"Error accessing database file:\n"
+" %s\n"
+"\n"
+"Error was: \n"
+"%s"
+msgstr ""
+"Error al acceder al archivo de la base de datos:\n"
+"%s\n"
+"\n"
+"El error fue:\n"
+"%s"
+
+#: src/db/DatabaseTable.vala:92
+#, c-format
+msgid "Unable to restore photo database %s"
+msgstr "No se pudo restaurar la base de datos de fotos %s"
+
+#: src/DesktopIntegration.vala:121
+#, c-format
+msgid "Unable to launch Nautilus Send-To: %s"
+msgstr "No se puede abrir Nautilus Enviar a: %s"
+
+#: src/DesktopIntegration.vala:129
+msgid "Send To"
+msgstr "Enviar a"
+
+#: src/DesktopIntegration.vala:174
+#, c-format
+msgid "Unable to export background to %s: %s"
+msgstr "No se puede exportar el fondo de pantalla a %s: %s"
+
+#: src/DesktopIntegration.vala:311
+#, c-format
+msgid "Unable to prepare desktop slideshow: %s"
+msgstr "No se puede preparar el presentación de diapositivas de escritorio: %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?"
+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] "Esto eliminará la etiqueta «%s» de una foto. ¿Continuar?"
+msgstr[1] "Esto eliminará la etiqueta «%s» de %d fotos. ¿Continuar?"
+
+#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1409
+#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:414
+#: src/Resources.vala:679
+msgid "_Delete"
+msgstr "_Eliminar"
+
+#: src/Dialogs.vala:25
+#, c-format
+#| msgid "This will remove the saved search \"%s\". Continue?"
+msgid "This will remove the saved search “%s”. Continue?"
+msgstr "Esto quitará la búsqueda guardada «%s». ¿Quiere continuar?"
+
+#: src/Dialogs.vala:36
+msgid ""
+"Switching developers will undo all changes you have made to this photo in "
+"Shotwell"
+msgid_plural ""
+"Switching developers will undo all changes you have made to these photos in "
+"Shotwell"
+msgstr[0] ""
+"Al cambiar de revelador se desharán todos los cambios que realizó a esta "
+"foto en Shotwell"
+msgstr[1] ""
+"Al cambiar de revelador se desharán todos los cambios que realizó a estas "
+"fotos en Shotwell"
+
+#: src/Dialogs.vala:40
+msgid "_Switch Developer"
+msgstr "_Cambiar de revelador"
+
+#: src/Dialogs.vala:59
+msgid "Export Video"
+msgstr "Exportar vídeo"
+
+#. 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:112
+#, c-format
+#| msgid ""
+#| "Shotwell couldn't create a file for editing this photo because you do not "
+#| "have permission to write to %s."
+msgid ""
+"Shotwell couldn’t create a file for editing this photo because you do not "
+"have permission to write to %s."
+msgstr ""
+"Shotwell no pudo crear un archivo para editar esta foto porque no tiene "
+"permiso para escribir en %s."
+
+#: src/Dialogs.vala:121
+msgid ""
+"Unable to export the following photo due to a file error.\n"
+"\n"
+msgstr "No se puede exportar la siguiente foto debido a un error de archivo.\n"
+
+#: src/Dialogs.vala:127
+msgid ""
+"\n"
+"\n"
+"Would you like to continue exporting?"
+msgstr ""
+"\n"
+"\n"
+"¿Quiere continuar la exportación?"
+
+#. "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:144
+msgid "Unmodified"
+msgstr "Sin modificar"
+
+#: src/Dialogs.vala:145
+msgid "Current"
+msgstr "Actual"
+
+#. layout controls
+#: src/Dialogs.vala:221
+msgid "_Format:"
+msgstr "_Formato:"
+
+#: src/Dialogs.vala:224
+msgid "_Quality:"
+msgstr "_Calidad:"
+
+#: src/Dialogs.vala:227
+msgid "_Scaling constraint:"
+msgstr "Re_stricción de escala:"
+
+#: src/Dialogs.vala:230
+msgid "_Pixels:"
+msgstr "_Píxeles:"
+
+#: src/Dialogs.vala:234
+#| msgid "Export metadata"
+msgid "Export _metadata:"
+msgstr "Exportar metadatos:"
+
+#: src/Dialogs.vala:478
+msgid "Save Details…"
+msgstr "Guardar detalles…"
+
+#: src/Dialogs.vala:479
+msgid "Save Details"
+msgstr "Guardar detalles"
+
+#: src/Dialogs.vala:494
+#, c-format
+msgid "(and %d more)\n"
+msgstr "(y %d más)\n"
+
+#: src/Dialogs.vala:547
+msgid "Import Results Report"
+msgstr "Informe de resultados de importación"
+
+#: src/Dialogs.vala:551
+#, c-format
+msgid "Attempted to import %d file."
+msgid_plural "Attempted to import %d files."
+msgstr[0] "Se intentó importar %d archivo."
+msgstr[1] "Se intentaron importar %d archivos."
+
+#: src/Dialogs.vala:554
+#, c-format
+msgid "Of these, %d file was successfully imported."
+msgid_plural "Of these, %d files were successfully imported."
+msgstr[0] "De ellos, se importó %d archivo correctamente."
+msgstr[1] "De ellos, se importaron %d archivos correctamente."
+
+#.
+#. Duplicates
+#.
+#: src/Dialogs.vala:566
+msgid "Duplicate Photos/Videos Not Imported:"
+msgstr "Fotos/vídeos duplicados no importados:"
+
+#: src/Dialogs.vala:570
+msgid "duplicates existing media item"
+msgstr "duplica el elemento existente"
+
+#.
+#. Files Not Imported Due to Camera Errors
+#.
+#: src/Dialogs.vala:581
+msgid "Photos/Videos Not Imported Due to Camera Errors:"
+msgstr "Fotos/vídeos no importados debido a errores de cámara:"
+
+#: 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 "mensaje de error:"
+
+#.
+#. 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:"
+msgid "Files Not Imported Because They Weren’t Recognized as Photos or Videos:"
+msgstr "Archivos no importados porque no se reconocieron como fotos o vídeos:"
+
+#.
+#. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands
+#.
+#: src/Dialogs.vala:610
+#| msgid ""
+#| "Photos/Videos Not Imported Because They Weren't in a Format Shotwell "
+#| "Understands:"
+msgid ""
+"Photos/Videos Not Imported Because They Weren’t in a Format Shotwell "
+"Understands:"
+msgstr ""
+"Fotos/vídeos no importados porque no estaban en un formato compatible con "
+"Shotwell:"
+
+#.
+#. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library
+#.
+#: src/Dialogs.vala:625
+#| msgid ""
+#| "Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its "
+#| "Library:"
+msgid ""
+"Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into its "
+"Library:"
+msgstr ""
+"Fotos/vídeos no importados porque Shotwell no pudo copiarlos a su colección:"
+
+#: src/Dialogs.vala:629
+#, c-format
+#| msgid ""
+#| "couldn't copy %s\n"
+#| "\tto %s"
+msgid ""
+"couldn’t copy %s\n"
+"\tto %s"
+msgstr ""
+"no se pudo copiar %s\n"
+"\ta %s"
+
+#.
+#. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt
+#.
+#: src/Dialogs.vala:641
+msgid "Photos/Videos Not Imported Because Files Are Corrupt:"
+msgstr "No se importaron las fotos/vídeos porque los archivos están dañados:"
+
+#.
+#. Photos/Videos Not Imported for Other Reasons
+#.
+#: src/Dialogs.vala:656
+msgid "Photos/Videos Not Imported for Other Reasons:"
+msgstr "Fotos/vídeos no importados por otros motivos:"
+
+#: 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] "No se importó 1 foto duplicada:\r\n"
+msgstr[1] "No se importaron %d fotos duplicadas:\r\n"
+
+#: 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] "No se importó 1 vídeo duplicado:\r\n"
+msgstr[1] "No se importaron %d vídeos duplicados:\r\n"
+
+#: 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] "No se importó 1 foto/vídeo duplicado:\r\n"
+msgstr[1] "No se importaron %d fotos/vídeos duplicados:\r\n"
+
+#: 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"
+msgstr[0] ""
+"Falló al importar 1 foto debido a un error del archivo o de hardware:\n"
+msgstr[1] ""
+"Falló al importar %d fotos debido a un error del archivo o de hardware:\n"
+
+#: 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] ""
+"Falló al importar 1 vídeo debido a un error del archivo o de hardware:\r\n"
+msgstr[1] ""
+"Falló al importar %d vídeos debido a un error del archivo o de hardware:\r\n"
+
+#: src/Dialogs.vala:702
+#, 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] ""
+"Falló al importar 1 foto/vídeo debido a un error del archivo o de hardware:"
+"\r\n"
+msgstr[1] ""
+"Falló al importar %d fotos/vídeos debido a un error del archivo o de "
+"hardware:\r\n"
+
+#: 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] ""
+"Falló al importar 1 archivo debido a un error del archivo o de hardware:\n"
+msgstr[1] ""
+"Falló al importar %d archivos debido a un error de archivo o de hardware:\n"
+
+#: 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] ""
+"Falló al importar 1 foto porque la carpeta de la colección de fotos no se "
+"puede escribir:\n"
+msgstr[1] ""
+"Falló al importar %d fotos porque la carpeta de la colección de fotos no se "
+"puede escribir:\n"
+
+#: 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] ""
+"Falló al importar 1 foto porque la carpeta de la colección de fotos no se "
+"puede escribir:\n"
+msgstr[1] ""
+"Falló al importar %d fotos porque la carpeta de la colección de fotos no se "
+"puede escribir:\n"
+
+#: src/Dialogs.vala:725
+#, c-format
+msgid ""
+"1 photo/video failed to import because the photo library folder was not "
+"writable:\n"
+msgid_plural ""
+"%d photos/videos failed to import because the photo library folder was not "
+"writable:\n"
+msgstr[0] ""
+"Falló al importar 1 foto/vídeo porque la carpeta de la colección de fotos no "
+"se puede escribir:\n"
+msgstr[1] ""
+"Falló al importar %d fotos/vídeos porque la carpeta de la colección de fotos "
+"no se puede escribir:\n"
+
+#: src/Dialogs.vala:728
+#, c-format
+msgid ""
+"1 file failed to import because the photo library folder was not writable:\n"
+msgid_plural ""
+"%d files failed to import because the photo library folder was not "
+"writable:\n"
+msgstr[0] ""
+"Falló la importación de 1 archivo porque no se puede escribir en la "
+"colección de fotos:\n"
+msgstr[1] ""
+"Falló la importación de %d archivos porque no se puede escribir en la "
+"colección de fotos:\n"
+
+#: 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] "Falló al importar 1 foto/vídeo debido a un error de la cámara:\n"
+msgstr[1] "Falló al importar %d fotos debido a un error de la cámara:\n"
+
+#: 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] "Falló al importar 1 foto/vídeo debido a un error de la cámara:\n"
+msgstr[1] "Falló al importar %d vídeos debido a un error de la cámara:\n"
+
+#: 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] "Falló al importar 1 foto/vídeo debido a un error de la cámara:\n"
+msgstr[1] "Falló al importar %d foto/vídeo debido a un error de la cámara:\n"
+
+#: 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] "Falló al importar 1 archivo debido a un error de la cámara: \n"
+msgstr[1] "Falló al importar %d archivor debido a un error de la cámara: \n"
+
+#: 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] "No se pudo importar una foto porque está dañada:\n"
+msgstr[1] "No se pudieron importar %d fotos porque están dañadas:\n"
+
+#: 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] "No se pudo importar un vídeo porque está dañado:\n"
+msgstr[1] "No se pudieron importar %d vídeos porque están dañados:\n"
+
+#: 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"
+msgstr[0] "No se pudo importar 1 foto/vídeo porque está dañado:\n"
+msgstr[1] "No se pudieron importar %d fotos/vídeos porque están dañados:\n"
+
+#: 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"
+msgstr[0] "No se pudo importar un archivo porque está dañado:\n"
+msgstr[1] "No se pudieron importar %d archivos porque están dañados:\n"
+
+#. 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:791
+#, c-format
+msgid "1 unsupported photo skipped:\n"
+msgid_plural "%d unsupported photos skipped:\n"
+msgstr[0] "Se omitió 1 foto no compatible:\n"
+msgstr[1] "Se omitieron %d fotos no compatibles:\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:806
+#, c-format
+msgid "1 non-image file skipped.\n"
+msgid_plural "%d non-image files skipped.\n"
+msgstr[0] "Se omitió 1 archivo que no era una imagen.\n"
+msgstr[1] "Se omitieron %d archivos que no eran imágenes.\n"
+
+#: 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] "Se omitió 1 foto debido a la cancelación del usuario:\n"
+msgstr[1] "Se omitieron %d fotos debido a la cancelación del usuario:\n"
+
+#: 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] "Se omitió 1 vídeo debido a la cancelación del usuario:\n"
+msgstr[1] "Se omitieron %d vídeos debido a la cancelación del usuario:\n"
+
+#: 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] "Se omitió 1 foto/vídeo debido a la cancelación del usuario:\n"
+msgstr[1] "Se omitieron %d fotos/vídeos debido a la cancelación del usuario:\n"
+
+#: 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] "Se omitió 1 archivo debido a la cancelación del usuario:\n"
+msgstr[1] "Se omitieron %d archivos debido a la cancelación del usuario:\n"
+
+#: src/Dialogs.vala:840
+#, c-format
+msgid "1 photo successfully imported.\n"
+msgid_plural "%d photos successfully imported.\n"
+msgstr[0] "1 foto correctamente importada.\n"
+msgstr[1] "%d fotos importadas correctamente.\n"
+
+#: src/Dialogs.vala:843
+#, c-format
+msgid "1 video successfully imported.\n"
+msgid_plural "%d videos successfully imported.\n"
+msgstr[0] "1 vídeo correctamente importado.\n"
+msgstr[1] "%d vídeos importados correctamente.\n"
+
+#: src/Dialogs.vala:846
+#, c-format
+msgid "1 photo/video successfully imported.\n"
+msgid_plural "%d photos/videos successfully imported.\n"
+msgstr[0] "1 foto/vídeo correctamente importado.\n"
+msgstr[1] "%d fotos/vídeos importados correctamente.\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:862
+msgid "No photos or videos imported.\n"
+msgstr "No se importó ninguna foto o vídeo.\n"
+
+#: src/Dialogs.vala:869 src/Dialogs.vala:888
+msgid "Import Complete"
+msgstr "Importación completa"
+
+#: src/Dialogs.vala:1174
+#, c-format
+msgid "%d second"
+msgid_plural "%d seconds"
+msgstr[0] "%d segundo"
+msgstr[1] "%d segundos"
+
+#: src/Dialogs.vala:1177
+#, c-format
+msgid "%d minute"
+msgid_plural "%d minutes"
+msgstr[0] "%d minuto"
+msgstr[1] "%d minutos"
+
+#: src/Dialogs.vala:1181
+#, c-format
+msgid "%d hour"
+msgid_plural "%d hours"
+msgstr[0] "%d hora"
+msgstr[1] "%d horas"
+
+#: src/Dialogs.vala:1184
+msgid "1 day"
+msgstr "1 día"
+
+#: src/Dialogs.vala:1338 src/Resources.vala:231
+msgid "Rename Event"
+msgstr "Renombrar evento"
+
+#: src/Dialogs.vala:1338
+msgid "Name:"
+msgstr "Nombre:"
+
+#. Dialog title
+#: src/Dialogs.vala:1349
+msgctxt "Dialog Title"
+msgid "Edit Title"
+msgstr "Editar título"
+
+#: src/Dialogs.vala:1350 src/Properties.vala:340
+msgid "Title:"
+msgstr "Título:"
+
+#. Dialog title
+#: src/Dialogs.vala:1366 src/Resources.vala:307
+msgid "Edit Event Comment"
+msgstr "Editar comentario de evento"
+
+#: src/Dialogs.vala:1367
+msgid "Edit Photo/Video Comment"
+msgstr "Editar comentario de foto/vídeo"
+
+#: src/Dialogs.vala:1368 src/Properties.vala:628
+msgid "Comment:"
+msgstr "Comentario:"
+
+#: src/Dialogs.vala:1384
+msgid "Remove and _Trash File"
+msgid_plural "Remove and _Trash Files"
+msgstr[0] "Eliminar archivo y mover a la _papelera"
+msgstr[1] "Eliminar archivos y mover a la _papelera"
+
+#: src/Dialogs.vala:1388
+msgid "_Remove From Library"
+msgstr "_Quitar de la colección"
+
+#: src/Dialogs.vala:1431
+msgid "Revert External Edit?"
+msgstr "¿Revertir las ediciones externas?"
+
+#: src/Dialogs.vala:1431
+msgid "Revert External Edits?"
+msgstr "¿Revertir ediciones externas?"
+
+#: src/Dialogs.vala:1433
+#, 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?"
+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] ""
+"Esto destruirá todos los cambios realizados en el archivo externo. "
+"¿Continuar?"
+msgstr[1] ""
+"Esto destruirá todos los cambios realizados en los %d archivos externos. "
+"¿Continuar?"
+
+#: src/Dialogs.vala:1437
+msgid "Re_vert External Edit"
+msgstr "Re_vertir edición externa"
+
+#: src/Dialogs.vala:1437
+msgid "Re_vert External Edits"
+msgstr "Re_vertir ediciones externas"
+
+#: src/Dialogs.vala:1458
+#, 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] "Esto quitará la foto de la colección. ¿Continuar?"
+msgstr[1] "Esto quitará las %d fotos de la colección. ¿Continuar?"
+
+#: src/Dialogs.vala:1465 src/Resources.vala:173
+msgid "_Remove"
+msgstr "_Quitar"
+
+#: src/Dialogs.vala:1466
+msgid "Remove Photo From Library"
+msgstr "Quitar la foto de la colección"
+
+#: src/Dialogs.vala:1466
+msgid "Remove Photos From Library"
+msgstr "Quitar fotos de la colección"
+
+#: src/Dialogs.vala:1559
+#, c-format
+msgid "%d%%"
+msgstr "%d%%"
+
+#: src/Dialogs.vala:1713
+msgid "AM"
+msgstr "a.m."
+
+#: src/Dialogs.vala:1714
+msgid "PM"
+msgstr "p.m."
+
+#: src/Dialogs.vala:1715
+msgid "24 Hr"
+msgstr "24 hrs."
+
+#: src/Dialogs.vala:1730
+msgid "_Shift photos/videos by the same amount"
+msgstr "_Desplazar todas las fotos y/o vídeos la misma cantidad"
+
+#: src/Dialogs.vala:1735
+msgid "Set _all photos/videos to this time"
+msgstr "Ajustar _todas las fotos y/o vídeos a esta hora"
+
+#: src/Dialogs.vala:1742
+msgid "_Modify original photo file"
+msgstr "_Modificar archivo de foto original"
+
+#: src/Dialogs.vala:1742
+msgid "_Modify original photo files"
+msgstr ":Modificar archivos de fotos originales"
+
+#: src/Dialogs.vala:1745
+msgid "_Modify original file"
+msgstr "_Modificar archivos originales"
+
+#: src/Dialogs.vala:1745
+msgid "_Modify original files"
+msgstr "_Modificar archivos originales"
+
+#: src/Dialogs.vala:1831
+msgid "Original: "
+msgstr "Original:"
+
+#: src/Dialogs.vala:1832
+msgid "%m/%d/%Y, %H:%M:%S"
+msgstr "%d/%m/%Y, %H:%M:%S"
+
+#: src/Dialogs.vala:1833
+msgid "%m/%d/%Y, %I:%M:%S %p"
+msgstr "%d/%m/%Y, %H:%M:%S %p"
+
+#: src/Dialogs.vala:1922
+#, c-format
+msgid ""
+"Exposure time will be shifted forward by\n"
+"%d %s, %d %s, %d %s, and %d %s."
+msgstr ""
+"El tiempo de exposición se adelantará por\n"
+"%d %s, %d %s, %d %s, y %d %s."
+
+#: src/Dialogs.vala:1923
+#, c-format
+msgid ""
+"Exposure time will be shifted backward by\n"
+"%d %s, %d %s, %d %s, and %d %s."
+msgstr ""
+"El tiempo de exposición se atrasará por\n"
+"%d %s, %d %s, %d %s, y %d %s."
+
+#: src/Dialogs.vala:1925
+msgid "day"
+msgid_plural "days"
+msgstr[0] "día"
+msgstr[1] "días"
+
+#: src/Dialogs.vala:1926
+msgid "hour"
+msgid_plural "hours"
+msgstr[0] "hora"
+msgstr[1] "horas"
+
+#: src/Dialogs.vala:1927
+msgid "minute"
+msgid_plural "minutes"
+msgstr[0] "minuto"
+msgstr[1] "minutos"
+
+#: src/Dialogs.vala:1928
+msgid "second"
+msgid_plural "seconds"
+msgstr[0] "segundo"
+msgstr[1] "segundos"
+
+#: src/Dialogs.vala:1972
+#, c-format
+msgid ""
+"\n"
+"\n"
+"And %d other."
+msgid_plural ""
+"\n"
+"\n"
+"And %d others."
+msgstr[0] ""
+"\n"
+"\n"
+"Y %d más."
+msgstr[1] ""
+"\n"
+"\n"
+"Y %d más."
+
+#: src/Dialogs.vala:1996 src/Dialogs.vala:2023
+msgid "Tags (separated by commas):"
+msgstr "Etiquetas (separadas por comas):"
+
+#: src/Dialogs.vala:2103
+msgid "Welcome!"
+msgstr "Bienvenido/a"
+
+#: src/Dialogs.vala:2110
+msgid "Welcome to Shotwell!"
+msgstr "Bienvenido/a a Shotwell."
+
+#: src/Dialogs.vala:2114
+msgid "To get started, import photos in any of these ways:"
+msgstr "Para comenzar, importe fotos de cualquiera de las siguientes formas:"
+
+#: src/Dialogs.vala:2133
+#, c-format
+msgid "Choose File %s Import From Folder "
+msgstr "Elija Archivo %s Importar desde carpeta "
+
+#: src/Dialogs.vala:2134
+msgid "Drag and drop photos onto the Shotwell window"
+msgstr "Arrastre y suelte fotos en la ventana de Shotwell"
+
+#: src/Dialogs.vala:2135
+msgid "Connect a camera to your computer and import"
+msgstr "Conecte una cámara al equipo e importe"
+
+#: src/Dialogs.vala:2145
+#, c-format
+msgid "_Import photos from your %s folder"
+msgstr "_Importar fotos desde su carpeta %s"
+
+#: src/Dialogs.vala:2152
+msgid "You can also import photos in any of these ways:"
+msgstr "También puede importar fotos en cualquiera de estas formas:"
+
+#: src/Dialogs.vala:2162
+#| msgid "_Don't show this message again"
+msgid "_Don’t show this message again"
+msgstr "_No mostrar este mensaje de nuevo"
+
+#: src/Dialogs.vala:2197
+#, c-format
+msgid "Import photos from your %s library"
+msgstr "Importar fotos desde su colección %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
+msgid "(Help)"
+msgstr "(Ayuda)"
+
+#: src/Dialogs.vala:2357
+#, c-format
+msgid "Year%sMonth%sDay"
+msgstr "Año%sMes%sDía"
+
+#: src/Dialogs.vala:2359
+#, c-format
+msgid "Year%sMonth"
+msgstr "Año%sMes"
+
+#: src/Dialogs.vala:2361
+#, c-format
+msgid "Year%sMonth-Day"
+msgstr "Año%sMes-Día"
+
+#: src/Dialogs.vala:2363
+msgid "Year-Month-Day"
+msgstr "Año-Mes-Día"
+
+#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:781
+msgid "Custom"
+msgstr "Personalizado"
+
+#. Invalid pattern.
+#: src/Dialogs.vala:2601
+msgid "Invalid pattern"
+msgstr "Patrón no válido"
+
+#. 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
+msgid ""
+"Shotwell can copy the photos into your library folder or it can import them "
+"without copying."
+msgstr ""
+"Shotwell puede copiar las fotos en su colección o puede importarlas sin "
+"copiarlas."
+
+#: src/Dialogs.vala:2708
+msgid "Co_py Photos"
+msgstr "C_opiar fotos"
+
+#: src/Dialogs.vala:2709
+msgid "_Import in Place"
+msgstr "_Importar en el lugar"
+
+#: src/Dialogs.vala:2710
+msgid "Import to Library"
+msgstr "Importar a la colección"
+
+#: src/Dialogs.vala:2720 src/PhotoPage.vala:3085
+msgid "Remove From Library"
+msgstr "Quitar de la colección"
+
+#: src/Dialogs.vala:2721 src/PhotoPage.vala:3085
+msgid "Removing Photo From Library"
+msgstr "Quitando la foto de la colección"
+
+#: src/Dialogs.vala:2721
+msgid "Removing Photos From Library"
+msgstr "Quitando fotos de la colección"
+
+#: src/Dialogs.vala:2735
+#, c-format
+#| msgid ""
+#| "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"
+#| "\n"
+#| "This action cannot be undone."
+msgid ""
+"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"
+"\n"
+"This action cannot be undone."
+msgstr[0] ""
+"Esto quitará la foto y/o el vídeo de su colección de Shotwell. ¿Le gustaría "
+"mover el archivo a la papelera del escritorio?\n"
+"\n"
+"Esta acción no se puede deshacer."
+msgstr[1] ""
+"Esto quitará %d fotos y/o vídeos de su colección de Shotwell. ¿Le gustaría "
+"mover los archivos a la papelera del escritorio?\n"
+"\n"
+"Esta acción no se puede deshacer."
+
+#: src/Dialogs.vala:2739
+#, c-format
+#| msgid ""
+#| "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 to move the files to your desktop trash?\n"
+#| "\n"
+#| "This action cannot be undone."
+msgid ""
+"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 "
+"to move the files to your desktop trash?\n"
+"\n"
+"This action cannot be undone."
+msgstr[0] ""
+"Esto quitará el vídeo de su colección de Shotwell. ¿Le gustaría mover el "
+"archivo a la papelera del escritorio?\n"
+"\n"
+"Esta acción no se puede deshacer."
+msgstr[1] ""
+"Esto quitará los %d vídeos de su colección de Shotwell. ¿Le gustaría mover "
+"los archivos a la papelera del escritorio?\n"
+"\n"
+"Esta acción no se puede deshacer."
+
+#: src/Dialogs.vala:2743
+#, c-format
+#| msgid ""
+#| "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 to move the files to your desktop trash?\n"
+#| "\n"
+#| "This action cannot be undone."
+msgid ""
+"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 "
+"to move the files to your desktop trash?\n"
+"\n"
+"This action cannot be undone."
+msgstr[0] ""
+"Esto quitará la foto de su colección de Shotwell. ¿Le gustaría mover el "
+"archivo a la papelera del escritorio?\n"
+"\n"
+"Esta acción no se puede deshacer."
+msgstr[1] ""
+"Esto quitará %d fotos de su colección de Shotwell. ¿Le gustaría mover los "
+"archivos a la papelera del escritorio?\n"
+"\n"
+"Esta acción no se puede deshacer."
+
+#: src/Dialogs.vala:2775
+#, 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?"
+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] ""
+"No se puede mover la foto o el vídeo a la papelera de su escritorio. "
+"¿Eliminar este archivo?"
+msgstr[1] ""
+"No se pueden mover las %d fotos o vídeos a la papelera de su escritorio. "
+"¿Eliminar estos archivos?"
+
+#. Alert the user that the files were not removed.
+#: src/Dialogs.vala:2792
+#, c-format
+msgid "The photo or video cannot be deleted."
+msgid_plural "%d photos/videos cannot be deleted."
+msgstr[0] "No se puede eliminar la foto o el vídeo."
+msgstr[1] "No se pueden eliminar las %d fotos o vídeos."
+
+#: src/Dimensions.vala:23
+msgid "Width"
+msgstr "Anchura"
+
+#: src/Dimensions.vala:26
+msgid "Height"
+msgstr "Altura"
+
+#: src/direct/DirectPhotoPage.vala:46 src/library/LibraryWindow.vala:335
+msgid "_File"
+msgstr "_Archivo"
+
+#: src/direct/DirectPhotoPage.vala:51 src/direct/DirectPhotoPage.vala:432
+#: src/Resources.vala:175
+msgid "_Save"
+msgstr "_Guardar"
+
+#: src/direct/DirectPhotoPage.vala:52
+msgid "Save photo"
+msgstr "Guardar la foto"
+
+#: src/direct/DirectPhotoPage.vala:57
+msgid "Save _As…"
+msgstr "Guardar _como…"
+
+#: src/direct/DirectPhotoPage.vala:58
+msgid "Save photo with a different name"
+msgstr "Guardar la foto con un nombre diferente"
+
+#: src/direct/DirectPhotoPage.vala:69
+msgid "Print the photo to a printer connected to your computer"
+msgstr "Imprimir la foto en una impresora conectada a su equipo"
+
+#: src/direct/DirectPhotoPage.vala:73 src/library/LibraryWindow.vala:339
+#: src/Resources.vala:159
+msgid "_Edit"
+msgstr "_Editar"
+
+#: 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 "_Herramientas"
+
+#: src/direct/DirectPhotoPage.vala:86 src/PhotoPage.vala:2421
+msgid "_Previous Photo"
+msgstr "Foto _anterior"
+
+#: src/direct/DirectPhotoPage.vala:87 src/PhotoPage.vala:2422
+msgid "Previous Photo"
+msgstr "Foto anterior"
+
+#: src/direct/DirectPhotoPage.vala:92 src/PhotoPage.vala:2427
+msgid "_Next Photo"
+msgstr "_Siguiente foto"
+
+#: src/direct/DirectPhotoPage.vala:93 src/PhotoPage.vala:2428
+msgid "Next Photo"
+msgstr "Siguiente foto"
+
+#: src/direct/DirectPhotoPage.vala:165 src/library/LibraryWindow.vala:343
+#: src/PhotoPage.vala:2412
+msgid "_View"
+msgstr "_Ver"
+
+#: src/direct/DirectPhotoPage.vala:169 src/library/LibraryWindow.vala:363
+#: src/Resources.vala:162
+msgid "_Help"
+msgstr "Ay_uda"
+
+#: src/direct/DirectPhotoPage.vala:174 src/MediaPage.vala:340
+#: src/PhotoPage.vala:2591 src/Resources.vala:183
+msgid "Zoom _In"
+msgstr "_Ampliar"
+
+#: src/direct/DirectPhotoPage.vala:175 src/PhotoPage.vala:2592
+msgid "Increase the magnification of the photo"
+msgstr "Aumentar la ampliación de la foto"
+
+#: src/direct/DirectPhotoPage.vala:180 src/MediaPage.vala:346
+#: src/PhotoPage.vala:2597 src/Resources.vala:184
+msgid "Zoom _Out"
+msgstr "Re_ducir"
+
+#: src/direct/DirectPhotoPage.vala:181 src/PhotoPage.vala:2598
+msgid "Decrease the magnification of the photo"
+msgstr "Reducir la ampliación de la foto"
+
+#: src/direct/DirectPhotoPage.vala:186 src/PhotoPage.vala:2603
+msgid "Fit to _Page"
+msgstr "Aj_ustar a la página"
+
+#: src/direct/DirectPhotoPage.vala:187 src/PhotoPage.vala:2604
+msgid "Zoom the photo to fit on the screen"
+msgstr "Aumentar la foto hasta ajustar a la pantalla"
+
+#: src/direct/DirectPhotoPage.vala:193 src/PhotoPage.vala:2610
+#, no-c-format
+msgid "Zoom _100%"
+msgstr "Ampliar al _100%"
+
+#: src/direct/DirectPhotoPage.vala:195 src/PhotoPage.vala:2612
+#, no-c-format
+msgid "Zoom the photo to 100% magnification"
+msgstr "Ampliar la foto al 100%"
+
+#: src/direct/DirectPhotoPage.vala:201 src/PhotoPage.vala:2618
+#, no-c-format
+msgid "Zoom _200%"
+msgstr "Ampliar al _200%"
+
+#: src/direct/DirectPhotoPage.vala:203 src/PhotoPage.vala:2620
+#, no-c-format
+msgid "Zoom the photo to 200% magnification"
+msgstr "Ampliar la foto al 200%"
+
+#: src/direct/DirectPhotoPage.vala:227
+#, c-format
+msgid "%s does not exist."
+msgstr "%s no existe."
+
+#: src/direct/DirectPhotoPage.vala:229
+#, c-format
+msgid "%s is not a file."
+msgstr "%s no es un archivo."
+
+#: src/direct/DirectPhotoPage.vala:231
+#, c-format
+msgid ""
+"%s does not support the file format of\n"
+"%s."
+msgstr ""
+"%s no es compatible con el formato de archivo de\n"
+"%s."
+
+#: src/direct/DirectPhotoPage.vala:248
+#, c-format
+msgid "Unable open photo %s. Sorry."
+msgstr "No se puede abrir la foto %s."
+
+#: src/direct/DirectPhotoPage.vala:432
+msgid "_Save a Copy"
+msgstr "_Guardar una copia"
+
+#: src/direct/DirectPhotoPage.vala:435
+#, c-format
+msgid "Lose changes to %s?"
+msgstr "¿Quiere descartar los cambios a %s?"
+
+#: src/direct/DirectPhotoPage.vala:436
+msgid "Close _without Saving"
+msgstr "Cerrar _sin guardar"
+
+#: src/direct/DirectPhotoPage.vala:469
+#, c-format
+msgid "Error while saving to %s: %s"
+msgstr "Error al guardar en %s: %s"
+
+#: src/direct/DirectPhotoPage.vala:497 src/direct/DirectPhotoPage.vala:518
+msgid "Save As"
+msgstr "Guardar como"
+
+#. verify this is a directory
+#: src/DirectoryMonitor.vala:889
+#, c-format
+msgid "Unable to monitor %s: Not a directory (%s)"
+msgstr "No se puede monitorizar %s: No es un directorio (%s)"
+
+#: src/editing_tools/EditingTools.vala:665
+msgid "Return to current photo dimensions"
+msgstr "Volver a las dimensiones actuales de la foto"
+
+#: src/editing_tools/EditingTools.vala:668
+msgid "Set the crop for this photo"
+msgstr "Establecer el corte para esta foto"
+
+#: src/editing_tools/EditingTools.vala:680
+msgid "Pivot the crop rectangle between portrait and landscape orientations"
+msgstr ""
+"Girar el rectángulo de corte entre las orientaciones vertical y horizontal"
+
+#: src/editing_tools/EditingTools.vala:753
+msgid "Unconstrained"
+msgstr "Sin restricciones"
+
+#: src/editing_tools/EditingTools.vala:754
+msgid "Square"
+msgstr "Cuadrado"
+
+#: src/editing_tools/EditingTools.vala:755
+msgid "Screen"
+msgstr "Pantalla"
+
+#: 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)"
+msgid "SD Video (4 ∶ 3)"
+msgstr "Vídeo SD (4:3)"
+
+#: src/editing_tools/EditingTools.vala:759
+#| msgid "HD Video (16 : 9)"
+msgid "HD Video (16 ∶ 9)"
+msgstr "Vídeo HD (16:9)"
+
+#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818
+#| msgid "Wallet (2 x 3 in.)"
+msgid "Wallet (2 × 3 in.)"
+msgstr "Cartera (2 × 3 pulg.)"
+
+#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821
+#| msgid "Notecard (3 x 5 in.)"
+msgid "Notecard (3 × 5 in.)"
+msgstr "Tarjeta de notas (3 × 5 pulg.)"
+
+#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824
+#| msgid "4 x 6 in."
+msgid "4 × 6 in."
+msgstr "4 × 6 pulg."
+
+#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827
+#| msgid "5 x 7 in."
+msgid "5 × 7 in."
+msgstr "5 × 7 pulg."
+
+#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830
+#| msgid "8 x 10 in."
+msgid "8 × 10 in."
+msgstr "8 × 10 pulg."
+
+#: src/editing_tools/EditingTools.vala:766
+#| msgid "Letter (8.5 x 11 in.)"
+msgid "Letter (8.5 × 11 in.)"
+msgstr "Carta (8.5 × 11 pulg.)"
+
+#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833
+#| msgid "11 x 14 in."
+msgid "11 × 14 in."
+msgstr "11 × 14 pulg."
+
+#: src/editing_tools/EditingTools.vala:768
+#| msgid "Tabloid (11 x 17 in.)"
+msgid "Tabloid (11 × 17 in.)"
+msgstr "Tabloide (11 × 17 pulg.)"
+
+#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836
+#| msgid "16 x 20 in."
+msgid "16 × 20 in."
+msgstr "16 × 20 pulg."
+
+#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842
+#| msgid "Metric Wallet (9 x 13 cm)"
+msgid "Metric Wallet (9 × 13 cm)"
+msgstr "Cartera métrica (9 × 13 cm)"
+
+#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845
+#| msgid "Postcard (10 x 15 cm)"
+msgid "Postcard (10 × 15 cm)"
+msgstr "Tarjeta postal (10 × 15 cm)"
+
+#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848
+#| msgid "13 x 18 cm"
+msgid "13 × 18 cm"
+msgstr "13 × 18 cm"
+
+#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851
+#| msgid "18 x 24 cm"
+msgid "18 × 24 cm"
+msgstr "18 × 24 cm"
+
+#: src/editing_tools/EditingTools.vala:775
+#| msgid "A4 (210 x 297 mm)"
+msgid "A4 (210 × 297 mm)"
+msgstr "A4 (210 × 297 mm)"
+
+#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854
+#| msgid "20 x 30 cm"
+msgid "20 × 30 cm"
+msgstr "20 × 30 cm"
+
+#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857
+#| msgid "24 x 40 cm"
+msgid "24 × 40 cm"
+msgstr "24 × 40 cm"
+
+#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860
+#| msgid "30 x 40 cm"
+msgid "30 × 40 cm"
+msgstr "30 × 40 cm"
+
+#: src/editing_tools/EditingTools.vala:779
+#| msgid "A3 (297 x 420 mm)"
+msgid "A3 (297 × 420 mm)"
+msgstr "A3 (297 × 420 mm)"
+
+#: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395
+msgid "Size:"
+msgstr "Tamaño:"
+
+#: src/editing_tools/EditingTools.vala:1887
+msgid "Close the red-eye tool"
+msgstr "Cerrar la herramienta de ojos rojos"
+
+#: src/editing_tools/EditingTools.vala:1890
+msgid "Remove any red-eye effects in the selected region"
+msgstr "Quitar cualquier efecto de ojos rojos en la región seleccionada"
+
+#: src/editing_tools/EditingTools.vala:2229
+#: src/editing_tools/StraightenTool.vala:102
+msgid "_Reset"
+msgstr "_Restablecer"
+
+#. 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
+msgid "Exposure:"
+msgstr "Exposición:"
+
+#: src/editing_tools/EditingTools.vala:2251
+msgid "Contrast:"
+msgstr "Contraste:"
+
+#: src/editing_tools/EditingTools.vala:2259
+msgid "Saturation:"
+msgstr "Saturación:"
+
+#: src/editing_tools/EditingTools.vala:2267
+msgid "Tint:"
+msgstr "Matiz:"
+
+#: src/editing_tools/EditingTools.vala:2276
+msgid "Temperature:"
+msgstr "Temperatura:"
+
+#: src/editing_tools/EditingTools.vala:2284
+msgid "Shadows:"
+msgstr "Sombras:"
+
+#: src/editing_tools/EditingTools.vala:2292
+msgid "Highlights:"
+msgstr "Resaltadas:"
+
+#: src/editing_tools/EditingTools.vala:2346
+msgid "Reset Colors"
+msgstr "Restablecer colores"
+
+#: src/editing_tools/EditingTools.vala:2346
+msgid "Reset all color adjustments to original"
+msgstr "Restablecer todos los ajustes de color al original"
+
+#: src/editing_tools/EditingTools.vala:2705
+msgid "Temperature"
+msgstr "Temperatura"
+
+#: src/editing_tools/EditingTools.vala:2717
+msgid "Tint"
+msgstr "Matiz"
+
+#: src/editing_tools/EditingTools.vala:2729
+msgid "Contrast"
+msgstr "Contraste"
+
+#: src/editing_tools/EditingTools.vala:2743
+msgid "Saturation"
+msgstr "Saturación"
+
+#: src/editing_tools/EditingTools.vala:2756
+msgid "Exposure"
+msgstr "Exposición"
+
+#: src/editing_tools/EditingTools.vala:2769
+msgid "Shadows"
+msgstr "Sombras"
+
+#: src/editing_tools/EditingTools.vala:2782
+msgid "Highlights"
+msgstr "Resaltadas"
+
+#: src/editing_tools/EditingTools.vala:2792
+msgid "Contrast Expansion"
+msgstr "Expansión de contraste"
+
+#: src/editing_tools/StraightenTool.vala:99
+msgid "Angle:"
+msgstr "Ángulo:"
+
+#: src/editing_tools/StraightenTool.vala:100 src/Resources.vala:202
+msgid "_Straighten"
+msgstr "_Enderezar"
+
+#: src/events/Branch.vala:25
+msgid "Events"
+msgstr "Eventos"
+
+#: src/events/EventDirectoryItem.vala:83
+#, c-format
+msgid "%d Photo/Video"
+msgid_plural "%d Photos/Videos"
+msgstr[0] "%d foto/vídeo"
+msgstr[1] "%d fotos/vídeos"
+
+#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:355
+#, c-format
+msgid "%d Video"
+msgid_plural "%d Videos"
+msgstr[0] "%d vídeo"
+msgstr[1] "%d vídeos"
+
+#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:353
+#, c-format
+msgid "%d Photo"
+msgid_plural "%d Photos"
+msgstr[0] "%d foto"
+msgstr[1] "%d fotos"
+
+#: src/events/EventPage.vala:129
+msgid "No Event"
+msgstr "No hay eventos"
+
+#: src/events/EventsDirectoryPage.vala:130 src/MediaPage.vala:457
+msgid "_Comments"
+msgstr "_Comentarios"
+
+#: src/events/EventsDirectoryPage.vala:131
+msgid "Display the comment of each event"
+msgstr "Mostrar el comentario de cada evento"
+
+#: src/events/EventsDirectoryPage.vala:155
+msgid "No events"
+msgstr "No hay eventos"
+
+#: src/events/EventsDirectoryPage.vala:159
+msgid "No events found"
+msgstr "No se encontraron eventos"
+
+#: src/events/EventsDirectoryPage.vala:230
+msgid "All Events"
+msgstr "Todos los eventos"
+
+#: src/events/EventsDirectoryPage.vala:244
+msgid "Undated"
+msgstr "Sin fecha"
+
+#: src/events/EventsDirectoryPage.vala:245
+msgid "%Y"
+msgstr "%Y"
+
+#: src/events/EventsDirectoryPage.vala:246
+msgid "%B"
+msgstr "%B"
+
+#. if no name, pretty up the start time
+#: src/Event.vala:753
+#, c-format
+msgid "Event %s"
+msgstr "Evento %s"
+
+#: src/Exporter.vala:232
+#, c-format
+msgid "Unable to generate a temporary file for %s: %s"
+msgstr "No se puede crear el directorio temporal %s: %s"
+
+#: src/Exporter.vala:299
+msgid "Exporting"
+msgstr "Exportando"
+
+#: src/Exporter.vala:317
+#, c-format
+#| msgid "File %s already exists. Replace?"
+msgid "File %s already exists. Replace?"
+msgstr "El archivo %s ya existe. ¿Quiere reemplazarlo?"
+
+#: src/Exporter.vala:319
+msgid "_Skip"
+msgstr "_Omitir"
+
+#: src/Exporter.vala:319
+msgid "_Replace"
+msgstr "_Reemplazar"
+
+#: src/Exporter.vala:319
+msgid "Replace _All"
+msgstr "Reempla_zar todo"
+
+#: src/Exporter.vala:319
+msgid "Export"
+msgstr "Exportar"
+
+#: src/folders/Branch.vala:144
+msgid "Folders"
+msgstr "Carpetas"
+
+#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:1191
+msgid "Library"
+msgstr "Colección"
+
+#: src/library/Branch.vala:97 src/SearchFilter.vala:608
+#: src/SearchFilter.vala:609
+msgid "Photos"
+msgstr "Fotos"
+
+#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:602
+#: src/SearchFilter.vala:603 src/SearchFilter.vala:1188
+msgid "Flagged"
+msgstr "Marcada"
+
+#: src/library/ImportQueuePage.vala:8
+msgid "Importing…"
+msgstr "Importando…"
+
+#: src/library/ImportQueuePage.vala:67
+msgid "_Stop Import"
+msgstr "_Detener importación"
+
+#: src/library/ImportQueuePage.vala:68
+msgid "Stop importing photos"
+msgstr "Detener la importación de fotos"
+
+#: src/library/ImportQueuePage.vala:124
+msgid "Preparing to import…"
+msgstr "Preparando para importar…"
+
+#: src/library/ImportQueuePage.vala:151
+#, c-format
+msgid "Imported %s"
+msgstr "Importada %s"
+
+#: src/library/LastImportPage.vala:8
+msgid "Last Import"
+msgstr "Última importación"
+
+#: src/library/LibraryWindow.vala:285
+msgid "_Import From Folder…"
+msgstr "_Importar desde carpeta…"
+
+#: src/library/LibraryWindow.vala:286
+msgid "Import photos from disk to library"
+msgstr "Importar fotos desde el disco a la colección"
+
+#: src/library/LibraryWindow.vala:293
+msgid "Import From _Application…"
+msgstr "Importar desde _aplicación…"
+
+#: src/library/LibraryWindow.vala:297
+msgid "Sort _Events"
+msgstr "Ordenar _eventos"
+
+#: src/library/LibraryWindow.vala:307
+msgid "Empty T_rash"
+msgstr "Vaciar la papele_ra"
+
+#: src/library/LibraryWindow.vala:308
+msgid "Delete all photos in the trash"
+msgstr "Eliminar todas las fotos en la papelera"
+
+#: src/library/LibraryWindow.vala:313
+msgid "View Eve_nt for Photo"
+msgstr "Ver eve_nto para la foto"
+
+#: src/library/LibraryWindow.vala:317
+msgid "_Find"
+msgstr "_Buscar"
+
+#: src/library/LibraryWindow.vala:318
+msgid "Find photos and videos by search criteria"
+msgstr "Buscar fotos y vídeos por criterio de búsqueda"
+
+#: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77
+#: src/sidebar/Tree.vala:199
+msgid "Ne_w Saved Search…"
+msgstr "_Búsqueda guardada nueva…"
+
+#: src/library/LibraryWindow.vala:351
+msgid "_Photos"
+msgstr "_Fotos"
+
+#: src/library/LibraryWindow.vala:355
+msgid "Even_ts"
+msgstr "Even_tos"
+
+#: src/library/LibraryWindow.vala:359 src/MediaPage.vala:469
+msgid "Ta_gs"
+msgstr "_Etiquetas"
+
+#: src/library/LibraryWindow.vala:374
+msgid "_Basic Information"
+msgstr "Información _básica"
+
+#: src/library/LibraryWindow.vala:375
+msgid "Display basic information for the selection"
+msgstr "Mostrar la información básica para la selección"
+
+#: src/library/LibraryWindow.vala:380
+msgid "E_xtended Information"
+msgstr "Información e_xtendida"
+
+#: src/library/LibraryWindow.vala:381
+msgid "Display extended information for the selection"
+msgstr "Mostrar la información extendida para la selección"
+
+#: src/library/LibraryWindow.vala:386
+msgid "_Search Bar"
+msgstr "_Barra de búsqueda"
+
+#: src/library/LibraryWindow.vala:387
+msgid "Display the search bar"
+msgstr "Mostrar la barra de búsqueda"
+
+#: src/library/LibraryWindow.vala:392
+msgid "S_idebar"
+msgstr "_Barra lateral"
+
+#: src/library/LibraryWindow.vala:393
+msgid "Display the sidebar"
+msgstr "Mostrar la barra lateral"
+
+#: src/library/LibraryWindow.vala:398
+msgid "T_oolbar"
+msgstr "B_arra de herramientas"
+
+#: src/library/LibraryWindow.vala:399
+msgid "Display the tool bar"
+msgstr "Mostrar la barra de herramientas"
+
+#: src/library/LibraryWindow.vala:411 src/MediaPage.vala:515
+msgid "_Ascending"
+msgstr "_Ascendente"
+
+#: src/library/LibraryWindow.vala:412 src/MediaPage.vala:516
+msgid "Sort photos in an ascending order"
+msgstr "Ordenar fotos en orden ascendente"
+
+#: src/library/LibraryWindow.vala:418 src/MediaPage.vala:521
+msgid "D_escending"
+msgstr "D_escendente"
+
+#: src/library/LibraryWindow.vala:419 src/MediaPage.vala:522
+msgid "Sort photos in a descending order"
+msgstr "Ordenar fotos en orden descendente"
+
+#: src/library/LibraryWindow.vala:657
+msgid "Import From Folder"
+msgstr "Importar desde carpeta"
+
+#: src/library/LibraryWindow.vala:726
+msgid "Empty Trash"
+msgstr "Vaciar la papelera"
+
+#: src/library/LibraryWindow.vala:726
+msgid "Emptying Trash…"
+msgstr "Vaciando la papelera…"
+
+#: src/library/LibraryWindow.vala:901
+#, c-format
+msgid ""
+"Shotwell is configured to import photos to your home directory.\n"
+"We recommend changing this in Edit %s Preferences"
+"span>.\n"
+"Do you want to continue importing photos?"
+msgstr ""
+"Shotwell esta´configurado para importar fotos a su carpeta personal.\n"
+"Se recomienda cambiar esto en Editar %s Preferencias"
+"span>.\n"
+"¿Quiere seguir importando fotos?"
+
+#: src/library/LibraryWindow.vala:904 ui/shotwell.ui:784
+msgid "Library Location"
+msgstr "Ubicación de la colección"
+
+#. TODO: Specify which directory/file.
+#: src/library/LibraryWindow.vala:917
+msgid "Photos cannot be imported from this directory."
+msgstr "Las fotos no pueden importarse desde esta carpeta."
+
+#: src/library/LibraryWindow.vala:1203
+#, c-format
+msgid "%s (%d%%)"
+msgstr "%s (%d%%)"
+
+#: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258
+msgid "Updating library…"
+msgstr "Actualizando la colección…"
+
+#: src/library/LibraryWindow.vala:1264
+msgid "Preparing to auto-import photos…"
+msgstr "Preparando para importar fotos automáticamente…"
+
+#: src/library/LibraryWindow.vala:1269
+msgid "Auto-importing photos…"
+msgstr "Importando fotos automáticamente…"
+
+#: src/library/LibraryWindow.vala:1277
+msgid "Writing metadata to files…"
+msgstr "Escribiendo metadatos en los archivos…"
+
+#: src/library/OfflinePage.vala:8
+msgid "Missing Files"
+msgstr "Archivos faltantes"
+
+#: src/library/OfflinePage.vala:106
+msgid "Deleting…"
+msgstr "Eliminando…"
+
+#: src/library/TrashPage.vala:8
+msgid "Trash"
+msgstr "Papelera"
+
+#: src/library/TrashPage.vala:108
+msgid "Trash is empty"
+msgstr "La papelera está vacía"
+
+#: src/library/TrashPage.vala:112
+msgid "Delete"
+msgstr "Eliminar"
+
+#: src/library/TrashPage.vala:113
+msgid "Deleting Photos"
+msgstr "Eliminando fotos"
+
+#: 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."
+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 ""
+"Su colección de fotos no es compatible con esta versión de Shotwell. Parece "
+"que fue creada por Shotwell %s (esquema %d). Esta versión es %s (esquema %"
+"d). Use la versión más reciente de 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"
+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 no pudo actualizar su colección de fotos desde la versión %s "
+"(esquema %d) a la %s (esquema %d). Para obtener más información , consulte "
+"el wiki de Shotwell en %s"
+
+#: 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."
+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 ""
+"Su colección de fotos no es compatible con esta versión de Shotwell. Parece "
+"que fue creada por Shotwell %s (esquema %d). Esta versión es %s (esquema %"
+"d). Vacíe la colección mediante la eliminación de %s, y vuelva a importar "
+"las fotos."
+
+#: src/main.vala:71
+#, c-format
+#| msgid "Unknown error attempting to verify Shotwell's database: %s"
+msgid "Unknown error attempting to verify Shotwell’s database: %s"
+msgstr ""
+"Error desconocido al intentar verificar la base de datos de Shotwell: %s"
+
+#: src/main.vala:104
+msgid "Loading Shotwell"
+msgstr "Cargando Shotwell"
+
+#: src/main.vala:294
+#| msgid "Path to Shotwell's private data"
+msgid "Path to Shotwell’s private data"
+msgstr "Ruta a los datos privados de Shotwell"
+
+#: src/main.vala:294
+msgid "DIRECTORY"
+msgstr "DIRECTORIO"
+
+#: src/main.vala:298
+msgid "Do not monitor library directory at runtime for changes"
+msgstr ""
+"No monitorear el directorio de la colección en tiempo de ejecución para "
+"buscar cambios"
+
+#: src/main.vala:302
+#| msgid "Don't display startup progress meter"
+msgid "Don’t display startup progress meter"
+msgstr "No mostrar medidor de progreso de inicio"
+
+#: src/main.vala:306
+#| msgid "Show the application's version"
+msgid "Show the application’s version"
+msgstr "Mostrar la versión de la aplicación"
+
+#. init GTK (valac has already called g_threads_init())
+#: src/main.vala:338
+msgid "[FILE]"
+msgstr "[ARCHIVO]"
+
+#: src/main.vala:342
+#, c-format
+#| msgid ""
+#| "Run '%s --help' to see a full list of available command line options.\n"
+msgid "Run “%s --help” to see a full list of available command line options.\n"
+msgstr ""
+"Ejecute «%s --help» para ver una lista completa de opciones de línea de "
+"órdenes.\n"
+
+#: src/MediaMonitor.vala:400
+#, c-format
+msgid "Unable to process monitoring updates: %s"
+msgstr "No se pueden procesar las actualizaciones de la monitorización %s"
+
+#: src/MediaPage.vala:158
+msgid "Adjust the size of the thumbnails"
+msgstr "Ajustar el tamaño de las miniaturas"
+
+#: src/MediaPage.vala:341
+msgid "Increase the magnification of the thumbnails"
+msgstr "Aumentar la ampliación de las miniaturas"
+
+#: src/MediaPage.vala:347
+msgid "Decrease the magnification of the thumbnails"
+msgstr "Disminuir la ampliación de las miniaturas"
+
+#: src/MediaPage.vala:414
+msgid "Sort _Photos"
+msgstr "Ordenar _fotos"
+
+#: src/MediaPage.vala:423
+msgid "_Play Video"
+msgstr "_Reproducir vídeo"
+
+#: src/MediaPage.vala:424
+msgid "Open the selected videos in the system video player"
+msgstr "Abrir los vídeos seleccionados en el reproductor de vídeos del sistema"
+
+#: src/MediaPage.vala:428 src/PhotoPage.vala:2640
+msgid "_Developer"
+msgstr "_Revelador"
+
+#: src/MediaPage.vala:458
+msgid "Display the comment of each photo"
+msgstr "Mostrar el comentario de cada foto"
+
+#: src/MediaPage.vala:470
+#| msgid "Display each photo's tags"
+msgid "Display each photo’s tags"
+msgstr "Mostrar la etiqueta de cada foto"
+
+#: src/MediaPage.vala:486
+msgid "By _Title"
+msgstr "Por _título"
+
+#: src/MediaPage.vala:487
+msgid "Sort photos by title"
+msgstr "Ordenar las fotos por título"
+
+#: src/MediaPage.vala:492
+msgid "By Exposure _Date"
+msgstr "Por fecha de exposición"
+
+#: src/MediaPage.vala:493
+msgid "Sort photos by exposure date"
+msgstr "Ordenar fotos por fecha de exposición"
+
+#: src/MediaPage.vala:498
+msgid "By _Rating"
+msgstr "Por p_untuación"
+
+#: src/MediaPage.vala:499
+msgid "Sort photos by rating"
+msgstr "Ordenar fotos por puntuación"
+
+#: src/MediaPage.vala:504
+msgid "By _Filename"
+msgstr "Por _nombre del archivo"
+
+#: src/MediaPage.vala:505
+msgid "Sort photos by filename"
+msgstr "Ordenar fotos por nombre"
+
+#: src/MediaPage.vala:723
+#, c-format
+msgid ""
+"Shotwell was unable to play the selected video:\n"
+"%s"
+msgstr ""
+"Shotwell no pudo reproducir el vídeo seleccionado:\n"
+"%s"
+
+#: src/Page.vala:1266
+msgid "No photos/videos"
+msgstr "No hay fotos/vídeos"
+
+#: src/Page.vala:1270
+msgid "No photos/videos found which match the current filter"
+msgstr "No se han encontrado fotos/vídeos que coincidan con el filtro actual"
+
+#: src/Page.vala:2576
+msgid "Photos cannot be exported to this directory."
+msgstr "No se pueden exportar las fotos a este directorio."
+
+#. previous button
+#: src/PhotoPage.vala:533
+msgid "Previous photo"
+msgstr "Foto anterior"
+
+#. next button
+#: src/PhotoPage.vala:539
+msgid "Next photo"
+msgstr "Siguiente foto"
+
+#: src/PhotoPage.vala:1845
+#, c-format
+msgid "Photo source file missing: %s"
+msgstr "Falta el archivo de origen de la foto: %s"
+
+#: src/PhotoPage.vala:3229
+#, c-format
+msgid "Unable to export %s: %s"
+msgstr "No se puede exportar %s: %s"
+
+#: src/photos/BmpSupport.vala:32
+msgid "BMP"
+msgstr "BMP"
+
+#: src/photos/JfifSupport.vala:84
+msgid "JPEG"
+msgstr "JPEG"
+
+#: src/photos/JfifSupport.vala:185
+#, c-format
+msgid "Low (%d%%)"
+msgstr "Baja (%d%%)"
+
+#: src/photos/JfifSupport.vala:188
+#, c-format
+msgid "Medium (%d%%)"
+msgstr "Media (%d%%)"
+
+#: src/photos/JfifSupport.vala:191
+#, c-format
+msgid "High (%d%%)"
+msgstr "Alta (%d%%)"
+
+#: src/photos/JfifSupport.vala:194
+#, c-format
+msgid "Maximum (%d%%)"
+msgstr "Máxima (%d%%)"
+
+#: src/photos/PngSupport.vala:30
+msgid "PNG"
+msgstr "PNG"
+
+#: src/photos/RawSupport.vala:134
+msgid "RAW"
+msgstr "RAW"
+
+#: src/photos/TiffSupport.vala:86
+msgid "TIFF"
+msgstr "TIFF"
+
+#: src/Photo.vala:3753
+msgid "modified"
+msgstr "modificada"
+
+#: src/Printing.vala:255
+msgid "Fill the entire page"
+msgstr "Llenar la página entera"
+
+#: src/Printing.vala:256
+msgid "2 images per page"
+msgstr "2 imágenes por página"
+
+#: src/Printing.vala:257
+msgid "4 images per page"
+msgstr "4 imágenes por página"
+
+#: src/Printing.vala:258
+msgid "6 images per page"
+msgstr "6 imágenes por página"
+
+#: src/Printing.vala:259
+msgid "8 images per page"
+msgstr "8 imágenes por página"
+
+#: src/Printing.vala:260
+msgid "16 images per page"
+msgstr "16 imágenes por página"
+
+#: src/Printing.vala:261
+msgid "32 images per page"
+msgstr "32 imágenes por página"
+
+#: src/Printing.vala:348
+msgid "in."
+msgstr "pulg."
+
+#: src/Printing.vala:349
+msgid "cm"
+msgstr "cm"
+
+#: src/Printing.vala:876
+msgid "Image Settings"
+msgstr "Ajustes de la imagen"
+
+#: src/Printing.vala:889
+msgid "Printing…"
+msgstr "Imprimiendo…"
+
+#: src/Printing.vala:909 src/Printing.vala:1112
+#, c-format
+msgid ""
+"Unable to print photo:\n"
+"\n"
+"%s"
+msgstr ""
+"No se puede imprimir la foto:\n"
+"\n"
+"%s"
+
+#: src/Properties.vala:84
+msgid "Today"
+msgstr "Hoy"
+
+#: src/Properties.vala:86
+msgid "Yesterday"
+msgstr "Ayer"
+
+#: src/Properties.vala:343
+msgid "Items:"
+msgstr "Elementos:"
+
+#: src/Properties.vala:346
+#, c-format
+msgid "%d Event"
+msgid_plural "%d Events"
+msgstr[0] "%d evento"
+msgstr[1] "%d eventos"
+
+#. display only one date if start and end are the same
+#: src/Properties.vala:377
+msgid "Date:"
+msgstr "Fecha:"
+
+#. display only one time if start and end are the same
+#: src/Properties.vala:381
+msgid "Time:"
+msgstr "Hora:"
+
+#. display time range
+#. display date range
+#: src/Properties.vala:384 src/Properties.vala:389
+msgid "From:"
+msgstr "De:"
+
+#: src/Properties.vala:385 src/Properties.vala:390
+msgid "To:"
+msgstr "A:"
+
+#: src/Properties.vala:404
+msgid "Duration:"
+msgstr "Duración:"
+
+#: src/Properties.vala:404
+#, c-format
+msgid "%.1f seconds"
+msgstr "%.1f segundos"
+
+#: src/Properties.vala:408
+msgid "Developer:"
+msgstr "Revelador:"
+
+#. nothing special to be done for now for Events
+#: src/Properties.vala:583
+msgid "Location:"
+msgstr "Ubicación:"
+
+#: src/Properties.vala:586
+msgid "File size:"
+msgstr "Tamaño del archivo:"
+
+#: src/Properties.vala:590
+msgid "Current Development:"
+msgstr "Desarrollo actual:"
+
+#: src/Properties.vala:592
+msgid "Original dimensions:"
+msgstr "Dimensiones originales:"
+
+#: src/Properties.vala:595
+msgid "Camera make:"
+msgstr "Cámara:"
+
+#: src/Properties.vala:598
+msgid "Camera model:"
+msgstr "Modelo de la cámara:"
+
+#: src/Properties.vala:601
+msgid "Flash:"
+msgstr "Flash:"
+
+#: src/Properties.vala:603
+msgid "Focal length:"
+msgstr "Longitud focal:"
+
+#: src/Properties.vala:606
+msgid "Exposure date:"
+msgstr "Fecha de exposición:"
+
+#: src/Properties.vala:609
+msgid "Exposure time:"
+msgstr "Tiempo de exposición:"
+
+#: src/Properties.vala:612
+msgid "Exposure bias:"
+msgstr "Exposición:"
+
+#: src/Properties.vala:614
+msgid "GPS latitude:"
+msgstr "Latitud GPS:"
+
+#: src/Properties.vala:617
+msgid "GPS longitude:"
+msgstr "Longitud GPS:"
+
+#: src/Properties.vala:620
+msgid "Artist:"
+msgstr "Artista:"
+
+#: src/Properties.vala:622
+msgid "Copyright:"
+msgstr "Copyright:"
+
+#: src/Properties.vala:624
+msgid "Software:"
+msgstr "Software:"
+
+#: src/Properties.vala:641
+msgid "Extended Information"
+msgstr "Información extendida"
+
+#: src/publishing/PublishingPluginHost.vala:11
+msgid "Preparing for upload"
+msgstr "Preparando para subir"
+
+#: src/publishing/PublishingPluginHost.vala:12
+#, c-format
+msgid "Uploading %d of %d"
+msgstr "Subiendo %d de %d"
+
+#: src/publishing/PublishingPluginHost.vala:81
+#, c-format
+#| msgid "Publishing to %s can't continue because an error occurred:"
+msgid "Publishing to %s can’t continue because an error occurred:"
+msgstr "No se puede continuar la publicación en %s porque ocurrió un error:"
+
+#: src/publishing/PublishingPluginHost.vala:84
+msgid "To try publishing to another service, select one from the above menu."
+msgstr ""
+"Para intentar publicar en otro servicio, seleccione uno en el menú de arriba."
+
+#: src/publishing/PublishingUI.vala:105
+msgid "The selected photos/videos were successfully published."
+msgstr "Las fotos/vídeos seleccionados se publicaron correctamente."
+
+#: src/publishing/PublishingUI.vala:107
+msgid "The selected videos were successfully published."
+msgstr "Las fotos seleccionadas se publicaron correctamente."
+
+#: src/publishing/PublishingUI.vala:109
+msgid "The selected photos were successfully published."
+msgstr "Las fotos seleccionadas se publicaron correctamente."
+
+#: src/publishing/PublishingUI.vala:112
+msgid "The selected video was successfully published."
+msgstr "El vídeo seleccionado se publicó correctamente."
+
+#: src/publishing/PublishingUI.vala:114
+msgid "The selected photo was successfully published."
+msgstr "La foto seleccionada se publicó correctamente."
+
+#: src/publishing/PublishingUI.vala:122
+msgid "Fetching account information…"
+msgstr "Obteniendo información de la cuenta…"
+
+#: src/publishing/PublishingUI.vala:128
+msgid "Logging in…"
+msgstr "Iniciando sesión…"
+
+#: src/publishing/PublishingUI.vala:188
+msgid "Publish Photos"
+msgstr "Publicar fotos"
+
+#: src/publishing/PublishingUI.vala:189
+msgid "Publish photos _to:"
+msgstr "Publicar fo_tos en:"
+
+#: src/publishing/PublishingUI.vala:191
+msgid "Publish Videos"
+msgstr "Publicar vídeos"
+
+#: src/publishing/PublishingUI.vala:192
+msgid "Publish videos _to"
+msgstr "Publicar vídeos _en"
+
+#: src/publishing/PublishingUI.vala:194
+msgid "Publish Photos and Videos"
+msgstr "Publicar fotos y vídeos"
+
+#: src/publishing/PublishingUI.vala:195
+msgid "Publish photos and videos _to"
+msgstr "Publicar fotos y vídeos _en"
+
+#. There are no enabled publishing services that accept this media type,
+#. warn the user.
+#: src/publishing/PublishingUI.vala:397
+msgid "Unable to publish"
+msgstr "No se pudo publicar"
+
+#: src/publishing/PublishingUI.vala:398
+#, c-format
+msgid ""
+"Shotwell cannot publish the selected items because you do not have a "
+"compatible publishing plugin enabled. To correct this, choose Edit %s "
+"Preferences and enable one or more of the publishing plugins on the "
+"Plugins tab."
+msgstr ""
+"Shotwell no puede publicar el elemento seleccionado porque no tiene activado "
+"un complemento compatible. Para corregir esto, vaya a Editar %s "
+"Preferencias y active uno o más complementos de publicación en la "
+"pestaña Complementos ."
+
+#: src/publishing/Publishing.vala:16
+msgid "Publishing"
+msgstr "Publicando"
+
+#: src/Resources.vala:139
+msgid "Rotate _Right"
+msgstr "Girar a la _derecha"
+
+#: src/Resources.vala:140 src/Resources.vala:145
+msgid "Rotate"
+msgstr "Girar"
+
+#: src/Resources.vala:141
+msgid "Rotate Right"
+msgstr "Girar a la derecha"
+
+#: src/Resources.vala:142
+msgid "Rotate the photos right (press Ctrl to rotate left)"
+msgstr "Girar las fotos a la derecha (oprima Ctrl para girar a la izquierda)"
+
+#: src/Resources.vala:144
+msgid "Rotate _Left"
+msgstr "Girar a la izq_uierda"
+
+#: src/Resources.vala:146
+msgid "Rotate Left"
+msgstr "Girar a la izquierda"
+
+#: src/Resources.vala:147
+msgid "Rotate the photos left"
+msgstr "Girar las fotos a la izquierda"
+
+#: src/Resources.vala:149
+msgid "Flip Hori_zontally"
+msgstr "Voltear hori_zontalmente"
+
+#: src/Resources.vala:150
+msgid "Flip Horizontally"
+msgstr "Voltear horizontalmente"
+
+#: src/Resources.vala:152
+msgid "Flip Verti_cally"
+msgstr "Voltear _verticalmente"
+
+#: src/Resources.vala:153
+msgid "Flip Vertically"
+msgstr "Voltear verticalmente"
+
+#: src/Resources.vala:155
+msgid "_About"
+msgstr "_Acerca de"
+
+#: src/Resources.vala:156
+msgid "_Apply"
+msgstr "_Aplicar"
+
+#: src/Resources.vala:160
+msgid "_Forward"
+msgstr "_Adelante"
+
+#: src/Resources.vala:161
+msgid "Fulls_creen"
+msgstr "Pantalla c_ompleta"
+
+#: src/Resources.vala:163
+msgid "Leave _Fullscreen"
+msgstr "Salir de pantalla co_mpleta"
+
+#: src/Resources.vala:164 src/Resources.vala:363
+msgid "_New"
+msgstr "_Nueva"
+
+#: src/Resources.vala:165
+msgid "_Next"
+msgstr "_Siguiente"
+
+#: src/Resources.vala:166
+msgid "_OK"
+msgstr "_Aceptar"
+
+#: src/Resources.vala:167
+msgid "_Play"
+msgstr "_Reproducir"
+
+#: src/Resources.vala:168 src/Resources.vala:317
+msgid "_Preferences"
+msgstr "_Preferencias"
+
+#: src/Resources.vala:169
+msgid "_Previous"
+msgstr "_Anterior"
+
+#: src/Resources.vala:170
+msgid "_Print"
+msgstr "_Imprimir"
+
+#: src/Resources.vala:171
+msgid "_Quit"
+msgstr "_Salir"
+
+#: src/Resources.vala:172
+msgid "_Refresh"
+msgstr "_Actualizar"
+
+#: src/Resources.vala:174
+msgid "_Revert"
+msgstr "_Revertir"
+
+#: src/Resources.vala:176
+msgid "Save _As"
+msgstr "Guardar _como"
+
+#: src/Resources.vala:177
+msgid "Sort _Ascending"
+msgstr "Ordenar _ascendentemente"
+
+#: src/Resources.vala:178
+msgid "Sort _Descending"
+msgstr "Ordenar d_escendentemente"
+
+#: src/Resources.vala:179
+msgid "_Stop"
+msgstr "_Detener"
+
+#: src/Resources.vala:180
+msgid "_Undelete"
+msgstr "_Recuperar"
+
+#: src/Resources.vala:181
+msgid "_Normal Size"
+msgstr "Tamaño _normal"
+
+#: src/Resources.vala:182
+msgid "Best _Fit"
+msgstr "_Mejor ajuste"
+
+#: src/Resources.vala:186
+msgid "_Enhance"
+msgstr "M_ejorar"
+
+#: src/Resources.vala:187
+msgid "Enhance"
+msgstr "Mejorar"
+
+#: src/Resources.vala:188
+#| msgid "Automatically improve the photo's appearance"
+msgid "Automatically improve the photo’s appearance"
+msgstr "Mejorar automáticamente la apariencia de la foto"
+
+#: src/Resources.vala:190
+msgid "_Copy Color Adjustments"
+msgstr "_Copiar ajustes de color"
+
+#: src/Resources.vala:191
+msgid "Copy Color Adjustments"
+msgstr "Copiar ajustes de color"
+
+#: src/Resources.vala:192
+msgid "Copy the color adjustments applied to the photo"
+msgstr "Copiar los ajustes de color aplicados a la foto"
+
+#: src/Resources.vala:194
+msgid "_Paste Color Adjustments"
+msgstr "_Pegar ajustes de color"
+
+#: src/Resources.vala:195
+msgid "Paste Color Adjustments"
+msgstr "Pegar ajustes de color"
+
+#: src/Resources.vala:196
+msgid "Apply copied color adjustments to the selected photos"
+msgstr "Aplicar ajuste de color copiado a las fotos seleccionadas"
+
+#: src/Resources.vala:198
+msgid "_Crop"
+msgstr "Re_cortar"
+
+#: src/Resources.vala:199
+msgid "Crop"
+msgstr "Recortar"
+
+#: src/Resources.vala:200
+#| msgid "Crop the photo's size"
+msgid "Crop the photo’s size"
+msgstr "Recortar el tamaño de la foto"
+
+#: src/Resources.vala:203
+msgid "Straighten"
+msgstr "Enderezar"
+
+#: src/Resources.vala:204
+msgid "Straighten the photo"
+msgstr "Enderezar la foto"
+
+#: src/Resources.vala:206
+msgid "_Red-eye"
+msgstr "Ojos _rojos"
+
+#: src/Resources.vala:207
+msgid "Red-eye"
+msgstr "Ojos rojos"
+
+#: src/Resources.vala:208
+msgid "Reduce or eliminate any red-eye effects in the photo"
+msgstr "Reducir o eliminar cualquier efecto de ojos rojos en la foto"
+
+#: src/Resources.vala:210
+msgid "_Adjust"
+msgstr "_Ajuste"
+
+#: src/Resources.vala:211
+msgid "Adjust"
+msgstr "Ajuste"
+
+#: src/Resources.vala:212
+#| msgid "Adjust the photo's color and tone"
+msgid "Adjust the photo’s color and tone"
+msgstr "Ajustar el color y el tono de la foto"
+
+#: src/Resources.vala:214
+msgid "Re_vert to Original"
+msgstr "_Volver al original"
+
+#: src/Resources.vala:215
+msgid "Revert to Original"
+msgstr "Volver al original"
+
+#: src/Resources.vala:217
+msgid "Revert External E_dits"
+msgstr "Revertir e_diciones externas"
+
+#: src/Resources.vala:218
+msgid "Revert to the master photo"
+msgstr "Revertir a la foto original"
+
+#: src/Resources.vala:220
+msgid "Set as _Desktop Background"
+msgstr "Establecer como fondo _de escritorio"
+
+#: src/Resources.vala:221
+msgid "Set selected image to be the new desktop background"
+msgstr "Establezca la imagen seleccionada como nuevo fondo de escritorio"
+
+#: src/Resources.vala:222
+msgid "Set as _Desktop Slideshow…"
+msgstr "Establecer como pase de _diapositivas de escritorio…"
+
+#: src/Resources.vala:224
+msgid "_Undo"
+msgstr "_Deshacer"
+
+#: src/Resources.vala:225
+msgid "Undo"
+msgstr "Deshacer"
+
+#: src/Resources.vala:227
+msgid "_Redo"
+msgstr "_Rehacer"
+
+#: src/Resources.vala:228
+msgid "Redo"
+msgstr "Rehacer"
+
+#: src/Resources.vala:230
+msgid "Re_name Event…"
+msgstr "Re_nombrar evento…"
+
+#: src/Resources.vala:233
+msgid "Make _Key Photo for Event"
+msgstr "Hacer foto _clave para el evento"
+
+#: src/Resources.vala:234
+msgid "Make Key Photo for Event"
+msgstr "Hacer foto clave para el evento"
+
+#: src/Resources.vala:236
+msgid "_New Event"
+msgstr "Evento _nuevo"
+
+#: src/Resources.vala:237
+msgid "New Event"
+msgstr "Evento nuevo"
+
+#: src/Resources.vala:239
+msgid "Move Photos"
+msgstr "Mover fotos"
+
+#: src/Resources.vala:240
+msgid "Move photos to an event"
+msgstr "Mover fotos a un evento"
+
+#: src/Resources.vala:242
+msgid "_Merge Events"
+msgstr "_Combinar eventos"
+
+#: src/Resources.vala:243
+msgid "Merge"
+msgstr "Combinar"
+
+#: src/Resources.vala:244
+msgid "Combine events into a single event"
+msgstr "Combinar eventos en uno solo"
+
+#: src/Resources.vala:246
+msgid "_Set Rating"
+msgstr "Establecer p_untuación"
+
+#: src/Resources.vala:247
+msgid "Set Rating"
+msgstr "Establecer puntuación"
+
+#: src/Resources.vala:248
+msgid "Change the rating of your photo"
+msgstr "Cambiar la puntuación de su foto"
+
+#: src/Resources.vala:250
+msgid "_Increase"
+msgstr "_Aumentar"
+
+#: src/Resources.vala:251
+msgid "Increase Rating"
+msgstr "Aumentar puntuación"
+
+#: src/Resources.vala:253
+msgid "_Decrease"
+msgstr "Disminuir"
+
+#: src/Resources.vala:254
+msgid "Decrease Rating"
+msgstr "Disminuir puntuación"
+
+#: src/Resources.vala:256
+msgid "_Unrated"
+msgstr "_Sin puntuar"
+
+#: src/Resources.vala:257
+msgid "Unrated"
+msgstr "Sin puntuar"
+
+#: src/Resources.vala:258
+msgid "Rate Unrated"
+msgstr "Puntuar no puntuadas"
+
+#: src/Resources.vala:259
+msgid "Setting as unrated"
+msgstr "Establecer como sin puntuación"
+
+#: src/Resources.vala:260
+msgid "Remove any ratings"
+msgstr "Quitar cualquier puntuación"
+
+#: src/Resources.vala:262
+msgid "_Rejected"
+msgstr "_Rechazado"
+
+#: src/Resources.vala:263
+msgid "Rejected"
+msgstr "Rechazada"
+
+#: src/Resources.vala:264
+msgid "Rate Rejected"
+msgstr "Puntuar rechazadas"
+
+#: src/Resources.vala:265
+msgid "Setting as rejected"
+msgstr "Estableciendo como rechazada"
+
+#: src/Resources.vala:266
+msgid "Set rating to rejected"
+msgstr "Establecer puntuación para rechazadas"
+
+#: src/Resources.vala:268
+msgid "Rejected _Only"
+msgstr "Solo _rechazadas"
+
+#: src/Resources.vala:269
+msgid "Rejected Only"
+msgstr "Solo rechazadas"
+
+#: src/Resources.vala:270
+msgid "Show only rejected photos"
+msgstr "Mostrar solo las fotos rechazadas"
+
+#: src/Resources.vala:272
+msgid "All + _Rejected"
+msgstr "Todas + _rechazadas"
+
+#: src/Resources.vala:273
+msgctxt "Tooltip"
+msgid "Show all photos, including rejected"
+msgstr "Mostrar todas las fotos, incluyendo las rechazadas"
+
+#: src/Resources.vala:275
+msgid "_All Photos"
+msgstr "Todas las _fotos"
+
+#. Button tooltip
+#: src/Resources.vala:277
+msgid "Show all photos"
+msgstr "Mostrar todas las fotos"
+
+#: src/Resources.vala:279
+msgid "_Ratings"
+msgstr "_Puntuaciones"
+
+#: src/Resources.vala:280
+#| msgid "Display each photo's rating"
+msgid "Display each photo’s rating"
+msgstr "Mostrar la puntuación de cada foto"
+
+#: src/Resources.vala:282
+msgid "_Filter Photos"
+msgstr "_Filtrar fotos"
+
+#: src/Resources.vala:283
+msgid "Filter Photos"
+msgstr "Filtrar fotos"
+
+#: src/Resources.vala:284
+msgid "Limit the number of photos displayed based on a filter"
+msgstr "Limitar el número de fotos mostradas en base al filtro"
+
+#: src/Resources.vala:286
+msgid "_Duplicate"
+msgstr "_Duplicar"
+
+#: src/Resources.vala:287
+msgid "Duplicate"
+msgstr "Duplicar"
+
+#: src/Resources.vala:288
+msgid "Make a duplicate of the photo"
+msgstr "Hacer un duplicado de la foto"
+
+#: src/Resources.vala:290
+msgid "_Export…"
+msgstr "_Exportar…"
+
+#: src/Resources.vala:292
+msgid "_Print…"
+msgstr "_Imprimir…"
+
+#: src/Resources.vala:294
+msgid "Pu_blish…"
+msgstr "Pu_blicar…"
+
+#: src/Resources.vala:296
+msgid "Publish to various websites"
+msgstr "Publicar en varios sitios web"
+
+#: src/Resources.vala:298
+msgid "Edit _Title…"
+msgstr "Editar _título…"
+
+#. Button label
+#: src/Resources.vala:300
+msgctxt "Button Label"
+msgid "Edit Title"
+msgstr "Editar título"
+
+#: src/Resources.vala:302
+msgid "Edit _Comment…"
+msgstr "Editar _comentario…"
+
+#. Button label
+#: src/Resources.vala:304
+msgid "Edit Comment"
+msgstr "Editar comentario"
+
+#: src/Resources.vala:306
+msgid "Edit Event _Comment…"
+msgstr "Editar _comentario de evento…"
+
+#: src/Resources.vala:309
+msgid "_Adjust Date and Time…"
+msgstr "_Ajustar fecha y hora…"
+
+#: src/Resources.vala:310
+msgid "Adjust Date and Time"
+msgstr "Ajustar fecha y hora"
+
+#: src/Resources.vala:312
+msgid "Add _Tags…"
+msgstr "Añadir e_tiquetas…"
+
+#: src/Resources.vala:313
+msgid "_Add Tags…"
+msgstr "_Añadir etiquetas…"
+
+#. Dialog title
+#: src/Resources.vala:315
+msgctxt "Dialog Title"
+msgid "Add Tags"
+msgstr "Añadir etiquetas"
+
+#: src/Resources.vala:319
+msgid "Open With E_xternal Editor"
+msgstr "Abrir con editor e_xterno"
+
+#: src/Resources.vala:321
+msgid "Open With RA_W Editor"
+msgstr "Abrir con editor RA_W"
+
+#: src/Resources.vala:323
+msgid "Send _To…"
+msgstr "En_viar a…"
+
+#: src/Resources.vala:324
+msgid "Send T_o…"
+msgstr "Env_iar a…"
+
+#: src/Resources.vala:326
+msgid "_Find…"
+msgstr "_Buscar…"
+
+#: src/Resources.vala:327
+msgid "Find"
+msgstr "Buscar"
+
+#: src/Resources.vala:328
+msgid "Find an image by typing text that appears in its name or tags"
+msgstr ""
+"Buscar una imagen escribiendo el texto que aparece en su nombre o etiquetas"
+
+#: src/Resources.vala:330
+msgid "_Flag"
+msgstr "_Marcar"
+
+#: src/Resources.vala:332
+msgid "Un_flag"
+msgstr "_Desmarcar"
+
+#: src/Resources.vala:335
+#, c-format
+msgid "Unable to launch editor: %s"
+msgstr "No se puede abrir el editor: %s"
+
+#: src/Resources.vala:340
+#, c-format
+#| msgid "Add Tag \"%s\""
+msgid "Add Tag “%s”"
+msgstr "Añadir etiqueta «%s»"
+
+#. Used when adding two tags to photo(s)
+#: src/Resources.vala:343
+#, c-format
+#| msgid "Add Tags \"%s\" and \"%s\""
+msgid "Add Tags “%s” and “%s”"
+msgstr "Añadir etiquetas «%s» y «%s»"
+
+#. Undo/Redo command name (in Edit menu)
+#: src/Resources.vala:348
+msgctxt "UndoRedo menu entry"
+msgid "Add Tags"
+msgstr "Añadir etiquetas"
+
+#: src/Resources.vala:353
+#, c-format
+#| msgid "_Delete Tag \"%s\""
+msgid "_Delete Tag “%s”"
+msgstr "_Eliminar etiqueta «%s»"
+
+#: src/Resources.vala:357
+#, c-format
+#| msgid "Delete Tag \"%s\""
+msgid "Delete Tag “%s”"
+msgstr "Eliminar etiqueta «%s»"
+
+#: src/Resources.vala:360
+msgid "Delete Tag"
+msgstr "Eliminar etiqueta"
+
+#: src/Resources.vala:366
+#, c-format
+#| msgid "Re_name Tag \"%s\"…"
+msgid "Re_name Tag “%s”…"
+msgstr "Re_nombrar etiqueta «%s»…"
+
+#: src/Resources.vala:370
+#, c-format
+#| msgid "Rename Tag \"%s\" to \"%s\""
+msgid "Rename Tag “%s” to “%s”"
+msgstr "Renombrar la etiqueta «%s» a «%s»"
+
+#: src/Resources.vala:373
+msgid "_Rename…"
+msgstr "_Renombrar…"
+
+#: src/Resources.vala:375
+msgid "Modif_y Tags…"
+msgstr "Mod_ificar etiquetas…"
+
+#: src/Resources.vala:376
+msgid "Modify Tags"
+msgstr "Modificar etiquetas"
+
+#: src/Resources.vala:379
+#, c-format
+#| msgid "Tag Photo as \"%s\""
+msgid "Tag Photo as “%s”"
+msgid_plural "Tag Photos as “%s”"
+msgstr[0] "Etiquetar fotos como «%s»"
+msgstr[1] "Etiquetar fotos como «%s»"
+
+#: src/Resources.vala:385
+#, c-format
+#| msgid "Tag the selected photo as \"%s\""
+msgid "Tag the selected photo as “%s”"
+msgid_plural "Tag the selected photos as “%s”"
+msgstr[0] "Etiquetar las fotos seleccionadas como «%s»"
+msgstr[1] "Etiquetar las fotos seleccionadas como «%s»"
+
+#: src/Resources.vala:391
+#, c-format
+#| msgid "Remove Tag \"%s\" From _Photo"
+msgid "Remove Tag “%s” From _Photo"
+msgid_plural "Remove Tag “%s” From _Photos"
+msgstr[0] "Quitar la etiqueta «%s» de las _fotos"
+msgstr[1] "Quitar la etiqueta «%s» de las _fotos"
+
+#: src/Resources.vala:397
+#, c-format
+#| msgid "Remove Tag \"%s\" From Photo"
+msgid "Remove Tag “%s” From Photo"
+msgid_plural "Remove Tag “%s” From Photos"
+msgstr[0] "Quitar la etiqueta «%s» de las fotos"
+msgstr[1] "Quitar la etiqueta «%s» de las fotos"
+
+#: src/Resources.vala:403
+#, c-format
+#| msgid "Unable to rename tag to \"%s\" because the tag already exists."
+msgid "Unable to rename tag to “%s” because the tag already exists."
+msgstr "No se puede renombrar la etiqueta a «%s» porque la etiqueta ya existe."
+
+#: src/Resources.vala:407
+#, 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 "No se pudo renombrar la búsqueda «%s» porque la búsqueda ya existe."
+
+#. Saved search button
+#: src/Resources.vala:410 src/SearchFilter.vala:1210
+msgid "Saved Search"
+msgstr "Búsqueda guardada"
+
+#: src/Resources.vala:412
+msgid "Delete Search"
+msgstr "Eliminar búsqueda"
+
+#: src/Resources.vala:415
+msgid "_Edit…"
+msgstr "_Editar…"
+
+#: src/Resources.vala:416
+msgid "Re_name…"
+msgstr "Re_nombrar…"
+
+#: src/Resources.vala:419
+#, c-format
+#| msgid "Rename Search \"%s\" to \"%s\""
+msgid "Rename Search “%s” to “%s”"
+msgstr "Renombrar la búsqueda «%s» a «%s»"
+
+#: src/Resources.vala:423
+#, c-format
+#| msgid "Delete Search \"%s\""
+msgid "Delete Search “%s”"
+msgstr "Eliminar búsqueda «%s»"
+
+#: src/Resources.vala:581
+#, c-format
+msgid "Rate %s"
+msgstr "Puntuar %s"
+
+#: src/Resources.vala:582
+#, c-format
+msgid "Set rating to %s"
+msgstr "Establecer puntuación para %s"
+
+#: src/Resources.vala:583
+#, c-format
+msgid "Setting rating to %s"
+msgstr "Estableciendo la puntuación de %s"
+
+#: src/Resources.vala:585
+#, c-format
+msgid "Display %s"
+msgstr "Mostrar %s"
+
+#: src/Resources.vala:586
+#, c-format
+msgid "Only show photos with a rating of %s"
+msgstr "Solo mostrar fotos con puntuación %s"
+
+#: src/Resources.vala:587
+#, c-format
+msgid "%s or Better"
+msgstr "%s o mayor"
+
+#: src/Resources.vala:588
+#, c-format
+msgid "Display %s or Better"
+msgstr "Mostrar %s o mayor"
+
+#: src/Resources.vala:589
+#, c-format
+msgid "Only show photos with a rating of %s or better"
+msgstr "Solo mostrar fotos con puntuación %s o mayor"
+
+#: src/Resources.vala:680
+msgid "Remove the selected photos from the trash"
+msgstr "Quitar las fotos seleccionadas de la papelera"
+
+#: src/Resources.vala:681
+msgid "Remove the selected photos from the library"
+msgstr "Quitar las fotos seleccionadas de la colección"
+
+#: src/Resources.vala:683
+msgid "_Restore"
+msgstr "_Restaurar"
+
+#: src/Resources.vala:684
+msgid "Move the selected photos back into the library"
+msgstr "Mover las fotos seleccionadas de vuelta a la colección"
+
+#: src/Resources.vala:686
+msgid "Show in File Mana_ger"
+msgstr "Mostrar en ge_stor de archivos"
+
+#: src/Resources.vala:687
+#| msgid "Open the selected photo's directory in the file manager"
+msgid "Open the selected photo’s directory in the file manager"
+msgstr "Abrir el directorio de la foto seleccionada en el gestor de archivos"
+
+#: src/Resources.vala:690
+#, c-format
+msgid "Unable to open in file manager: %s"
+msgstr "No se puede abrir el gestor de archivos: %s"
+
+#: src/Resources.vala:693
+msgid "R_emove From Library"
+msgstr "_Quitar de la colección"
+
+#: src/Resources.vala:695
+msgid "_Move to Trash"
+msgstr "_Mover a la papelera"
+
+#: src/Resources.vala:697
+msgid "Select _All"
+msgstr "Seleccionar _todo"
+
+#: src/Resources.vala:698
+msgid "Select all items"
+msgstr "Seleccionar todos los elementos"
+
+#. ...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
+#. / 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
+#. / 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:787
+msgid "%a %b %d, %Y"
+msgstr "%a %d de %b de %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:792
+msgctxt "MultidayFormat"
+msgid "%a %b %d"
+msgstr "%a, %d de %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:797
+msgctxt "MultidayFormat"
+msgid "%d, %Y"
+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:802
+msgctxt "MultimonthFormat"
+msgid "%a %b %d"
+msgstr "%a, %d de %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:807
+msgctxt "MultimonthFormat"
+msgid "%a %b %d, %Y"
+msgstr "%a %d de %b de %Y"
+
+#: src/Screensaver.vala:18 src/SlideshowPage.vala:141
+msgid "Slideshow"
+msgstr "Diapositivas"
+
+#: src/searches/Branch.vala:68
+msgid "Saved Searches"
+msgstr "Búsquedas guardadas"
+
+#. Ordering must correspond with SearchConditionText.Context
+#: src/searches/SavedSearchDialog.vala:168
+msgid "contains"
+msgstr "contiene"
+
+#. Ordering must correspond with Context
+#: src/searches/SavedSearchDialog.vala:169
+#: src/searches/SavedSearchDialog.vala:500
+msgid "is exactly"
+msgstr "es exactamente"
+
+#: src/searches/SavedSearchDialog.vala:170
+msgid "starts with"
+msgstr "comienza por"
+
+#: src/searches/SavedSearchDialog.vala:171
+msgid "ends with"
+msgstr "termina por"
+
+#: src/searches/SavedSearchDialog.vala:172
+msgid "does not contain"
+msgstr "no contiene"
+
+#: src/searches/SavedSearchDialog.vala:173
+#: src/searches/SavedSearchDialog.vala:504
+msgid "is not set"
+msgstr "no está establecida"
+
+#: src/searches/SavedSearchDialog.vala:174
+msgid "is set"
+msgstr "está establecida"
+
+#. Ordering must correspond with SearchConditionMediaType.Context
+#: src/searches/SavedSearchDialog.vala:248
+#: src/searches/SavedSearchDialog.vala:379
+#: src/searches/SavedSearchDialog.vala:444
+msgid "is"
+msgstr "es"
+
+#: src/searches/SavedSearchDialog.vala:249
+msgid "is not"
+msgstr "no es"
+
+#. Ordering must correspond with SearchConditionMediaType.MediaType
+#: src/searches/SavedSearchDialog.vala:255
+msgid "any photo"
+msgstr "cualquier foto"
+
+#: src/searches/SavedSearchDialog.vala:256
+msgid "a raw photo"
+msgstr "una foto en «raw»"
+
+#: src/searches/SavedSearchDialog.vala:257
+msgid "a video"
+msgstr "un vídeo"
+
+#: src/searches/SavedSearchDialog.vala:311
+msgid "has"
+msgstr "tiene"
+
+#: src/searches/SavedSearchDialog.vala:312
+msgid "has no"
+msgstr "no tiene"
+
+#: src/searches/SavedSearchDialog.vala:317
+msgid "modifications"
+msgstr "modificaciones"
+
+#: src/searches/SavedSearchDialog.vala:318
+msgid "internal modifications"
+msgstr "modificaciones internas"
+
+#: src/searches/SavedSearchDialog.vala:319
+msgid "external modifications"
+msgstr "modificaciones externas"
+
+#. Ordering must correspond with SearchConditionFlagged.State
+#: src/searches/SavedSearchDialog.vala:373
+msgid "flagged"
+msgstr "marcada"
+
+#: src/searches/SavedSearchDialog.vala:374
+msgid "not flagged"
+msgstr "no marcada"
+
+#: src/searches/SavedSearchDialog.vala:437
+msgid "and higher"
+msgstr "y superior"
+
+#: src/searches/SavedSearchDialog.vala:438
+msgid "only"
+msgstr "solo"
+
+#: src/searches/SavedSearchDialog.vala:439
+msgid "and lower"
+msgstr "e inferior"
+
+#: src/searches/SavedSearchDialog.vala:501
+msgid "is after"
+msgstr "está después"
+
+#: src/searches/SavedSearchDialog.vala:502
+msgid "is before"
+msgstr "está antes"
+
+#: src/searches/SavedSearchDialog.vala:503
+msgid "is between"
+msgstr "está entre"
+
+#: src/searches/SavedSearchDialog.vala:516
+msgid "and"
+msgstr "y"
+
+#: src/searches/SavedSearchDialog.vala:697
+msgid "Search"
+msgstr "Búsqueda"
+
+#: src/searches/SavedSearchDialog.vala:702
+msgid "Cancel"
+msgstr "Cancelar"
+
+#: src/searches/SavedSearchDialog.vala:703
+msgid "OK"
+msgstr "Aceptar"
+
+#: src/searches/SavedSearchDialog.vala:721
+msgid "any"
+msgstr "cualquiera"
+
+#: src/searches/SavedSearchDialog.vala:722
+msgid "all"
+msgstr "todos"
+
+#: src/searches/SavedSearchDialog.vala:723
+msgid "none"
+msgstr "ninguna"
+
+#: src/searches/SearchBoolean.vala:157
+msgid "Any text"
+msgstr "Cualquier texto"
+
+#: src/searches/SearchBoolean.vala:160
+msgid "Title"
+msgstr "Título"
+
+#: src/searches/SearchBoolean.vala:163
+msgid "Tag"
+msgstr "Etiqueta"
+
+#: src/searches/SearchBoolean.vala:166
+msgid "Comment"
+msgstr "Comentario"
+
+#: src/searches/SearchBoolean.vala:169
+msgid "Event name"
+msgstr "Nombre del acontecimiento"
+
+#: src/searches/SearchBoolean.vala:172
+msgid "File name"
+msgstr "Nombre del archivo"
+
+#: src/searches/SearchBoolean.vala:175
+msgid "Media type"
+msgstr "Tipo de medio"
+
+#: src/searches/SearchBoolean.vala:178
+msgid "Flag state"
+msgstr "Estado de la opción"
+
+#: src/searches/SearchBoolean.vala:181
+msgid "Photo state"
+msgstr "Estado de la foto"
+
+#. Rating button
+#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:1199
+msgid "Rating"
+msgstr "Puntuación"
+
+#: src/searches/SearchBoolean.vala:187
+msgid "Date"
+msgstr "Fecha"
+
+#: src/SearchFilter.vala:614 src/SearchFilter.vala:615
+msgid "Videos"
+msgstr "Vídeos"
+
+#: src/SearchFilter.vala:620
+msgid "RAW Photos"
+msgstr "Fotos RAW"
+
+#: src/SearchFilter.vala:621
+msgid "RAW photos"
+msgstr "Fotos RAW"
+
+#: src/SearchFilter.vala:1148
+#, c-format
+msgid "Error loading UI file %s: %s"
+msgstr "Error al cargar el archivo de IU %s: %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
+msgid "Close"
+msgstr "Cerrar"
+
+#. Type label and toggles
+#: src/SearchFilter.vala:1165
+msgid "Type"
+msgstr "Tipo"
+
+#: src/SearchFilter.vala:1211
+msgid "Use a saved search to filter items in the current view"
+msgstr ""
+"Utilizar una búsqueda guardada para filtrar elementos en la vista actual"
+
+#: src/sidebar/Tree.vala:203
+msgid "New _Tag…"
+msgstr "E_tiqueta nueva…"
+
+#: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183
+msgid "Settings"
+msgstr "Configuración"
+
+#. Set up toolbar
+#. add toolbar buttons
+#: src/SlideshowPage.vala:160
+msgid "Back"
+msgstr "Atrás"
+
+#: src/SlideshowPage.vala:162
+msgid "Go to the previous photo"
+msgstr "Ir a la foto anterior"
+
+#: src/SlideshowPage.vala:167 src/SlideshowPage.vala:274
+msgid "Pause"
+msgstr "Pausa"
+
+#: src/SlideshowPage.vala:169 src/SlideshowPage.vala:275
+msgid "Pause the slideshow"
+msgstr "Pausar la presentación"
+
+#: src/SlideshowPage.vala:174
+msgid "Next"
+msgstr "Siguiente"
+
+#: src/SlideshowPage.vala:176
+msgid "Go to the next photo"
+msgstr "Ir a la siguiente foto"
+
+#: src/SlideshowPage.vala:184
+msgid "Change slideshow settings"
+msgstr "Cambiar la configuración de la presentación"
+
+#. An entire slideshow set might be missing, so check for a loop.
+#: src/SlideshowPage.vala:238
+msgid "All photo source files are missing."
+msgstr "Todos los archivos origen de fotos están perdidos."
+
+#: src/SlideshowPage.vala:270
+msgid "Play"
+msgstr "Reproducir"
+
+#: src/SlideshowPage.vala:271
+msgid "Continue the slideshow"
+msgstr "Continuar la presentación"
+
+#: src/slideshow/Slideshow.vala:22
+msgid "Slideshow Transitions"
+msgstr "Transiciones de diapositiva"
+
+#: src/slideshow/TransitionEffects.vala:98
+msgid "(None)"
+msgstr "(Ninguna)"
+
+#: src/slideshow/TransitionEffects.vala:287
+msgid "None"
+msgstr "Ninguna"
+
+#: src/slideshow/TransitionEffects.vala:339
+msgid "Random"
+msgstr "Aleatorio"
+
+#: src/tags/Branch.vala:131
+msgid "Tags"
+msgstr "Etiquetas"
+
+#: src/Tag.vala:830
+msgid "untitled"
+msgstr "sin título"
+
+#. multiple videos
+#: src/VideoSupport.vala:507
+msgid "Export Videos"
+msgstr "Exportar vídeos"
+
+#: ui/set_background_dialog.ui:15
+msgid "Set as Desktop Background"
+msgstr "Establecer como fondo de escritorio"
+
+#: ui/set_background_dialog.ui:77 ui/set_background_slideshow_dialog.ui:132
+msgid "Use for Desktop"
+msgstr "Usar para el escritorio"
+
+#: ui/set_background_dialog.ui:93 ui/set_background_slideshow_dialog.ui:148
+msgid "Use for Lock Screen"
+msgstr "Usar para la pantalla de bloqueo"
+
+#: ui/set_background_slideshow_dialog.ui:15
+msgid "Set as Desktop Slideshow"
+msgstr "Establecer como pase de diapositivas de escritorio"
+
+#: ui/set_background_slideshow_dialog.ui:33
+msgid "Show each photo for"
+msgstr "Mostrar cada foto para"
+
+#: ui/set_background_slideshow_dialog.ui:45
+msgid "period of time"
+msgstr "periodo de tiempo"
+
+#: ui/set_background_slideshow_dialog.ui:94
+msgid "Generate desktop background slideshow"
+msgstr "Generar un pase de diapositivas de fondo de escritorio"
+
+#: ui/set_background_slideshow_dialog.ui:115
+msgid "How long each photo is shown on the desktop background"
+msgstr "Cuánto tiempo se muestra cada foto en el fondo de escritorio"
+
+#: ui/shotwell.ui:23
+msgid "_Name of search:"
+msgstr "_Nombre de la búsqueda:"
+
+#: ui/shotwell.ui:81
+msgid "_Match"
+msgstr "_Coincidir"
+
+#: ui/shotwell.ui:108
+msgid "of the following:"
+msgstr "de los siguientes:"
+
+#: ui/shotwell.ui:195
+msgid "Printed Image Size "
+msgstr "Tamaño de imagen impresa "
+
+#: ui/shotwell.ui:212
+msgid "Use a _standard size:"
+msgstr "Utilizar un tamaño e_stándar:"
+
+#: ui/shotwell.ui:255
+msgid "Use a c_ustom size:"
+msgstr "Utilizar un tamaño p_ersonalizado:"
+
+#: ui/shotwell.ui:345
+msgid "_Match photo aspect ratio"
+msgstr "E_mparejar relación de aspecto de la foto"
+
+#: ui/shotwell.ui:369
+msgid "_Autosize:"
+msgstr "Tamaño _automático:"
+
+#: ui/shotwell.ui:409
+msgid "Titles "
+msgstr "Títulos "
+
+#: ui/shotwell.ui:426
+msgid "Print image _title"
+msgstr "Imprimir el _título de la imagen"
+
+#: ui/shotwell.ui:470
+msgid "Pixel Resolution "
+msgstr "Resolución de píxeles "
+
+#: ui/shotwell.ui:490
+msgid "_Output photo at:"
+msgstr "_Salida de foto en:"
+
+#: ui/shotwell.ui:525
+msgid "pixels per inch"
+msgstr "píxeles por pulgada"
+
+#: ui/shotwell.ui:559
+msgid "label"
+msgstr "etiqueta"
+
+#: ui/shotwell.ui:681
+msgid "Shotwell Preferences"
+msgstr "Preferencias de Shotwell"
+
+#: ui/shotwell.ui:730
+msgid "white"
+msgstr "blanco"
+
+#: ui/shotwell.ui:757
+msgid "black"
+msgstr "negro"
+
+#: ui/shotwell.ui:805
+msgid "_Watch library directory for new files"
+msgstr "_Vigilar mi colección en busca de archivos nuevos"
+
+#: ui/shotwell.ui:834
+msgid "Metadata"
+msgstr "Metadatos"
+
+#: ui/shotwell.ui:854
+msgid "Write tags, titles, and other _metadata to photo files"
+msgstr ""
+"Escribir etiquetas, títulos y otros _metadatos en los archivos de fotos"
+
+#: ui/shotwell.ui:880
+msgid "Display"
+msgstr "Mostrar"
+
+#: ui/shotwell.ui:901
+msgid "_Import photos to:"
+msgstr "_Importar fotos a:"
+
+#: ui/shotwell.ui:924
+msgid "_Background:"
+msgstr "_Fondo:"
+
+#: ui/shotwell.ui:947
+msgid "Importing"
+msgstr "Importando"
+
+#: ui/shotwell.ui:970
+msgid "_Directory structure:"
+msgstr "Estructura de _carpetas:"
+
+#: ui/shotwell.ui:1009
+msgid "_Pattern:"
+msgstr "_Patrón:"
+
+#: ui/shotwell.ui:1091
+msgid "Example:"
+msgstr "Ejemplo:"
+
+#: ui/shotwell.ui:1108
+msgid "R_ename imported files to lowercase"
+msgstr "R_enombrar los archivos importados a minúsculas"
+
+#: ui/shotwell.ui:1137
+msgid "RAW Developer"
+msgstr "Revelador RAW"
+
+#: ui/shotwell.ui:1172
+msgid "De_fault:"
+msgstr "_Predeterminado:"
+
+#: ui/shotwell.ui:1226
+msgid "E_xternal photo editor:"
+msgstr "Editor de fotos e_xterno:"
+
+#: ui/shotwell.ui:1242
+msgid "External _RAW editor:"
+msgstr "Editor _RAW externo:"
+
+#: ui/shotwell.ui:1307
+msgid "External Editors"
+msgstr "Editores externos"
+
+#: ui/shotwell.ui:1334
+msgid "Plugins"
+msgstr "Complementos"
+
+#: ui/shotwell.ui:1400
+msgid "_Delay:"
+msgstr "_Retardo:"
+
+#: ui/shotwell.ui:1416
+msgid "_Transition effect:"
+msgstr "Efecto de _transición:"
+
+#: ui/shotwell.ui:1432
+msgid "Transition d_elay:"
+msgstr "R_etraso de transición:"
+
+#: ui/shotwell.ui:1444
+msgid "Show t_itle"
+msgstr "Mostrar tít_ulo"
+
+#: ui/shotwell.ui:1534 ui/shotwell.ui:1547
+msgid "seconds"
+msgstr "segundos"
+
+#, fuzzy
+#~| msgid "Tag Photos as \"%s\""
+#~ msgid "Tag Photos as “%s”"
+#~ msgstr "Etiquetar fotos como «%s»"
+
+#, fuzzy
+#~| msgid "Tag the selected photos as \"%s\""
+#~ msgid "Tag the selected photos as “%s”"
+#~ msgstr "Etiquetar las fotos seleccionadas como «%s»"
+
+#, fuzzy
+#~| msgid "Remove Tag \"%s\" From _Photos"
+#~ msgid "Remove Tag “%s” From _Photos"
+#~ msgstr "Quitar la etiqueta «%s» de las _fotos"
+
+#, fuzzy
+#~| msgid "Remove Tag \"%s\" From Photos"
+#~ msgid "Remove Tag “%s” From Photos"
+#~ msgstr "Quitar la etiqueta «%s» de las fotos"
+
+#~ msgid "Login"
+#~ msgstr "Iniciar sesión"
+
+#~ msgid "Save Details..."
+#~ msgstr "Guardar detalles…"
+
+#~ msgid "Save _As..."
+#~ msgstr "G_uardar como…"
+
+#~ msgid "Importing..."
+#~ msgstr "Importando…"
+
+#~ msgid "Preparing to import..."
+#~ msgstr "Preparando importación…"
+
+#~ msgid "_Import From Folder..."
+#~ msgstr "_Importar desde carpeta…"
+
+#~ msgid "Import From _Application..."
+#~ msgstr "Importar desde _aplicación…"
+
+#~ msgid "Set as _Desktop Slideshow..."
+#~ msgstr "Establecer como pase de _diapositivas de escritorio…"
+
+#~ msgid "Re_name Event..."
+#~ msgstr "Re_nombrar evento…"
+
+#~ msgid "_Export..."
+#~ msgstr "_Exportar…"
+
+#~ msgid "_Print..."
+#~ msgstr "_Imprimir…"
+
+#~ msgid "Pu_blish..."
+#~ msgstr "Pu_blicar…"
+
+#~ msgid "Edit _Title..."
+#~ msgstr "Editar el _título…"
+
+#~ msgid "Edit _Comment..."
+#~ msgstr "Editar _comentario…"
+
+#~ msgid "Edit Event _Comment..."
+#~ msgstr "Editar _comentario del evento…"
+
+#~ msgid "_Adjust Date and Time..."
+#~ msgstr "_Ajustar fecha y hora…"
+
+#~ msgid "Add _Tags..."
+#~ msgstr "Añadir e_tiquetas…"
+
+#~ msgid "_Add Tags..."
+#~ msgstr "_Añadir etiquetas…"
+
+#~ msgid "Send _To..."
+#~ msgstr "En_viar a…"
+
+#~ msgid "Send T_o..."
+#~ msgstr "En_viar a…"
+
+#~ msgid "_Find..."
+#~ msgstr "Buscar…"
+
+#~ msgid "Modif_y Tags..."
+#~ msgstr "Modif_icar etiquetas…"
+
+#~ msgid "_Edit..."
+#~ msgstr "_Editar…"
+
+#~ msgid "%-I:%M %p"
+#~ msgstr "%-I:%M %p"
+
+#~ msgid "%-I:%M:%S %p"
+#~ msgstr "%-I:%M:%S %p"
+
+#~ msgid "Intro message replaced at runtime"
+#~ msgstr "Mensaje de introducción reemplazado en tiempo de ejecución"
+
+#~ msgid "'Publishing to $url as $username' (populated in application code)"
+#~ msgstr ""
+#~ "«Publicando en $url como $username» (informado en el código de la "
+#~ "aplicación)"
+
+#~ msgid "you are logged in rajce as $name"
+#~ msgstr "ha iniciado sesión en rajce como $name"
+
+#~ msgid "$mediatype will appear in"
+#~ msgstr "$mediatype aparecerá en"
+
+#~ msgid "Copyright 2009-2015 Yorba Foundation"
+#~ msgstr "Copyright 2009-2015 Fundación Yorba"
+
+#~ msgid "Visit the Yorba web site"
+#~ msgstr "Visitar el sitio web de Yorba"
+
+#, fuzzy
+#~| msgid ""
+#~| "A file required for publishing is unavailable. Publishing to Flickr "
+#~| "can't continue."
+#~ msgid "A file required for publishing is unavailable. Publishing to "
+#~ msgstr ""
+#~ "No está disponible un archivo necesario para publicar. La publicación en "
+#~ "Flickr no puede continuar."
+
+#~ msgid "Only _Remove"
+#~ msgstr "Solo quita_r"
+
+#~ msgid "Shotwell is configured to import photos to your home directory.\n"
+#~ msgstr ""
+#~ "Shotwell está configurado para importar fotos desde su carpeta personal.\n"
+
+#~ msgid ""
+#~ " (text depends on fb username and is modified in the app - \n"
+#~ "anything put into this field won't display)"
+#~ msgstr ""
+#~ " (el texto depende del nombre de usuario de Facebook y se modifica en la "
+#~ "aplicación;\n"
+#~ "no se mostrará el contenido de este campo)"
+
+#~ 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 ""
+#~ "Ha iniciado sesión en Flickr como (name).\n"
+#~ "\n"
+#~ "(la etiqueta de esta cadena se rellena y se ubica en el código, \n"
+#~ "y los cambios hechos aquí no se mostrarán)"
+
+#~ msgid "_visibility label (populated in the code)"
+#~ msgstr "etiqueta de _visibilidad (rellenada en el código)"
+
+#~ msgid ""
+#~ "$mediatype will appear in\n"
+#~ "(populated in code)"
+#~ msgstr ""
+#~ "$mediatype aparecerá en\n"
+#~ "(rellenado en el código)"
+
+#~ 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 ""
+#~ "Ha iniciado sesión en Tumblr como (nombre).\n"
+#~ "\n"
+#~ "(la etiqueta de esta cadena se rellena y se ubica en el código, \n"
+#~ "y los cambios hechos aquí no se mostrarán)"
diff --git a/po/kk.gmo b/po/kk.gmo
index b780d48..2f646a8 100644
Binary files a/po/kk.gmo and b/po/kk.gmo differ
diff --git a/po/kk.po b/po/kk.po
index 3716cbd..d26bd16 100644
--- a/po/kk.po
+++ b/po/kk.po
@@ -5,7 +5,7 @@
#
#
# Translators:
-# Baurzhan Muftakhidinov , 2011-2014
+# Baurzhan Muftakhidinov , 2011-2016
# verayin