69f1be7dec004493c2f6b1bafffc556de8b09d8a,gui/mozregui/report_delegate.py,AskVerdict,__init__,#AskVerdict#,12

Before Change


        // build verdict icons
        if not AskVerdict.icons_cache:
            for i in range(self.ui.comboVerdict.count()):
                text = str(self.ui.comboVerdict.itemText(i))
                color = VERDICT_TO_ROW_COLORS.get(text[0])
                pixmap = QPixmap(16, 16)
                pixmap.fill(Qt.transparent)
                if color:

After Change


        self.ui.goodVerdict.setIcon(AskVerdict.icons_cache["good"])

        self.ui.badVerdict.clicked.connect(self.on_good_bad_button_clicked)
        self.ui.badVerdict.setIcon(AskVerdict.icons_cache["bad"])

    def on_dropdown_item_activated(self):
        self.delegate.got_verdict.emit(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: mozilla/mozregression
Commit Name: 69f1be7dec004493c2f6b1bafffc556de8b09d8a
Time: 2016-02-04
Author: wasif_hyder@hotmail.com
File Name: gui/mozregui/report_delegate.py
Class Name: AskVerdict
Method Name: __init__


Project Name: gyoisamurai/GyoiThon
Commit Name: 5765f471197edbf64a57dd2628dcd3051c7ea46c
Time: 2018-06-04
Author: gyoiler3@gmail.com
File Name: gyoithon.py
Class Name:
Method Name:


Project Name: BVLC/caffe
Commit Name: 96c2fe1de80c9752b992c4578a3ce46028d21fc5
Time: 2015-07-23
Author: jonlong@cs.berkeley.edu
File Name: python/caffe/net_spec.py
Class Name: Function
Method Name: _get_name


Project Name: mozilla/mozregression
Commit Name: 69f1be7dec004493c2f6b1bafffc556de8b09d8a
Time: 2016-02-04
Author: wasif_hyder@hotmail.com
File Name: gui/mozregui/report_delegate.py
Class Name: AskVerdict
Method Name: __init__


Project Name: gyoisamurai/GyoiThon
Commit Name: 4f53bca9b044b20bc4aa8b7719bbbb2984623b3a
Time: 2018-06-04
Author: gyoiler3@gmail.com
File Name: classifier4gyoithon/GyoiClassifier.py
Class Name:
Method Name: