From 8aa419dabc70f872bb8f856988d019865edd5c8f Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Wed, 2 Jun 2010 16:18:27 +0100 Subject: [PATCH] Add X-GNOME-Settings-Panel key to panel desktop files Add a key to identify the name of the extension that implements the panel. This can then be used in the shell to launch the appropriate panel. --- examples/gnome-example-panel.desktop.in.in | 2 +- panels/default-applications/default-applications.desktop.in.in | 1 + panels/keybindings/keybinding.desktop.in.in | 1 + panels/keyboard/keyboard.desktop.in.in | 1 + panels/mouse/gnome-settings-mouse.desktop.in.in | 1 + panels/network/gnome-network-properties.desktop.in.in | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/gnome-example-panel.desktop.in.in b/examples/gnome-example-panel.desktop.in.in index 66b9648be..b933c01c2 100644 --- a/examples/gnome-example-panel.desktop.in.in +++ b/examples/gnome-example-panel.desktop.in.in @@ -8,4 +8,4 @@ Type=Application StartupNotify=true Categories=GNOME;GTK;Settings;DesktopSettings; OnlyShowIn=GNOME; - +X-GNOME-Settings-Panel=example-panel diff --git a/panels/default-applications/default-applications.desktop.in.in b/panels/default-applications/default-applications.desktop.in.in index 677eedcf3..7cc17b54c 100644 --- a/panels/default-applications/default-applications.desktop.in.in +++ b/panels/default-applications/default-applications.desktop.in.in @@ -12,3 +12,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=gnome-control-center X-GNOME-Bugzilla-Component=Preferred applications X-GNOME-Bugzilla-Version=@VERSION@ +X-GNOME-Settings-Panel=default-applications diff --git a/panels/keybindings/keybinding.desktop.in.in b/panels/keybindings/keybinding.desktop.in.in index 74f07b759..007280d60 100644 --- a/panels/keybindings/keybinding.desktop.in.in +++ b/panels/keybindings/keybinding.desktop.in.in @@ -12,3 +12,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=gnome-control-center X-GNOME-Bugzilla-Component=Keybinding X-GNOME-Bugzilla-Version=@VERSION@ +X-GNOME-Settings-Panel=keybinding diff --git a/panels/keyboard/keyboard.desktop.in.in b/panels/keyboard/keyboard.desktop.in.in index 97f9f87c0..eaf9587a7 100644 --- a/panels/keyboard/keyboard.desktop.in.in +++ b/panels/keyboard/keyboard.desktop.in.in @@ -12,3 +12,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=gnome-control-center X-GNOME-Bugzilla-Component=keyboard X-GNOME-Bugzilla-Version=@VERSION@ +X-GNOME-Settings-Panel=keyboard diff --git a/panels/mouse/gnome-settings-mouse.desktop.in.in b/panels/mouse/gnome-settings-mouse.desktop.in.in index 35796d351..69c42918b 100644 --- a/panels/mouse/gnome-settings-mouse.desktop.in.in +++ b/panels/mouse/gnome-settings-mouse.desktop.in.in @@ -12,3 +12,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=gnome-control-center X-GNOME-Bugzilla-Component=mouse X-GNOME-Bugzilla-Version=@VERSION@ +X-GNOME-Settings-Panel=mouse diff --git a/panels/network/gnome-network-properties.desktop.in.in b/panels/network/gnome-network-properties.desktop.in.in index 4091c20bc..4d290ec9d 100644 --- a/panels/network/gnome-network-properties.desktop.in.in +++ b/panels/network/gnome-network-properties.desktop.in.in @@ -12,3 +12,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=gnome-control-center X-GNOME-Bugzilla-Component=network preferences X-GNOME-Bugzilla-Version=@VERSION@ +X-GNOME-Settings-Panel=network