From 2a7ce533a642bc8ada7e36eca0887092c505916b Mon Sep 17 00:00:00 2001 From: Steven Luo Date: Tue, 15 Dec 2009 06:21:07 -0800 Subject: [PATCH] Add a .desktop file for the control panel plugin The .desktop file is needed for hildon-control-panel to pick up the applet. Modify the Makefile to install it, and also fix a silly plugin installation bug in the process. --- config-ui/Makefile | 3 ++- config-ui/browser-switchboard-cp.desktop | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 config-ui/browser-switchboard-cp.desktop diff --git a/config-ui/Makefile b/config-ui/Makefile index eed97ed..f26c158 100644 --- a/config-ui/Makefile +++ b/config-ui/Makefile @@ -49,7 +49,8 @@ strip: $(PLUGIN) install: all mkdir -p $(DESTDIR)$(PREFIX)/share/hildon-control-panel - install -c -m 0755 $(PLUGIN) $(DESTDIR)$(PREFIX)/share/hildon-control-panel + install -c -m 0755 $(PLUGIN) $(DESTDIR)$(PREFIX)/lib/hildon-control-panel + install -c -m 0644 $(APP).desktop $(DESTDIR)$(PREFIX)/share/applications/hildon-control-panel clean: rm -f $(APP) $(HILDON_APP) $(PLUGIN) *.o diff --git a/config-ui/browser-switchboard-cp.desktop b/config-ui/browser-switchboard-cp.desktop new file mode 100644 index 0000000..10dfc8a --- /dev/null +++ b/config-ui/browser-switchboard-cp.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Name=Browser Switchboard +Comment=Set the default browser +Type=HildonControlPanelPlugin +Icon=qgn_list_cp_dev_network +X-control-panel-plugin=libbrowser-switchboard-cp.so +Categories=personalisation -- 1.7.9.5