# File icon-artist/icontheme.rb, line 199
    def initialize(dir, opts = {})
      @dir = dir

      if opts[:create]
        create = opts[:create]
      else
        create = false
      end
      
      if opts[:icons]
        icons = opts[:icons]
      else
        icons = opts[]
      end
      
      if opts[:name]
        @name = opts[:name]
      else
        @name = 'Foo Icon Theme'
      end

      if opts[:comment]
        @comment = opts[:comment]
      else
        @comment = 'Sample icon theme.'
      end

      if opts[:inherits]
        @inherits = opts[:inherits]
      else
        @inherits = 'gnome'
      end
      
      if opts[:translatable]
        @index_name = 'index.theme.in'
      else
        @index_name = 'index.theme'
      end
      
      index_initialize(icons,create)
    end