Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-system-updater
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-system-updater
Commits
b40d87ab
Commit
b40d87ab
authored
Sep 21, 2025
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move func
parent
b5ae85c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
main.go
main.go
+4
-4
No files found.
main.go
View file @
b40d87ab
...
@@ -68,10 +68,6 @@ type SystemUpdaterWindow struct {
...
@@ -68,10 +68,6 @@ type SystemUpdaterWindow struct {
listbox
*
gtk
.
ListBox
listbox
*
gtk
.
ListBox
}
}
func
(
sw
*
SystemUpdaterWindow
)
FillWithChanges
(
su
*
SystemUpdater
,
us
apm
.
UpdaterSource
)
{
sw
.
listbox
.
Append
(
NewUpdateRow
(
"System packages"
,
us
.
GetPackageChanges
()))
}
var
mainWin
*
SystemUpdaterWindow
var
mainWin
*
SystemUpdaterWindow
func
GetSystemUpdaterWindow
(
app
*
gtk
.
Application
)
*
SystemUpdaterWindow
{
func
GetSystemUpdaterWindow
(
app
*
gtk
.
Application
)
*
SystemUpdaterWindow
{
...
@@ -94,6 +90,10 @@ func GetSystemUpdaterWindow(app *gtk.Application) *SystemUpdaterWindow {
...
@@ -94,6 +90,10 @@ func GetSystemUpdaterWindow(app *gtk.Application) *SystemUpdaterWindow {
return
mainWin
return
mainWin
}
}
func
(
sw
*
SystemUpdaterWindow
)
FillWithChanges
(
su
*
SystemUpdater
,
us
apm
.
UpdaterSource
)
{
sw
.
listbox
.
Append
(
NewUpdateRow
(
"System packages"
,
us
.
GetPackageChanges
()))
}
func
(
sw
*
SystemUpdaterWindow
)
Present
()
{
func
(
sw
*
SystemUpdaterWindow
)
Present
()
{
sw
.
win
.
Present
()
sw
.
win
.
Present
()
}
}
...
...
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