Esempio n. 1
0
    if m:
        all_plugins[name] = m.Plugin()
for name in user_plugins_names():
    m = load_plugin_module(name)
    if m:
        try:
            all_plugins[name] = m.Plugin()
        except Exception:
            if PLUGIN_TEMP_FOLDER:
                _x_info = sys.exc_info()
                sys.stderr.write("%s: %s\n" % (_x_info[0].__name__, _x_info[1]))
                traceback.print_tb(_x_info[2])


# load windows and stock panes
ui_app_wizard_master = app_dialog('app-wizard-master')
ui_app_wizard_panes = app_dialog('app-wizard-panes')


# wizard steps
_WIZARD_STEPS = [
    'task_sel',
    'task_def',
    'cond_sel',
    'cond_def',
    'summary',
    'finish',
]


# the main wizard window
Esempio n. 2
0
    if m:
        all_plugins[name] = m.Plugin()
for name in user_plugins_names():
    m = load_plugin_module(name)
    if m:
        try:
            all_plugins[name] = m.Plugin()
        except Exception:
            if PLUGIN_TEMP_FOLDER:
                _x_info = sys.exc_info()
                sys.stderr.write("%s: %s\n" % (_x_info[0].__name__, _x_info[1]))
                traceback.print_tb(_x_info[2])


# load windows and stock panes
ui_app_manager = app_dialog('app-manager')
ui_app_manager_paramidf = app_dialog('app-manager-paramidf')


# the main wizard manager window
class ManagerAppWindow(object):

    def __init__(self):
        self.builder = Gtk.Builder().new_from_string(ui_app_manager, -1)
        self.builder.connect_signals(self)
        self.builder.set_translation_domain(APP_NAME)
        o = self.builder.get_object
        self.dialog = o('dlgManager')
        icon = load_pixbuf(_WIZARD_MANAGER_DLGICON)
        self.glyph_success = load_pixbuf('success')
        self.glyph_failure = load_pixbuf('failure')
Esempio n. 3
0
    if m:
        all_plugins[name] = m.Plugin()
for name in user_plugins_names():
    m = load_plugin_module(name)
    if m:
        try:
            all_plugins[name] = m.Plugin()
        except Exception:
            if PLUGIN_TEMP_FOLDER:
                _x_info = sys.exc_info()
                sys.stderr.write("%s: %s\n" % (_x_info[0].__name__, _x_info[1]))
                traceback.print_tb(_x_info[2])


# load windows and stock panes
ui_app_wizard_master = app_dialog('app-wizard-master')
ui_app_wizard_panes = app_dialog('app-wizard-panes')


# wizard steps
_WIZARD_STEPS = [
    'task_sel',
    'task_def',
    'cond_sel',
    'cond_def',
    'summary',
    'finish',
]


# the main wizard window
Esempio n. 4
0
    if m:
        all_plugins[name] = m.Plugin()
for name in user_plugins_names():
    m = load_plugin_module(name)
    if m:
        try:
            all_plugins[name] = m.Plugin()
        except Exception:
            if PLUGIN_TEMP_FOLDER:
                _x_info = sys.exc_info()
                sys.stderr.write("%s: %s\n" % (_x_info[0].__name__, _x_info[1]))
                traceback.print_tb(_x_info[2])


# load windows and stock panes
ui_app_manager = app_dialog('app-manager')
ui_app_manager_paramidf = app_dialog('app-manager-paramidf')


# the main wizard manager window
class ManagerAppWindow(object):

    def __init__(self):
        self.builder = Gtk.Builder().new_from_string(ui_app_manager, -1)
        self.builder.connect_signals(self)
        self.builder.set_translation_domain(APP_NAME)
        o = self.builder.get_object
        self.dialog = o('dlgManager')
        icon = load_pixbuf(_WIZARD_MANAGER_DLGICON)
        self.glyph_success = load_pixbuf('success')
        self.glyph_failure = load_pixbuf('failure')