Fix a problem when changing the orientation
authorHuang Peng <shawn.p.huang@gmail.com>
Fri, 13 Jun 2008 12:38:30 +0000 (20:38 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Fri, 13 Jun 2008 12:38:30 +0000 (20:38 +0800)
panel/candidatepanel.py

index aab95e6581fe6bc5aff7c82e30e13e08145ac358..104fe4ee04d2d0b110692715eec23cb414bece82 100644 (file)
@@ -322,6 +322,8 @@ class CandidatePanel (gtk.VBox):
                        return
                self._orientation = orientation
                self._recreate_ui ()
+               if self._toplevel.flags () & gtk.VISIBLE:
+                       self.show_all ()
 
        def get_orientation (self):
                return self._orientation