From 143bfc9f801c84428074312d661f8e08803df83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 20 Aug 2016 15:09:31 +0200 Subject: Imported Upstream version 0.23.5 --- plugins/shotwell-publishing-extras/YandexPublishing.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/shotwell-publishing-extras/YandexPublishing.vala') diff --git a/plugins/shotwell-publishing-extras/YandexPublishing.vala b/plugins/shotwell-publishing-extras/YandexPublishing.vala index 6504572..2ee67cf 100644 --- a/plugins/shotwell-publishing-extras/YandexPublishing.vala +++ b/plugins/shotwell-publishing-extras/YandexPublishing.vala @@ -238,11 +238,10 @@ internal class PublishingOptionsPane: Spit.Publishing.DialogPane, GLib.Object { box = new Gtk.Box(Gtk.Orientation.VERTICAL, 0); - File ui_file = host.get_module_file().get_parent().get_child("yandex_publish_model.glade"); - try { builder = new Gtk.Builder(); - builder.add_from_file(ui_file.get_path()); + 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; -- cgit v1.2.3