[shotwell] Revert "piwigo: Use common function for header-bar check"
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Revert "piwigo: Use common function for header-bar check"
- Date: Fri, 12 Jul 2019 16:30:10 +0000 (UTC)
commit ab5421e6b0593b45aba784470a5bf8f3e322ab95
Author: Jens Georg <mail jensge org>
Date: Fri Jul 12 18:29:42 2019 +0200
Revert "piwigo: Use common function for header-bar check"
That is missing some other change
This reverts commit 6543a01ffe8f36c378116e0d7e866bc37ecd07b3.
plugins/shotwell-publishing/PiwigoPublishing.vala | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/plugins/shotwell-publishing/PiwigoPublishing.vala
b/plugins/shotwell-publishing/PiwigoPublishing.vala
index 2efcd9f7..8a10eee0 100644
--- a/plugins/shotwell-publishing/PiwigoPublishing.vala
+++ b/plugins/shotwell-publishing/PiwigoPublishing.vala
@@ -1042,7 +1042,10 @@ internal class SSLErrorPane : Shotwell.Plugins.Common.BuilderPane {
info.clicked.connect (() => {
var simple_cert = new Gcr.SimpleCertificate (cert.certificate.data);
var widget = new Gcr.CertificateWidget (simple_cert);
- if (Resources.use_header_bar () == 1) {
+ 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]