Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
S
Starfeed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
StellaLyon
Starfeed
Commits
f68316c2
Commit
f68316c2
authored
4 years ago
by
Guillaume Ayoub
Browse files
Options
Downloads
Patches
Plain Diff
Add feed list
parent
b53cf966
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
starfeed.py
+21
-1
21 additions, 1 deletion
starfeed.py
with
21 additions
and
1 deletion
starfeed.py
+
21
−
1
View file @
f68316c2
from
gi.repository
import
Gtk
class
Window
(
Gtk
.
Window
):
def
__init__
(
self
,
application
):
super
().
__init__
(
application
=
application
)
self
.
set_title
(
'
Starfeed
'
)
hbox
=
Gtk
.
HBox
()
feed_list
=
Gtk
.
StackSidebar
()
self
.
stack
=
Gtk
.
Stack
()
feed_list
.
set_stack
(
self
.
stack
)
hbox
.
pack_start
(
feed_list
,
False
,
False
,
0
)
hbox
.
pack_start
(
self
.
stack
,
True
,
True
,
0
)
self
.
add
(
hbox
)
self
.
stack
.
add_titled
(
Gtk
.
Label
(
'
LinuxFR
'
),
'
linuxfr
'
,
'
LinuxFR
'
)
self
.
stack
.
add_titled
(
Gtk
.
Label
(
'
CourtBouillon
'
),
'
courtbouillon
'
,
'
CourtBouillon
'
)
class
Starfeed
(
Gtk
.
Application
):
def
do_activate
(
self
):
self
.
window
=
Gtk
.
Window
(
application
=
self
)
self
.
window
=
Window
(
self
)
self
.
window
.
connect
(
'
destroy
'
,
lambda
window
:
self
.
quit
())
self
.
window
.
show_all
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment