diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-12-01 11:52:29 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-12-01 11:52:29 +0000 |
commit | 30093520a255545a7f6d871cce2c8283c8fdcf12 (patch) | |
tree | 00cff6af63e08c311a57da947708e9f9791d7e77 /qt-recordmydesktop/src/rmdSimple.py | |
parent | 9f3f574763e842bcfb2a8411d88d18baea4b3d3a (diff) |
rmdFrame.py: do not move when hidden
rmdSimple.py: hide frame when main window is hidden
rmdTrayIcon.py: frame option in exec
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@447 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'qt-recordmydesktop/src/rmdSimple.py')
-rw-r--r-- | qt-recordmydesktop/src/rmdSimple.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-recordmydesktop/src/rmdSimple.py b/qt-recordmydesktop/src/rmdSimple.py index e4b3585..c2bd03a 100644 --- a/qt-recordmydesktop/src/rmdSimple.py +++ b/qt-recordmydesktop/src/rmdSimple.py @@ -163,9 +163,13 @@ class simpleWidget(object): print "Warning!!!Couldn't save preferences" sys.exit() def hide(self,Event=None): + if self.image.realFrame != None and self.values[25]==0: + self.image.realFrame.window.hide() self.window.hide() self.hidden[0]=1 def show(self,Event=None): + if self.image.realFrame != None and self.values[25]==0: + self.image.realFrame.window.show() self.window.show() self.hidden[0]=0 def __swap_visibility__(self,event=None): |