[E-devel] Menus config dialog strangeness....

2007-02-13 Thread Ravenlock

Hello,

I happen to notice that on my machine when I open the Menus - Menu 
Settings - advanced dialog, that the Click Drag Timeout slider 
jitters immediately, and then the Apply and OK buttons become enabled.


It appears this is because the I had never used this dialog before.  as 
a result my config setting was set to the default value of 1.25.  This 
default does not fit nicely inside the parameters of the slider as it 
was created.  This seemed to be causing the jitter.


I could change the default value, but assume it was picked for a reason. 
 Instead, I chose to allow finer grain control over the setting, by 
allowing 0.25s steps in the slider.


Attached is a patch.

--
Regards,
Ravenlock
Index: e17/apps/e/src/bin/e_int_config_menus.c
===
RCS file: /var/cvs/e/e17/apps/e/src/bin/e_int_config_menus.c,v
retrieving revision 1.10
diff -u -r1.10 e_int_config_menus.c
--- e17/apps/e/src/bin/e_int_config_menus.c 15 Jan 2007 17:43:18 -  
1.10
+++ e17/apps/e/src/bin/e_int_config_menus.c 13 Feb 2007 23:38:05 -
@@ -161,7 +161,7 @@
e_widget_framelist_object_append(of, ob);
ob = e_widget_label_add(evas, _(Click Drag Timeout));
e_widget_framelist_object_append(of, ob);
-   ob = e_widget_slider_add(evas, 1, 0, _(%2.1f seconds), 0.0, 10.0, 0.5, 0, 
(cfdata-menus_click_drag_timeout), NULL, 200);
+   ob = e_widget_slider_add(evas, 1, 0, _(%2.2f seconds), 0.0, 10.0, 0.25, 
0, (cfdata-menus_click_drag_timeout), NULL, 200);
e_widget_framelist_object_append(of, ob);

e_widget_list_object_append(o, of, 1, 1, 0.5);   
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Menus config dialog strangeness....

2007-02-13 Thread Christopher Michael
Christopher Michael wrote:
 Ravenlock wrote:
 Hello,

 I happen to notice that on my machine when I open the Menus - Menu
 Settings - advanced dialog, that the Click Drag Timeout slider
 jitters immediately, and then the Apply and OK buttons become enabled.

 It appears this is because the I had never used this dialog before.  as
 a result my config setting was set to the default value of 1.25.  This
 default does not fit nicely inside the parameters of the slider as it
 was created.  This seemed to be causing the jitter.

 I could change the default value, but assume it was picked for a reason.
  Instead, I chose to allow finer grain control over the setting, by
 allowing 0.25s steps in the slider.

 Attached is a patch.

 
 You should reread the e_config.c :) The default of 1.25 is only used if
 compiled for a pda device..0.25 is the default for PCs.
 
 You are correct in that the default value does not work nicely in the
 dialog as the slider minimum value and change delta are not proper for
 the default value being used...so patch Accepted :)
 
 Cheers,
 dh
 

In cvs now :)

dh

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel