diff --git a/source/ublexec.cc b/source/ublexec.cc index eb988b1..11fa404 100644 --- a/source/ublexec.cc +++ b/source/ublexec.cc @@ -219,7 +219,7 @@ void MainWindow::delete_cmd(const int &x,const int &y){ bool MainWindow::focus_in_txt_cmd(GdkEventFocus* event){ if (user_cmd.length() != 0){ - //user_cmd_old = user_cmd; + //user_cmd_old = user_cmd;gi } else if (name_app.length() != 0){ //name_app_old = name_app; @@ -421,7 +421,6 @@ void MainWindow::open_list_app(){ for ( const auto &st_app : list_app){ for ( const auto &str_categor : st_app.Categories){ path = st_app.Icon; - //path = "/usr/share/icons/hicolor/16x16/apps/" + st_app.Icon + ".png"; if (str_categor=="Graphics"){ this->tempalte_row(st_app.Name,st_app.Exec, path, list_Graphics); } diff --git a/source/ublexec.h b/source/ublexec.h index d5c27ff..5f34098 100644 --- a/source/ublexec.h +++ b/source/ublexec.h @@ -88,7 +88,6 @@ public: void denamic_cmd(); bool focus_out_txt_cmd(GdkEventFocus* event); bool focus_in_txt_cmd(GdkEventFocus* event); - //static void me_thread(string cmd); void unselect_icon(Gtk::IconView *icon_entry); void str_remove(std::string& source, std::string & to_remove); vector split(const std::string &s, char delim); diff --git a/style.css b/style.css index 751f019..0ea8eb1 100644 --- a/style.css +++ b/style.css @@ -5,39 +5,46 @@ text-shadow: 1px 1px #ffffff; } .menuitemtop *{ - margin:2px 2px 0 2px; - padding: 5px 10px 3px 5px; + margin:2px 2px 0 2px; + padding: 5px 10px 3px 5px; } .menuitemmiddle *{ - margin:0 2px 0 2px; - padding: 3px 10px 3px 5px; + margin:0 2px 0 2px; + padding: 3px 10px 3px 5px; } .menuitembottom *{ - margin:0 2px 2px 2px; - padding: 3px 10px 5px 5px; + margin:0 2px 2px 2px; + padding: 3px 10px 5px 5px; } .menuitemtop:hover { - background:@theme_bg_color; + border-radius:3px; + background:@theme_bg_color; } .menuitemmiddle:hover { + border-radius:3px; background:@theme_bg_color; } .menuitembottom:hover { + border-radius:3px; background:@theme_bg_color; + } .menuitemtop:hover* { + border-radius:3px; margin:2px 2px 0 2px; padding: 5px 10px 3px 5px; background:@theme_selected_bg_color; border-color:transparent; } .menuitemmiddle:hover* { + border-radius:3px; margin:0 2px 0 2px; padding: 3px 10px 3px 5px; background:@theme_selected_bg_color; border-color:transparent; } .menuitembottom:hover* { + border-radius:3px; margin:0 2px 2px 2px; padding: 3px 10px 5px 5px; background:@theme_selected_bg_color; @@ -45,26 +52,21 @@ } .menuitembottom{ margin-top:0px; - border-color:alpha(@theme_text_color, 0.4); - border-style:solid; - border-left-width:1px; - border-bottom-width:1px; - border-right-width:1px; } .menuitemmiddle{ margin-top:0px; margin-bottom:0px; - border-color:alpha(@theme_text_color, 0.4); - border-style:solid; - border-left-width:1px; - border-right-width:1px; } .menuitemtop{ margin-bottom:0px; - border-color:alpha(@theme_text_color, 0.4); - border-style:solid; - border-left-width:1px; - border-top-width:1px; - border-right-width:1px; } + +.bkim{ + background-image: -gtk-gradient(linear, + left top, left bottom, + from(@entry_background_a), + color-stop(0.20, @entry_background_b), + color-stop(0.85, @entry_background_c), + to(@entry_background_d)); +} \ No newline at end of file diff --git a/ublexec.glade b/ublexec.glade index aced788..c432490 100644 --- a/ublexec.glade +++ b/ublexec.glade @@ -1134,6 +1134,8 @@ specified priority 5 5 5 + 6 + 6 True @@ -1163,8 +1165,8 @@ specified priority 5 5 5 - 6 - 6 + 3 + 3 gtk-directory @@ -1197,8 +1199,6 @@ specified priority 5 5 5 - 6 - 6 edit-select-all