Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed GNOME 3.8 compatibility #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion favorites.plugin
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Plugin]
Loader=python
Loader=python3
Module=favorites
IAge=3
Name=Favorites
Expand Down
2 changes: 1 addition & 1 deletion favorites/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from plugin import FavoritesPlugin
from .plugin import FavoritesPlugin
4 changes: 2 additions & 2 deletions favorites/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,11 @@ def on_remove_activate(self, action, data=None):
self._store.remove(tree_iter)

def on_row_inserted(self, model, path, tree_iter, data=None):
print "on_row_inserted"
print ("on_row_inserted")
self._store.set_value(tree_iter, 1, "test")

def on_rows_reordered(self, model, path, tree_iter, new_order, data=None):
print "on_rows_reordered"
print ("on_rows_reordered")
self._store.set_value(tree_iter, 1, "test")

def on_new_folder_activate(self, action, data=None):
Expand Down