Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c e_int_menus.c 


Log Message:


flame respects resize events now ... and by default now looks much prettier..
:)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_border.c  25 Dec 2004 13:22:16 -0000      1.35
+++ e_border.c  26 Dec 2004 05:04:02 -0000      1.36
@@ -76,9 +76,7 @@
 #define GRAV_SET(bd, grav) \
 printf("GRAV TO %i\n", grav); \
 ecore_x_window_gravity_set(bd->bg_win, grav); \
-ecore_x_window_pixel_gravity_set(bd->bg_win, grav); \
 ecore_x_window_gravity_set(bd->client.shell_win, grav); \
-ecore_x_window_pixel_gravity_set(bd->client.shell_win, grav); \
 ecore_x_window_gravity_set(bd->client.win, grav); \
 
ecore_x_window_gravity_set(ecore_evas_software_x11_subwindow_get(bd->bg_ecore_evas),
 grav); \
 
ecore_x_window_pixel_gravity_set(ecore_evas_software_x11_subwindow_get(bd->bg_ecore_evas),
 grav);
@@ -2345,16 +2343,16 @@
      {
        static char buf[PATH_MAX + 50];
        char *name, *homedir;
-       int i;
+       int i, l;
 
        buf[0] = '\0';
        /* generate a reasonable file name from the window class */
        /* FIXME - I think there could be duplicates - how better to do this? */
        name = strdup(bd->client.icccm.class);
-       for (i = 0; i < strlen(name); i++)
+       l = strlen(name);
+       for (i = 0; i < l; i++)
          {
-             if (name[i] == ' ')
-               name[i] = '_';
+             if (name[i] == ' ') name[i] = '_';
          }
        /* previously this could be null, but it will exist now */
        homedir = e_user_homedir_get();
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_int_menus.c       24 Dec 2004 09:23:06 -0000      1.11
+++ e_int_menus.c       26 Dec 2004 05:04:02 -0000      1.12
@@ -14,7 +14,6 @@
 
 /* local subsystem functions */
 static void _e_int_menus_main_end        (void *data, E_Menu *m);
-static void _e_int_menus_about_end       (void *data, E_Menu *m);
 static void _e_int_menus_main_about     (void *data, E_Menu *m, E_Menu_Item 
*mi);
 static void _e_int_menus_main_restart   (void *data, E_Menu *m, E_Menu_Item 
*mi);
 static void _e_int_menus_main_exit      (void *data, E_Menu *m, E_Menu_Item 
*mi);
@@ -96,7 +95,6 @@
 e_int_menus_apps_new(char *dir, int top)
 {
    E_Menu *m;
-   E_Menu_Item *mi;
    E_App *a;
    
    m = e_menu_new();
@@ -115,7 +113,6 @@
 e_int_menus_favorite_apps_new(int top)
 {
    E_Menu *m;
-   E_App *a;
    char buf[4096];
    char *homedir;
    




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to