|
|
|
@ -142,7 +142,7 @@ void MainWindow::add_CSS() {
|
|
|
|
Glib::RefPtr<Gtk::StyleContext> context_lbl_head = lblInfoHead->get_style_context();
|
|
|
|
Glib::RefPtr<Gtk::StyleContext> context_lbl_head = lblInfoHead->get_style_context();
|
|
|
|
Glib::RefPtr<Gtk::StyleContext> boxAbout_css = boxAbout->get_style_context();
|
|
|
|
Glib::RefPtr<Gtk::StyleContext> boxAbout_css = boxAbout->get_style_context();
|
|
|
|
imgHeadBackground->set(path_img_head_background);
|
|
|
|
imgHeadBackground->set(path_img_head_background);
|
|
|
|
for (auto &view: array_icon){
|
|
|
|
for (auto &view: array_icon) {
|
|
|
|
Glib::RefPtr<Gtk::StyleContext> view_css = view->get_style_context();
|
|
|
|
Glib::RefPtr<Gtk::StyleContext> view_css = view->get_style_context();
|
|
|
|
view_css->add_class("view_app");
|
|
|
|
view_css->add_class("view_app");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -312,10 +312,8 @@ bool MainWindow::focus_in_txt_cmd(GdkEventFocus* event) {
|
|
|
|
if (user_cmd.length() != 0) {
|
|
|
|
if (user_cmd.length() != 0) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (name_app.length() != 0) {
|
|
|
|
else if (name_app.length() != 0) {
|
|
|
|
//name_app = "";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (path_file.length() != 0) {
|
|
|
|
else if (path_file.length() != 0) {
|
|
|
|
//path_file = "";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
else{
|
|
|
|
user_cmd = txtCmd->get_text();
|
|
|
|
user_cmd = txtCmd->get_text();
|
|
|
|
|