Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Zanko
Easy-union
property_page.py
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File property_page.py of Package Easy-union
# -*- coding: UTF-8 -*- import urllib import gettext import gtk import nautilus import directory_configure gettext.install("easy-union") class PropertyPage(nautilus.PropertyPageProvider): def __init__(self): pass def get_property_pages(self, files): if len(files) != 1: return selected_file = files[0] if not selected_file.is_directory(): return if selected_file.get_uri_scheme() != 'file': return filename = urllib.unquote(selected_file.get_uri()[7:]) property_label = gtk.Label(_('Union')) property_label.show() vbox = directory_configure.DirectoryConfigure(filename) return nautilus.PropertyPage("NautilusPython::configure_union_point", property_label, vbox.builder.get_object("directory_configure")),
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor