rearrange. change default drag threshold
authorDana Jansens <danakj@orodu.net>
Fri, 1 Jun 2007 01:57:09 +0000 (01:57 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 1 Jun 2007 01:57:09 +0000 (01:57 +0000)
src/mouse.c
src/obconf.glade
src/strings.c

index 327680d..95d7f85 100644 (file)
@@ -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();
index 5c8f61a..44183d1 100644 (file)
@@ -1745,7 +1745,7 @@ C - The close button</property>
                  <child>
                    <widget class="GtkLabel" id="label155">
                      <property name="visible">True</property>
-                     <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Mouse Behavior&lt;/span&gt;</property>
+                     <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Titlebar&lt;/span&gt;</property>
                      <property name="use_underline">False</property>
                      <property name="use_markup">True</property>
                      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1878,6 +1878,95 @@ C - The close button</property>
                              <property name="fill">True</property>
                            </packing>
                          </child>
+                       </widget>
+                       <packing>
+                         <property name="padding">0</property>
+                         <property name="expand">True</property>
+                         <property name="fill">True</property>
+                       </packing>
+                     </child>
+                   </widget>
+                   <packing>
+                     <property name="padding">0</property>
+                     <property name="expand">True</property>
+                     <property name="fill">True</property>
+                   </packing>
+                 </child>
+               </widget>
+               <packing>
+                 <property name="padding">0</property>
+                 <property name="expand">False</property>
+                 <property name="fill">True</property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkVBox" id="vbox63">
+                 <property name="visible">True</property>
+                 <property name="homogeneous">False</property>
+                 <property name="spacing">0</property>
+
+                 <child>
+                   <widget class="GtkLabel" id="label163">
+                     <property name="visible">True</property>
+                     <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Mouse Behavior&lt;/span&gt;</property>
+                     <property name="use_underline">False</property>
+                     <property name="use_markup">True</property>
+                     <property name="justify">GTK_JUSTIFY_LEFT</property>
+                     <property name="wrap">False</property>
+                     <property name="selectable">False</property>
+                     <property name="xalign">0</property>
+                     <property name="yalign">0.5</property>
+                     <property name="xpad">0</property>
+                     <property name="ypad">0</property>
+                     <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+                     <property name="width_chars">-1</property>
+                     <property name="single_line_mode">False</property>
+                     <property name="angle">0</property>
+                   </widget>
+                   <packing>
+                     <property name="padding">0</property>
+                     <property name="expand">False</property>
+                     <property name="fill">False</property>
+                   </packing>
+                 </child>
+
+                 <child>
+                   <widget class="GtkHBox" id="hbox88">
+                     <property name="visible">True</property>
+                     <property name="homogeneous">False</property>
+                     <property name="spacing">0</property>
+
+                     <child>
+                       <widget class="GtkLabel" id="label162">
+                         <property name="visible">True</property>
+                         <property name="label" translatable="yes">    </property>
+                         <property name="use_underline">False</property>
+                         <property name="use_markup">False</property>
+                         <property name="justify">GTK_JUSTIFY_LEFT</property>
+                         <property name="wrap">False</property>
+                         <property name="selectable">False</property>
+                         <property name="xalign">0.5</property>
+                         <property name="yalign">0.5</property>
+                         <property name="xpad">0</property>
+                         <property name="ypad">0</property>
+                         <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+                         <property name="width_chars">-1</property>
+                         <property name="single_line_mode">False</property>
+                         <property name="angle">0</property>
+                       </widget>
+                       <packing>
+                         <property name="padding">0</property>
+                         <property name="expand">False</property>
+                         <property name="fill">False</property>
+                       </packing>
+                     </child>
+
+                     <child>
+                       <widget class="GtkVBox" id="vbox64">
+                         <property name="visible">True</property>
+                         <property name="homogeneous">False</property>
+                         <property name="spacing">0</property>
 
                          <child>
                            <widget class="GtkHBox" id="hbox85">
@@ -1958,7 +2047,7 @@ C - The close button</property>
                            </widget>
                            <packing>
                              <property name="padding">0</property>
-                             <property name="expand">False</property>
+                             <property name="expand">True</property>
                              <property name="fill">True</property>
                            </packing>
                          </child>
@@ -2042,7 +2131,7 @@ C - The close button</property>
                            </widget>
                            <packing>
                              <property name="padding">0</property>
-                             <property name="expand">False</property>
+                             <property name="expand">True</property>
                              <property name="fill">True</property>
                            </packing>
                          </child>
index fa5cb59..9047994 100644 (file)
@@ -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_("<span weight=\"bold\">Mouse Behavior</span>");
+gchar *s = N_("<span weight=\"bold\">Titlebar</span>");
 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_("<span weight=\"bold\">Mouse Behavior</span>");
+gchar *s = N_("    ");
 gchar *s = N_("Double _click time:");
 gchar *s = N_("ms");
 gchar *s = N_("Drag _threshold distance:");