[PATCH 5/7] metacity: Fix some obvious (and harmless) cut-and-paste errors



We'd always return the "ACTION_DOUBLE_CLICK_TITLEBAR" string from
"meta_preference_to_string()", even when we were talking about middle-
and right-clicks.

Signed-off-by: Linus Torvalds <torvalds linux-foundation org>
---
 src/prefs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/prefs.c b/src/prefs.c
index 9d58d24..44685a9 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -1796,10 +1796,10 @@ meta_preference_to_string (MetaPreference pref)
       return "ACTION_DOUBLE_CLICK_TITLEBAR";
 
     case META_PREF_ACTION_MIDDLE_CLICK_TITLEBAR:
-      return "ACTION_DOUBLE_CLICK_TITLEBAR";
+      return "ACTION_MIDDLE_CLICK_TITLEBAR";
 
     case META_PREF_ACTION_RIGHT_CLICK_TITLEBAR:
-      return "ACTION_DOUBLE_CLICK_TITLEBAR";
+      return "ACTION_RIGHT_CLICK_TITLEBAR";
 
     case META_PREF_AUTO_RAISE:
       return "AUTO_RAISE";
-- 
1.5.0




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