Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-welcome
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-welcome
Commits
54b81b9a
Commit
54b81b9a
authored
Feb 11, 2023
by
Bilal Elmoussaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use and_downcast where possible
parent
32c01173
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
image_page.rs
src/widgets/image_page.rs
+1
-1
paginator.rs
src/widgets/paginator.rs
+1
-1
No files found.
src/widgets/image_page.rs
View file @
54b81b9a
...
...
@@ -33,7 +33,7 @@ mod imp {
let
obj
=
self
.obj
();
let
layout_manager
=
obj
.layout_manager
()
.
map
(|
l
|
l
.downcast
::
<
gtk
::
BoxLayout
>
()
.unwrap
()
)
.
and_downcast
::
<
gtk
::
BoxLayout
>
(
)
.unwrap
();
layout_manager
.set_orientation
(
gtk
::
Orientation
::
Vertical
);
obj
.add_css_class
(
"page"
);
...
...
src/widgets/paginator.rs
View file @
54b81b9a
...
...
@@ -47,7 +47,7 @@ mod imp {
let
obj
=
self
.obj
();
let
layout_manager
=
obj
.layout_manager
()
.
map
(|
l
|
l
.downcast
::
<
gtk
::
BoxLayout
>
()
.unwrap
()
)
.
and_downcast
::
<
gtk
::
BoxLayout
>
(
)
.unwrap
();
layout_manager
.set_orientation
(
gtk
::
Orientation
::
Vertical
);
self
.carousel
...
...
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