diff options
author | Jonathon Fernyhough | 2018-02-12 11:08:08 +0000 |
---|---|---|
committer | Jonathon Fernyhough | 2018-02-12 11:08:08 +0000 |
commit | e7a5d6b419f6e74e8e3f83377c171ba075812fb5 (patch) | |
tree | 99e573e54006eacb974fa28c11907fbaa3d79185 /41.patch | |
parent | 925bd33170bebf9dbf7d0de0e46003714d8b96d1 (diff) | |
download | aur-e7a5d6b419f6e74e8e3f83377c171ba075812fb5.tar.gz |
Update for 18.04.9. Add patch to fix starting on MATE 1.20.
Diffstat (limited to '41.patch')
-rw-r--r-- | 41.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/41.patch b/41.patch new file mode 100644 index 000000000000..5298a0ba3db2 --- /dev/null +++ b/41.patch @@ -0,0 +1,26 @@ +From 723d70174a431bc0a427733161bfb7f26db3e660 Mon Sep 17 00:00:00 2001 +From: Ikey Doherty <ikey@solus-project.com> +Date: Thu, 8 Feb 2018 15:34:27 +0000 +Subject: [PATCH] Do not use uninitialised properties on startup + +This alleviates a crash on startup when the appmenu module isn't actually +installed. + +Signed-off-by: Ikey Doherty <ikey@solus-project.com> +--- + mate-tweak | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mate-tweak b/mate-tweak +index c9e6216..4f9745c 100755 +--- a/mate-tweak ++++ b/mate-tweak +@@ -1513,7 +1513,7 @@ class MateTweak: + self.builder.get_object("checkbox_localmenu").set_tooltip_text(_("Display application menus in the application window. When local menus are disabled, add the Global Menu applet to a panel to see them.")) + + # Locally integrated menus +- if self.schema_has_key('org.mate.interface', 'gtk-shell-shows-menubar'): ++ if self.schema_has_key('org.mate.interface', 'gtk-shell-shows-menubar') and self.appmenu_available: + self.builder.get_object("checkbox_localmenu").connect("toggled", self.toggle_localmenu) + self.builder.get_object("checkbox_localmenu").set_active(self.show_localmenu) + else: |