details-task-manager-view: Rename files and class name

This commit is contained in:
Hari Rana
2025-01-16 20:32:59 -03:00
committed by Jonatas Esteves
parent 55ef374bef
commit 10fc8bb4dc
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
<file preprocess="xml-stripblanks">details-installers.ui</file>
<file preprocess="xml-stripblanks">details-preferences-page.ui</file>
<file preprocess="xml-stripblanks">details-versioning.ui</file>
<file preprocess="xml-stripblanks">details-taskmanager.ui</file>
<file preprocess="xml-stripblanks">details-task-manager-view.ui</file>
<file preprocess="xml-stripblanks">preferences.ui</file>
<file preprocess="xml-stripblanks">importer.ui</file>
<file preprocess="xml-stripblanks">library.ui</file>
@@ -1,6 +1,6 @@
using Gtk 4.0;
template $TaskManagerView: ScrolledWindow {
template $DetailsTaskManagerView: ScrolledWindow {
TreeView treeview_processes {
enable-grid-lines: horizontal;
+1 -1
View File
@@ -8,7 +8,7 @@ blueprints = custom_target('blueprints',
'bottle-details-page.blp',
'details-dependencies.blp',
'details-installers.blp',
'details-taskmanager.blp',
'details-task-manager-view.blp',
'details-versioning.blp',
'bottle-details-view.blp',
'dialog-bottle-picker.blp',
@@ -31,7 +31,7 @@ from bottles.frontend.views.bottle_installers import InstallersView
from bottles.frontend.views.bottle_dependencies import DependenciesView
from bottles.frontend.views.details_preferences_page import DetailsPreferencesPage
from bottles.frontend.views.bottle_versioning import VersioningView
from bottles.frontend.views.bottle_taskmanager import TaskManagerView
from bottles.frontend.views.details_task_manager_view import DetailsTaskManagerView
@Gtk.Template(resource_path="/com/usebottles/bottles/bottle-details-view.ui")
@@ -80,7 +80,7 @@ class BottleDetailsView(Adw.Bin):
self.view_dependencies = DependenciesView(self, config)
self.view_preferences = DetailsPreferencesPage(self, config)
self.view_versioning = VersioningView(self, config)
self.view_taskmanager = TaskManagerView(self, config)
self.view_taskmanager = DetailsTaskManagerView(self, config)
self.btn_back.connect("clicked", self.go_back)
self.btn_back_sidebar.connect("clicked", self.go_back_sidebar)
@@ -1,6 +1,6 @@
# taskmanager.py
# details_task_manager_view.py
#
# Copyright 2022 brombinmirko <send@mirko.pm>
# Copyright 2025 The Bottles Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -26,9 +26,9 @@ from bottles.backend.wine.winedbg import WineDbg
from bottles.frontend.utils.gtk import GtkUtils
@Gtk.Template(resource_path="/com/usebottles/bottles/details-taskmanager.ui")
class TaskManagerView(Gtk.ScrolledWindow):
__gtype_name__ = "TaskManagerView"
@Gtk.Template(resource_path="/com/usebottles/bottles/details-task-manager-view.ui")
class DetailsTaskManagerView(Gtk.ScrolledWindow):
__gtype_name__ = "DetailsTaskManagerView"
# region Widgets
treeview_processes = Gtk.Template.Child()
+1 -1
View File
@@ -16,7 +16,7 @@ bottles_sources = [
'bottle_dependencies.py',
'details_preferences_page.py',
'bottle_versioning.py',
'bottle_taskmanager.py'
'details_task_manager_view.py'
]
install_data(bottles_sources, install_dir: viewsdir)
+1 -1
View File
@@ -12,7 +12,7 @@ bottles/frontend/ui/bottle-details-page.blp
bottles/frontend/ui/details-dependencies.blp
bottles/frontend/ui/details-installers.blp
bottles/frontend/ui/details-preferences-page.blp
bottles/frontend/ui/details-taskmanager.blp
bottles/frontend/ui/details-task-manager-view.blp
bottles/frontend/ui/details-versioning.blp
bottles/frontend/ui/bottle-details-view.blp
bottles/frontend/ui/dialog-bottle-picker.blp