Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix guiutil.py self.entry.set_text(text) #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prlof
Copy link

@prlof prlof commented Feb 16, 2016

set_text expects a string while text sometimes can be of dbus.Int32 (not sure if bug from dbus or wicd-gtk but this fixes it).

File "/usr/share/wicd/gtk/guiutil.py", line 165, in set_text
self.entry.set_text(text)
TypeError: Gtk.Entry.set_text() argument 1 must be string, not dbus.Int32

set_text expects a string while text sometimes can be of dbus.Int32 (not sure if bug from dbus or wicd-gtk but this fixes it).

  File "/usr/share/wicd/gtk/guiutil.py", line 165, in set_text
    self.entry.set_text(text)
TypeError: Gtk.Entry.set_text() argument 1 must be string, not dbus.Int32
@prlof prlof changed the title Update guiutil.py fix guiutil.py self.entry.set_text(text) Feb 16, 2016
@prlof prlof changed the title fix guiutil.py self.entry.set_text(text) Fix guiutil.py self.entry.set_text(text) Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant