~gnome15-team/gnome15/trunk

« back to all changes in this revision

Viewing changes to gnome15/src/main/python/gnome15/g15accounts.py

  • Committer: tanktarta
  • Date: 2012-11-24 10:27:36 UTC
  • Revision ID: tanktarta-20121124102736-0drhasy3jdn862wx
0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
368
368
        # Hide non-relevant stuff
369
369
        self.widget_tree.get_object("TypeContainer").set_visible(len(self.get_account_types()) > 1)
370
370
        
 
371
        # Additional options        
 
372
        place_holder = self.widget_tree.get_object("OptionsContainer")
 
373
        opts = self.create_general_options()
 
374
        if opts:       
 
375
            opts.reparent(place_holder)
 
376
        
371
377
        # Show dialog
372
378
        dialog = self.widget_tree.get_object("AccountDialog")
373
379
        dialog.set_transient_for(parent)
380
386
    """
381
387
    Implement
382
388
    """
 
389
    def create_general_options(self):
 
390
        """
 
391
        Create general options for the dialog. These are added to the area
 
392
        beneath the refresh interval spinner
 
393
        """
 
394
        pass
 
395
    
383
396
    def get_account_type_name(self, account_type):
384
397
        """
385
398
        Get the localized account type name