[shotwell/shotwell-0.26] Reset menubar injection state after re-loading ui
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/shotwell-0.26] Reset menubar injection state after re-loading ui
- Date: Fri, 11 Aug 2017 09:57:30 +0000 (UTC)
commit 85d118b62b947a7f63b784faf0a9a128244e3653
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 bdeee6b..7504743 100644
--- a/src/Page.vala
+++ b/src/Page.vala
@@ -573,6 +573,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]