|
@@ -223,8 +223,6 @@ namespace Publicate {
|
|
private bool unpublish = false;
|
|
private bool unpublish = false;
|
|
private DateTime? old_publish_timestamp = null;
|
|
private DateTime? old_publish_timestamp = null;
|
|
public async void publish_to(CollectionConfig config, File publication_file) {
|
|
public async void publish_to(CollectionConfig config, File publication_file) {
|
|
- // TODO wrap in try catch
|
|
|
|
-
|
|
|
|
this.config = config;
|
|
this.config = config;
|
|
this.publication_file = publication_file;
|
|
this.publication_file = publication_file;
|
|
dest_name = publication_file.get_basename();
|
|
dest_name = publication_file.get_basename();
|
|
@@ -281,9 +279,7 @@ namespace Publicate {
|
|
header_bar.show_end_title_buttons = true;
|
|
header_bar.show_end_title_buttons = true;
|
|
}
|
|
}
|
|
|
|
|
|
- private async void publish_with(bool overwrite) {
|
|
|
|
- // TODO wrap in try catch
|
|
|
|
-
|
|
|
|
|
|
+ private async void publish_with(bool overwrite) {
|
|
header_bar.show_end_title_buttons = false;
|
|
header_bar.show_end_title_buttons = false;
|
|
stack.visible_child = loader;
|
|
stack.visible_child = loader;
|
|
|
|
|