[nautilus] Reverse back/forward mouse button sense.



commit a8ca44f54aea29ccb2eb0163f8ffe670fd6761b1
Author: A. Walton <awalton gnome org>
Date:   Mon Aug 3 14:25:03 2009 -0400

    Reverse back/forward mouse button sense.
    
    Be consistent with Firefox, etc.

 .../apps_nautilus_preferences.schemas.in           |    4 ++--
 libnautilus-private/nautilus-global-preferences.c  |    4 ++--
 src/nautilus-navigation-window.c                   |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libnautilus-private/apps_nautilus_preferences.schemas.in b/libnautilus-private/apps_nautilus_preferences.schemas.in
index 7e5d8d4..50aa502 100644
--- a/libnautilus-private/apps_nautilus_preferences.schemas.in
+++ b/libnautilus-private/apps_nautilus_preferences.schemas.in
@@ -352,7 +352,7 @@
       <applyto>/apps/nautilus/preferences/mouse_forward_button</applyto>
       <owner>nautilus</owner>
       <type>int</type>
-      <default>8</default>
+      <default>9</default>
       <locale name="C">
          <short>Mouse button to activate the "Forward" command in browser window</short>
          <long>
@@ -368,7 +368,7 @@
       <applyto>/apps/nautilus/preferences/mouse_back_button</applyto>
       <owner>nautilus</owner>
       <type>int</type>
-      <default>9</default>
+      <default>8</default>
       <locale name="C">
          <short>Mouse button to activate the "Back" command in browser window</short>
          <long>
diff --git a/libnautilus-private/nautilus-global-preferences.c b/libnautilus-private/nautilus-global-preferences.c
index 61f207a..341909f 100644
--- a/libnautilus-private/nautilus-global-preferences.c
+++ b/libnautilus-private/nautilus-global-preferences.c
@@ -558,11 +558,11 @@ static const PreferenceDefault preference_defaults[] = {
 	},
 	{ NAUTILUS_PREFERENCES_MOUSE_FORWARD_BUTTON,
 	  PREFERENCE_INTEGER,
-	  GINT_TO_POINTER (8)
+	  GINT_TO_POINTER (9)
 	},
 	{ NAUTILUS_PREFERENCES_MOUSE_BACK_BUTTON,
 	  PREFERENCE_INTEGER,
-	  GINT_TO_POINTER (9)
+	  GINT_TO_POINTER (8)
 	},
 	{ NAUTILUS_PREFERENCES_LOCKDOWN_COMMAND_LINE,
 	  PREFERENCE_BOOLEAN,
diff --git a/src/nautilus-navigation-window.c b/src/nautilus-navigation-window.c
index f698dfc..f281f5e 100644
--- a/src/nautilus-navigation-window.c
+++ b/src/nautilus-navigation-window.c
@@ -94,8 +94,8 @@ static int side_pane_width_auto_value = 0;
 
 /* Forward and back buttons on the mouse */
 static gboolean mouse_extra_buttons = TRUE;
-static int mouse_forward_button = 8;
-static int mouse_back_button = 9;
+static int mouse_forward_button = 9;
+static int mouse_back_button = 8;
 
 static void add_sidebar_panels                       (NautilusNavigationWindow *window);
 static void load_view_as_menu                        (NautilusWindow           *window);



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