diff --git a/#ublexec.glade# b/#ublexec.glade#
new file mode 100644
index 0000000..65fe3f9
--- /dev/null
+++ b/#ublexec.glade#
@@ -0,0 +1,2093 @@
+
+
+
+
+
+
+
+ -20
+ 19
+ 1
+ 10
+
+
+ True
+ False
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ 69
+ com.ublinux.ublexec
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ start
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ Run applications as another user
+with the specified priority
+
+
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ gtk-media-play
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ False
+ com.ublinux.ublexec
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+
+
+ 81
+ True
+ False
+ start
+
+
+ -1
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+ True
+ vertical
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ True
+ 0.019999999552965164
+ in
+
+
+ True
+ False
+ 5
+ 5
+ True
+ vertical
+
+
+ True
+ False
+ True
+
+
+ 0
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ Team:
+ True
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ 440
+ True
+ True
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+
+
+ True
+ True
+ 1
+
+
+
+
+ 51
+ True
+ True
+ True
+ end
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+
+
+ True
+ False
+ center
+ center
+ 5
+ 5
+ 5
+ 5
+ 3
+ 3
+ gtk-directory
+
+
+
+
+ False
+ True
+ 2
+
+
+
+
+ 51
+ True
+ True
+ True
+ end
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+
+
+ True
+ False
+ center
+ center
+ 5
+ 5
+ 5
+ 5
+ view-list-details
+
+
+
+
+ False
+ True
+ 3
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ 6
+ 6
+ True
+
+
+ 44
+ True
+ False
+ 15
+ 5
+ 15
+ 5
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ True
+ False
+ start
+ center
+ 5
+ 5
+ 5
+ 5
+ 6
+ True
+
+
+ True
+ False
+ Run in the terminal emulator
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ start
+ 2
+ 5
+ 5
+ 6
+
+
+ False
+ True
+ 2
+
+
+
+
+ 116
+ True
+ False
+
+
+ False
+ True
+ 3
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+
+
+ True
+ False
+ start
+ Command Line
+
+
+
+
+ True
+ True
+ 0
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ 5
+ True
+ vertical
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ True
+ 0.019999999552965164
+ in
+
+
+ True
+ False
+ 5
+ 5
+ True
+ vertical
+
+
+ True
+ False
+ True
+
+
+ True
+ True
+ False
+ start
+ center
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ True
+
+
+ True
+ False
+ Run as another user:
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ pkexec
+ True
+ True
+ False
+ 6
+ 6
+ 6
+ True
+ rbSu
+
+
+ False
+ True
+ 1
+
+
+
+
+ su
+ True
+ True
+ False
+ 3
+ 31
+ 3
+ 31
+ True
+ rbPkexec
+
+
+ False
+ True
+ 2
+
+
+
+
+ sudo
+ True
+ True
+ False
+ 6
+ 6
+ 6
+ 6
+ True
+ rbSu
+
+
+ False
+ True
+ 3
+
+
+
+
+ 95
+ True
+ False
+ end
+ 15
+ 5
+ 15
+ 5
+
+
+ False
+ True
+ 4
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ True
+
+
+ 123
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ User Name:
+ True
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ 374
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+
+
+ False
+ True
+ 1
+
+
+
+
+ 0
+ True
+ False
+ 100
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+
+
+ True
+ False
+ start
+ User
+
+
+
+
+ True
+ True
+ 0
+
+
+
+
+ False
+ True
+ 2
+
+
+
+
+ True
+ False
+ 5
+ True
+ vertical
+
+
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ True
+ 0.019999999552965164
+ in
+
+
+ True
+ False
+ 5
+ 5
+ True
+ vertical
+
+
+ True
+ True
+ False
+ start
+ center
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ True
+
+
+ True
+ False
+ Change startup priority
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ True
+ False
+ True
+
+
+ 5
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 13
+ Priority:
+ True
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ -1
+ True
+ True
+ 5
+ 5
+ 5
+ 5
+ adjustment1
+ 20
+ 0
+ 0
+
+
+ True
+ True
+ 1
+
+
+
+
+ True
+ True
+ 5
+ 5
+ 5
+ 5
+ 15
+ True
+
+
+ False
+ True
+ 2
+
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ 9
+ False
+
+
+ 62
+ True
+ False
+ 15
+ 5
+ 15
+ 5
+ 0
+
+
+ False
+ True
+ 0
+
+
+
+
+ 145
+ True
+ False
+ 5
+ 5
+ 5
+ 5
+ 6
+ 19 (Low)
+ True
+ 0
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ end
+ center
+ 5
+ 5
+ 5
+ 5
+ 6
+ -20 (High)
+ True
+ 0
+
+
+ True
+ True
+ 3
+
+
+
+
+ 107
+ True
+ False
+ end
+ 15
+ 5
+ 15
+ 5
+
+
+ False
+ True
+ 4
+
+
+
+
+ False
+ True
+ 2
+
+
+
+
+
+
+ True
+ False
+ start
+ Priority
+
+
+
+
+ True
+ True
+ 0
+
+
+
+
+ False
+ True
+ 3
+
+
+
+
+ Run
+ True
+ True
+ True
+ 5
+ 5
+ 5
+ 5
+ 6
+ 6
+ image1
+ True
+
+
+ False
+ True
+ 4
+
+
+
+
+ False
+ True
+ 0
+
+
+
+
+ False
+ True
+ 2
+
+
+
+
+
+
+
+
+
+ False
+ start
+ False
+
+
+ True
+ False
+ vertical
+
+
+ True
+ False
+
+
+ True
+ False
+ center
+ 20
+ 20
+ 20
+ 20
+ 20
+ 20
+ dialog-warning-symbolic
+ 6
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ False
+ 10
+ 25
+ 10
+ 25
+ 20
+ 20
+ Select an executable file or program
+ True
+ 0
+
+
+ True
+ True
+ 2
+
+
+
+
+ True
+ True
+ 0
+
+
+
+
+ Close
+ True
+ True
+ True
+ 5
+ 5
+ 5
+ 5
+ 5
+ 5
+
+
+ False
+ True
+ 2
+
+
+
+
+
+
+
+
+
+ False
+ Please select File
+ True
+ center
+ 500
+ 400
+ True
+ com.ublinux.ublexec
+ dialog
+ True
+ True
+
+
+ False
+ vertical
+ 2
+
+
+ False
+ end
+
+
+ gtk-cancel
+ True
+ True
+ True
+ True
+
+
+ True
+ True
+ 0
+
+
+
+
+ gtk-ok
+ True
+ True
+ True
+ True
+
+
+ True
+ True
+ 1
+
+
+
+
+ False
+ False
+ 0
+
+
+
+
+
+
+
+
+
diff --git a/source/ublexec.cc b/source/ublexec.cc
index 880b847..ee3bb68 100644
--- a/source/ublexec.cc
+++ b/source/ublexec.cc
@@ -142,7 +142,7 @@ void MainWindow::add_CSS() {
Glib::RefPtr context_lbl_head = lblInfoHead->get_style_context();
Glib::RefPtr boxAbout_css = boxAbout->get_style_context();
imgHeadBackground->set(path_img_head_background);
- for (auto &view: array_icon){
+ for (auto &view: array_icon) {
Glib::RefPtr view_css = view->get_style_context();
view_css->add_class("view_app");
}
@@ -312,10 +312,8 @@ bool MainWindow::focus_in_txt_cmd(GdkEventFocus* event) {
if (user_cmd.length() != 0) {
}
else if (name_app.length() != 0) {
- //name_app = "";
}
else if (path_file.length() != 0) {
- //path_file = "";
}
else{
user_cmd = txtCmd->get_text();
diff --git a/ublexec.css b/ublexec.css
index 1d11aca..1e33f1c 100644
--- a/ublexec.css
+++ b/ublexec.css
@@ -8,9 +8,11 @@
.view_app {
background-color: @theme_bg_color;
}
-.view_app:active {
- background-color: @theme_selected_bg_color;
+.view_app.view.cell:selected {
+ background-color:@theme_selected_bg_color;
+ color:@theme_selected_text_color;
transition: 10ms ease-out;
+ border-radius: 3px;
}
#GnomeIcon{
border-style:solid;