Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
e6cb6f05
Verified
Commit
e6cb6f05
authored
Apr 18, 2026
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wifi: close other password fields when opening a new one
parent
b5a2d05c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
wifiTile.vala
src/controlCenter/widgets/quickSettings/tiles/wifiTile.vala
+10
-2
No files found.
src/controlCenter/widgets/quickSettings/tiles/wifiTile.vala
View file @
e6cb6f05
...
...
@@ -21,6 +21,7 @@ namespace XimperShellNotificationCenter.Widgets {
private
Gtk
.
Box
?
current_submenu
=
null
;
private
bool
connecting
=
false
;
private
bool
updating_submenu
=
false
;
private
Gtk
.
Revealer
?
open_password_revealer
=
null
;
~
WifiTile
()
{
if
(
sync_timeout
!=
0
)
{
...
...
@@ -343,6 +344,7 @@ namespace XimperShellNotificationCenter.Widgets {
if
(
current_submenu
!=
null
)
{
clear_submenu_content
(
current_submenu
);
open_password_revealer
=
null
;
build_ap_list
(
current_submenu
,
aps
);
}
updating_submenu
=
false
;
...
...
@@ -461,9 +463,15 @@ namespace XimperShellNotificationCenter.Widgets {
item_box
.
append
(
pwd_revealer
);
btn
.
clicked
.
connect
(()
=>
{
pwd_revealer
.
set_reveal_child
(
!
pwd_revealer
.
get_reveal_child
());
if
(
pwd_revealer
.
get_reveal_child
())
{
pwd_revealer
.
set_reveal_child
(
false
);
open_password_revealer
=
null
;
}
else
{
if
(
open_password_revealer
!=
null
)
{
open_password_revealer
.
set_reveal_child
(
false
);
}
pwd_revealer
.
set_reveal_child
(
true
);
open_password_revealer
=
pwd_revealer
;
pwd_entry
.
grab_focus
();
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment