summaryrefslogtreecommitdiff
path: root/gtk-recordmydesktop/src
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-11-16 19:10:23 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-11-16 19:10:23 +0000
commit38e5f710d89a05afd414bab2a84d47a7573317a4 (patch)
tree212d16612856a0712783878ea2f987fb310e0b04 /gtk-recordmydesktop/src
parent923e58809a75cab44150e9d8ed5dd5ab8dbca56e (diff)
advanced window closes and changes are applied ,when recording starts
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@174 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop/src')
-rw-r--r--gtk-recordmydesktop/src/rmdSimple.py6
-rw-r--r--gtk-recordmydesktop/src/rmdTrayIcon.py1
2 files changed, 6 insertions, 1 deletions
diff --git a/gtk-recordmydesktop/src/rmdSimple.py b/gtk-recordmydesktop/src/rmdSimple.py
index 290ad7f..50f60d6 100644
--- a/gtk-recordmydesktop/src/rmdSimple.py
+++ b/gtk-recordmydesktop/src/rmdSimple.py
@@ -188,7 +188,11 @@ class simpleWidget(object):
if self.options != None:
self.options.window.destroy()
self.optionsOpen[0]=0
-
+ def close_advanced(self):
+ if self.options != None:
+ if self.optionsOpen[0] ==1:
+ self.options.window.destroy()
+ self.optionsOpen[0]=0
def __fileSelQuit__(self,Event=None):
self.fileSel.destroy()
diff --git a/gtk-recordmydesktop/src/rmdTrayIcon.py b/gtk-recordmydesktop/src/rmdTrayIcon.py
index 049f149..52faaa7 100644
--- a/gtk-recordmydesktop/src/rmdTrayIcon.py
+++ b/gtk-recordmydesktop/src/rmdTrayIcon.py
@@ -152,6 +152,7 @@ class trayIcon(object):
self.__execRMD__()
def __execRMD__(self):
+ self.parent.close_advanced()
self.parent.update()
execargs=["recordmydesktop","-o",'%s'%self.parent.values[4],
"-fps","%d"%self.parent.values[0]]
© All Rights Reserved