[shotwell] Reset menubar injection state after re-loading ui
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Reset menubar injection state after re-loading ui
- Date: Sun, 6 Aug 2017 17:35:27 +0000 (UTC)
commit 793f8e20be31b92c07ab244bc84c13458546724a
Author: Jens Georg <mail jensge org>
Date: Sun Aug 6 19:33:23 2017 +0200
Reset menubar injection state after re-loading ui
Fixes menu items disappearing from Photos menu
https://bugzilla.gnome.org/show_bug.cgi?id=785196
src/Page.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Page.vala b/src/Page.vala
index ee2dc41..fdda43c 100644
--- a/src/Page.vala
+++ b/src/Page.vala
@@ -561,6 +561,7 @@ public abstract class Page : Gtk.ScrolledWindow {
var ui_resource = Resources.get_ui(ui_filename);
try {
builder.add_from_resource(ui_resource);
+ this.menubar_injected = false;
} catch (Error err) {
AppWindow.error_message("Error loading UI resource %s: %s".printf(
ui_resource, err.message));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]