← Back to team overview

gwibber-bugs team mailing list archive

[Bug 577846] Re: Cannot add new account when missing some icon

 

** Changed in: gwibber
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/577846

Title:
  Cannot add new account when missing some icon

Status in Gwibber:
  Invalid

Bug description:
  When some icon in /usr/share/gwibber/ui/icons/breakdance/16x16 is
  missing, adding new account is impossible. Problem is in accounts.py:

  Traceback (most recent call last):
    File "/usr/lib/python2.6/dist-packages/gwibber/accounts.py", line 213, in on_button_add_activate
      self.add_account()
    File "/usr/lib/python2.6/dist-packages/gwibber/accounts.py", line 230, in add_account
      icon = gtk.gdk.pixbuf_new_from_file(icf)
  TypeError: pixbuf_new_from_file() argument 1 must be string, not None

  If some icon does not exist, resources.icon() returns None and
  pixbuf_new_from_file() raise TypeError. Then, combobox with protocols
  in GUI is empty.

  I am using the newest Gwibber from trunk, revision number 743 and
  Ubuntu 10.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gwibber/+bug/577846/+subscriptions