def draw(self):
     dlg = UtilityDialogs()
     dlg.show_error_dialog(self.err_title, self.err_msg)
Example #2
0
 def screenshot_event(self, menuitem):
     filename = "/tmp/mcm_vnc_screenshot_%s.png" % strftime("%Y%m%d.%H%M%S")
     dlg = UtilityDialogs()
     dlg.show_info_dialog(screenshot_info, filename)
     pix = self.vnc.get_pixbuf()
     pix.save(filename, "png", {"tEXt::Generator App": "monocute Connections Manager"})