Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_config_imc.c 


Log Message:
Some formatting fixes for input_method dialog.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_imc.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_int_config_imc.c  6 Jan 2007 15:40:40 -0000       1.7
+++ e_int_config_imc.c  7 Jan 2007 23:23:44 -0000       1.8
@@ -118,16 +118,11 @@
 
        path = e_intl_imc_system_path_get();
        if(!strncmp(cfdata->imc_current, path, strlen(path)))
-         {
-            cfdata->fmdir = 1;
-         }
-
+         cfdata->fmdir = 1;
        cfdata->imc_disable = 0;
      }
    else
-     {
-       cfdata->imc_disable = 1;
-     }
+     cfdata->imc_disable = 1;
 }
 
 static void *
@@ -148,7 +143,6 @@
 
    imc = data;
    e_intl_input_method_config_free(imc);
-   
    return 1;
 }
 
@@ -188,17 +182,13 @@
             e_config->input_method = NULL;
          }
        
-       
        if (!cfdata->imc_disable)
-         {
-            e_config->input_method = evas_stringshare_add(cfdata->imc_current);
-         }
+         e_config->input_method = evas_stringshare_add(cfdata->imc_current);
        
        e_intl_input_method_set(e_config->input_method);
      }
    
    e_config_save_queue();
-   
    return 1;
 }
 
@@ -217,7 +207,6 @@
    E_Config_Dialog_Data *cfdata;
    
    cfdata = data;
-
 }
 
 static void
@@ -262,8 +251,7 @@
    imc_basic_list = e_intl_input_method_list();
    /* Sort basic input method list */  
    imc_basic_list = evas_list_sort(imc_basic_list, 
-        evas_list_count(imc_basic_list), 
-        _basic_list_sort_cb);
+        evas_list_count(imc_basic_list), _basic_list_sort_cb);
 
    i = 0;
    while(imc_basic_list) 
@@ -325,7 +313,6 @@
        eet_close(ef);
      }
    e_intl_input_method_config_free(imc);
-    
    return 1;
 }
 
@@ -342,9 +329,7 @@
    e_config_save_queue();
    
    if (cfdata->imc_current) 
-     {
-       _e_imc_change_enqueue(cfdata);
-     }
+     _e_imc_change_enqueue(cfdata);
 
    if (cfdata->imc_change_map)
      {
@@ -352,7 +337,6 @@
        evas_hash_free(cfdata->imc_change_map);
      }
    cfdata->imc_change_map = NULL;
-    
    return 1;
 }
 
@@ -367,13 +351,9 @@
    
    cfdata = data;
    if (cfdata->fmdir == 1)
-     {
-       path = e_intl_imc_system_path_get();
-     }
+     path = e_intl_imc_system_path_get();
    else
-     {
-       path = e_intl_imc_personal_path_get();
-     }
+     path = e_intl_imc_personal_path_get();
    e_fm2_path_set(cfdata->o_fm, path, "/");
 }
 
@@ -649,9 +629,7 @@
        snprintf(path, sizeof(path), "%s/new_input_method-%02d.imc",
              e_intl_imc_personal_path_get(), i);
        if (!ecore_file_exists(path)) 
-         {
-            return evas_stringshare_add(path);
-         }
+         return evas_stringshare_add(path);
      }
    
    return NULL;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to