Exemplo n.º 1
0
 def unpaperTool(self):
     current_reviewer = self.__getCurrentReviewer()
     unpaper_dialog = UnpaperDialog(
         current_reviewer, self.configuration_manager.getUnpaper(),
         self.configuration_manager.getTemporaryDir())
     if unpaper_dialog.run() == gtk.RESPONSE_ACCEPT:
         unpapered_image = unpaper_dialog.getUnpaperedImage()
         current_reviewer.updateBackgroundImage(unpapered_image)
         unpaper_dialog.destroy()
     else:
         unpaper_dialog.destroy()
Exemplo n.º 2
0
 def unpaperTool(self):
     current_reviewer = self.__getCurrentReviewer()
     unpaper_dialog = UnpaperDialog(
         self.main_window, current_reviewer,
         self.configuration_manager.unpaper,
         self.configuration_manager.TEMPORARY_FOLDER)
     if unpaper_dialog.run() == Gtk.ResponseType.ACCEPT:
         unpapered_image = unpaper_dialog.getUnpaperedImage()
         current_reviewer.updateBackgroundImage(unpapered_image)
         unpaper_dialog.destroy()
     else:
         unpaper_dialog.destroy()
Exemplo n.º 3
0
 def unpaperTool(self):
     current_reviewer = self.__getCurrentReviewer()
     unpaper_dialog = UnpaperDialog(current_reviewer, self.configuration_manager.getUnpaper(), self.configuration_manager.getTemporaryDir())
     if unpaper_dialog.run() == gtk.RESPONSE_ACCEPT:
         unpapered_image = unpaper_dialog.getUnpaperedImage()
         current_reviewer.updateBackgroundImage(unpapered_image)
         unpaper_dialog.destroy()
     else:
         unpaper_dialog.destroy()
Exemplo n.º 4
0
 def unpaperTool(self):
     current_reviewer = self.__getCurrentReviewer()
     unpaper_dialog = UnpaperDialog(self.main_window,
                                    current_reviewer,
                                 self.configuration_manager.unpaper,
                                 self.configuration_manager.TEMPORARY_FOLDER)
     if unpaper_dialog.run() == Gtk.ResponseType.ACCEPT:
         unpapered_image = unpaper_dialog.getUnpaperedImage()
         current_reviewer.updateBackgroundImage(unpapered_image)
         unpaper_dialog.destroy()
     else:
         unpaper_dialog.destroy()