mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-07-07 18:47:45 +02:00
Add title and border to settingbox
Fix padding around window Add some styling
This commit is contained in:
parent
179a2b44cc
commit
9f3815476d
12 changed files with 313 additions and 258 deletions
|
@ -10,12 +10,10 @@ use adw::subclass::prelude::ObjectSubclassIsExt;
|
|||
use dbus::blocking::Connection;
|
||||
use dbus::Error;
|
||||
use dbus::Path;
|
||||
use gtk::glib::{clone, Variant};
|
||||
use gtk::glib::Variant;
|
||||
use gtk::prelude::ActionableExt;
|
||||
use ReSet_Lib::network::network::{AccessPoint, WifiStrength};
|
||||
use ReSet_Lib::signals::{
|
||||
AccessPointAdded, AccessPointRemoved, BluetoothDeviceAdded, BluetoothDeviceRemoved,
|
||||
};
|
||||
use ReSet_Lib::network::network::AccessPoint;
|
||||
use ReSet_Lib::signals::{AccessPointAdded, AccessPointRemoved};
|
||||
use ReSet_Lib::utils::Events;
|
||||
|
||||
use crate::components::wifi::wifiBoxImpl;
|
||||
|
@ -38,12 +36,8 @@ impl WifiBox {
|
|||
pub fn setupCallbacks(&self) {
|
||||
let selfImp = self.imp();
|
||||
|
||||
selfImp
|
||||
.resetSavedNetworks
|
||||
.set_action_name(Some("navigation.push"));
|
||||
selfImp
|
||||
.resetSavedNetworks
|
||||
.set_action_target_value(Some(&Variant::from("saved")));
|
||||
selfImp.resetWifiSwitchRow.set_action_name(Some("navigation.push"));
|
||||
selfImp.resetWifiSwitchRow.set_action_target_value(Some(&Variant::from("saved")))
|
||||
}
|
||||
|
||||
pub fn donotdisturb() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue