Comment 2 for bug 740278

Revision history for this message
Andrea Cimitan (cimi) wrote :

I guess this installed in /usr/share/apport/general-hooks/ayatana-scrollbar.py

I'm not sure of it, how it may work in a ubuntu installation... the last three tags are granted from my local install (I'm exporting symbols). Please ask an apport dev

def add_info(report):
    if report.has_key("ProcMaps") and "liboverlay-scrollbar" in report["ProcMaps"]:
        report['Tags'] = report.get('Tags', '') + ' ayatana-scrollbar'
    if report.has_key("Stacktrace") and "os-scrollbar.c" in report["Stacktrace"]:
        report['Tags'] = report.get('Tags', '') + ' ayatana-scrollbar_scrollbar'
    if report.has_key("Stacktrace") and "os-thumb.c" in report["Stacktrace"]:
        report['Tags'] = report.get('Tags', '') + ' ayatana-scrollbar_thumb'
    if report.has_key("Stacktrace") and "os-pager.c" in report["Stacktrace"]:
        report['Tags'] = report.get('Tags', '') + ' ayatana-scrollbar_pager'