Changeset 3507


Ignore:
Timestamp:
Feb 2, 2017, 1:53:56 PM (2 years ago)
Author:
hectorgh
Message:

using caja extensions instead of nautilus

Location:
lliurex-homework-harvester/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-homework-harvester/trunk/fuentes/debian/control

    r2093 r3507  
    1010Package: lliurex-homework-harvester
    1111Architecture: any
    12 Depends: ${shlibs:Depends}, ${misc:Depends}, python, n4d(>=0.47.2), python-glade2
     12Depends: ${shlibs:Depends}, ${misc:Depends}, python, n4d(>=0.47.2), python-glade2, python-caja
    1313Description:  Application to send files to teachers
    1414 Application to send files to teachers with a right click.
  • lliurex-homework-harvester/trunk/fuentes/install-files/usr/share/nautilus-python/extensions/lliurex-homework-harvester-extension.py

    r1863 r3507  
    11import urllib
    2 from gi.repository import Nautilus,GObject
     2from gi.repository import Caja,GObject
    33import pwd
    44import getpass
     
    6060
    6161
    62 class LliurexHomeworkExtension(GObject.GObject,Nautilus.MenuProvider):
     62class LliurexHomeworkExtension(GObject.GObject,Caja.MenuProvider):
    6363       
    6464        def __init__(self):
     
    141141
    142142                       
    143                         item = Nautilus.MenuItem(name='Nautilus::set_harverst_folder',
     143                        item = Caja.MenuItem(name='Caja::set_harverst_folder',
    144144                                                 label=_('Set this folder to receive homeworks')+"...",
    145145                                                 tip=_('Set this folder to receive homeworks'),
     
    159159                       
    160160                       
    161                         item = Nautilus.MenuItem(name='Nautilus::send_homework',
     161                        item = Caja.MenuItem(name='Caja::send_homework',
    162162                                                 label=_('Send file to teacher')+"...",
    163163                                                 tip=_('Send file to teacher'),
Note: See TracChangeset for help on using the changeset viewer.