~andrewsteinborn/gwibber/linkedin-support

« back to all changes in this revision

Viewing changes to gwibber/lib/gtk/digg.py

  • Committer: Ken VanDine
  • Date: 2010-05-03 14:56:46 UTC
  • Revision ID: ken.vandine@canonical.com-20100503145646-s2726sfejfz66slt
Don't allow people to click "Add" before we have enough information from facebook to add the account (LP: #569543)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
  """AccountWidget: A widget that provides a user interface for configuring digg accounts in Gwibber
27
27
  """
28
28
  
29
 
  def __init__(self, account=None):
 
29
  def __init__(self, account=None, dialog=None):
30
30
    """Creates the account pane for configuring digg accounts"""
31
31
    gtk.VBox.__init__( self, False, 20 )
32
32
    self.ui = gtk.Builder()
36
36
    self.vbox_settings = self.ui.get_object("vbox_settings")
37
37
    self.pack_start(self.vbox_settings, False, False)
38
38
    self.vbox_settings.show_all()
 
39
    if dialog:
 
40
      dialog.get_object("vbox_create").show()
 
41
 
39
42