# **[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) ``` 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up