Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
2d400ae7
Commit
2d400ae7
authored
Mar 31, 2014
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use MarkerType from python-application to define DefaultPath
parent
2abfb5ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
datatypes.py
blink/configuration/datatypes.py
+2
-3
No files found.
blink/configuration/datatypes.py
View file @
2d400ae7
...
...
@@ -10,6 +10,7 @@ import re
from
urllib
import
pathname2url
,
url2pathname
from
urlparse
import
urlparse
from
application.python.types
import
MarkerType
from
sipsimple.configuration.datatypes
import
Hostname
,
List
from
blink.resources
import
ApplicationData
...
...
@@ -59,9 +60,7 @@ class SoundFile(object):
del
_get_path
,
_set_path
class
DefaultPath
(
object
):
def
__repr__
(
self
):
return
self
.
__class__
.
__name__
class
DefaultPath
:
__metaclass__
=
MarkerType
class
CustomSoundFile
(
object
):
# check if this data type is still needed -Dan
def
__init__
(
self
,
path
=
DefaultPath
,
volume
=
100
):
...
...
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