/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to setup.py

Merged with mainline.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        # Disable for now - performance issues
40
40
        #self.data_files.extend(self._nautilus_plugin())
41
41
        install_data.run(self)
42
 
    
 
42
 
 
43
        try:
 
44
            subprocess.check_call('gtk-update-icon-cache -f -t /usr/share/icons/hicolor')
 
45
        except:
 
46
            pass
 
47
 
43
48
    def _compile_po_files(self):
44
49
        data_files = []
45
50
        
98
103
        "bzrlib.plugins.gtk.viz": "viz", 
99
104
        "bzrlib.plugins.gtk.annotate": "annotate",
100
105
        "bzrlib.plugins.gtk.olive": "olive",
101
 
        "bzrlib.plugins.gtk.tests": "tests"
 
106
        "bzrlib.plugins.gtk.tests": "tests",
 
107
        "bzrlib.plugins.gtk.branchview": "branchview",
102
108
        },
103
109
    packages = [
104
 
        "olive",
105
110
        "bzrlib.plugins.gtk",
106
111
        "bzrlib.plugins.gtk.viz",
107
112
        "bzrlib.plugins.gtk.annotate",
108
113
        "bzrlib.plugins.gtk.olive",
109
 
        "bzrlib.plugins.gtk.tests"
 
114
        "bzrlib.plugins.gtk.tests",
 
115
        "bzrlib.plugins.gtk.branchview",
110
116
        ],
111
117
    data_files=[('share/olive', ['olive.glade',
112
118
                                 'cmenu.ui',
126
132
                ('share/applications', ['olive-gtk.desktop',
127
133
                                        'bazaar-properties.desktop',
128
134
                                        'bzr-notify.desktop']),
129
 
                ('share/pixmaps', ['icons/olive-gtk.png'])
 
135
                ('share/pixmaps', ['icons/olive-gtk.png']),
 
136
                ('share/icons/hicolor/scalable/emblems', 
 
137
                    ['icons/emblem-bzr-added.svg', 
 
138
                        'icons/emblem-bzr-conflict.svg', 
 
139
                        'icons/emblem-bzr-controlled.svg', 
 
140
                        'icons/emblem-bzr-modified.svg',
 
141
                        'icons/emblem-bzr-removed.svg'])
130
142
               ],
131
143
    cmdclass={'install_data': InstallData,
132
144
              'check': Check}