fix EOL spaces
Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
This commit is contained in:
parent
c7a80a1e56
commit
131c28bb72
@ -153,7 +153,7 @@ class DSObject(object):
|
||||
return self._object_id
|
||||
|
||||
def set_object_id(self, object_id):
|
||||
if self._update_signal_match is not None:
|
||||
if self._update_signal_match is not None:
|
||||
self._update_signal_match.remove()
|
||||
if object_id is not None:
|
||||
self._update_signal_match = _get_data_store().connect_to_signal(
|
||||
|
@ -46,7 +46,7 @@ def _property_change_trapped(window, prop, prop_type, format, mode, data):
|
||||
'a property on a window' % error)
|
||||
raise RuntimeError('Received X Error (%i) while setting '
|
||||
'a property on a window' % error)
|
||||
|
||||
|
||||
|
||||
def get_activity_id(wnck_window):
|
||||
window = gtk.gdk.window_foreign_new(wnck_window.get_xid())
|
||||
|
@ -45,7 +45,7 @@ def create_icon_widgets(box, sensitive=True):
|
||||
icon.set_sensitive(sensitive)
|
||||
icon.show()
|
||||
|
||||
icon = Icon(icon_name='computer-xo',
|
||||
icon = Icon(icon_name='computer-xo',
|
||||
icon_size=gtk.ICON_SIZE_LARGE_TOOLBAR,
|
||||
xo_color=XoColor())
|
||||
box.pack_start(icon)
|
||||
|
@ -33,7 +33,7 @@ class TestMime(unittest.TestCase):
|
||||
['text/plain', 'text/_moz_htmlcontext', 'text/unicode',
|
||||
'text/html', 'text/_moz_htmlinfo'])
|
||||
self.assertEqual(mime_type, 'text/html')
|
||||
|
||||
|
||||
# Mozilla's text in c&v
|
||||
mime_type = mime.choose_most_significant(
|
||||
['text/_moz_htmlcontext', 'STRING', 'text/html', 'text/_moz_htmlinfo',
|
||||
|
Loading…
Reference in New Issue
Block a user