Esempio n. 1
0
def _show_single_instance_info():
    gobject.source_remove(exit_timeout_id)
    primary_txt = _("Another instance of Flowblade already running.")
    secondary_txt = _(
        "Only one instance of Flowblade is allowed to run at a time.")
    dialogutils.warning_message_with_callback(primary_txt, secondary_txt, None,
                                              False, _early_exit)
Esempio n. 2
0
def _show_xdg_error_info(error_str):
    GLib.source_remove(exit_timeout_id)
    primary_txt = _(
        "Cannot launch application because XDG folders init error.")
    secondary_txt = error_str + "."
    dialogutils.warning_message_with_callback(primary_txt, secondary_txt, None,
                                              False, _early_exit)
Esempio n. 3
0
def _show_too_small_info():
    GObject.source_remove(exit_timeout_id)
    primary_txt = _("Too small screen for this application.")
    scr_w = Gdk.Screen.width()
    scr_h = Gdk.Screen.height()
    secondary_txt = _("Minimum screen dimensions for this application are 1152 x 768.\n") + \
                    _("Your screen dimensions are ") + str(scr_w) + " x " + str(scr_h) + "."
    dialogutils.warning_message_with_callback(primary_txt, secondary_txt, None, False, _early_exit)
Esempio n. 4
0
def _show_too_small_info():
    GObject.source_remove(exit_timeout_id)
    primary_txt = _("Too small screen for this application.")
    scr_w = Gdk.Screen.width()
    scr_h = Gdk.Screen.height()
    secondary_txt = _("Minimum screen dimensions for this application are 1152 x 768.\n") + \
                    _("Your screen dimensions are ") + str(scr_w) + " x " + str(scr_h) + "."
    dialogutils.warning_message_with_callback(primary_txt, secondary_txt, None, False, _early_exit)
Esempio n. 5
0
def _show_mlt_version_exit_info():
    primary_txt = _(
        "Flowblade version 2.6 (or later) requires MLT version 6.18 to run")
    secondary_txt = _(
        "Your MLT version is: ") + editorstate.mlt_version + ".\n\n" + _(
            "Install MLT 6.18 or higher to run Flowblade.")
    dialogutils.warning_message_with_callback(primary_txt, secondary_txt, None,
                                              False, _early_exit)
Esempio n. 6
0
def _show_single_instance_info():
    gobject.source_remove(exit_timeout_id)
    primary_txt = _("Another instance of Flowblade already running.")
    secondary_txt = _("Only one instance of Flowblade is allowed to run at a time.")
    dialogutils.warning_message_with_callback(primary_txt, secondary_txt, None, False, _early_exit)