On Tue, 2009-04-07 at 16:15 +0200, Brian 'morlenxus' Miculcy wrote: > Question is: Why isn't it default? Is there a reason having this different? > If we set this to default, we don't need this option anymore... > I asked Gustavo the same question, and he said that raster would kill me if I set the windows_modifiers to default and then removed the option :) Something to do with the 'good 'ol amiga days'.
but we could reverse the defaults now that there's an option for it. > On Mon, Apr 06, 2009 at 01:39:09PM -0700, Enlightenment SVN wrote: > > Log: > > convert the fm config dialog into a toolbook. > > gui for 2 new options -> windows_modifiers (this should really be the > > default) and case insensitivity > > > > Author: urandom > > Date: 2009-04-06 13:39:09 -0700 (Mon, 06 Apr 2009) > > New Revision: 39883 > > > > Modified: > > trunk/e/src/modules/fileman/e_fwin.c > > trunk/e/src/modules/fileman/e_mod_config.c > > > > Modified: trunk/e/src/modules/fileman/e_fwin.c > > =================================================================== > > --- trunk/e/src/modules/fileman/e_fwin.c 2009-04-06 20:17:22 UTC (rev > > 39882) > > +++ trunk/e/src/modules/fileman/e_fwin.c 2009-04-06 20:39:09 UTC (rev > > 39883) > > @@ -1905,11 +1905,11 @@ > > fmc.view.single_click = fileman_config->view.single_click; > > fmc.view.no_subdir_jump = 0; > > fmc.icon.extension.show = fileman_config->icon.extension.show; > > - fmc.list.sort.no_case = 1; > > + fmc.list.sort.no_case = fileman_config->list.sort.no_case; > > fmc.list.sort.dirs.first = fileman_config->list.sort.dirs.first; > > fmc.list.sort.dirs.last = fileman_config->list.sort.dirs.last; > > - fmc.selection.single = 0; > > - fmc.selection.windows_modifiers = 0; > > + fmc.selection.single = fileman_config->selection.single; > > + fmc.selection.windows_modifiers = > > fileman_config->selection.windows_modifiers; > > e_fm2_config_set(fwin->fm_obj, &fmc); > > } > > > > > > Modified: trunk/e/src/modules/fileman/e_mod_config.c > > =================================================================== > > --- trunk/e/src/modules/fileman/e_mod_config.c 2009-04-06 20:17:22 UTC > > (rev 39882) > > +++ trunk/e/src/modules/fileman/e_mod_config.c 2009-04-06 20:39:09 UTC > > (rev 39883) > > @@ -1,3 +1,6 @@ > > +/* > > + * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 > > + */ > > #include "e.h" > > #include "e_mod_main.h" > > #include "e_mod_config.h" > > @@ -38,7 +41,7 @@ > > { > > struct > > { > > - int no_case; > > + int case_sen; > > struct { > > int first, last; > > } dirs; > > @@ -115,7 +118,9 @@ > > cfdata->icon.icon.w = fileman_config->icon.icon.w; > > cfdata->icon.icon.h = fileman_config->icon.icon.h; > > cfdata->icon.extension.show = fileman_config->icon.extension.show; > > + cfdata->selection.windows_modifiers = > > fileman_config->selection.windows_modifiers; > > cfdata->list.sort.dirs.first = fileman_config->list.sort.dirs.first; > > + cfdata->list.sort.case_sen = !(fileman_config->list.sort.no_case); > > cfdata->hal.desktop = e_config->hal_desktop; > > } > > > > @@ -137,22 +142,21 @@ > > fileman_config->view.show_toolbar = cfdata->view.show_toolbar; > > fileman_config->icon.extension.show = cfdata->icon.extension.show; > > > > + fileman_config->selection.windows_modifiers = > > cfdata->selection.windows_modifiers; > > + > > /* Make these two equal so that icons are proportioned correctly */ > > fileman_config->icon.icon.w = cfdata->icon.icon.w; > > fileman_config->icon.icon.h = cfdata->icon.icon.w; > > > > fileman_config->list.sort.dirs.first = cfdata->list.sort.dirs.first; > > fileman_config->list.sort.dirs.last = !(cfdata->list.sort.dirs.first); > > + fileman_config->list.sort.no_case = !(cfdata->list.sort.case_sen); > > > > e_config->hal_desktop = cfdata->hal.desktop; > > if(e_config->hal_desktop) > > - { > > - e_fm2_hal_show_desktop_icons(); > > - } > > + e_fm2_hal_show_desktop_icons(); > > else > > - { > > - e_fm2_hal_hide_desktop_icons(); > > - } > > + e_fm2_hal_hide_desktop_icons(); > > > > e_config_save_queue(); > > > > @@ -164,9 +168,11 @@ > > static Evas_Object * > > _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data > > *cfdata) > > { > > - Evas_Object *o, *ob, *of; > > + Evas_Object *o, *ob, *of, *otb; > > E_Radio_Group *rg; > > > > + otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale); > > + > > o = e_widget_list_add(evas, 0, 0); > > of = e_widget_framelist_add(evas, _("View Mode"), 0); > > rg = e_widget_radio_group_new(&(cfdata->view.mode)); > > @@ -192,16 +198,28 @@ > > ob = e_widget_slider_add(evas, 1, 0, _("%1.0f"), 16.0, 256.0, 1.0, 0, > > NULL, &(cfdata->icon.icon.w), 150); > > e_widget_list_object_append(o, ob, 1, 1, 0.5); > > - > > + > > + e_widget_toolbook_page_append(otb, NULL, _("View"), o, 0, 0, 0, 0, 0.5, > > 0.0); > > + > > + o = e_widget_list_add(evas, 1, 0); > > ob = e_widget_check_add(evas, _("Open Dirs In Place"), > > &(cfdata->view.open_dirs_in_place)); > > e_widget_list_object_append(o, ob, 1, 1, 0.5); > > + > > ob = e_widget_check_add(evas, _("Sort Dirs First"), > > &(cfdata->list.sort.dirs.first)); > > e_widget_list_object_append(o, ob, 1, 1, 0.5); > > + ob = e_widget_check_add(evas, _("Case Sensitive"), > > + &(cfdata->list.sort.case_sen)); > > + e_widget_list_object_append(o, ob, 1, 1, 0.5); > > + > > ob = e_widget_check_add(evas, _("Use Single Click"), > > &(cfdata->view.single_click)); > > e_widget_list_object_append(o, ob, 1, 1, 0.5); > > + ob = e_widget_check_add(evas, _("Use Alternate Selection Modifiers"), > > + &(cfdata->selection.windows_modifiers)); > > + e_widget_list_object_append(o, ob, 1, 1, 0.5); > > + > > ob = e_widget_check_add(evas, _("Show Icon Extension"), > > &(cfdata->icon.extension.show)); > > e_widget_list_object_append(o, ob, 1, 1, 0.5); > > @@ -217,5 +235,9 @@ > > ob = e_widget_check_add(evas, _("Show HAL icons on desktop"), > > &(cfdata->hal.desktop)); > > e_widget_list_object_append(o, ob, 1, 1, 0.5); > > - return o; > > + > > + e_widget_toolbook_page_append(otb, NULL, _("Behavior"), o, 0, 0, 0, 0, > > 0.5, 0.0); > > + > > + e_widget_toolbook_page_show(otb, 0); > > + return otb; > > } > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > High Quality Requirements in a Collaborative Environment. > > Download a free trial of Rational Requirements Composer Now! > > http://p.sf.net/sfu/www-ibm-com > > _______________________________________________ > > enlightenment-svn mailing list > > enlightenment-...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel