~ubuntu-branches/ubuntu/vivid/nautilus-python/vivid

« back to all changes in this revision

Viewing changes to examples/location-widget-provider.py

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2011-10-19 22:04:10 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20111019220410-gdg80ian91ck6zr8
Tags: upstream-1.1
ImportĀ upstreamĀ versionĀ 1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import gobject
2
 
from gi.repository import Nautilus, Gtk
 
1
from gi.repository import Nautilus, Gtk, GObject
3
2
 
4
 
class LocationProviderExample(gobject.GObject, Nautilus.LocationWidgetProvider):
 
3
class LocationProviderExample(GObject.GObject, Nautilus.LocationWidgetProvider):
5
4
    def __init__(self):
6
5
        pass
7
6