Merge lp:~kamstrup/unity-lens-applications/include-gsettings-schema into lp:unity-lens-applications

Proposed by Mikkel Kamstrup Erlandsen
Status: Merged
Merged at revision: 249
Proposed branch: lp:~kamstrup/unity-lens-applications/include-gsettings-schema
Merge into: lp:unity-lens-applications
Diff against target: 84 lines (+35/-2)
3 files modified
configure.ac (+7/-0)
data/Makefile.am (+19/-2)
data/com.canonical.Unity.AppsLens.gschema.xml.in.in (+9/-0)
To merge this branch: bzr merge lp:~kamstrup/unity-lens-applications/include-gsettings-schema
Reviewer Review Type Date Requested Status
Michal Hruby (community) Approve
Review via email: mp+82273@code.launchpad.net

Description of the change

See attached bug

To post a comment you must log in.
Revision history for this message
Michal Hruby (mhr3) wrote :

Looks good, and it even works! :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configure.ac'
2--- configure.ac 2011-11-02 09:43:21 +0000
3+++ configure.ac 2011-11-15 12:44:23 +0000
4@@ -109,12 +109,19 @@
5 AC_SUBST(DBUSSERVICEDIR)
6
7 #############################################
8+# GSettings macros
9+#############################################
10+
11+GLIB_GSETTINGS
12+
13+#############################################
14 # Create the Makefiles
15 #############################################
16 AC_CONFIG_FILES([
17 Makefile
18 applications.lens.in
19 commands.lens.in
20+ data/com.canonical.Unity.AppsLens.gschema.xml.in
21 data/Makefile
22 data/X-Unity-All-Applications.directory
23 data/unity-lens-applications.menu
24
25=== modified file 'data/Makefile.am'
26--- data/Makefile.am 2011-08-04 07:04:35 +0000
27+++ data/Makefile.am 2011-11-15 12:44:23 +0000
28@@ -1,3 +1,6 @@
29+#############################################################
30+# DBus service files
31+#############################################################
32 dbus_servicesdir = $(DBUSSERVICEDIR)
33 service_in_files = unity-lens-applications.service.in
34 dbus_services_DATA = $(service_in_files:.service.in=.service)
35@@ -5,6 +8,9 @@
36 %.service: %.service.in
37 sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
38
39+#############################################################
40+# XDG Menu files
41+#############################################################
42 @INTLTOOL_DIRECTORY_RULE@
43
44 directorydir = $(datadir)/desktop-directories
45@@ -16,12 +22,23 @@
46 menu_in_files = \
47 unity-lens-applications.menu.in
48 menu_DATA = $(menu_in_files:.menu.in=.menu)
49-
50+
51+#############################################################
52+# GSettings schemas
53+#############################################################
54+gsettings_SCHEMAS = com.canonical.Unity.AppsLens.gschema.xml
55+
56+@INTLTOOL_XML_NOMERGE_RULE@
57+
58+@GSETTINGS_RULES@
59
60 EXTRA_DIST = \
61+ com.canonical.Unity.AppsLens.gschema.xml.in.in \
62 $(service_in_files) \
63 $(directory_in_files) \
64 $(menu_in_files)
65
66 CLEANFILES = \
67- unity-lens-applications.service
68+ unity-lens-applications.service \
69+ $(gsettings_SCHEMAS)
70+
71
72=== added file 'data/com.canonical.Unity.AppsLens.gschema.xml.in.in'
73--- data/com.canonical.Unity.AppsLens.gschema.xml.in.in 1970-01-01 00:00:00 +0000
74+++ data/com.canonical.Unity.AppsLens.gschema.xml.in.in 2011-11-15 12:44:23 +0000
75@@ -0,0 +1,9 @@
76+<schemalist>
77+ <schema path="/desktop/unity/runner/" id="com.canonical.Unity.Runner" gettext-domain="unity-lens-applications">
78+ <key type="as" name="history">
79+ <default>[]</default>
80+ <summary>History of Alt + F2 command</summary>
81+ <description>Key for storing the history of the Alt + F2 command. </description>
82+ </key>
83+ </schema>
84+</schemalist>

Subscribers

People subscribed via source and target branches