Hildonize Step 2

To use Hildon's title area as its menu bar, instead of using the GTK+ menu (a GTKMenuBarobject) alter gpodder.py again. Before doing this have a look in the gpodder.glade file, you can see that the gPodderwindow has a menu bar (a GTKMenuBarobject) called mainMenuThe code below moves all its children ( menuPodcasts, menuChannels and menuHelp) to the HildonWindow'smenu and then destroys the empty mainMenumenu

       self.vMain.reparent(self.window)
        self.gPodder.destroy()
        #****** start of the added code ******
        menu = gtk.Menu()
        for child in self.mainMenu.get_children():
            child.reparent(menu)
        self.window.set_menu(menu)


        self.mainMenu.destroy()
        #****** end of the added code
        self.window.show_all()

Gives the final version