[lightsoff/arnaudb/rework-ui: 25/29] Move a resource.
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lightsoff/arnaudb/rework-ui: 25/29] Move a resource.
- Date: Fri, 5 Feb 2021 18:16:44 +0000 (UTC)
commit 5d31ee5ad28a606f36a2b726a362892263c7a761
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Nov 18 15:01:45 2020 +0100
Move a resource.
The /gtk/ directory is not meaningful here anymore.
src/lightsoff-window.vala | 2 +-
src/lightsoff.gresource.xml | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/lightsoff-window.vala b/src/lightsoff-window.vala
index 0dc018c..ffa8b92 100644
--- a/src/lightsoff-window.vala
+++ b/src/lightsoff-window.vala
@@ -67,7 +67,7 @@ private class LightsoffWindow : ManagedWindow
settings = new GLib.Settings ("org.gnome.LightsOff");
- var menu_builder = new Gtk.Builder.from_resource ("/org/gnome/LightsOff/gtk/menus.ui");
+ var menu_builder = new Gtk.Builder.from_resource ("/org/gnome/LightsOff/ui/menus.ui");
menu_button.set_menu_model ((GLib.Menu) menu_builder.get_object ("primary-menu"));
add_action_entries (window_actions, this);
diff --git a/src/lightsoff.gresource.xml b/src/lightsoff.gresource.xml
index ad04bc1..b57d791 100644
--- a/src/lightsoff.gresource.xml
+++ b/src/lightsoff.gresource.xml
@@ -3,10 +3,8 @@
<gresource prefix="/org/gnome/LightsOff/ui">
<file preprocess="xml-stripblanks" alias="lightsoff.ui">../data/lightsoff.ui</file>
<file alias="lightsoff.css">../data/lightsoff.css</file>
- <file preprocess="xml-stripblanks"
alias="notifications-revealer.ui">../data/notifications-revealer.ui</file>
- </gresource>
- <gresource prefix="/org/gnome/LightsOff/gtk">
<file preprocess="xml-stripblanks" alias="menus.ui">../data/lightsoff-menus.ui</file>
+ <file preprocess="xml-stripblanks"
alias="notifications-revealer.ui">../data/notifications-revealer.ui</file>
</gresource>
</gresources>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]