---
# System prepended metadata

title: '**[Resolved]** meld tool - *Preferences* menu missing'
tags: [Ubuntu, Ubuntu 16.04]

---

# **[Resolved]** meld tool - *Preferences* menu missing
###### tags: `Ubuntu` `Ubuntu 16.04`

**On Ubuntu 16.04**

```
# vim /usr/lib/python2.7/dist-packages/meld/meldwindow.py
```
---
Modify `if not gtk_settings.props.gtk_shell_shows_app_menu:` as `if True:` in meldwindow.py.

```
        self.ui = Gtk.UIManager()
        self.ui.insert_action_group(self.actiongroup, 0)
        self.ui.add_ui_from_file(ui_file)

        # Manually handle shells that don't show an application menu
        gtk_settings = Gtk.Settings.get_default()
        # if not gtk_settings.props.gtk_shell_shows_app_menu:
        if True:
            from meldapp import app

            def make_app_action(name):
                def app_action(*args):
                    app.lookup_action(name).activate(None)

```

![](https://i.imgur.com/nuEEPkv.png)
