Trivial GTK3 porting fixes
Fix some trivial issues missed earlier: various missing imports, some minor API changes to adapt to, do_size_request simple porting, etc. Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
This commit is contained in:
committed by
Simon Schampijer
parent
827ab7218a
commit
15946211cf
@@ -231,7 +231,7 @@ class RawObject(object):
|
||||
'uid': file_path,
|
||||
'title': os.path.basename(file_path),
|
||||
'timestamp': stat.st_mtime,
|
||||
'mime_type': Gio.content_type_guess(filename=file_path),
|
||||
'mime_type': Gio.content_type_guess(file_path, None)[0],
|
||||
'activity': '',
|
||||
'activity_id': '',
|
||||
'icon-color': client.get_string('/desktop/sugar/user/color'),
|
||||
|
||||
Reference in New Issue
Block a user