E CVS: apps/exhibit devilhorns

2007-09-22 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/exhibit

Dir : e17/apps/exhibit/src/bin


Modified Files:
exhibit_main.c 


Log Message:
Remove unused variable.

===
RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_main.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -3 -r1.124 -r1.125
--- exhibit_main.c  20 Sep 2007 23:52:50 -  1.124
+++ exhibit_main.c  22 Sep 2007 19:27:55 -  1.125
@@ -328,7 +328,6 @@
int j = 1;
int i = 0;
int (*cmp)(const void *, const void *) = _ex_sort_cmp_name;
-   Evas_List *l;

_ex_main_image_unset();
//chdir(e->cur_tab->dir);



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/exhibit devilhorns

2007-07-06 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/exhibit

Dir : e17/apps/exhibit/src/bin


Modified Files:
exhibit_favorites.c exhibit_menus.c 


Log Message:
Fix exhibit favorites. Get correct selected image from the tree.

===
RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_favorites.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- exhibit_favorites.c 2 Aug 2006 19:23:22 -   1.3
+++ exhibit_favorites.c 7 Jul 2007 03:55:29 -   1.4
@@ -19,7 +19,7 @@

realpath = ecore_file_realpath(path);
snprintf(new_path, sizeof(new_path), "%s/%s", e->options->fav_path, path);
-
+   
ecore_file_symlink(realpath, new_path);
if(realpath)
  E_FREE(realpath);   
===
RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_menus.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- exhibit_menus.c 6 Jul 2007 20:29:50 -   1.48
+++ exhibit_menus.c 7 Jul 2007 03:55:29 -   1.49
@@ -36,7 +36,6 @@
  e->app3_menu = _ex_menu_item_new(EX_MENU_ITEM_NORMAL, 
_(e->options->app3), ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(w), 
ETK_CALLBACK(_ex_menu_run_in_cb), e->options->app3_cmd);
if (e->options->app4 && e->options->app4_cmd)
  e->app4_menu = _ex_menu_item_new(EX_MENU_ITEM_NORMAL, 
_(e->options->app4), ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(w), 
ETK_CALLBACK(_ex_menu_run_in_cb), e->options->app4_cmd);
-   
 }
 
 Etk_Widget *
@@ -224,7 +223,6 @@
_ex_image_undo(ETK_IMAGE(e->cur_tab->image));   
 }
 
-
 void
 _ex_menu_rot_clockwise_cb(Etk_Object *obj, void *data)
 {
@@ -447,11 +445,13 @@
Etk_Tree_Row *r;
char *icol_string;
EX_MENU_ITEM_GET_RETURN(obj);
-   
+
r = etk_tree_selected_row_get(ETK_TREE(e->cur_tab->itree));
-  if(!r) return;
+   if(!r) return;

-   etk_tree_row_fields_get(r, 
etk_tree_nth_col_get(ETK_TREE(e->cur_tab->itree), 0), NULL, &icol_string, 
etk_tree_nth_col_get(ETK_TREE(e->cur_tab->itree), 1),NULL);
+   etk_tree_row_fields_get(r, 
etk_tree_nth_col_get(ETK_TREE(e->cur_tab->itree), 0), 
+  NULL, NULL, &icol_string, NULL);
+
_ex_favorites_add(e, icol_string);
//free(icol_string);
 }
@@ -465,8 +465,9 @@

r = etk_tree_selected_row_get(ETK_TREE(e->cur_tab->itree));
   if(!r) return;
-   
-   etk_tree_row_fields_get(r, 
etk_tree_nth_col_get(ETK_TREE(e->cur_tab->itree), 0), NULL, &icol_string, 
etk_tree_nth_col_get(ETK_TREE(e->cur_tab->itree), 1),NULL);
+
+   etk_tree_row_fields_get(r, 
etk_tree_nth_col_get(ETK_TREE(e->cur_tab->itree), 0), 
+  NULL, NULL, &icol_string, NULL);
_ex_favorites_del(e, icol_string);
//free(icol_string);
 }



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/exhibit devilhorns

2007-04-28 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/exhibit

Dir : e17/apps/exhibit


Modified Files:
configure.in 


Log Message:
Pkg-config changes from Lutin for exhibit. Confirmed working.

===
RCS file: /cvs/e/e17/apps/exhibit/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- configure.in14 Dec 2006 12:07:46 -  1.10
+++ configure.in28 Apr 2007 10:40:58 -  1.11
@@ -86,16 +86,14 @@
 AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [Source Code 
Directory])
 
 #check for EET
-AC_PATH_EFL(
-   eet,
-   0.9.10.030,
+PKG_CHECK_MODULES(EET, [eet >= 0.9.10.030],
[
  AC_DEFINE(HAVE_EET, 1, have EET)
  eet="EET "
  AM_CONDITIONAL(HAVE_EET, true)
  have_eet="yes"
- eet_libs=`eet-config --libs`
- eet_cflags=`eet-config --cflags`
+ eet_libs=$EET_LIBS
+ eet_cflags=$EET_CFLAGS
],
[
  AC_MSG_ERROR([No Eet, can't build.])
@@ -103,16 +101,14 @@
 )
 
 #check for ECORE
-AC_PATH_EFL(
-   ecore,
-   0.9.9.022,
+PKG_CHECK_MODULES(ECORE, [ecore >= 0.9.9.022],
[
  AC_DEFINE(HAVE_ECORE, 1, have ECORE)
  ecore="ECORE "
  AM_CONDITIONAL(HAVE_ECORE, true)
  have_ecore="yes"
- ecore_libs=`ecore-config --libs`
- ecore_cflags=`ecore-config --cflags`
+ ecore_libs=$ECORE_LIBS
+ ecore_cflags=$ECORE_CFLAGS
],
[
  AC_MSG_ERROR([No Ecore, can't build.])
@@ -120,16 +116,14 @@
 )
 
 #check for EVAS
-AC_PATH_EFL(
-   evas,
-   0.9.9.022,
+PKG_CHECK_MODULES(EVAS, [evas >= 0.9.9.022],
[
  AC_DEFINE(HAVE_EVAS, 1, have EVAS)
  evas="EVAS "
  AM_CONDITIONAL(HAVE_EVAS, true)
  have_evas="yes"
- evas_libs=`evas-config --libs`
- evas_cflags=`evas-config --cflags`
+ evas_libs=$EVAS_LIBS
+ evas_cflags=$EVAS_CFLAGS
],
[
  AC_MSG_ERROR([No Evas, can't build.])
@@ -137,16 +131,14 @@
 )
 
 #check for EDJE
-AC_PATH_EFL(
-   edje,
-   0.5.0.022,
+PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0.022],
[
  AC_DEFINE(HAVE_EDJE, 1, have EDJE)
  edje="EDJE "
  AM_CONDITIONAL(HAVE_EDJE, true)
  have_edje="yes"
- edje_libs=`edje-config --libs`
- edje_cflags=`edje-config --cflags` 
+ edje_libs=$EDJE_LIBS
+ edje_cflags=$EDJE_CFLAGS
],
[
  AC_MSG_ERROR([No Edje, can't build.])
@@ -154,16 +146,14 @@
 )
 
 #check for ETK
-AC_PATH_EFL(
-   etk,
-   0.1.0.001,
+PKG_CHECK_MODULES(ETK, [etk >= 0.1.0.001],
[
  AC_DEFINE(HAVE_ETK, 1, have ETK)
  etk="ETK "
  AM_CONDITIONAL(HAVE_ETK, true)
  have_etk="yes"
- etk_libs=`etk-config --libs`
- etk_cflags=`etk-config --cflags` 
+ etk_libs=$ETK_LIBS
+ etk_cflags=$ETK_CFLAGS
],
[
  AC_MSG_ERROR([No Etk, can't build.])
@@ -171,16 +161,14 @@
 )
 
 #check for EPSILON
-AC_PATH_EFL(
-   epsilon,
-   0.3.0.004,
+PKG_CHECK_MODULES(EPSILON, [epsilon >= 0.3.0.004],
[
  AC_DEFINE(HAVE_EPSILON, 1, have EPSILON)
  epsilon="EPSILON "
  AM_CONDITIONAL(HAVE_EPSILON, true)
  have_epsilon="yes"
- epsilon_libs=`epsilon-config --libs`
- epsilon_cflags=`epsilon-config --cflags` 
+ epsilon_libs=$EPSILON_LIBS
+ epsilon_cflags=$EPSILON_CFLAGS
],
[
  AC_MSG_ERROR([No Epsilon, can't build.])
@@ -206,16 +194,14 @@
 )
 
 #check for Engrave
-AC_PATH_EFL(
-   engrave,
-   0.1.0,
+PKG_CHECK_MODULES(ENGRAVE, [engrave >= 0.1.0],
[
  AC_DEFINE(HAVE_ENGRAVE, 1, have Engrave)
  engrave="Engrave "
  AM_CONDITIONAL(HAVE_ENGRAVE, true)
  have_engrave="yes"
- engrave_libs=`engrave-config --libs`
- engrave_cflags=`engrave-config --cflags`
+ engrave_libs=$ENGRAVE_LIBS
+ engrave_cflags=$ENGRAVE_CFLAGS
],
[
  AC_DEFINE(HAVE_ENGRAVE, 0, no Engrave)
@@ -229,22 +215,9 @@
 
 
 dnl Set ETK_PACKAGE_DATA_DIR in config.h.  
-etk_prefix="\"`etk-config --prefix`/share/etk\""
+etk_prefix="\"$(pkg-config --variable=prefix etk)/share/etk\""
 AC_DEFINE_UNQUOTED(ETK_PACKAGE_DATA_DIR, $etk_prefix, [Data dir for etk lib.])
 
-
-eet_libs=`eet-config --libs`
-eet_cflags=`eet-config --cflags`
-ecore_libs=`ecore-config --libs`
-ecore_cflags=`ecore-config --cflags`
-evas_libs=`evas-config --libs`
-evas_cflags=`evas-config --cflags`
-edje_libs=`edje-config --libs`
-edje_cflags=`edje-config --cflags`
-etk_libs=`etk-config --libs`
-etk_cflags=`etk-config --cflags`
-epsilon_libs=`epsilon-config --libs`
-epsilon_cflags=`epsilon-config --cflags`
 
 # add your required libs / include here
 my_includes="$eet_cflags $ecore_cflags $evas_cflags $edje_cflags $etk_cflags 
$epsilon_cflags $engrave_cflags"



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/