Logo Search packages:      
Sourcecode: nautilus-image-manipulator version File versions  Download package

def nautilus_image_manipulator::NautilusImageManipulatorDialog::NautilusImageManipulatorDialog::error_with_parameters (   self,
  error_message 
)
Displays an error message if the parameters given to resize the images are not valid.

Definition at line 298 of file NautilusImageManipulatorDialog.py.

                                                  :
        """Displays an error message if the parameters given to resize the images are not valid."""
        label = gtk.Label(error_message)
        label.set_padding(10, 5)
        dialog = gtk.Dialog(_("Invalid parameters"),
                           self,
                           gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
                           (gtk.STOCK_OK, gtk.RESPONSE_ACCEPT))
        dialog.vbox.pack_start(label)
        label.show()
        response = dialog.run()
        dialog.destroy()


Generated by  Doxygen 1.6.0   Back to index