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

def AmpacheTools::AmpacheGUI::AmpacheGUI::show_help (   self,
  widget,
  data = None 
)
The Help pane

Definition at line 1408 of file AmpacheGUI.py.

                                            :
            """The Help pane"""
01411             #################################
            # Help Window
            #################################
            if hasattr(self, 'help_window'):
                  if self.help_window != None:
                        self.help_window.present()
                        return True
                        
            self.help_window = gtk.Window(gtk.WINDOW_TOPLEVEL)
            self.help_window.set_transient_for(self.window)
            self.help_window.set_title(_("Viridian Help"))
            self.help_window.set_icon(self.images_pixbuf_viridian_simple)
            self.help_window.set_position(gtk.WIN_POS_CENTER_ON_PARENT)
            self.help_window.resize(350, 300)
            self.help_window.set_resizable(False)
            self.help_window.connect("delete_event", self.destroy_help)
            self.help_window.connect("destroy", self.destroy_help)
            
            vbox = gtk.VBox(False, 4)
            vbox.set_border_width(10)
            
            label = gtk.Label()
            label.set_markup(_('<span size="14000"><b>Viridian Help</b></span>'))
            vbox.pack_start(label, False, False, 1)
            
            hbox = gtk.HBox()
            label = gtk.Label(_("Home Page:"))
            link  = guifunctions.hyperlink('http://viridian.daveeddy.com')
            hbox.pack_start(label, False, False, 1)
            hbox.pack_start(link,  False, False, 2)
            vbox.pack_start(hbox,  False, False, 0)
            
            hbox = gtk.HBox()
            label = gtk.Label(_("Launchpad:"))
            link  = guifunctions.hyperlink('https://launchpad.net/viridianplayer')
            hbox.pack_start(label, False, False, 1)
            hbox.pack_start(link,  False, False, 2)
            vbox.pack_start(hbox,  False, False, 0)
            
            hbox = gtk.HBox()
            label = gtk.Label(_("FAQ:"))
            link  = guifunctions.hyperlink('https://answers.launchpad.net/viridianplayer/+faqs')
            hbox.pack_start(label, False, False, 1)
            hbox.pack_start(link,  False, False, 2)
            vbox.pack_start(hbox,  False, False, 0)
            
            hbox = gtk.HBox()
            label = gtk.Label(_("Bugs:"))
            link  = guifunctions.hyperlink('https://bugs.launchpad.net/viridianplayer')
            hbox.pack_start(label, False, False, 1)
            hbox.pack_start(link,  False, False, 2)
            vbox.pack_start(hbox,  False, False, 0)
            
            hbox = gtk.HBox()
            label = gtk.Label(_("Questions:"))
            link  = guifunctions.hyperlink('https://answers.launchpad.net/viridianplayer')
            hbox.pack_start(label, False, False, 1)
            hbox.pack_start(link,  False, False, 2)
            vbox.pack_start(hbox,  False, False, 0)
            
            self.help_window.add(vbox)
            self.help_window.show_all()
            

Generated by  Doxygen 1.6.0   Back to index