File: help.py

package info (click to toggle)
mate-applets 1.8.1%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,964 kB
  • ctags: 2,090
  • sloc: ansic: 21,842; python: 1,503; makefile: 1,233; xml: 65; sh: 20
file content (13 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- coding: utf-8 -*-
from mate_invest.defs import GTK_API_VERSION

import gi
gi.require_version("Gtk", GTK_API_VERSION)
from gi.repository import Gtk
from gi.repository import Gdk

def show_help():
	Gtk.show_uri(None, "help:mate-invest-applet", Gdk.CURRENT_TIME)

def show_help_section(id):
	Gtk.show_uri(None, "help:mate-invest-applet/%s" % id, Gdk.CURRENT_TIME)