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
5d2211c4
Verified
Commit
5d2211c4
authored
Mar 28, 2026
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: remove redundant notification-icon-size option
parent
452c8604
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
configModel.vala
src/configModel/configModel.vala
+0
-7
notification.vala
src/notification/notification.vala
+0
-13
No files found.
src/configModel/configModel.vala
View file @
5d2211c4
...
...
@@ -659,13 +659,6 @@ namespace XimperShellNotificationCenter {
get
;
set
;
default
=
"single"
;
}
/**
* Notification icon size, in pixels.
*/
[
Version
(
deprecated
=
true
,
replacement
=
"CSS root variable"
)]
public
int
notification_icon_size
{
get
;
set
;
default
=
-
1
;
}
/**
* Notification body image height, in pixels.
...
...
src/notification/notification.vala
View file @
5d2211c4
...
...
@@ -693,19 +693,6 @@ namespace XimperShellNotificationCenter {
}
int
notification_icon_size
=
ConfigModel
.
instance
.
notification_icon_size
.
clamp
(-
1
,
int
.
MAX
);
if
(
notification_icon_size
<
1
)
{
notification_icon_size
=
-
1
;
}
img
.
set_pixel_size
(
notification_icon_size
);
img
.
height_request
=
notification_icon_size
;
img
.
width_request
=
notification_icon_size
;
int
app_icon_size
=
(
notification_icon_size
/
3
).
clamp
(-
1
,
int
.
MAX
);
if
(
app_icon_size
<
1
)
{
app_icon_size
=
-
1
;
}
img_app_icon
.
set_pixel_size
(
app_icon_size
);
bool
img_path_is_theme_icon
=
false
;
bool
img_path_exists
=
File
.
new_for_uri
(
param
.
image_path
??
""
).
query_exists
();
...
...
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