diff options
Diffstat (limited to 'gtk-recordmydesktop')
-rw-r--r-- | gtk-recordmydesktop/src/rmdSimple.py | 6 | ||||
-rw-r--r-- | gtk-recordmydesktop/src/rmdTrayIcon.py | 1 |
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]] |