|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#-*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
# Copyright 2008-2012 Calculate Ltd. http://www.calculate-linux.org
|
|
|
|
|
# Copyright 2008-2013 Calculate Ltd. http://www.calculate-linux.org
|
|
|
|
|
#
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
@ -23,18 +23,6 @@ from calculate.lib.datavars import (Variable,VariableError,ReadonlyVariable,
|
|
|
|
|
from calculate.lib.cl_lang import setLocalTranslate
|
|
|
|
|
setLocalTranslate('cl_desktop3',sys.modules[__name__])
|
|
|
|
|
|
|
|
|
|
#class VariableAcDesktopMergePreinst(ActionVariable):
|
|
|
|
|
# """
|
|
|
|
|
# Action variable which has value "up" for package install and
|
|
|
|
|
# install this package
|
|
|
|
|
# """
|
|
|
|
|
# preinst = True
|
|
|
|
|
#
|
|
|
|
|
# def action(self,cl_action):
|
|
|
|
|
# if cl_action == "merge":
|
|
|
|
|
# return "on"
|
|
|
|
|
# return "off"
|
|
|
|
|
|
|
|
|
|
class VariableAcDesktopMerge(ActionVariable):
|
|
|
|
|
"""
|
|
|
|
|
Action variable which has value "on" for install calculate-desktop
|
|
|
|
|