TWL doesn't appear if GTK theme has no Metacity

Bug #544756 reported by Izo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Widget Laboratory
Fix Released
Medium
Isaiah Heyer
0.1
New
Undecided
Unassigned

Bug Description

If the GTK theme you are currently using has no corresponding Metacity theme, then TWL doesn't appear. On any of these non-appearing instances, I've checked the System Monitor and found that TWL is actually there... but doesn't want to appear on my desktop. As soon as I change to a GTK theme that has a Metacity theme as well, TWL loads fine.

Revision history for this message
Isaiah Heyer (freshapplepy) wrote :

Hmmm, I can't reproduce this. Try running it from a terminal and post the output.

Revision history for this message
Izo (shakhtar9) wrote :

Hi, thanks for the quick response. The terminal output to "twl" is:

ERROR:dbus.connection:Unable to set arguments (None,) according to signature u'v': <type 'exceptions.TypeError'>: Don't know how which D-Bus type to use to encode type "NoneType"
Traceback (most recent call last):
  File "/usr/bin/twl", line 25, in <module>
    twl.main()
  File "/usr/lib/python2.6/dist-packages/twl/main.py", line 526, in main
    win = TWL()
  File "/usr/lib/python2.6/dist-packages/twl/main.py", line 124, in __init__
    self.Preview.set_metacity_theme(self.m_theme_name)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 610, in call_blocking
    message.append(signature=signature, *args)
TypeError: Don't know how which D-Bus type to use to encode type "NoneType"

Revision history for this message
Isaiah Heyer (freshapplepy) wrote :

Thanks, I fixed the problem. A fixed package should be in the ppa in a few hours. https://edge.launchpad.net/~freshapplepy/+archive/twl

Changed in twl:
importance: Undecided → Medium
assignee: nobody → Isaiah Heyer (freshapplepy)
status: New → Fix Committed
Revision history for this message
Izo (shakhtar9) wrote :

Yup, fix received, updated and it now works regardless if the theme has a Metacity or not. Quality work.

/izo\

Changed in twl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.