Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Briar GTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
Briar GTK
Commits
9833f543
Commit
9833f543
authored
4 years ago
by
Nico
Browse files
Options
Downloads
Patches
Plain Diff
Make StartupView from StartupContainer
parent
f0b662e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!89
Refactor MainWindowContainer and others into several controllers/views
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
briar-gtk/briar_gtk/views/startup.py
+3
-2
3 additions, 2 deletions
briar-gtk/briar_gtk/views/startup.py
briar-gtk/briar_gtk/window.py
+2
-2
2 additions, 2 deletions
briar-gtk/briar_gtk/window.py
with
5 additions
and
4 deletions
briar-gtk/briar_gtk/
container
s/startup.py
→
briar-gtk/briar_gtk/
view
s/startup.py
+
3
−
2
View file @
9833f543
...
...
@@ -2,13 +2,14 @@
# SPDX-License-Identifier: AGPL-3.0-only
# License-Filename: LICENSE.md
from
briar_gtk.container
import
Container
from
gi.repository
import
Gtk
from
briar_gtk.views.login
import
LoginView
from
briar_gtk.views.registration
import
RegistrationView
from
briar_gtk.define
import
APP
class
Startup
Container
(
Container
):
class
Startup
View
(
Gtk
.
Overlay
):
def
__init__
(
self
,
window
):
super
().
__init__
()
...
...
This diff is collapsed.
Click to expand it.
briar-gtk/briar_gtk/window.py
+
2
−
2
View file @
9833f543
...
...
@@ -11,7 +11,7 @@ from briar_gtk.actions.window import WindowActions
from
briar_gtk.views.add_contact
import
AddContactView
from
briar_gtk.controllers.main_window
import
MainWindowController
from
briar_gtk.views.main_window
import
MainWindowView
from
briar_gtk.
container
s.startup
import
Startup
Container
from
briar_gtk.
view
s.startup
import
Startup
View
from
briar_gtk.define
import
APP
,
APPLICATION_ID
,
APPLICATION_NAME
from
briar_gtk.define
import
NOTIFICATION_CONTACT_ADDED
from
briar_gtk.define
import
NOTIFICATION_PRIVATE_MESSAGE
,
RESOURCES_DIR
...
...
@@ -99,7 +99,7 @@ class Window(Gtk.ApplicationWindow):
self
.
add
(
self
.
current_container
)
def
_setup_startup_container
(
self
):
self
.
_setup_container
(
Startup
Container
(
self
))
self
.
_setup_container
(
Startup
View
(
self
))
def
_setup_main_container
(
self
):
builder
=
self
.
_setup_builder
()
...
...
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