File: notaskbarentry.py

package info (click to toggle)
exaile 0.2.11.1%2Bdebian-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,464 kB
  • ctags: 2,403
  • sloc: python: 17,416; ansic: 224; makefile: 163; perl: 153; sh: 125; sql: 74
file content (20 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python
import gtk
from gettext import gettext as _
import xl.plugins as plugins

PLUGIN_NAME = _("No Taskbar Entry")
PLUGIN_AUTHORS = ['Jonas Wagner <veers' + chr(32+32) + 'gmx' + '.ch>']
PLUGIN_VERSION = "0.1.2"
PLUGIN_DESCRIPTION = _(r"""Removes exaile from the taskbar""")

PLUGIN_ENABLED = False
PLUGIN_ICON = None
PLUGIN = None

def initialize():
	APP.window.set_property("skip-taskbar-hint", True)
	return True

def destroy():
	APP.window.set_property("skip-taskbar-hint", False)