diff --git a/source/ublexec.cc b/source/ublexec.cc index a08ddbe..e4c88a3 100644 --- a/source/ublexec.cc +++ b/source/ublexec.cc @@ -801,7 +801,7 @@ void MainWindow::is_user_wheel(){ } void MainWindow::pars_users() { - int uid_max = 65534; + int uid_max = 60000; while (true) { errno = 0; passwd* entry = getpwent(); @@ -811,7 +811,7 @@ void MainWindow::pars_users() { } break; } - if ((entry->pw_uid >= 1000 && entry->pw_uid != uid_max) || entry->pw_uid == 0) { + if ((entry->pw_uid >= 1000 && entry->pw_uid < uid_max) || entry->pw_uid == 0) { cmbUser->append(entry->pw_name); } } diff --git a/ublexec.glade b/ublexec.glade index 8dc4fe0..ca1e689 100644 --- a/ublexec.glade +++ b/ublexec.glade @@ -1112,7 +1112,7 @@ specified priority True - 123 + 0 True False 5 @@ -1637,7 +1637,7 @@ specified priority 5 5 5 - 8 + 9 adjustment1 20 0 diff --git a/ublexec_ru.po b/ublexec_ru.po index 96d839a..07acf1b 100644 --- a/ublexec_ru.po +++ b/ublexec_ru.po @@ -103,6 +103,9 @@ msgstr "Изменить приоритет запуска" msgid "Priority:" msgstr "Приоритет:" +msgid "Priority" +msgstr "Приоритет" + msgid "19 (Low)" msgstr "19 (Низкий)"