~flimm/epidermis/icon-theme-bugfix

« back to all changes in this revision

Viewing changes to epidermis/pigments/gnomesplash.py

  • Committer: David D Lowe
  • Date: 2011-01-04 22:50:19 UTC
  • Revision ID: daviddlowe.flimm@gmail.com-20110104225019-uo31kb54cbxjt5vt
Tidy up code with better comments.
Deleted unused functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
            return pb
115
115
    
116
116
    def does_activation_require_root(self):
117
 
        """Returns whether the activation requires root rights.
118
 
        If it does, the pigment object will need a pexpect bash shell as root
119
 
        to be passed to some of its methods"""
120
117
        return False
121
118
    
122
119
    def get_display_data(self, index=0):
123
 
        """Returns the object of index to be added to a gtk.ListStore, this
124
 
        could be a string, a gtk.gdk.Pixbuf or a custom widget, it should
125
 
        be rendered using type.create_cell_renderer"""
126
120
        return
127
 
 
128
 
def main():
129
 
    wp = GnomeSplash()
130
 
    print wp.information_xml().toxml()
131
 
 
132
 
if __name__ == "__main__":
133
 
    main()