Skip to content

Commit 6ae0434

Browse files
committed
[Gtk] Show long PackageKit error message in the scrolled part of the messageBox
1 parent 0133a90 commit 6ae0434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gtk/src/TessdataManager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void TessdataManager::run() {
5757
} catch (...) {
5858
}
5959
if (service_owner.empty()) {
60-
Utils::messageBox(Gtk::MESSAGE_ERROR, _("Error"), _("A session connection to the PackageKit backend is required for managing system-wide tesseract language packs, but it was not found. This service is usually provided by a software-management application such as Gnome Software. Please install software which provides the necessary PackageKit interface, use other system package management software to manage the tesseract language packs directly, or switch to using the user tessdata path in the configuration dialog."));
60+
Utils::messageBox(Gtk::MESSAGE_ERROR, _("Error"), "", _("A session connection to the PackageKit backend is required for managing system-wide tesseract language packs, but it was not found. This service is usually provided by a software-management application such as Gnome Software. Please install software which provides the necessary PackageKit interface, use other system package management software to manage the tesseract language packs directly, or switch to using the user tessdata path in the configuration dialog."));
6161
return;
6262
}
6363
}

0 commit comments

Comments
 (0)