From 7ecfab0e3646beb8c5c03d86eb47b691f4712c82 Mon Sep 17 00:00:00 2001 From: iovar Date: Sat, 10 Feb 2007 22:01:56 +0000 Subject: 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 --- gtk-recordmydesktop/src/rmdTrayIcon.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'gtk-recordmydesktop/src/rmdTrayIcon.py') 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 -- cgit v1.2.3