Beispiel #1
0
def get_menu_text(action_id):
    if LABELS.has_key(action_id):
        return LABELS[action_id][0]
    return ''
Beispiel #2
0
def get_descr_text(action_id):
    if LABELS.has_key(action_id):
        if len(LABELS[action_id]) == 1:
            return get_tooltip_text(action_id)
        return LABELS[action_id][1]
    return ''
Beispiel #3
0
def get_tooltip_text(action_id):
    if LABELS.has_key(action_id):
        return LABELS[action_id][0].replace('&', '')
    return ''
Beispiel #4
0
def get_tooltip_text(action_id):
	if LABELS.has_key(action_id):
		return LABELS[action_id][0].replace('&', '')
	return ''
Beispiel #5
0
def get_menu_text(action_id):
	if LABELS.has_key(action_id):
		return LABELS[action_id][0]
	return ''
Beispiel #6
0
def get_descr_text(action_id):
	if LABELS.has_key(action_id):
		if len(LABELS[action_id]) == 1:
			return get_tooltip_text(action_id)
		return LABELS[action_id][1]
	return ''