# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # COPYING file for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # CODE IS POETRY import os from canaimainstalador.translator import gettext_install gettext_install() curdir = os.path.normpath(os.path.join(os.path.realpath(__file__), '..', '..')) if curdir[:5] == '/usr/': GUIDIR = '/usr/share/pyshared/canaimainstalador' SHAREDIR = '/usr/share/canaima-instalador' else: GUIDIR = curdir + '/canaimainstalador' SHAREDIR = curdir BAR_ICON = GUIDIR + '/data/img/icon.png' ABOUT_IMAGE = GUIDIR + '/data/img/logo.png' BANNER_IMAGE = GUIDIR + '/data/img/banner.png' WELCOME_IMAGE = GUIDIR + '/data/img/welcome.png' KEY_IMAGE_TMPL = GUIDIR + '/data/img/key_{0}.png'
# but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # COPYING file for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # CODE IS POETRY import gtk import pango from canaimainstalador.translator import gettext_install from canaimainstalador.mod_accesible import atk_acc_vd gettext_install() class PasoBienvenida(gtk.Fixed): def __init__(self, CFG): gtk.Fixed.__init__(self) msg_titulo = _("Welcome to the Install Wizard") msg_intro = _("With this wizard you can easily install Canaima \ GNU/Linux on your computer. We invite you to follow the instructions \ displayed on screen.") attr = pango.AttrList() size = pango.AttrSize(20000, 0, -1) attr.insert(size)