summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-05-04 22:59:51 +0200
committerStefano Karapetsas <[email protected]>2014-05-06 13:02:33 +0200
commit7bb3665f1ab1878b251603c5449b4a19c4006158 (patch)
treee6a3b343920540d6368a41a7b8590cfa6b311a83
parent17a2c2afe852b21d00ab412dc967199401fe2562 (diff)
downloadmate-settings-daemon-7bb3665f1ab1878b251603c5449b4a19c4006158.tar.bz2
mate-settings-daemon-7bb3665f1ab1878b251603c5449b4a19c4006158.tar.xz
Add support for GTK3 Gtk/DecorationLayout setting
Closes https://github.com/mate-desktop/mate-settings-daemon/issues/63 See https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-decoration-layout
-rw-r--r--configure.ac2
-rw-r--r--plugins/xsettings/msd-xsettings-manager.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 064c34d..6857348 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,7 @@ dnl ---------------------------------------------------------------------------
DBUS_GLIB_REQUIRED_VERSION=0.74
GLIB_REQUIRED_VERSION=2.17.3
GIO_REQUIRED_VERSION=2.26.0
-MATE_DESKTOP_REQUIRED_VERSION=1.7.3
+MATE_DESKTOP_REQUIRED_VERSION=1.9.1
LIBMATEKBD_REQUIRED_VERSION=1.7.0
LIBNOTIFY_REQUIRED_VERSION=0.7.0
diff --git a/plugins/xsettings/msd-xsettings-manager.c b/plugins/xsettings/msd-xsettings-manager.c
index f8291f4..1bf7de4 100644
--- a/plugins/xsettings/msd-xsettings-manager.c
+++ b/plugins/xsettings/msd-xsettings-manager.c
@@ -201,6 +201,7 @@ static TranslationEntry translations [] = {
{ INTERFACE_SCHEMA, "gtk-im-module", "Gtk/IMModule", translate_string_string },
{ INTERFACE_SCHEMA, "icon-theme", "Net/IconThemeName", translate_string_string },
{ INTERFACE_SCHEMA, "file-chooser-backend", "Gtk/FileChooserBackend", translate_string_string },
+ { INTERFACE_SCHEMA, "gtk-decoration-layout", "Gtk/DecorationLayout", translate_string_string },
{ INTERFACE_SCHEMA, "menus-have-icons", "Gtk/MenuImages", translate_bool_int },
{ INTERFACE_SCHEMA, "buttons-have-icons", "Gtk/ButtonImages", translate_bool_int },
{ INTERFACE_SCHEMA, "menubar-accel", "Gtk/MenuBarAccel", translate_string_string },