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
7885a7ce
Commit
7885a7ce
authored
Apr 10, 2022
by
Erik Reider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed CC sorter not checking if notification time is the same
parent
a054e5af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
controlCenter.vala
src/controlCenter/controlCenter.vala
+3
-3
No files found.
src/controlCenter/controlCenter.vala
View file @
7885a7ce
...
@@ -201,9 +201,9 @@ namespace SwayNotificationCenter {
...
@@ -201,9 +201,9 @@ namespace SwayNotificationCenter {
var
b
=
(
Notification
)
w2
;
var
b
=
(
Notification
)
w2
;
if
(
a
==
null
||
b
==
null
)
return
0
;
if
(
a
==
null
||
b
==
null
)
return
0
;
// Sort the list in reverse if needed
// Sort the list in reverse if needed
i
nt
val1
=
list_reverse
?
1
:
-
1
;
i
f
(
a
.
param
.
time
==
b
.
param
.
time
)
return
0
;
int
val
2
=
list_reverse
?
-
1
:
1
;
int
val
=
list_reverse
?
1
:
-
1
;
return
a
.
param
.
time
>
b
.
param
.
time
?
val
1
:
val2
;
return
a
.
param
.
time
>
b
.
param
.
time
?
val
:
val
*
-
1
;
});
});
}
}
...
...
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