d64c115b3e1f6c634193b67496685493f8dd9dcb,qiskit_aqua_ui/run/_mainview.py,MainView,_recent_files_menu,#MainView#,125

Before Change


        return file_menu

    def _recent_files_menu(self):
        preferences = UIPreferences()
        recent_menu = tk.Menu(self._guiprovider.controller._filemenu, tearoff=False)
        for file in preferences.get_recent_files():
            recent_menu.add_command(label=file, command=lambda f=file: self._open_recent_file(f))

After Change



    def _recent_files_menu(self):
        recent_menu = tk.Menu(self._guiprovider.controller._filemenu, tearoff=False)
        preferences = self._guiprovider.create_uipreferences()
        for file in preferences.get_recent_files():
            recent_menu.add_command(label=file, command=lambda f=file: self._open_recent_file(f))

        recent_menu.add_separator()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: d64c115b3e1f6c634193b67496685493f8dd9dcb
Time: 2019-01-23
Author: manoel@us.ibm.com
File Name: qiskit_aqua_ui/run/_mainview.py
Class Name: MainView
Method Name: _recent_files_menu


Project Name: Qiskit/qiskit-aqua
Commit Name: d64c115b3e1f6c634193b67496685493f8dd9dcb
Time: 2019-01-23
Author: manoel@us.ibm.com
File Name: qiskit_aqua_ui/run/_mainview.py
Class Name: MainView
Method Name: _save_file_as


Project Name: Qiskit/qiskit-aqua
Commit Name: d64c115b3e1f6c634193b67496685493f8dd9dcb
Time: 2019-01-23
Author: manoel@us.ibm.com
File Name: qiskit_aqua_ui/run/_mainview.py
Class Name: MainView
Method Name: quit


Project Name: Qiskit/qiskit-aqua
Commit Name: d64c115b3e1f6c634193b67496685493f8dd9dcb
Time: 2019-01-23
Author: manoel@us.ibm.com
File Name: qiskit_aqua_ui/run/_mainview.py
Class Name: MainView
Method Name: _clear_recent


Project Name: Qiskit/qiskit-aqua
Commit Name: d64c115b3e1f6c634193b67496685493f8dd9dcb
Time: 2019-01-23
Author: manoel@us.ibm.com
File Name: qiskit_aqua_ui/run/_mainview.py
Class Name: MainView
Method Name: _open_file