From c49f361a93752ffb53d99fd55fa7e8db2ac660c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Tue, 7 Oct 2014 05:37:23 +0300 Subject: add support for app-menu button in theme Add app-menu button support in themes. This is done only to support metacity theme format 3.5 version. Marco will not show this button! Based on metacity commit: https://gitlab.gnome.org/GNOME/metacity/commit/6a2cc159 --- src/core/prefs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/prefs.c') diff --git a/src/core/prefs.c b/src/core/prefs.c index b5f9f7e3..74cf0ca7 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -1267,6 +1267,8 @@ button_function_from_string (const char *str) if (strcmp (str, "menu") == 0) return META_BUTTON_FUNCTION_MENU; + else if (strcmp (str, "appmenu") == 0) + return META_BUTTON_FUNCTION_APPMENU; else if (strcmp (str, "minimize") == 0) return META_BUTTON_FUNCTION_MINIMIZE; else if (strcmp (str, "maximize") == 0) -- cgit v1.2.1