Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 templates
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.rst
Octocat-spinner-32 panel-applet-generator.py
README.rst

panel-applet-generator

Makes all the basic boilerplate for applets that are compatible with both 2.x and 3.x Gnome panels.

Usage: panel-applet-generator.py [options]

Options:
-h, --help show this help message and exit
-n NAME, --name=NAME
  Applet name (required)
-d DESCRIPTION, --description=DESCRIPTION
  Description (required)
-i ICON, --icon=ICON
  Icon (in /usr/share/icons, without the full path)
-c CATEGORY, --category=CATEGORY
  Category of the applet (see http://standards.freedesktop.org/menu-spec/latest/apa.html for full list)
--maintainer=MAINTAINER
  Maintainer name
-e EMAIL, --email=EMAIL
  Maintainer email
-f FOLDER, --folder=FOLDER
  Destination folder (default: same as the name)

You'll need at least a name and description, but filling in the rest is a good idea

This script depends on the Genshi toolkit for the template generation You can install it by typing:

System Message: ERROR/3 (<string>, line 27)

Unexpected indentation.
$ sudo apt-get install python-genshi
Something went wrong with that request. Please try again.