Package: straw Version: 0.25.1-4 Severity: minor Tags: patch Hello, (my system is Sid on i386)
My output when I launch 'straw' and quit once it is displayed: [EMAIL PROTECTED]:~$ straw LookupManager.py:10:?: No ADNS library found, using synchronous name lookups. /usr/lib/straw/straw/MainWindow.py:586: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead self._treeview.set_rules_hint(gtk.TRUE) /usr/lib/straw/straw/MainWindow.py:855: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead column.pack_start(status_renderer, gtk.FALSE) /usr/lib/straw/straw/MainWindow.py:860: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead column.pack_start(title_renderer, gtk.TRUE) /usr/lib/straw/straw/MainWindow.py:865: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead column.pack_end(unread_renderer, gtk.FALSE) /usr/lib/straw/straw/MainWindow.py:836: DeprecationWarning: use gtk.UIManager self._item_factory = gtk.ItemFactory(gtk.Menu, '<feed_list_popup>') /usr/lib/straw/straw/MainWindow.py:640: DeprecationWarning: use gtk.UIManager self.item_factory = gtk.ItemFactory(gtk.Menu, "<category_menu>") /usr/lib/straw/straw/MainWindow.py:324: DeprecationWarning: use gtk.UIManager self._item_factory = gtk.ItemFactory(gtk.Menu, '<item_list_popup>') /usr/lib/straw/straw/MainWindow.py:347: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead column.set_resizable(gtk.TRUE) /usr/lib/straw/straw/MainWindow.py:348: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead column.set_reorderable(gtk.TRUE) /usr/lib/straw/straw/MainWindow.py:356: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead column.set_resizable(gtk.TRUE) /usr/lib/straw/straw/MainWindow.py:357: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead column.set_reorderable(gtk.TRUE) /usr/lib/straw/straw/MainloopManager.py:39: GtkDeprecationWarning: gtk.mainiteration is deprecated, use gtk.main_iteration instead gtk.mainiteration(False) /usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:70: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead return self.func(*args, **kwargs) /usr/lib/straw/straw/PreferencesDialog.py:56: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead self.COLUMN_EDITABLE, gtk.FALSE) LookupManager.py:195:get_instance: using blocking lookups /usr/lib/straw/straw/ItemStore.py:489: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead gtk.timeout_add(5000, self.run) /usr/lib/straw/straw/PollManager.py:54: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead gtk.timeout_add(straw.NetworkConstants.POLL_INTERVAL, self.maybe_poll) /usr/lib/straw/straw/Main.py:443: GtkDeprecationWarning: gtk.mainquit is deprecated, use gtk.main_quit instead gtk.mainquit() I suggest you apply this in the directory /usr/lib/straw/straw: perl -i -pe 's/gtk.TRUE/True/' *.py perl -i -pe 's/gtk.FALSE/False/' *.py perl -i -pe 's/gtk.mainiteration/gtk.main_iteration/' *.py perl -i -pe 's/gtk.mainquit/gtk.main_quit/' *.py Then the output becomes: [EMAIL PROTECTED]:~$ straw LookupManager.py:10:?: No ADNS library found, using synchronous name lookups. /usr/lib/straw/straw/MainWindow.py:836: DeprecationWarning: use gtk.UIManager self._item_factory = gtk.ItemFactory(gtk.Menu, '<feed_list_popup>') /usr/lib/straw/straw/MainWindow.py:640: DeprecationWarning: use gtk.UIManager self.item_factory = gtk.ItemFactory(gtk.Menu, "<category_menu>") /usr/lib/straw/straw/MainWindow.py:324: DeprecationWarning: use gtk.UIManager self._item_factory = gtk.ItemFactory(gtk.Menu, '<item_list_popup>') LookupManager.py:195:get_instance: using blocking lookups /usr/lib/straw/straw/ItemStore.py:489: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead gtk.timeout_add(5000, self.run) /usr/lib/straw/straw/PollManager.py:54: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead gtk.timeout_add(straw.NetworkConstants.POLL_INTERVAL, self.maybe_poll) It still remains some problems, but the output is much cleaner. Hope it helps. -- Cyril Brulebois
signature.asc
Description: Digital signature

