hamiller / tracker-search-provider

Gnome-shell extension: displays tracker search results in the shell overview
16 stars 13 forks source link

Support Gnome 3.12 #4

Closed HeikoAdams closed 10 years ago

HeikoAdams commented 10 years ago

Would be cool if Gnome 3.12 would be supported

ialocin commented 10 years ago

+1 Would be awesome!

Getting no error via lg lookingglass btw. After adding version to metadata.json. But the extension doesnt work anyway.

hamiller commented 10 years ago

this feature is planned. I've already started to investigate the problems: I looks like the gnome-developers changed the whole backend, so I have to refactor the complete thin g AGAIN. This sucks and will take some time.

Nevertheless: 3.12 is not forgotten!

guillaume-uH57J9 commented 10 years ago

Gnome 3.12 support would be nice.

I'm new to gnome extension development, so I looked online for documentation, here are some comments & findings.

One web page suggested to use GObject (I'm not familiar with that) to get the API documentation. Lol, so if you want to know how stuff works, you can't just get a doc, you need to learn another tool first that will provide the doc for the other tool... https://wiki.gnome.org/action/show/Projects/Gjs?action=show&redirect=Gjs

Also finally I found theses, I'm guessing the extension should be ported from SearchProvider to SearchProvider2: https://developer.gnome.org/shell/unstable/gdbus-org.gnome.Shell.SearchProvider.html https://developer.gnome.org/shell/unstable/gdbus-org.gnome.Shell.SearchProvider2.html

hamiller commented 10 years ago

completely refactored it to work in 3.12! Also changed the displaying of the results to a list - yeah!!!

Unfortunately this version does only work in 3.12, it is not backwards compatible. You find the 3.12 version in branch gnome_12_listview - i'll port it to the master branch, when ubuntu-gnome is switching to 3.12 as well

guillaume-uH57J9 commented 10 years ago

Yay \o/ thanks Branch gnome_12_listview works with Gnome 3.12.2 (Debian jessie/testing)