mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-12-15 18:11:38 +01:00
chore: Update todos
This commit is contained in:
parent
e7c0995aa3
commit
ee7129009a
13 changed files with 14 additions and 16 deletions
|
|
@ -55,7 +55,7 @@ impl SavedWifiEntry {
|
|||
let entry_ref = entry.clone();
|
||||
delete_button.connect_clicked(clone!(@weak wifi_box => move |_| {
|
||||
delete_connection(entry_ref.imp().reset_connection_path.take());
|
||||
// TODO handle error
|
||||
// FUTURE TODO: handle error
|
||||
wifi_box.reset_stored_wifi_list.remove(&*entry_ref);
|
||||
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ pub fn show_stored_connections(wifi_box: Arc<WifiBox>) {
|
|||
glib::idle_add_once(move || {
|
||||
let self_imp = wifibox_ref.imp();
|
||||
for connection in connections {
|
||||
// TODO include button for settings
|
||||
// FUTURE TODO: include button for settings
|
||||
let name =
|
||||
&String::from_utf8(connection.1).unwrap_or_else(|_| String::from(""));
|
||||
let entry = SavedWifiEntry::new(name, connection.0, self_imp);
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ impl WifiEntry {
|
|||
.build(),
|
||||
);
|
||||
|
||||
// TODO handle encryption thing
|
||||
// FUTURE TODO: handle encryption
|
||||
let wifi_strength = Image::builder()
|
||||
.icon_name(match strength {
|
||||
WifiStrength::Excellent => "network-wireless-signal-excellent-symbolic",
|
||||
|
|
@ -177,7 +177,7 @@ pub fn click_stored_network(entry: Arc<WifiEntry>) {
|
|||
});
|
||||
});
|
||||
});
|
||||
// TODO crate spinner animation and block UI
|
||||
// FUTURE TODO: crate spinner animation and block UI
|
||||
}
|
||||
|
||||
pub fn click_new_network(entry: Arc<WifiEntry>) {
|
||||
|
|
@ -228,7 +228,7 @@ pub fn click_new_network(entry: Arc<WifiEntry>) {
|
|||
});
|
||||
});
|
||||
});
|
||||
// TODO crate spinner animation and block UI
|
||||
// FUTURE TODO: crate spinner animation and block UI
|
||||
};
|
||||
|
||||
let entry_imp = entry.imp();
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ pub fn access_point_changed_handler(wifi_box: Arc<WifiBox>, ir: AccessPointChang
|
|||
let name = name_opt.as_str();
|
||||
entry_imp.wifi_strength.set(strength);
|
||||
entry.set_title(name);
|
||||
// TODO handle encryption thing
|
||||
// FUTURE TODO: handle encryption thing
|
||||
entry_imp
|
||||
.reset_wifi_strength
|
||||
.borrow()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue