mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-12-15 18:11:38 +01:00
add example plugin
should be working now add plugins to sidebar add plugin system base Create function signatures for plugins Update crates
This commit is contained in:
parent
59fe7fc454
commit
a9e0758435
27 changed files with 468 additions and 335 deletions
|
|
@ -11,7 +11,8 @@ use adw::prelude::{ActionRowExt, ButtonExt, PreferencesGroupExt, PreferencesRowE
|
|||
use dbus::blocking::Connection;
|
||||
use dbus::{Error, Path};
|
||||
use glib::subclass::types::ObjectSubclassIsExt;
|
||||
use glib::{clone, PropertySet};
|
||||
use glib::{clone};
|
||||
use glib::property::PropertySet;
|
||||
use gtk::prelude::{BoxExt, ListBoxRowExt};
|
||||
use gtk::{gio, Align, Button, Orientation};
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,9 @@ use dbus::blocking::Connection;
|
|||
use dbus::message::SignalArgs;
|
||||
use dbus::Error;
|
||||
use dbus::Path;
|
||||
use glib::{clone, Cast, ControlFlow, PropertySet};
|
||||
use glib::{clone, ControlFlow};
|
||||
use glib::prelude::Cast;
|
||||
use glib::property::PropertySet;
|
||||
use gtk::glib::Variant;
|
||||
use gtk::prelude::ActionableExt;
|
||||
use gtk::{gio, StringList, StringObject};
|
||||
|
|
|
|||
|
|
@ -4,12 +4,13 @@ use std::time::Duration;
|
|||
|
||||
use crate::components::utils::{BASE, DBUS_PATH, WIRELESS};
|
||||
use crate::components::wifi::utils::get_connection_settings;
|
||||
use adw::glib::{Object, PropertySet};
|
||||
use adw::glib::{Object};
|
||||
use adw::prelude::{ActionRowExt, ButtonExt, EditableExt, PopoverExt, PreferencesRowExt};
|
||||
use adw::subclass::prelude::ObjectSubclassIsExt;
|
||||
use dbus::blocking::Connection;
|
||||
use dbus::Error;
|
||||
use glib::clone;
|
||||
use glib::property::PropertySet;
|
||||
use gtk::prelude::{BoxExt, ListBoxRowExt, WidgetExt};
|
||||
use gtk::{gio, Align, Button, Image, Orientation};
|
||||
use re_set_lib::network::network_structures::{AccessPoint, WifiStrength};
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
use std::sync::Arc;
|
||||
|
||||
use adw::prelude::{ComboRowExt, PreferencesGroupExt, PreferencesRowExt};
|
||||
use glib::{subclass::types::ObjectSubclassIsExt, PropertySet};
|
||||
use glib::{subclass::types::ObjectSubclassIsExt};
|
||||
use glib::property::PropertySet;
|
||||
use gtk::prelude::WidgetExt;
|
||||
use re_set_lib::{
|
||||
network::network_structures::WifiStrength,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@ use adw::prelude::{ActionRowExt, ComboRowExt, PreferencesGroupExt};
|
|||
use adw::subclass::prelude::ObjectSubclassIsExt;
|
||||
use dbus::arg::PropMap;
|
||||
use dbus::{Error, Path};
|
||||
use glib::{clone, PropertySet};
|
||||
use glib::{clone};
|
||||
use glib::property::PropertySet;
|
||||
use gtk::prelude::{ActionableExt, ButtonExt, EditableExt, ListBoxRowExt, WidgetExt};
|
||||
use re_set_lib::network::connection::{
|
||||
Connection, DNSMethod4, DNSMethod6, Enum, KeyManagement, TypeSettings,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue