From: Steven Luo Date: Tue, 15 Dec 2009 14:21:07 +0000 (-0800) Subject: Add a .desktop file for the control panel plugin X-Git-Tag: v3.0rc1~7^2~16 X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=commitdiff_plain;h=2a7ce533a642bc8ada7e36eca0887092c505916b 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. --- 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