diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-02-10 22:01:56 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-02-10 22:01:56 +0000 |
commit | 7ecfab0e3646beb8c5c03d86eb47b691f4712c82 (patch) | |
tree | 03811289fe60a9d1d99e5d3c3e194008e358129c /gtk-recordmydesktop/src/rmdTrayIcon.py | |
parent | 9c05582a007788295d872172c5109ae9bccfcf68 (diff) |
added jack configuration.
fixed preview thumb to not update when minimized.
added option to include or not window decorations.
added option to enable/disable tooltips
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@274 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop/src/rmdTrayIcon.py')
-rw-r--r-- | gtk-recordmydesktop/src/rmdTrayIcon.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gtk-recordmydesktop/src/rmdTrayIcon.py b/gtk-recordmydesktop/src/rmdTrayIcon.py index f7255be..44753ba 100644 --- a/gtk-recordmydesktop/src/rmdTrayIcon.py +++ b/gtk-recordmydesktop/src/rmdTrayIcon.py @@ -82,6 +82,10 @@ class trayIcon(object): 11*256:_('Improper window specification.'), 12*256:_('Cannot attach shared memory to proccess.'), 13*256:_('Cannot open file for writting.'), + 14*256:_('Cannot load the Jack library (dlopen/dlsym error on libjack.so).'), + 15*256:_('Cannot create new client.'), + 16*256:_('Cannot activate client.'), + 17*256:_('Port registration/connection failure.'), 11:_('Segmentation Fault') } @@ -194,8 +198,9 @@ class trayIcon(object): self.execargs.append('%d'%self.parent.values[7]) self.execargs.append('-freq') self.execargs.append('%d'%self.parent.values[8]) - self.execargs.append('-device') - self.execargs.append('%s'%self.parent.values[9]) + if self.parent.values[9]!='DEFAULT': + self.execargs.append('-device') + self.execargs.append('%s'%self.parent.values[9]) self.execargs.append('-v_quality') self.execargs.append('%d'%self.parent.values[10]) self.execargs.append('-s_quality') @@ -217,6 +222,10 @@ class trayIcon(object): self.execargs.append('--zero-compression') if self.parent.values[20] == True: self.execargs.append('--overwrite') + if self.parent.values[22] == True: + self.execargs.append('-use-jack') + for i in self.parent.values[23]: + self.execargs.append(i) #print execargs |