diff options
| author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-08-21 12:07:19 +0200 |
|---|---|---|
| committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-08-21 12:07:19 +0200 |
| commit | 374fa7bb7eb2526f1cf19bf85edd5793d8ef569b (patch) | |
| tree | eae99c80f31d940226680a31100024cd2b4a71c4 /data | |
| parent | 13f2b1bb69fb69aadcdc838b2321aa2b01657e06 (diff) | |
| parent | 5df53a2c98d806f3b266d0032986d4dab3beb7a3 (diff) | |
| download | ayatana-indicator-messages-374fa7bb7eb2526f1cf19bf85edd5793d8ef569b.tar.gz ayatana-indicator-messages-374fa7bb7eb2526f1cf19bf85edd5793d8ef569b.tar.bz2 ayatana-indicator-messages-374fa7bb7eb2526f1cf19bf85edd5793d8ef569b.zip | |
Merge lp:~larsu/indicator-messags/towards-q-redesign
This branch introduces libmessaging-menu, a new library for applications to
integrate with the messaging menu. Libindicate is not supported anymore.
libmessaging-menu uses GMenuModel to communicate with
indicator-messages-service. In order to take advantage of GMenuModel's
architecture (re-exporting menus on a different path), the service now also
sends its menu as a GMenuModel to the panel plugin.
The plugin uses gtk_menu_new_from_model to create the menu widgets. Custom
menu items are created by a small gtk+ patch that watches for x-canonical-type
attributes.
The branch also contains most of the design changes for quantal.
Diffstat (limited to 'data')
| -rw-r--r-- | data/Makefile.am | 7 | ||||
| -rw-r--r-- | data/com.canonical.indicator.messages.gschema.xml | 12 |
2 files changed, 18 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 351601b..488ce05 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -6,6 +6,11 @@ dbus_services_DATA = indicator-messages.service %.service: %.service.in sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ -EXTRA_DIST = indicator-messages.service.in +gsettings_SCHEMAS = com.canonical.indicator.messages.gschema.xml +@GSETTINGS_RULES@ + +EXTRA_DIST = \ + $(gsettings_SCHEMAS) \ + indicator-messages.service.in CLEANFILES = indicator-messages.service diff --git a/data/com.canonical.indicator.messages.gschema.xml b/data/com.canonical.indicator.messages.gschema.xml new file mode 100644 index 0000000..d9165cd --- /dev/null +++ b/data/com.canonical.indicator.messages.gschema.xml @@ -0,0 +1,12 @@ +<schemalist> + <schema id="com.canonical.indicator.messages" path="/com/canonical/indicator/messages/" gettext-domain="indicator-messages"> + <key name="applications" type="as"> + <summary>List of applications that are shown in the messaging menu</summary> + <description> + Applications corresponding to the desktop file ids in this list are shown in the messaging menu. + </description> + <default>[]</default> + </key> + </schema> +</schemalist> + |
