[gnome-settings-daemon] xsettings: Translate titlebar action settings



commit 6e527544abf44748a1e92d110ffa7060ace5897b
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Sep 25 14:59:27 2014 -0400

    xsettings: Translate titlebar action settings
    
    GTK+ recently gained XSettings that match these settings.
    This will make the behavior of CSD titlebars match that
    of traditional titlebars, as far as possible.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737383

 plugins/xsettings/gsd-xsettings-manager.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 7e20794..e308269 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -421,7 +421,10 @@ static TranslationEntry translations [] = {
 
         { "org.gnome.desktop.privacy", "recent-files-max-age",      "Gtk/RecentFilesMaxAge", 
translate_int_int },
         { "org.gnome.desktop.privacy", "remember-recent-files",    "Gtk/RecentFilesEnabled", 
translate_bool_int },
-        { "org.gnome.desktop.wm.preferences", "button-layout",     "Gtk/DecorationLayout", 
translate_button_layout }
+        { "org.gnome.desktop.wm.preferences", "button-layout",     "Gtk/DecorationLayout", 
translate_button_layout },
+        { "org.gnome.desktop.wm.preferences", "action-double-click-titlebar",  "Gtk/TitlebarDoubleClick",    
 translate_string_string },
+        { "org.gnome.desktop.wm.preferences", "action-middle-click-titlebar",  "Gtk/TitlebarMiddleClick",    
 translate_string_string },
+        { "org.gnome.desktop.wm.preferences", "action-right-click-titlebar",  "Gtk/TitlebarRightClick",     
translate_string_string }
 };
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]