Package: glipper / 2.3-3.1

Metadata

Package Version Patches format
glipper 2.3-3.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
ctrl_c_item is None.patch | (download)

glipper/History.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 problems when ctrl_c_item is none
  The latest source was crashing with:
  Traceback (most recent call last):
    File "/home/garrison/Code/github/glipper.bzr/glipper/AppIndicator.py", line 144, in on_history_changed
      self.update_menu(history_list)
    File "/home/garrison/Code/github/glipper.bzr/glipper/AppIndicator.py", line 79, in update_menu
      menu_item = gtk.CheckMenuItem(format_item(item), False)
    File "/home/garrison/Code/github/glipper.bzr/glipper/AppIndicator.py", line 185, in format_item
      i = item.replace("\n", " ")
  AttributeError: 'NoneType' object has no attribute 'replace'
  .
  The attached patch seems to prevent crashing, though I'm still trying to pin
  down an issue which occurs after clearing the history, or launching with no
  history, wherein the first clip change always pushes ctrl_c_item to the
  history, regardless of which clipboard was used.
Bug-Ubuntu: https://launchpad.net/bugs/904367