Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
xfce4-panel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Simon Steinbeiß
xfce4-panel
Commits
1e61dee4
Commit
1e61dee4
authored
Jul 12, 2020
by
Sean Davis
🕶
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix alignment at most sizes
parent
1f9e763f
Pipeline
#1253
passed with stages
in 4 minutes and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
plugins/systray/sn-config.c
plugins/systray/sn-config.c
+1
-1
plugins/systray/systray-box.c
plugins/systray/systray-box.c
+2
-2
No files found.
plugins/systray/sn-config.c
View file @
1e61dee4
...
...
@@ -637,7 +637,7 @@ sn_config_get_dimensions (SnConfig *config,
padding
+=
1
;
if
(
square_icons
)
padding
=
0
;
padding
=
1
;
if
(
ret_icon_size
!=
NULL
)
*
ret_icon_size
=
icon_size
;
...
...
plugins/systray/systray-box.c
View file @
1e61dee4
...
...
@@ -591,7 +591,7 @@ systray_box_size_allocate (GtkWidget *widget,
if
(
box
->
horizontal
)
{
x
=
x_start
;
y
+=
row_size
+
spacing
;
y
+=
row_size
;
if
(
!
box
->
square_icons
&&
y
>
y_end
)
{
...
...
@@ -609,7 +609,7 @@ systray_box_size_allocate (GtkWidget *widget,
else
{
y
=
y_start
;
x
+=
row_size
+
spacing
;
x
+=
row_size
;
if
(
!
box
->
square_icons
&&
x
>
x_end
)
{
...
...
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