diff --git a/README.md b/README.md index 0072bc5..eacfcda 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # ublexec -# ВЫполнить +# Выполнить # Build In order to build ublexec you will need: diff --git a/screenshot/screenshot.png b/screenshot/screenshot.png index 1c2ec43..1b575f2 100644 Binary files a/screenshot/screenshot.png and b/screenshot/screenshot.png differ diff --git a/source/ublexec.cc b/source/ublexec.cc index d8e7f43..498d29d 100644 --- a/source/ublexec.cc +++ b/source/ublexec.cc @@ -106,7 +106,10 @@ void MainWindow::get_builder(){ builder->get_widget("lblOffice", lblOffice); builder->get_widget("lblOther", lblOther); builder->get_widget("lblDevelopment", lblDevelopment); + builder->get_widget("lblSystem", lblSystem); + + /* builder->get_widget("iconGraphics", iconGraphics); builder->get_widget("iconTools", iconTools); builder->get_widget("iconInternet", iconInternet); @@ -117,17 +120,8 @@ void MainWindow::get_builder(){ builder->get_widget("iconOther", iconOther); builder->get_widget("iconDevelopment", iconDevelopment); builder->get_widget("iconSystem", iconSystem); - - builder->get_widget("liststoreGraphics", liststoreGraphics); - builder->get_widget("liststoreTools", liststoreTools); - builder->get_widget("liststoreInternet", liststoreInternet); - builder->get_widget("liststoreMultimedia", liststoreMultimedia); - builder->get_widget("liststoreSettings", liststoreSettings); - builder->get_widget("liststoreEducation", liststoreEducation); - builder->get_widget("liststoreOffice", liststoreOffice); - builder->get_widget("liststoreOther", liststoreOther); - builder->get_widget("liststoreDevelopment", liststoreDevelopment); - builder->get_widget("liststoreSystem", liststoreSystem); + */ + builder->get_widget("treeViewGraphics", treeViewGraphics); } @@ -137,8 +131,10 @@ void MainWindow::add_CSS(){ Glib::RefPtr styleContext = Gtk::StyleContext::create(); Glib::RefPtr screen = Gdk::Screen::get_default();//get default screen styleContext->add_provider_for_screen(screen, cssProvider, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);//add provider for screen in all application - Glib::RefPtr context = boxColor->get_style_context(); - context->add_class("cssboxColor1"); + Glib::RefPtr context_box = boxColor->get_style_context(); + Glib::RefPtr context_lbl_head = lblInfoHead->get_style_context(); + context_box->add_class("cssboxColor1"); + context_lbl_head->add_class("textHead"); } void MainWindow::localization(){ @@ -146,7 +142,7 @@ void MainWindow::localization(){ btnStart->set_label(gettext("Run")); wndChooseFileWallpaper->set_title(gettext("Please select File")); dialogStartMenu->set_title(gettext("Warning!")); - lblInfoHead->set_text(gettext("Running applications as a user with a specified priority")); + lblInfoHead->set_text(gettext("Running applications as a user with a\n specified priority")); lblinfoCmd->set_text(gettext("Command Line")); lblInfoTime->set_text(gettext("Team:")); labInfoExecutTerm->set_text(gettext("Run in the terminal emulator")); @@ -154,7 +150,7 @@ void MainWindow::localization(){ lblInfoUserOther->set_text(gettext("Run as another user")); lblInfoUserName->set_text(gettext("User Name:")); lblInfoNooPriority->set_text(gettext("Priority:")); - lblInfoExec->set_text(gettext("Run with a different priority")); + lblInfoExec->set_text(gettext("Change startup priority")); lblInfoPriority->set_text(gettext("Priority:")); lblMessageError->set_text(gettext("Select an executable file or program")); lblInfoEnterProg->set_text(gettext("Selecting Programs")); @@ -203,7 +199,12 @@ void MainWindow::settings(){ this->pars_dir_bin(); this->pars_users(); this->activ_or_block_execute_epriority(); - this->activ_or_block_other_user(); + cmbUser->set_active(0); + cmbUser->set_sensitive(false); + lblInfoUserName->set_sensitive(false); + rbPkexec->set_sensitive(false); + rbSu->set_sensitive(false); + rbSudo->set_sensitive(false); } void MainWindow::close_start_menu(){ @@ -232,10 +233,10 @@ void MainWindow::close_filemaneg(){ wndChooseFileWallpaper->hide(); } void MainWindow::get_path_filemaneg(){ - path_file_name = wndChooseFileWallpaper->get_filename(); - if (path_file_name.length()==0){} + path_file = wndChooseFileWallpaper->get_filename(); + if (path_file.length()==0){} else{ - txtCmd->set_text(path_file_name); + txtCmd->set_text(path_file); this->close_filemaneg(); } } @@ -243,11 +244,11 @@ void MainWindow::open_list_app(){ //liststoreDevelopment = iconDevelopment->get_model(); - + string path = ""; for ( const auto &str_app : list_app){ for ( const auto &str_categor : str_app.Categories){ + path = "/usr/share/applications/" + str_app.Icon + ".svg"; if (str_categor=="Graphics"){ - } else if (str_categor=="Tools"){ @@ -300,28 +301,14 @@ void MainWindow::start_cmd(){ //========================================= if (chbAnotherUser->get_active()){ if (rbPkexec->get_active()){ - if (geteuid()!=0){ - if ((chbAnotherUser->get_active()) && (cmbUser->get_active_text().length()==0)) { - str_variants_root = "pcexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; - } - else if (chbAnotherUser->get_active()){ - str_variants_root = "pcexec --user " + cmbUser->get_active_text() + " env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; - } - else{ - str_variants_root = "pcexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; - } + if ((chbAnotherUser->get_active()) && (cmbUser->get_active_text().length()==0)) { + str_variants_root = "pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; } + else if (chbAnotherUser->get_active()){ + str_variants_root = "pkexec --user " + cmbUser->get_active_text() + " env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; + } else{ - if ((chbAnotherUser->get_active()) && (cmbUser->get_active_text().length()==0)) { - str_variants_root = "pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; - } - else if (chbAnotherUser->get_active()){ - str_variants_root = "pkexec --user " + cmbUser->get_active_text() + " env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; - } - - else{ - str_variants_root = "pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; - } + str_variants_root = "pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY "; } } else if (rbSu->get_active()){ @@ -356,6 +343,7 @@ void MainWindow::start_cmd(){ if (cbxExecuteEpriority->get_active()){ str_nice_cmd = "nice -n " + to_string(spinPriority->get_value_as_int()) + " "; } + //========================================= string user_cmd = txtCmd->get_text(); @@ -371,12 +359,18 @@ void MainWindow::start_cmd(){ str_cmd_terminal=""; } string cmd = ""; - cmd = "nohup " + str_cmd_terminal + str_variants_root + str_nice_cmd + user_cmd + " &"; + if (path_file!=""){ + cmd = "" + str_cmd_terminal + str_variants_root + str_nice_cmd + " xdg-open '" + user_cmd + "' &"; + } + else{ + cmd = "" + str_cmd_terminal + str_variants_root + str_nice_cmd + user_cmd + " &"; + } txtCmd->set_text(cmd); system(cmd.c_str()); path_file_name=""; - } + path_file=""; +} void MainWindow::changed_user(){ Glib::ustring entry_user = cmbUser->get_active_text(); if (geteuid()==0 || entry_user == "root"){ @@ -400,6 +394,7 @@ void MainWindow::changed_user(){ //void MainWindow::execute_another_User(){} void MainWindow::activ_or_block_other_user(){ bool flag = chbAnotherUser->get_active(); + cmbUser->set_active(0); cmbUser->set_sensitive(flag); lblInfoUserName->set_sensitive(flag); //lblInfoUserOther->set_sensitive(flag); @@ -489,6 +484,7 @@ void MainWindow::pars_apps(){ char *Exec=g_key_file_get_string(gfile,"Desktop Entry", "Exec",NULL); char *Categories=g_key_file_get_locale_string(gfile,"Desktop Entry", "Categories",setlocale(LC_ALL,""),NULL); char *Icon=g_key_file_get_string(gfile,"Desktop Entry", "Icon",NULL); + char *Mime=g_key_file_get_string(gfile,"Desktop Entry", "MimeType",NULL); if (Type==NULL) continue; if (Name==NULL) continue; if (Exec==NULL) continue; @@ -499,6 +495,13 @@ void MainWindow::pars_apps(){ App.Type = Type; App.Exec = Exec; App.Icon = Name; + if (Mime!=NULL){ + App.MimeType = Mime; + cout << App.MimeType << endl; + } + else{ + App.MimeType = ""; + } App.Name_desktop = file_name; App.Categories = split(str_Categories, ';'); for ( const auto &text : App.Categories){ diff --git a/source/ublexec.h b/source/ublexec.h index 7d05c8b..d87a70f 100644 --- a/source/ublexec.h +++ b/source/ublexec.h @@ -87,6 +87,19 @@ public: void pars_apps(); vector split(const std::string &s, char delim); + public: + class ModelColumns : public Gtk::TreeModel::ColumnRecord + { + public: + + ModelColumns() + { add(m_col_id); add(m_col_name); } + + Gtk::TreeModelColumn m_col_id; + Gtk::TreeModelColumn m_col_name; + }; + + ModelColumns m_Columns; public: Glib::RefPtr builder; Gtk::Button *btnFilemaneg; @@ -140,33 +153,18 @@ public: Gtk::Label *lblDevelopment; Gtk::Label *lblSystem; - Gtk::IconView *iconGraphics; - Gtk::IconView *iconTools; - Gtk::IconView *iconInternet; - Gtk::IconView *iconMultimedia; - Gtk::IconView *iconSettings; - Gtk::IconView *iconEducation; - Gtk::IconView *iconOffice; - Gtk::IconView *iconOther; - Gtk::IconView *iconDevelopment; - Gtk::IconView *iconSystem; - - Gtk::ListStore *liststoreGraphics; - Gtk::ListStore *liststoreTools; - Gtk::ListStore *liststoreInternet; - Gtk::ListStore *liststoreMultimedia; - Gtk::ListStore *liststoreSettings; - Gtk::ListStore *liststoreEducation; - Gtk::ListStore *liststoreOffice; - Gtk::ListStore *liststoreOther; - Gtk::ListStore *liststoreDevelopment; - Gtk::ListStore *liststoreSystem; + + + Gtk::TreeView *treeViewGraphics=0; + Glib::RefPtr tree_store; + Glib::RefPtr m_refTreeModel; public: string execute_cmd = ""; + string path_file = ""; bool flag_pkexec = false; bool flag_su = false; bool flag_sudo = false; @@ -195,3 +193,5 @@ private: Gtk::Widget *plugBox; Gtk::Widget *parent; }; + + diff --git a/style.css b/style.css index 5496feb..d237a01 100644 --- a/style.css +++ b/style.css @@ -1,3 +1,6 @@ .cssboxColor1{ background: url("/usr/share/ublexec/images/bg_top.png") no-repeat; +} +.textHead{ + text-shadow: 1px 1px #ffffff; } \ No newline at end of file diff --git a/ublexec.glade b/ublexec.glade index 36549df..717eb2f 100644 --- a/ublexec.glade +++ b/ublexec.glade @@ -8,568 +8,630 @@ 1 10 - - True - False - 5 - 5 - 5 - 5 - 6 - 6 - gtk-media-play - - + + 250 + 470 False - Выполнить - + dialog + - True False vertical + 2 + + + False + end + + + ОК + True + True + True + + + True + True + 0 + + + + + Выход + True + True + True + + + True + True + 1 + + + + + False + False + 0 + + - + True False vertical - + True False - vertical - - - True - False - - - True - False - 5 - 5 - 5 - 5 - 6 - 6 - 69 - ublexec - - - False - True - 0 - - - - - True - False - 5 - 5 - 5 - 5 - 6 - 6 - Запуск приложений от имени пользователя с указанным приоритетом - - - - - - - - True - True - 1 - - - - - False - True - 0 - - + Выбор программ + + + False + True + 0 + + + + + True + True + in - + True False - 10 - vertical - + True False - 5 - 5 - 5 - 5 - 6 - 6 - 0.019999999552965164 - in + vertical - + True False + start + center 5 + 5 5 - vertical + 5 + 6 + 6 + Графика + + + False + True + 0 + + + + + True + True + in - + True - False - - - 145 - True - False - 5 - 5 - 5 - 5 - 6 - 6 - Команда: - True - 0 - - - False - True - 0 - + True + + - - - 330 - True - True - Дата -Формат: ДД.ММ.ГГГГ - 5 - 5 - 5 - 5 - 6 - 6 - - - False - True - 1 - - - - - True - True - True - 5 - 5 - 5 - 5 - 3 - 3 - - - True - False - center - center - 5 - 5 - 5 - 5 - 6 - 6 - gtk-directory - - - - - False - True - 2 - - - - - True - True - True - 5 - 5 - 5 - 5 - 6 - 6 - - - True - False - center - center - 5 - 5 - 5 - 5 - 6 - 6 - edit-select-all - - - - - False - True - 3 - + + + + + False + True + 1 + + + + + True + False + start + center + 5 + 5 + 5 + 5 + 6 + 6 + Инструменты + + + False + True + 2 + + + + + True + True + in + + + True + True + + - - False - True - 0 - + + + False + True + 3 + + + + + True + False + start + center + 5 + 5 + 5 + 5 + 6 + 6 + Интернет + + + False + True + 4 + + + + + True + True + in - + True - False - - - 135 - True - False - 15 - 5 - 15 - 5 - - - False - True - 0 - - - - - True - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - True - - - True - False - Выполнить в эмуляторе терминале - - - - - False - True - 1 - + True + + - - False - True - 1 - + + False + True + 5 + - - + + True False - Командная строка + start + center + 5 + 5 + 5 + 5 + 6 + 6 + Мультимедиа + + False + True + 6 + - - - False - True - 0 - - - - - False - True - 1 - - - - - True - False - 10 - vertical - - - True - False - 5 - 5 - 5 - 5 - 6 - 6 - 0.019999999552965164 - in - + + True + True + in + + + True + True + + + + + + + + False + True + 7 + + + + True False + start + center 5 + 5 5 - vertical + 5 + 6 + 6 + Настройки + + + False + True + 8 + + + + + True + True + in - + True - False - - - True - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - True - - - True - False - Выполнить от имени другого пользователя - - - - - False - True - 0 - - - - - pkexec - True - True - False - True - rbSu - - - False - True - 1 - - - - - su - True - True - False - True - rbPkexec - - - False - True - 2 - - - - - sudo - True - True - False - True - rbSu - - - False - True - 3 - - - - - 95 - True - False - end - 15 - 5 - 15 - 5 - - - False - True - 4 - + True + + - - False - True - 0 - + + + False + True + 9 + + + + + True + False + start + center + 5 + 5 + 5 + 5 + 6 + 6 + Образование + + + False + True + 10 + + + + + True + True + in - + True - False - - - 145 - True - False - 5 - 5 - 5 - 5 - 6 - 6 - Имя поьзователя: - True - 0 - - - False - True - 0 - - - - - 330 - True - False - 5 - 5 - 5 - 5 - 6 - 6 - - - False - True - 1 - + True + + - - False - True - 1 - + + False + True + 11 + - - + + True False - Пользователь + start + center + 5 + 5 + 5 + 5 + 6 + 6 + Офис + + False + True + 12 + - - - False - True - 0 - - - - - False - True - 2 - - - - - True - False - 10 - vertical - - - True - False - 5 - 5 - 5 - 5 - 6 - 6 - 0.019999999552965164 - in - + + True + True + in + + + True + True + + + + + + + + False + True + 13 + + + + True False + start + center 5 + 5 5 - vertical + 5 + 6 + 6 + Прочие + + + False + True + 14 + + + + + True + True + in - + True True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - True - - - True - False - Выполнить c другим приоритетом - + + - - False - True - 0 - - - - True - False + + + False + True + 15 + + + + + True + False + start + center + 5 + 5 + 5 + 5 + 6 + 6 + Разработка + + + False + True + 16 + + + + + True + True + in + + + True + True + + + + + + + + False + True + 17 + + + + + True + False + start + center + 5 + 5 + 5 + 5 + 6 + 6 + Система + + + False + True + 18 + + + + + True + True + in + + + True + True + + + + + + + + False + True + 19 + + + + + + + + + True + True + 1 + + + + + True + True + 1 + + + + + + + True + False + 5 + 5 + 5 + 5 + 6 + 6 + gtk-media-play + + + False + Выполнить + + + True + False + vertical + + + True + False + vertical + + + True + False + vertical + + + True + False + + + True + False + 5 + 5 + 5 + 5 + 6 + 6 + 69 + ublexec + + + False + True + 0 + + + + + True + False + start + 5 + 5 + 5 + 5 + 6 + 6 + Запуск приложений от имени пользователя с +указанным приоритетом + + + + + + + + True + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + + + True + False + 5 + 5 + 5 + 5 + 6 + 6 + 0.019999999552965164 + in + + + True + False + 5 + 5 + vertical + + + True + False - - 5 + + 145 True False 5 @@ -578,7 +640,7 @@ 5 6 6 - Приоритет: + Команда: True 0 @@ -589,36 +651,49 @@ - + + 330 True True + Дата +Формат: ДД.ММ.ГГГГ 5 5 5 5 6 6 - adjustment1 - 20 - 0 - True + False True 1 - + True True - 5 - 5 + True 5 5 6 6 - True + + + True + False + center + center + 5 + 5 + 5 + 5 + 6 + 6 + gtk-directory + + False @@ -626,27 +701,61 @@ 2 - - - False - True - 1 - - - - - True + + + True + True + True + 5 + 5 + 5 + 5 + 6 + 6 + + + True + False + center + center + 5 + 5 + 5 + 5 + 6 + 6 + edit-select-all + + + + + False + True + 3 + + + + + False + True + 0 + + + + + True False + 6 + 6 - 65 + 131 True False 15 5 15 5 - 0 False @@ -655,19 +764,25 @@ - - 145 + True - False + True + False + start + center 5 5 5 5 - 6 6 - 19 (Низкий) - True - 0 + True + + + True + False + Выполнить в эмуляторе терминале + + False @@ -675,11 +790,69 @@ 1 + + + False + True + 1 + + + + + + + True + False + Командная строка + + + + + False + True + 0 + + + + + False + True + 1 + + + + + True + False + 5 + vertical + + + True + False + 5 + 5 + 5 + 5 + 0.019999999552965164 + in + + + True + False + 5 + 5 + vertical + + + True + False - + True - False - end + True + False + start center 5 5 @@ -687,12 +860,62 @@ 5 6 6 - -20 (Высокий) - True - 0 + True + + + True + False + Выполнить от имени другого пользователя + + - True + False + True + 0 + + + + + pkexec + True + True + False + True + rbSu + + + False + True + 1 + + + + + su + True + True + False + True + rbPkexec + + + False + True + 2 + + + + + sudo + True + True + False + True + rbSu + + + False True 3 @@ -718,16 +941,66 @@ False True - 2 + 0 + + + + + True + False + + + 145 + True + False + 5 + 5 + 5 + 5 + 6 + 6 + Имя поьзователя: + True + 0 + + + False + True + 0 + + + + + 330 + True + False + 5 + 5 + 5 + 5 + 6 + 6 + + + False + True + 1 + + + + + False + True + 1 - + True False - Приоритет + Пользователь @@ -741,597 +1014,359 @@ False True - 3 + 2 - + True False - 5 - 5 - 5 - 5 - 6 - 6 - 0.019999999552965164 - in + 5 + vertical - + True False 5 + 5 5 - vertical - - - Запустить - True - True - True - 5 - 5 - 5 - 5 - 6 - 6 - image1 - True - - - False - True - 0 - - - - - - - - - - False - True - 4 - - - - - True - True - 0 - - - - - False - True - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 250 - 470 - False - dialog - - - False - vertical - 2 - - - False - end - - - ОК - True - True - True - - - True - True - 0 - - - - - Выход - True - True - True - - - True - True - 1 - - - - - False - False - 0 - - - - - True - False - vertical - - - True - False - Выбор программ - - - False - True - 0 - - - - - True - True - in - - - True - False - - - True - False - vertical - - - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - Графика - - - False - True - 0 - - - - - True - True - 6 - horizontal - liststoreGraphics - - - False - True - 1 - - - - - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - Инструменты - - - False - True - 2 - - - - - True - True - 6 - horizontal - liststoreTools - - - False - True - 3 - - - - - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - Интернет - - - False - True - 4 - - - - - True - True - 6 - horizontal - liststoreInternet - - - False - True - 5 - - - - - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - Мультимедиа - - - False - True - 6 - - - - - True - True - 6 - horizontal - liststoreMultimedia - - - False - True - 7 - - - - - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - Настройки - - - False - True - 8 - - - - - True - True - 6 - horizontal - liststoreSettings - - - False - True - 9 - - - - - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - Образование - - - False - True - 10 - - - - - True - True - 6 - horizontal - liststoreEducation - - - False - True - 11 - - - - - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - Офис - - - False - True - 12 - - - - - True - True - 6 - horizontal - liststoreOffice - - - False - True - 13 - - - - - True - False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - Прочие - - - False - True - 14 - - - - - True - True - 6 - horizontal - liststoreOther - - - False - True - 15 - - + 5 + 0.019999999552965164 + in - + True False - start - center 5 - 5 5 - 5 - 6 - 6 - Разработка - - - False - True - 16 - - - - - True - True - 6 - horizontal - liststoreDevelopment + vertical + + + True + True + False + start + center + 5 + 5 + 5 + 5 + 6 + 6 + True + + + True + False + Изменить приоритет запуска + + + + + False + True + 0 + + + + + True + False + + + 5 + True + False + 5 + 5 + 5 + 5 + 6 + 6 + Приоритет: + True + 0 + + + False + True + 0 + + + + + True + True + 5 + 5 + 5 + 5 + 6 + 6 + adjustment1 + 20 + 0 + + + True + True + 1 + + + + + True + True + 5 + 5 + 5 + 5 + 6 + 6 + True + + + False + True + 2 + + + + + False + True + 1 + + + + + True + False + + + 65 + True + False + 15 + 5 + 15 + 5 + 0 + + + False + True + 0 + + + + + 145 + True + False + 5 + 5 + 5 + 5 + 6 + 6 + 19 (Низкий) + True + 0 + + + False + True + 1 + + + + + True + False + end + center + 5 + 5 + 5 + 5 + 6 + 6 + -20 (Высокий) + True + 0 + + + True + True + 3 + + + + + 95 + True + False + end + 15 + 5 + 15 + 5 + + + False + True + 4 + + + + + False + True + 2 + + - - False - True - 17 - - - + + True False - start - center - 5 - 5 - 5 - 5 - 6 - 6 - Система - - - False - True - 18 - - - - - True - True - 6 - horizontal - liststoreSystem + Приоритет - - False - True - 19 - + + False + True + 0 + + + False + True + 3 + + + + + Запустить + True + True + True + 5 + 5 + 5 + 5 + 6 + 6 + image1 + True + + + False + True + 4 + True True - 1 + 0 - True + False True - 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + False Внимание! diff --git a/ublexec_ru.po b/ublexec_ru.po index 051caa7..b718cd2 100644 --- a/ublexec_ru.po +++ b/ublexec_ru.po @@ -45,8 +45,8 @@ msgstr "Выход" msgid "Selecting Programs" msgstr "Выбор программ" -msgid "Running applications as a user with a specified priority" -msgstr "Запуск приложений от имени пользователя с указанным приоритетом" +msgid "Running applications as a user with a\n specified priority" +msgstr "Запуск приложений от имени пользователя с\n указанным приоритетом" msgid "Team:" msgstr "Команда:" @@ -75,8 +75,8 @@ msgstr "Имя поьзователя:" msgid "User" msgstr "Пользователь" -msgid "Run with a different priority" -msgstr "Выполнить c другим приоритетом" +msgid "Change startup priority" +msgstr "Изменить приоритет запуска" msgid "Priority:" msgstr "Приоритет:"