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.
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
--- /dev/null
+[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