smileys settings
This commit is contained in:
parent
a0b23b0faa
commit
94eb292b16
9 changed files with 73 additions and 41 deletions
12
src/util.py
12
src/util.py
|
|
@ -1,6 +1,5 @@
|
|||
import os
|
||||
import time
|
||||
from platform import system
|
||||
|
||||
|
||||
program_version = '0.1.3'
|
||||
|
|
@ -27,17 +26,6 @@ def convert_time(t):
|
|||
return '%02d:%02d' % (h, m)
|
||||
|
||||
|
||||
# obsolete
|
||||
def get_style(style):
|
||||
if style != 'default':
|
||||
return style
|
||||
else:
|
||||
if system() == 'Windows':
|
||||
return 'windows'
|
||||
else:
|
||||
return 'gtk'
|
||||
|
||||
|
||||
class Singleton(object):
|
||||
|
||||
def __new__(cls, *args, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue