Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
settingsd
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
1
Merge Requests
1
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
etersoft
settingsd
Commits
46e6171e
Commit
46e6171e
authored
Oct 06, 2010
by
Devaev Maxim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactoring
parent
77388c96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
service.py
settingsd/service.py
+6
-4
No files found.
settingsd/service.py
View file @
46e6171e
...
@@ -77,6 +77,8 @@ class CustomObject(dbus.service.Object) :
...
@@ -77,6 +77,8 @@ class CustomObject(dbus.service.Object) :
def
service
(
self
)
:
def
service
(
self
)
:
return
self
.
_service
return
self
.
_service
###
def
addToConnection
(
self
,
connection
=
None
,
path
=
None
)
:
def
addToConnection
(
self
,
connection
=
None
,
path
=
None
)
:
self
.
add_to_connection
(
connection
,
path
)
self
.
add_to_connection
(
connection
,
path
)
...
@@ -86,11 +88,11 @@ class CustomObject(dbus.service.Object) :
...
@@ -86,11 +88,11 @@ class CustomObject(dbus.service.Object) :
class
FunctionObject
(
CustomObject
)
:
class
FunctionObject
(
CustomObject
)
:
def
__init__
(
self
,
object_path
,
shared_path
,
service
)
:
def
__init__
(
self
,
object_path
,
shared_path
,
service
)
:
CustomObject
.
__init__
(
self
,
dbus_tools
.
joinPath
(
config
.
value
(
config
.
APPLICATION_SECTION
,
CustomObject
.
__init__
(
self
,
dbus_tools
.
joinPath
(
config
.
value
(
config
.
APPLICATION_SECTION
,
"service_path"
),
"
service_path"
),
"
functions"
,
object_path
),
shared_path
,
service
)
"functions"
,
object_path
),
shared_path
,
service
)
class
ActionObject
(
CustomObject
)
:
class
ActionObject
(
CustomObject
)
:
def
__init__
(
self
,
object_path
,
shared_path
,
service
)
:
def
__init__
(
self
,
object_path
,
shared_path
,
service
)
:
CustomObject
.
__init__
(
self
,
dbus_tools
.
joinPath
(
config
.
value
(
config
.
APPLICATION_SECTION
,
CustomObject
.
__init__
(
self
,
dbus_tools
.
joinPath
(
config
.
value
(
config
.
APPLICATION_SECTION
,
"service_path"
),
"
service_path"
),
"
actions"
,
object_path
),
shared_path
,
service
)
"actions"
,
object_path
),
shared_path
,
service
)
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