summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-05-04 22:59:51 +0200
committerStefano Karapetsas <[email protected]>2014-05-04 22:59:51 +0200
commit1ed94d5aed85afbfad570cc76bc9ca26cdaba39f (patch)
tree6fea0a0b5b844b758c4090579ac48cdc8605f325
parentee9ff083d28dc82c9578fb03334e0a7367712b1b (diff)
downloadmate-settings-daemon-1ed94d5aed85afbfad570cc76bc9ca26cdaba39f.tar.bz2
mate-settings-daemon-1ed94d5aed85afbfad570cc76bc9ca26cdaba39f.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 f9db51b..b087a2f 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 },