mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-04-19 11:08:32 +02:00
hide out of scope features
This commit is contained in:
parent
747a2f59fd
commit
205413a0c6
|
@ -124,13 +124,13 @@ impl Window {
|
||||||
true,
|
true,
|
||||||
HANDLE_BLUETOOTH_CLICK,
|
HANDLE_BLUETOOTH_CLICK,
|
||||||
),
|
),
|
||||||
SidebarEntry::new(
|
// SidebarEntry::new(
|
||||||
"VPN",
|
// "VPN",
|
||||||
"network-vpn-symbolic",
|
// "network-vpn-symbolic",
|
||||||
Categories::Connectivity,
|
// Categories::Connectivity,
|
||||||
true,
|
// true,
|
||||||
HANDLE_VPN_CLICK,
|
// HANDLE_VPN_CLICK,
|
||||||
),
|
// ),
|
||||||
];
|
];
|
||||||
|
|
||||||
sidebarEntries.push((
|
sidebarEntries.push((
|
||||||
|
@ -172,40 +172,40 @@ impl Window {
|
||||||
audioList,
|
audioList,
|
||||||
));
|
));
|
||||||
|
|
||||||
let peripheralsList = vec![
|
// let peripheralsList = vec![
|
||||||
SidebarEntry::new(
|
// SidebarEntry::new(
|
||||||
"Displays",
|
// "Displays",
|
||||||
"video-display-symbolic",
|
// "video-display-symbolic",
|
||||||
Categories::Peripherals,
|
// Categories::Peripherals,
|
||||||
true,
|
// true,
|
||||||
HANDLE_MONITOR_CLICK,
|
// HANDLE_MONITOR_CLICK,
|
||||||
),
|
// ),
|
||||||
SidebarEntry::new(
|
// SidebarEntry::new(
|
||||||
"Mouse",
|
// "Mouse",
|
||||||
"input-mouse-symbolic",
|
// "input-mouse-symbolic",
|
||||||
Categories::Peripherals,
|
// Categories::Peripherals,
|
||||||
true,
|
// true,
|
||||||
HANDLE_MOUSE_CLICK,
|
// HANDLE_MOUSE_CLICK,
|
||||||
),
|
// ),
|
||||||
SidebarEntry::new(
|
// SidebarEntry::new(
|
||||||
"Keyboard",
|
// "Keyboard",
|
||||||
"input-keyboard-symbolic",
|
// "input-keyboard-symbolic",
|
||||||
Categories::Peripherals,
|
// Categories::Peripherals,
|
||||||
true,
|
// true,
|
||||||
HANDLE_KEYBOARD_CLICK,
|
// HANDLE_KEYBOARD_CLICK,
|
||||||
),
|
// ),
|
||||||
];
|
// ];
|
||||||
|
|
||||||
sidebarEntries.push((
|
// sidebarEntries.push((
|
||||||
SidebarEntry::new(
|
// SidebarEntry::new(
|
||||||
"Peripherals",
|
// "Peripherals",
|
||||||
"preferences-system-devices-symbolic",
|
// "preferences-system-devices-symbolic",
|
||||||
Categories::Peripherals,
|
// Categories::Peripherals,
|
||||||
false,
|
// false,
|
||||||
HANDLE_PERIPHERALS_CLICK,
|
// HANDLE_PERIPHERALS_CLICK,
|
||||||
),
|
// ),
|
||||||
peripheralsList,
|
// peripheralsList,
|
||||||
));
|
// ));
|
||||||
|
|
||||||
selfImp.resetSidebarList.connect_row_activated(clone!(@ weak selfImp => move |_, _| {
|
selfImp.resetSidebarList.connect_row_activated(clone!(@ weak selfImp => move |_, _| {
|
||||||
selfImp.resetSearchEntry.set_text("");
|
selfImp.resetSearchEntry.set_text("");
|
||||||
|
|
Loading…
Reference in a new issue