[Xfce4-commits] <thunarx-python:master> Remove the obsolete documentation.py:

Adam Plumb noreply at xfce.org
Fri Mar 25 19:08:01 CET 2011


Updating branch refs/heads/master
         to 98f4ef233ed0659dbc1bae632dfa1d82c2d3d49f (commit)
       from 75b892dddc32c3c5e5f10cac216390a588218f1f (commit)

commit 98f4ef233ed0659dbc1bae632dfa1d82c2d3d49f
Author: Adam Plumb <adamplumb at gmail.com>
Date:   Fri Mar 25 11:16:33 2011 -0400

    Remove the obsolete documentation.py:

 docs/Makefile.am      |    1 -
 docs/documentation.py |  253 -------------------------------------------------
 2 files changed, 0 insertions(+), 254 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index b73b082..23a7a2f 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,7 +1,6 @@
 SUBDIRS = examples
 
 docsdir = $(docdir)
-docs_DATA = documentation.py
 
 BUILDDIR = $(top_builddir)/docs
 
diff --git a/docs/documentation.py b/docs/documentation.py
deleted file mode 100644
index 758530d..0000000
--- a/docs/documentation.py
+++ /dev/null
@@ -1,253 +0,0 @@
-class MenuProvider:
-    def get_file_actions(self, window, files):
-        """
-        @param window the window it was sent from
-        @type  window gtk.Window
-        @param files  selected files
-        @type  files  list of nautilus.FileInfo
-        @returns      menu items to show
-        @rtype        a sequence of nautilus.MenuItems
-        """
-
-    def get_folder_actions(self, window, file):
-        """
-        @param window the window it was sent from
-        @type  window gtk.Window
-        @param file   file that was clicked on
-        @type  file   nautilus.FileInfo
-        @returns      menu items to show
-        @rtype        a sequence of nautilus.MenuItems
-        """
-
-    def get_dnd_actions(self, window, folder, files):
-        """
-        @param window the window it was sent from
-        @type  window gtk.Window
-        @param folder folder the user dropped files into
-        @type  folder nautilus.FileInfo
-        @param files  selected files
-        @type  files  list of nautilus.FileInfo
-        @returns      menu items to show
-        @rtype        a sequence of nautilus.MenuItems
-        """
-
-class PropertyPageProvider:
-    def get_property_pages(self, files):
-        """
-        @param files  selected files
-        @type  files  list of nautilus.FileInfo
-        @returns      property pages to show
-        @rtype        a sequence of nautilus.PropertyPage
-
-        Creates a property page for files
-        """
-
-class RenamerProvider:
-    def get_renamers(self):
-        """
-        @rtype  list of thunarx.Renamer
-        """
-        pass
-
-class PreferencesProvider:
-    def get_preferences_actions(self, window):
-        """
-        @param  window the window it was sent from
-        @type   window gtk.Window
-        @rtype  list of gtk.Action
-        """
-        pass
-        
-class FileInfo:
-    def get_name(self):
-        """
-        @rtype   string
-        """
-        pass
-
-    def get_uri(self):
-        """
-        @rtype   string
-        """
-        pass
-
-    def get_parent_uri(self):
-        """
-        @rtype   string
-        """
-        pass
-
-    def get_uri_scheme(self):
-        """
-        @rtype   string
-        """
-        pass
-
-    def get_mime_type(self):
-        """
-        @rtype   string
-        """
-        pass
-    
-    def has_mime_type(self, mime_type):
-        """
-        @type   mime_type   string
-        @rtype  boolean
-        """
-        pass
-
-    def is_directory(self):
-        """
-        @rtype   boolean
-        """
-        pass
-
-    def get_file_info(self):
-        """
-        @rtype  gio.FileInfo
-        """
-        pass
-     
-    def get_filesystem_info(self):
-        """
-        @rtype  gio.FileInfo
-        """
-        pass
-    
-    def get_location(self):
-        """
-        @rtype  gio.File
-        """
-        pass
-
-    def changed(self):
-        pass
-    
-    def renamed(self):
-        pass
-    
-class PropertyPage:
-    """
-    Properties:
-      label (string)
-      label-widget (widget)
-    """
-
-    def __init__(self, label):
-        pass
-
-    def get_label(self):
-        """
-        @rtype string
-        """
-        pass
-    
-    def set_label(self, label):
-        """
-        @type   label   string
-        """
-        pass
-    
-    def get_label_widget(self):
-        """
-        @type gtk.Widget
-        """
-        pass
-    
-    def set_label_widget(self, widget):
-        """
-        @type   widget  gtk.Widget
-        """
-        pass
-        
-class Renamer:
-    """
-    In order to extend the bulk renamer, you must sub-class thunarx.Renamer as
-    in the example plugin.  In order to have settings saved, they must be
-    registered as gobject properties as in the example plugin.
-    
-    Properties:
-        help-url (string)
-        name (string)
-    Signals:
-        changed
-    """
-    
-    def __init__(self):
-        pass
-    
-    def get_help_url(self):
-        """
-        @rtype  string
-        """
-    
-    def set_help_url(self, help_url):
-        """
-        @type   help_url    string
-        @param  help_url    specify the url used by the help button
-        """
-    
-    def get_name(self):
-        """
-        @rtype  string
-        """
-        
-    def set_name(self, name):
-        """
-        @type   name    string
-        @param  name    specify the name that appears in the renamer dropdown
-        """
-    
-    def do_process(self, file, text, index):
-        """
-        Called automatically by Thunar to retrieve a preview of how the file
-        will be renamed.
-        
-        @type   file    thunarx.FileInfo
-        @param  file    The file to be renamed
-        
-        @type   text    string
-        @param  text    The file name
-        
-        @type   index   int
-        @param  index   The index of the file in the sequence
-        
-        @rtype      string
-        @returns    A new file name    
-        """
-    
-    def do_load(self, settings):
-        """
-        Called automatically by Thunar on initialization to provide the Renamer
-        object with a dictionary of saved settings.
-        
-        @type   settings    dict
-        @param  settings    A dictionary of saved settings/properties
-        """
-    
-    def do_save(self, settings):
-        """
-        Called automatically by Thunar on "Rename" to retrieve a dictionary
-        of settings/properties to save.
-        
-        @type   settings    dict
-        @param  settings    A dictionary of settings/properties to save
-        
-        @rtype      dict
-        @returns    A dictionary of settings/properties to save
-        """
-    
-    def get_actions(self, window, files):
-        """
-        Called automatically by Thunar to retrieve a list of actions to show in
-        the preview window's context menu.
-        
-        @type   window  gtk.Window
-        @param  window  The associated window
-        
-        @type   files   list
-        @param  files   list of thunarx.FileInfo
-        
-        @rtype      list
-        @return     list of gtk.Action
-        """



More information about the Xfce4-commits mailing list