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

def lekhonee-gnome::LekhoneeGTK::configure_cb (   self,
  widget,
  response_id 
)

To callback to handle server details

Definition at line 378 of file lekhonee-gnome.py.

00378                                                :
        """
        To callback to handle server details
        """
        self.configureDialog.hide()
        if response_id == gtk.RESPONSE_OK:
            data = {'server':self.wTree.get_widget('serverTxt').get_text(),
                    'username':self.wTree.get_widget('usernameTxt').get_text()}
            f = file(self.configurepath, 'w')
            cPickle.dump(data, f)
            f.close()
            password = self.wTree.get_widget('passwordTxt').get_text()
            self.server = Wordpress(data['server'], data['username'], password)
            self.getCategories()
            self.getEntries()

    def getEntries(self):


Generated by  Doxygen 1.6.0   Back to index