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
81efb6ef
Verified
Commit
81efb6ef
authored
Mar 31, 2026
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: demote non-critical warnings to debug
parent
1f88310e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
baseWidget.vala
src/controlCenter/widgets/baseWidget.vala
+1
-1
ximperShellNotificationCenterDaemon.vala
...tionCenterDaemon/ximperShellNotificationCenterDaemon.vala
+4
-6
No files found.
src/controlCenter/widgets/baseWidget.vala
View file @
81efb6ef
...
@@ -30,7 +30,7 @@ namespace XimperShellNotificationCenter.Widgets {
...
@@ -30,7 +30,7 @@ namespace XimperShellNotificationCenter.Widgets {
Json
.
Object
?
props
=
null
;
Json
.
Object
?
props
=
null
;
bool
result
=
config
.
lookup_extended
(
key
,
out
orig_key
,
out
props
);
bool
result
=
config
.
lookup_extended
(
key
,
out
orig_key
,
out
props
);
if
(!
result
||
orig_key
==
null
||
props
==
null
)
{
if
(!
result
||
orig_key
==
null
||
props
==
null
)
{
warning
(
"%s: Config not found! Using default config...\n
"
,
key
);
debug
(
"%s: Config not found, using defaults
"
,
key
);
return
null
;
return
null
;
}
}
return
props
;
return
props
;
...
...
src/ximperShellNotificationCenterDaemon/ximperShellNotificationCenterDaemon.vala
View file @
81efb6ef
...
@@ -211,9 +211,8 @@ namespace XimperShellNotificationCenter {
...
@@ -211,9 +211,8 @@ namespace XimperShellNotificationCenter {
public
bool
set_cc_monitor
(
string
name
)
throws
DBusError
,
IOError
{
public
bool
set_cc_monitor
(
string
name
)
throws
DBusError
,
IOError
{
if
(!
app
.
use_layer_shell
)
{
if
(!
app
.
use_layer_shell
)
{
critical
(
debug
(
"Setting Control Center monitor isn't supported "
"Setting Control Center monitor isn't supported "
+
"when layer shell is disabled"
);
+
"when layer shell is disabled!"
);
return
false
;
return
false
;
}
}
unowned
Gdk
.
Monitor
?
monitor
=
Functions
.
try_get_monitor
(
name
);
unowned
Gdk
.
Monitor
?
monitor
=
Functions
.
try_get_monitor
(
name
);
...
@@ -227,9 +226,8 @@ namespace XimperShellNotificationCenter {
...
@@ -227,9 +226,8 @@ namespace XimperShellNotificationCenter {
public
bool
set_noti_window_monitor
(
string
name
)
throws
DBusError
,
IOError
{
public
bool
set_noti_window_monitor
(
string
name
)
throws
DBusError
,
IOError
{
if
(!
app
.
use_layer_shell
)
{
if
(!
app
.
use_layer_shell
)
{
critical
(
debug
(
"Setting Notification Window monitor isn't supported "
"Setting Notification Window monitor isn't supported "
+
"when layer shell is disabled"
);
+
"when layer shell is disabled!"
);
return
false
;
return
false
;
}
}
unowned
Gdk
.
Monitor
?
monitor
=
Functions
.
try_get_monitor
(
name
);
unowned
Gdk
.
Monitor
?
monitor
=
Functions
.
try_get_monitor
(
name
);
...
...
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