[gnome-control-center] [window] Don't allow Ctrl+Click as window movement modifier
- From: Jens Granseuer <jensg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-control-center] [window] Don't allow Ctrl+Click as window movement modifier
- Date: Sat, 5 Dec 2009 12:16:27 +0000 (UTC)
commit fd82bdb9a118e190f158925b7c5bcd1a43af9cd6
Author: Jens Granseuer <jensgr gmx net>
Date: Sat Dec 5 13:16:06 2009 +0100
[window] Don't allow Ctrl+Click as window movement modifier
Choosing Ctrl for window movement messes up selecting mutiple
entries in list and grid widgets (e.g. files in nautilus) so
don't offer it as an option. Closes bug #409405.
capplets/windows/gnome-window-properties.c | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/capplets/windows/gnome-window-properties.c b/capplets/windows/gnome-window-properties.c
index 280da05..b133265 100644
--- a/capplets/windows/gnome-window-properties.c
+++ b/capplets/windows/gnome-window-properties.c
@@ -588,8 +588,7 @@ reload_mouse_modifiers (void)
g_free (mouse_modifiers);
mouse_modifiers = NULL;
-
- n_mouse_modifiers = 2; /* control, alt */
+ n_mouse_modifiers = 1; /* alt */
if (have_super)
++n_mouse_modifiers;
if (have_hyper)
@@ -597,19 +596,11 @@ reload_mouse_modifiers (void)
if (have_meta)
++n_mouse_modifiers;
- g_free (mouse_modifiers);
-
mouse_modifiers = g_new0 (MouseClickModifier, n_mouse_modifiers);
i = 0;
mouse_modifiers[i].number = i;
- /* translators: this is the Control key */
- mouse_modifiers[i].name = g_strdup (_("C_ontrol"));
- mouse_modifiers[i].value = "Control";
- ++i;
-
- mouse_modifiers[i].number = i;
mouse_modifiers[i].name = g_strdup (_("_Alt"));
mouse_modifiers[i].value = "Alt";
++i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]