How to insert a new Protocol

Asked by Andrea Olivato

Hello,

I'm trying to add to gwibber a new protocol to be used with my shoutem installaton [http://www.shoutem.com/]. Shoutem uses twitter apis so I managed to modify the twitter.py file inside the microblogging directory. I also added my protocol to the __init__.py file but it fails during configuration [account -> create -> shoutem] with this error

/usr/lib/python2.5/site-packages/gwibber/configui.py:44: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  glade = gtk.glade.XML(resources.get_ui_asset("preferences.glade"))
Traceback (most recent call last):
  File "//usr/lib/python2.5/site-packages/gwibber/configui.py", line 69, in on_account_create
    self.show_properties_dialog(a, create=True)
  File "//usr/lib/python2.5/site-packages/gwibber/configui.py", line 46, in show_properties_dialog
    dialog.show_all()
AttributeError: 'NoneType' object has no attribute 'show_all'

I can not understand where to specify show_all properties for my new protocol...would you mind helping me? Is there any easier way to add a protocol?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Gwibber Edit question
Assignee:
No assignee Edit question
Solved by:
Andrea Olivato
Solved:
Last query:
Last reply:
Revision history for this message
Andrea Olivato (andreaolivato) said :
#1

Sorry I solved this, I forgot to update glade interface and it missed the dialog obviously!

Revision history for this message
James Martin (tr4shb4t) said :
#2

I was having a similar problem. This helped pointed me in the right direction. Thanks!