Logo Search packages:      
Sourcecode: viridian version File versions  Download package

def AmpacheTools::AmpacheGUI::AmpacheGUI::gnome_open (   self,
  uri 
)

Random Helpers.

Open with gnome-open.

Definition at line 2906 of file AmpacheGUI.py.

                               :
            """Open with gnome-open."""
            if uri == None or uri == "":
                  self.create_dialog_alert("warn", _("The file/URL specified is invalid."), True)
            else:
                  os.popen("gnome-open '%s' &" % (uri))
      

Generated by  Doxygen 1.6.0   Back to index