File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ impl TerminalRepository {
166166 async move {
167167 match Self :: load_terminals_from_json ( & custom_list_path) {
168168 Ok ( terminals) => Ok ( terminals) ,
169- Err ( e ) if !custom_list_path. exists ( ) => Ok ( vec ! [ ] ) ,
169+ Err ( _e ) if !custom_list_path. exists ( ) => Ok ( vec ! [ ] ) ,
170170 Err ( e) => {
171171 warn ! (
172172 "Failed to load custom terminals from JSON file {:?}: {}" ,
Original file line number Diff line number Diff line change @@ -63,7 +63,9 @@ mod imp {
6363 self . status_dot . remove_css_class ( "created" ) ;
6464
6565 // Add the appropriate class
66- self . status_dot . add_css_class ( value) ;
66+ if [ "up" , "exited" , "created" ] . contains ( & value) {
67+ self . status_dot . add_css_class ( value) ;
68+ }
6769 }
6870 }
6971
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ impl DistroShelfWindow {
131131 let this_clone = this. clone ( ) ;
132132 this. root_store ( )
133133 . selected_container_model ( )
134- . connect_selected_notify ( move |model| {
134+ . connect_selected_item_notify ( move |model| {
135135 if let Some ( container) = model
136136 . selected_item ( )
137137 . and_then ( |obj| obj. downcast :: < Container > ( ) . ok ( ) )
You can’t perform that action at this time.
0 commit comments