From d84229c0d77238244ee20f697d8a81d9f37680d3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 1 Jun 2007 01:57:09 +0000 Subject: [PATCH] rearrange. change default drag threshold --- src/mouse.c | 2 +- src/obconf.glade | 95 ++++++++++++++++++++++++++++++++++++++++++++++-- src/strings.c | 4 +- 3 files changed, 96 insertions(+), 5 deletions(-) diff --git a/src/mouse.c b/src/mouse.c index 327680d..95d7f85 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -59,7 +59,7 @@ void mouse_setup_tab() w = get_widget("drag_threshold"); gtk_spin_button_set_value(GTK_SPIN_BUTTON(w), - tree_get_int("mouse/dragThreshold", 3)); + tree_get_int("mouse/dragThreshold", 8)); w = get_widget("titlebar_doubleclick"); a = read_doubleclick_action(); diff --git a/src/obconf.glade b/src/obconf.glade index 5c8f61a..44183d1 100644 --- a/src/obconf.glade +++ b/src/obconf.glade @@ -1745,7 +1745,7 @@ C - The close button True - <span weight="bold">Mouse Behavior</span> + <span weight="bold">Titlebar</span> False True GTK_JUSTIFY_LEFT @@ -1878,6 +1878,95 @@ C - The close button True + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + False + True + + + + + + True + False + 0 + + + + True + <span weight="bold">Mouse Behavior</span> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + False + 0 + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + False + 0 @@ -1958,7 +2047,7 @@ C - The close button 0 - False + True True @@ -2042,7 +2131,7 @@ C - The close button 0 - False + True True diff --git a/src/strings.c b/src/strings.c index fa5cb59..9047994 100644 --- a/src/strings.c +++ b/src/strings.c @@ -51,11 +51,13 @@ gchar *s = N_("px"); gchar *s = N_("Amount of resistance against screen _edges:"); gchar *s = N_("px"); gchar *s = N_("Windows"); -gchar *s = N_("Mouse Behavior"); +gchar *s = N_("Titlebar"); gchar *s = N_(" "); gchar *s = N_("_Double click on the titlebar:"); gchar *s = N_("Maximizes the window"); gchar *s = N_("Shades the window"); +gchar *s = N_("Mouse Behavior"); +gchar *s = N_(" "); gchar *s = N_("Double _click time:"); gchar *s = N_("ms"); gchar *s = N_("Drag _threshold distance:"); -- 2.34.1