E CVS: e kwo

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/po


Modified Files:
bg.po bs.po da.po de.po en_US.po es.po fr.po hu.po ja.po ko.po 
nl.po no.po pl.po pt.po pt_BR.po ru.po sv.po tr.po 


Log Message:
po.




-
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


E CVS: e kwo

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
icccm.c lang.c pager.c ttfont.c 


Log Message:
Trivial cleanups.

===
RCS file: /cvs/e/e16/e/src/icccm.c,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -3 -r1.131 -r1.132
--- icccm.c 19 Nov 2006 21:55:51 -  1.131
+++ icccm.c 19 Nov 2006 22:55:32 -  1.132
@@ -789,7 +789,8 @@
 StructureNotifyMask,
 ECORE_X_ATOM_NET_WM_SYNC_REQUEST,
 Mode.events.time,
-count & 0x, count >> 32, 0);
+(long)(count & 0x),
+(long)(count >> 32), 0);
 
return 1;
 }
===
RCS file: /cvs/e/e16/e/src/lang.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- lang.c  19 Nov 2006 21:55:51 -  1.15
+++ lang.c  19 Nov 2006 22:55:32 -  1.16
@@ -197,11 +197,10 @@
 #if HAVE_ICONV
char   *pi, *po;
size_t  ni, no, rc;
+   charbuf[4096];
 
if (!wcs)
  {
-   charbuf[4096];
-
ni = len;
no = 4096;
po = buf;
===
RCS file: /cvs/e/e16/e/src/pager.c,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -3 -r1.232 -r1.233
--- pager.c 19 Nov 2006 21:55:52 -  1.232
+++ pager.c 19 Nov 2006 22:55:32 -  1.233
@@ -556,8 +556,8 @@
 
if (apply)
  {
-   w = (int)(ax * VRoot.w / p->scale + .5);
-   h = (int)(ay * VRoot.h / p->scale + .5);
+   w = (int)((double)ax * (double)VRoot.w / (double)p->scale + .5);
+   h = (int)((double)ay * (double)VRoot.h / (double)p->scale + .5);
EwinResize(p->ewin, w + (dx * ax) / 2, h + (dy * ay) / 2);
EwinReposition(p->ewin);
  }
===
RCS file: /cvs/e/e16/e/src/ttfont.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- ttfont.c12 Nov 2006 00:39:19 -  1.57
+++ ttfont.c19 Nov 2006 22:55:32 -  1.58
@@ -97,8 +97,6 @@
imlib_text_draw(x, y - imlib_get_font_ascent(), text);
 }
 
-extern const FontOps FontOpsIft;
-
 /*
  * Imlib2/FreeType
  */



-
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


E CVS: e kwo

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
ecompmgr.c windowmatch.c windowmatch.h 


Log Message:
Enable window matches on override-redirect windows (for compositing options).

===
RCS file: /cvs/e/e16/e/src/ecompmgr.c,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -3 -r1.131 -r1.132
--- ecompmgr.c  19 Nov 2006 21:55:51 -  1.131
+++ ecompmgr.c  19 Nov 2006 22:24:59 -  1.132
@@ -37,6 +37,7 @@
 #include "hints.h"
 #include "settings.h"
 #include "timers.h"
+#include "windowmatch.h"
 #include "xwin.h"
 
 #include 
@@ -1475,6 +1476,9 @@
  {
ESelectInputAdd(eo->win, VisibilityChangeMask);
  }
+
+   if (eo->type != EOBJ_TYPE_EWIN)
+  WindowMatchEobjOps(eo);
 
cw->opacity = 0xdeadbeef;
ECompMgrWinSetOpacity(eo, eo->opacity);
===
RCS file: /cvs/e/e16/e/src/windowmatch.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -3 -r1.53 -r1.54
--- windowmatch.c   19 Nov 2006 21:55:52 -  1.53
+++ windowmatch.c   19 Nov 2006 22:24:59 -  1.54
@@ -68,7 +68,7 @@
 #define MATCH_OP_ICON   2
 #define MATCH_OP_WINOP  3
 
-static int  WindowMatchEwinOpsParse(EWin * ewin, const char *ops);
+static int  WindowMatchEobjOpsParse(EObj * eo, const char *ops);
 
 static Ecore_List  *wm_list = NULL;
 
@@ -421,7 +421,7 @@
break;
 
  case MATCH_OP_WINOP:
-   if (WindowMatchEwinOpsParse(NULL, args))
+   if (WindowMatchEobjOpsParse(NULL, args))
  {
 Eprintf("WindowMatchDecode: Error (%s): %s\n", args, line);
 err = 1;
@@ -519,7 +519,7 @@
 }
 
 static int
-WindowMatchTest(const EWin * ewin, const WindowMatch * wm)
+WindowMatchEwinTest(const WindowMatch * wm, const EWin * ewin)
 {
int match;
 
@@ -579,6 +579,33 @@
return match;
 }
 
+#if USE_COMPOSITE
+static int
+WindowMatchEobjTest(const WindowMatch * wm, const EObj * eo)
+{
+   int match;
+
+   match = 0;
+
+   switch (wm->match)
+ {
+ case MATCH_TYPE_TITLE:
+   return matchregexp(wm->value, eo->name);
+#if 0
+ case MATCH_TYPE_WM_NAME:
+   return matchregexp(wm->value, eo->icccm.wm_res_name);
+
+ case MATCH_TYPE_WM_CLASS:
+   return matchregexp(wm->value, eo->icccm.wm_res_class);
+#endif
+ }
+
+   if (wm->qual)
+  match = !match;
+   return match;
+}
+#endif
+
 typedef struct
 {
int type;
@@ -591,7 +618,7 @@
const WindowMatch  *wm = data;
const wmatch_type_data *wmtd = match;
 
-   return !(wm->op == wmtd->type && WindowMatchTest(wmtd->ewin, wm));
+   return !(wm->op == wmtd->type && WindowMatchEwinTest(wm, wmtd->ewin));
 }
 
 static WindowMatch *
@@ -788,8 +815,40 @@
  }
 }
 
+#if USE_COMPOSITE
+static void
+WindowMatchEobjOpsAction(EObj * eo, int op, const char *args)
+{
+   int a;
+
+   switch (op)
+ {
+ default:
+   /* We should not get here */
+   return;
+
+ case EWIN_OP_OPACITY:
+   a = atoi(args);
+   eo->opacity = OpacityFromPercent(OpacityFix(a, 100));
+   break;
+
+ case EWIN_OP_FADE:
+   WINOP_SET_BOOL(eo->fade, args);
+   break;
+
+ case EWIN_OP_SHADOW:
+   WINOP_SET_BOOL(eo->shadow, args);
+   break;
+
+ case EWIN_OP_NO_REDIRECT:
+   WINOP_SET_BOOL(eo->noredir, args);
+   break;
+ }
+}
+#endif
+
 static int
-WindowMatchEwinOpsParse(EWin * ewin, const char *ops)
+WindowMatchEobjOpsParse(EObj * eo, const char *ops)
 {
int err, len;
const WinOp*wop;
@@ -822,9 +881,17 @@
 break;
  }
 
-   /* If ewin is NULL, we are validating the configuration */
-   if (ewin)
-  WindowMatchEwinOpsAction(ewin, wop->op, p);
+   /* If eo is NULL, we are validating the configuration */
+   if (!eo)
+  continue;
+#if USE_COMPOSITE
+   if (eo->type == EOBJ_TYPE_EWIN)
+  WindowMatchEwinOpsAction((EWin *) eo, wop->op, p);
+   else
+  WindowMatchEobjOpsAction(eo, wop->op, p);
+#else
+   WindowMatchEwinOpsAction((EWin *) eo, wop->op, p);
+#endif
  }
 
Efree(ops2);
@@ -839,13 +906,30 @@
 
ECORE_LIST_FOR_EACH(wm_list, wm)
{
-  if (wm->op != MATCH_OP_WINOP || !WindowMatchTest(ewin, wm))
+  if (wm->op != MATCH_OP_WINOP || !WindowMatchEwinTest(wm, ewin))
+continue;
+
+  /* Match found - do the ops */
+  WindowMatchEobjOpsParse(EoObj(ewin), wm->args);
+   }
+}
+
+#if USE_COMPOSITE
+void
+WindowMatchEobjOps(EObj * eo)
+{
+   const WindowMatch  *wm;
+
+   ECORE_LIST_FOR_EACH(wm_list, wm)
+   {
+  if (wm->op != MATCH_OP_WINOP || !WindowMatchEobjTest(wm, eo))
 continue;
 
   /* Match found - do the ops */
-  WindowMatchEwinOpsParse(ewin, wm->args);
+  WindowMatchEobjOpsParse(eo, wm-

E CVS: proto lok

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/enhance


Modified Files:
Makefile.am 


Log Message:
Makefile cleanup thanks Lutin.

===
RCS file: /cvs/e/e17/proto/enhance/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 4 Apr 2006 21:03:02 -   1.2
+++ Makefile.am 19 Nov 2006 22:10:16 -  1.3
@@ -7,7 +7,7 @@
depcomp libtool missing \
debian/changelog

-EXTRA_DIST = README AUTHORS COPYING \
+EXTRA_DIST = README AUTHORS \
  debian/changelog \
 debian/changelog.in \
 debian/control \



-
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


E CVS: proto lok

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir : e17/proto/enhance/src/lib


Modified Files:
Makefile.am 


Log Message:
Makefile cleanup thanks Lutin.

===
RCS file: /cvs/e/e17/proto/enhance/src/lib/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile.am 7 Feb 2006 00:34:32 -   1.1
+++ Makefile.am 19 Nov 2006 22:10:16 -  1.2
@@ -10,12 +10,13 @@
 
 libenhance_la_INCLUDES = \
 enhance_private.h \
-enhance_widget.h
+enhance_widget.h \
+$(enhance_headers)
 
 libenhance_la_SOURCES = \
 enhance.c \
 enhance_widget.c \
-$(libenhance_la__INCLUDES)
+$(libenhance_la_INCLUDES)
 
 installed_headersdir = $(prefix)/include
 installed_headers_DATA = $(enhance_headers)



-
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


E CVS: e kwo

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/po


Modified Files:
POTFILES.in 


Log Message:
Split up, shuffle around, rename.

===
RCS file: /cvs/e/e16/e/po/POTFILES.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- POTFILES.in 18 Jun 2005 00:09:07 -  1.7
+++ POTFILES.in 19 Nov 2006 21:55:50 -  1.8
@@ -1,4 +1,5 @@
 # List of source files containing translatable strings.
+src/about.c
 src/aclass.c
 src/actions.c
 src/alert.c



-
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


E CVS: e kwo

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
events.c ewins.c 


Log Message:
Move move/resize event handling to more appropriate location.

===
RCS file: /cvs/e/e16/e/src/events.c,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -3 -r1.127 -r1.128
--- events.c29 Oct 2006 15:21:15 -  1.127
+++ events.c19 Nov 2006 20:43:28 -  1.128
@@ -273,8 +273,6 @@
Mode.events.py = Mode.events.y;
ModeGetXY(ev->xmotion.root, ev->xmotion.x_root, ev->xmotion.y_root);
Mode.events.on_screen = ev->xmotion.same_screen;
-
-   ActionsHandleMotion();
break;
 
  case EnterNotify:
@@ -334,7 +332,6 @@
break;
  case ButtonRelease:   /*  5 */
SoundPlay("SOUND_BUTTON_RAISE");
-   ActionsEnd(NULL);
break;
  }
 
===
RCS file: /cvs/e/e16/e/src/ewins.c,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -3 -r1.177 -r1.178
--- ewins.c 3 Nov 2006 23:44:32 -   1.177
+++ ewins.c 19 Nov 2006 20:43:28 -  1.178
@@ -2163,6 +2163,13 @@
 
switch (ev->type)
  {
+ case ButtonRelease:
+   ActionsEnd(NULL);
+   break;
+ case MotionNotify:
+   ActionsHandleMotion();
+   break;
+
  case MapRequest:
EwinEventMapRequest(NULL, ev->xmaprequest.window);
break;



-
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


E CVS: e kwo

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/config


Modified Files:
bindings.cfg e16keyedit.db menus.cfg 


Log Message:
IPC command "misc arrange" -> "desk arrange".

===
RCS file: /cvs/e/e16/e/config/bindings.cfg,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- bindings.cfg3 Nov 2006 23:44:31 -   1.11
+++ bindings.cfg19 Nov 2006 20:20:22 -  1.12
@@ -75,7 +75,7 @@
 
 # Default keybindings
 Aclass KEYBINDINGS global
-KeyDown   CA Home misc arrange size
+KeyDown   CA Home desk arrange size
 KeyDown   CA   Insert exec Eterm
 #KeyDown   CAv deskray?
 KeyDown   CA   Delete exit logout
===
RCS file: /cvs/e/e16/e/config/e16keyedit.db,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e16keyedit.db   30 Mar 2006 21:30:50 -  1.3
+++ e16keyedit.db   19 Nov 2006 20:20:22 -  1.4
@@ -18,7 +18,7 @@
 
 "Toggle Deskrays", 0, NULL
 
-"Cleanup Windows", 0, "misc arrange size"
+"Cleanup Windows", 0, "desk arrange size"
 
 "Scroll Windows to left", 0, NULL
 "Scroll Windows to right", 0, NULL
===
RCS file: /cvs/e/e16/e/config/menus.cfg,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- menus.cfg   20 Aug 2006 19:30:55 -  1.14
+++ menus.cfg   19 Nov 2006 20:20:22 -  1.15
@@ -14,7 +14,7 @@
 BEGIN_NEW_MENU("DESKTOP_SUBMENU", "ROOT")
 ADD_MENU_TITLE("Desktop Operations")
 ADD_MENU_SUBMENU_TEXT_ITEM("Backgrounds","BACKGROUNDS_MENU")
-ADD_MENU_TEXT_ITEM("Cleanup Desktop",   __A_CMD, "misc arrange")
+ADD_MENU_TEXT_ITEM("Cleanup Desktop",   __A_CMD, "desk arrange")
 ADD_MENU_TEXT_ITEM("Goto Next Desktop", __A_CMD, "desk next")
 ADD_MENU_TEXT_ITEM("Goto Previous Desktop", __A_CMD, "desk prev")
 ADD_MENU_TEXT_ITEM("Create New Iconbox",__A_CMD, "ibox new")



-
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


E CVS: e kwo

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
desktops.c mod-misc.c 


Log Message:
IPC command "misc arrange" -> "desk arrange".

===
RCS file: /cvs/e/e16/e/src/desktops.c,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -3 -r1.251 -r1.252
--- desktops.c  8 Sep 2006 23:13:57 -   1.251
+++ desktops.c  19 Nov 2006 20:20:22 -  1.252
@@ -2781,6 +2781,10 @@
  {
EwinsShowDesktop(!Mode.showing_desktop);
  }
+   else if (!strncmp(cmd, "arrange", 3))
+ {
+   ArrangeEwins(prm);
+ }
 }
 
 static void
@@ -2857,6 +2861,7 @@
 "  desk raiseRaise desktop\n"
 "  desk dragbar pos Set dragbar position\n"
 "  desk dragbar order   Set dragbar button order\n"
+"  desk arrange Arrange windows on desktop\"\n"
 "  desk clear   \"Show Desktop\"\n"}
,
{
===
RCS file: /cvs/e/e16/e/src/mod-misc.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -3 -r1.47 -r1.48
--- mod-misc.c  29 Oct 2006 15:21:15 -  1.47
+++ mod-misc.c  19 Nov 2006 20:20:22 -  1.48
@@ -216,10 +216,6 @@
else if (prm[0] == '\0')
   SettingsConfiguration();
  }
-   else if (!strncmp(cmd, "arrange", 3))
- {
-   ArrangeEwins(prm);
- }
 }
 
 static const IpcItem MiscIpcArray[] = {



-
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


E CVS: proto urandom

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : urandom
Project : e17
Module  : proto

Dir : e17/proto/edje_viewer/src/bin


Modified Files:
etk_gui.c 


Log Message:
fixed a segfault when no config is available, and the viewer is started without 
a file

===
RCS file: /cvs/e/e17/proto/edje_viewer/src/bin/etk_gui.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- etk_gui.c   14 Oct 2006 10:50:36 -  1.12
+++ etk_gui.c   19 Nov 2006 18:25:23 -  1.13
@@ -4,9 +4,9 @@
 
 #include "edje_viewer.h"
 
-static Etk_Widget *_gui_menubar_item_new(Gui *gui, const char *label, 
+static Etk_Widget *_gui_menubar_item_new(Gui *gui, const char *label,
Etk_Menu_Shell *menu_shell);
-static Etk_Widget *_gui_menu_stock_item_new(Gui *gui, const char *label, 
+static Etk_Widget *_gui_menu_stock_item_new(Gui *gui, const char *label,
Etk_Stock_Id stock_id, Etk_Menu_Shell *menu_shell);
 static Etk_Widget *_gui_menu_item_new(Gui *gui, const char *label,
   Etk_Menu_Shell *menu_shell);
@@ -55,7 +55,7 @@
etk_container_add(ETK_CONTAINER(gui->win), vbox);
 
menubar = etk_menu_bar_new();
-   etk_box_append(ETK_BOX(vbox), menubar, 
+   etk_box_append(ETK_BOX(vbox), menubar,
   ETK_BOX_START, ETK_BOX_NONE, 0);
 
menuitem = _gui_menubar_item_new(gui, _("File"), ETK_MENU_SHELL(menubar));
@@ -74,7 +74,7 @@
menu = etk_menu_new();
etk_menu_item_submenu_set(ETK_MENU_ITEM(menuitem), ETK_MENU(menu));
count = edje_viewer_config_count_get();
-   for (i = 0; i < count; i++) 
+   for (i = 0; i < count; i++)
  {
recent = edje_viewer_config_recent_get(i+1);
_gui_menu_stock_item_new(gui, recent, ETK_STOCK_X_OFFICE_DOCUMENT,
@@ -157,7 +157,7 @@
send_button = etk_button_new_with_label("Send");
etk_button_alignment_set(ETK_BUTTON(send_button), 1.0, 0.5);
etk_box_append(ETK_BOX(hbox), send_button, ETK_BOX_END, ETK_BOX_NONE, 0);
-   etk_signal_connect("clicked", ETK_OBJECT(send_button), 
+   etk_signal_connect("clicked", ETK_OBJECT(send_button),
   ETK_CALLBACK(_gui_send_clicked_cb), gui);
 
gui->status = etk_statusbar_new();
@@ -169,20 +169,23 @@
check = edje_viewer_config_open_last_get();
if (file) list_entries(file, ETK_TREE(gui->tree), ETK_TREE(gui->output),
 ETK_CANVAS(gui->canvas));
-   else if (check) 
+   else if (check)
  {
file = edje_viewer_config_last_get();
-   list_entries(file, ETK_TREE(gui->tree), ETK_TREE(gui->output),
- ETK_CANVAS(gui->canvas));
-   etk_window_title_set(ETK_WINDOW(gui->win), file);
+   if (file)
+ {
+list_entries(file, ETK_TREE(gui->tree), ETK_TREE(gui->output),
+  ETK_CANVAS(gui->canvas));
+etk_window_title_set(ETK_WINDOW(gui->win), file);
+ }
  }
-   etk_signal_connect("delete_event", ETK_OBJECT(gui->win), 
+   etk_signal_connect("delete_event", ETK_OBJECT(gui->win),
   ETK_CALLBACK(_gui_main_window_deleted_cb), NULL);
etk_signal_connect("cell_value_changed", ETK_OBJECT(col2),
 ETK_CALLBACK(_gui_tree_checkbox_toggled_cb), gui);
 }
 
-static Etk_Widget *_gui_menubar_item_new (Gui *gui, const char *label, 
+static Etk_Widget *_gui_menubar_item_new (Gui *gui, const char *label,
Etk_Menu_Shell *menu_shell)
 {
Etk_Widget *menu_item = NULL;
@@ -201,7 +204,7 @@
return menu_item;
 }
 
-static Etk_Widget *_gui_menu_stock_item_new(Gui *gui, const char *label, 
+static Etk_Widget *_gui_menu_stock_item_new(Gui *gui, const char *label,
Etk_Stock_Id stock_id, Etk_Menu_Shell *menu_shell)
 {
Etk_Widget *menu_item;
@@ -317,7 +320,7 @@
edje_viewer_config_sort_parts_set(check);
 }
 
-static Etk_Bool _gui_main_window_deleted_cb(void *data) 
+static Etk_Bool _gui_main_window_deleted_cb(void *data)
 {
etk_main_quit();
return 1;
@@ -350,13 +353,13 @@
etk_dialog_pack_in_main_area(ETK_DIALOG(gui->fm_dialog), gui->fm_chooser,
   ETK_TRUE, ETK_TRUE, 0, ETK_FALSE);
 
-   button = etk_dialog_button_add_from_stock(ETK_DIALOG(gui->fm_dialog), 
+   button = etk_dialog_button_add_from_stock(ETK_DIALOG(gui->fm_dialog),
   ETK_STOCK_DIALOG_OK, 1);
-   etk_signal_connect("clicked", ETK_OBJECT(button), 
+   etk_signal_connect("clicked", ETK_OBJECT(button),
   ETK_CALLBACK(_gui_fm_ok_clicked_cb), gui);
-   button = etk_dialog_button_add_from_stock(ETK_DIALOG(gui->fm_dialog), 
+   button = etk_dialog_button_add_from_stock(ETK_DIALOG(gui->fm_dialog),
   ETK_STOCK_DIALOG_CLOSE, 2);
-   etk_signal_connect("clicked", ETK_OBJECT(button), 
+   etk_signal_connect("clicked", ETK_OBJECT(button),
   ETK_CALLBACK(_gui_fm_cancel_clicked_cb), gui);
 
etk_widget_show_all(gui->fm_dialog);
@@ -427,7 +430,7 @@
   for(l = visible_elements_get(); l; l = l->next) {
 Demo_Edje *de;
 
-de = l->data; 
+de = l->data;
 if (!de) continue;
 edje_o

E CVS: apps/e rephorm

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
xnest.sh 


Log Message:
i'm assuming this was the intention here? (if not, feel free to revert, but 
something other than 'mktemp' should be used for the command file name)

===
RCS file: /cvs/e/e17/apps/e/xnest.sh,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- xnest.sh12 Nov 2006 12:51:29 -  1.13
+++ xnest.sh19 Nov 2006 15:43:58 -  1.14
@@ -8,7 +8,7 @@
 
 main=$DISPLAY
 display=" -display $disp_num"
-tmp='mktemp' || exit 1
+tmp=`mktemp` || exit 1
 /bin/echo -e "run\nbt\nq\ny" > $tmp
 
 case "$@" in



-
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


E CVS: e kwo

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
ecompmgr.c eobj.c 


Log Message:
Set no-redirect flag on input-only windows (cosmetic/debug, has no real effect).

===
RCS file: /cvs/e/e16/e/src/ecompmgr.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -3 -r1.129 -r1.130
--- ecompmgr.c  3 Nov 2006 23:44:31 -   1.129
+++ ecompmgr.c  19 Nov 2006 12:37:09 -  1.130
@@ -1434,7 +1434,10 @@
   return;
 
if (eo->inputonly || eo->win == VRoot.win)
-  return;
+ {
+   eo->noredir = 1;
+   return;
+ }
 
cw = Ecalloc(1, sizeof(ECmWinInfo));
if (!cw)
===
RCS file: /cvs/e/e16/e/src/eobj.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -3 -r1.84 -r1.85
--- eobj.c  3 Nov 2006 23:44:32 -   1.84
+++ eobj.c  19 Nov 2006 12:37:09 -  1.85
@@ -198,6 +198,7 @@
eo->shadow = 1;
switch (type)
  {
+ case EOBJ_TYPE_EVENT:
  case EOBJ_TYPE_MISC_NR:
  case EOBJ_TYPE_ROOT_BG:
eo->noredir = 1;



-
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


E CVS: e kwo

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
lang.c 


Log Message:
Fix warnings.

===
RCS file: /cvs/e/e16/e/src/lang.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- lang.c  12 Nov 2006 00:39:19 -  1.13
+++ lang.c  19 Nov 2006 12:34:18 -  1.14
@@ -195,11 +195,12 @@
 EwcStrToWcs(const char *str, int len, wchar_t * wcs, int wcl)
 {
 #if HAVE_ICONV
+   char   *pi, *po;
size_t  ni, no, rc;
 
if (!wcs)
  {
-   charbuf[4096], *po;
+   charbuf[4096];
 
ni = len;
no = 4096;
@@ -211,9 +212,11 @@
return wcl;
  }
 
+   pi = (char *)str;
ni = len;
+   po = (char *)wcs;
no = wcl * sizeof(wchar_t);
-   rc = iconv(iconv_cd_str2wcs, (char **)(&str), &ni, (char **)(&wcs), &no);
+   rc = iconv(iconv_cd_str2wcs, &pi, &ni, &po, &no);
if (rc == (size_t) (-1))
   return 0;
return wcl - no / sizeof(wchar_t);
@@ -233,11 +236,13 @@
 EwcWcsToStr(const wchar_t * wcs, int wcl, char *str, int len)
 {
 #if HAVE_ICONV
+   char   *pi;
size_t  ni, no, rc;
 
+   pi = (char *)wcs;
ni = wcl * sizeof(wchar_t);
no = len;
-   rc = iconv(iconv_cd_wcs2str, (char **)(&wcs), &ni, &str, &no);
+   rc = iconv(iconv_cd_wcs2str, &pi, &ni, &str, &no);
if (rc == (size_t) (-1))
   return 0;
return len - no;



-
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


E CVS: apps/e raster

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/bin


Modified Files:
e_apps_error.c e_fdo_menu_to_order.c e_fm.c 
e_int_config_exebuf.c e_int_config_intl.c e_int_config_shelf.c 
e_int_config_wallpaper_import.c e_int_menus.c e_sys.c 


Log Message:


patches from people (see mail list) and stuff.

===
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps_error.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- e_apps_error.c  4 Nov 2006 06:15:59 -   1.19
+++ e_apps_error.c  19 Nov 2006 08:58:05 -  1.20
@@ -56,41 +56,41 @@
if ((app->del.exited) && (!cfdata->exit))
  {
snprintf(buf, sizeof(buf), 
-_("An exit code of %i was returned from %s"), 
app->del.exit_code, app->app->exe);
+_("An exit code of %i was returned from %s."), 
app->del.exit_code, app->app->exe);
cfdata->exit = strdup(buf);
  }
if ((app->del.signalled) && (!cfdata->signal))
  {
if (app->del.exit_signal == SIGINT)
  snprintf(buf, sizeof(buf),
-  _("%s was interrupted by an Interrupt Signal"), 
app->app->exe);
+  _("%s was interrupted by an Interrupt Signal."), 
app->app->exe);
else if (app->del.exit_signal == SIGQUIT)
- snprintf(buf, sizeof(buf), _("%s was interrupted by a Quit Signal"),
+ snprintf(buf, sizeof(buf), _("%s was interrupted by a Quit Signal."),
   app->app->exe);
else if (app->del.exit_signal == SIGABRT)
  snprintf(buf, sizeof(buf),
-  _("%s was interrupted by an Abort Signal"), app->app->exe);
+  _("%s was interrupted by an Abort Signal."), app->app->exe);
else if (app->del.exit_signal == SIGFPE)
  snprintf(buf, sizeof(buf),
-  _("%s was interrupted by a Floating Point Error"), 
app->app->exe);
+  _("%s was interrupted by a Floating Point Error."), 
app->app->exe);
else if (app->del.exit_signal == SIGKILL)
  snprintf(buf, sizeof(buf),
-  _("%s was interrupted by an Uninterruptable Kill Signal"), 
app->app->exe);
+  _("%s was interrupted by an Uninterruptable Kill Signal."), 
app->app->exe);
else if (app->del.exit_signal == SIGSEGV)
  snprintf(buf, sizeof(buf),
-  _("%s was interrupted by a Segmentation Fault"), 
app->app->exe);
+  _("%s was interrupted by a Segmentation Fault."), 
app->app->exe);
else if (app->del.exit_signal == SIGPIPE)
  snprintf(buf, sizeof(buf), 
-  _("%s was interrupted by a Broken Pipe"), app->app->exe);
+  _("%s was interrupted by a Broken Pipe."), app->app->exe);
else if (app->del.exit_signal == SIGTERM)
  snprintf(buf, sizeof(buf),
-  _("%s was interrupted by a Termination Singal"), 
app->app->exe);
+  _("%s was interrupted by a Termination Signal."), 
app->app->exe);
else if (app->del.exit_signal == SIGBUS)
  snprintf(buf, sizeof(buf), 
-  _("%s was interrupted by a Bus Error"), app->app->exe);
+  _("%s was interrupted by a Bus Error."), app->app->exe);
else
  snprintf(buf, sizeof(buf),
-  _("%s was interrupted by the signal number %i"),
+  _("%s was interrupted by the signal number %i."),
   app->app->exe, app->del.exit_signal);
cfdata->signal = strdup(buf);
/* FIXME: Add  sigchld_info stuff
===
RCS file: /cvs/e/e17/apps/e/src/bin/e_fdo_menu_to_order.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_fdo_menu_to_order.c   15 Nov 2006 00:15:05 -  1.26
+++ e_fdo_menu_to_order.c   19 Nov 2006 08:58:05 -  1.27
@@ -333,60 +333,60 @@
   {
  if (strstr(token, "Development") != NULL)
{
-  cat = "Programming";
+  cat = _("Programming");
}
  else if (strstr(token, "Game") != NULL)
{
-  cat = "Games";
+  cat = _("Games");
}
  else if ((strstr(token, "AudioVideo") != NULL) ||
   (strstr(token, "Sound") != NULL) || 
(strstr(token, "Video") != NULL) || (strstr(token, "Multimedia") != NULL))
{
-  cat = "Multimedia";
+  cat = _("Multimedia");
}
  else if (strstr(token, "Net") !

E CVS: apps/e raster

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/ibar


Modified Files:
e_mod_config.c 


Log Message:


patches from people (see mail list) and stuff.

===
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_config.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- e_mod_config.c  30 Oct 2006 10:48:00 -  1.32
+++ e_mod_config.c  19 Nov 2006 08:58:05 -  1.33
@@ -118,15 +118,15 @@

rg = e_widget_radio_group_new(&(cfdata->eap_label));
 
-   cfdata->radio_name = e_widget_radio_add(evas, _("Display Eap Name"), 0, rg);
+   cfdata->radio_name = e_widget_radio_add(evas, _("Display App Name"), 0, rg);
e_widget_framelist_object_append(of, cfdata->radio_name);
if (!cfdata->show_label) e_widget_disabled_set(cfdata->radio_name, 1);
 
-   cfdata->radio_comment = e_widget_radio_add(evas, _("Display Eap Comment"), 
1, rg);
+   cfdata->radio_comment = e_widget_radio_add(evas, _("Display App Comment"), 
1, rg);
e_widget_framelist_object_append(of, cfdata->radio_comment);
if (!cfdata->show_label) e_widget_disabled_set(cfdata->radio_comment, 1);

-   cfdata->radio_generic = e_widget_radio_add(evas, _("Display Eap Generic"), 
2, rg);
+   cfdata->radio_generic = e_widget_radio_add(evas, _("Display App Generic"), 
2, rg);
e_widget_framelist_object_append(of, cfdata->radio_generic);
if (!cfdata->show_label) e_widget_disabled_set(cfdata->radio_generic, 1);

@@ -157,8 +157,8 @@
E_Config_Dialog_Data *cfdata;

cfdata = data;
-   e_entry_dialog_show(_("Create new ibar source"), "enlightenment/e",
-  _("Enter a name for this new source"), "", NULL, NULL,
+   e_entry_dialog_show(_("Create new IBar source"), "enlightenment/e",
+  _("Enter a name for this new source:"), "", NULL, NULL,
   _cb_entry_ok, NULL, cfdata);
 }
 



-
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


E CVS: apps/e raster

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e


Modified Files:
TODO configure.in 


Log Message:


patches from people (see mail list) and stuff.

===
RCS file: /cvs/e/e17/apps/e/TODO,v
retrieving revision 1.510
retrieving revision 1.511
diff -u -3 -r1.510 -r1.511
--- TODO19 Nov 2006 03:43:18 -  1.510
+++ TODO19 Nov 2006 08:58:04 -  1.511
@@ -62,6 +62,10 @@
   CLEANUPS
 ---
 
+* make e internal windows (config panel, dialogs, config windows etc.) use
+  special border styles by default
+* accidental DND removals of icons from ibar - make it harder by not removing
+  if you do not drag it far enough away (put the icon back where it was).
 * e app editor needs to be able to let users select what mime types that app
   can handle :)
 * applications config dialog is good - but "complex". people ask simple
@@ -107,6 +111,11 @@
   "NICE TO HAVE" FEATURES
 ---
 
+* insets in shelf needs to rottate with shelf
+* maybe look at improving config panel layout - list is getting VERY long
+* a way for modules to add config panel items
+* a way for external apps to register config panel items (and be executed)
+* option for svg icon render resolution size
 * for startup - apps that say "wait for me befofe running the next app" have
   a timeout so if they never complete - complain and continue anyway.
 * enlightenment_remote cmd's for logout, hibernate, reboot, suspend.
===
RCS file: /cvs/e/e17/apps/e/configure.in,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -3 -r1.144 -r1.145
--- configure.in7 Nov 2006 22:46:24 -   1.144
+++ configure.in19 Nov 2006 08:58:04 -  1.145
@@ -147,7 +147,7 @@
 #ALL_LINGUAS="bg de eo es fi fr ja pl pt ru zh_CN hu sl it cs da sk sv nb nl 
zh_TW ko"
 #ALL_LINGUAS="bg de eo es fi fr ja pt ru zh_CN hu sl it cs da sk sv nb nl 
zh_TW"
 # a lot of .po's are broken
-ALL_LINGUAS="bg ja ru hu sl it"
+ALL_LINGUAS="bg ja ru hu sl it fr"
 AC_SUBST(ALL_LINGUAS)
 
 AM_GNU_GETTEXT([external])



-
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


E CVS: apps/e raster

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/src/modules/pager


Modified Files:
e_mod_config.c e_mod_main.c e_mod_main.h 


Log Message:


patches from people (see mail list) and stuff.

===
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_config.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- e_mod_config.c  3 Sep 2006 07:40:45 -   1.22
+++ e_mod_config.c  19 Nov 2006 08:58:05 -  1.23
@@ -1,11 +1,37 @@
 #include "e.h"
 #include "e_mod_main.h"
 
+typedef enum _Pager_Grab_Button Pager_Grab_Button;
+enum _Pager_Grab_Button
+{
+   GRAB_BUTTON_DRAG,
+   GRAB_BUTTON_NOPLACE
+};
+
 struct _E_Config_Dialog_Data
 {
int show_popup;
double popup_speed;
int drag_resist;
+   unsigned char btn_drag;
+   unsigned char btn_noplace;
+   int flip_desk;
+
+   struct
+ {
+   Ecore_X_Window bind_win;
+   E_Dialog *dia;
+   Evas_List *handlers;
+
+   unsigned char *button1;
+   unsigned char *button2;
+ } grab;
+
+   struct
+ {
+   Evas_Object *o_btn1;
+   Evas_Object *o_btn2;
+ } gui;
 };
 
 /* Protos */
@@ -15,6 +41,11 @@
 static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
 static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata);
 static int _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata);
+static void _advanced_update_button_label(E_Config_Dialog_Data *cfdata);
+static void _grab_wnd_show(void *data1, void *data2);
+static void _grab_wnd_hide(E_Config_Dialog_Data *cfdata);
+static int _grab_mouse_down_cb(void *data, int type, void *event);
+static int _grab_key_down_cb(void *data, int type, void *event);
 
 void 
 _config_pager_module(Config_Item *ci)
@@ -47,6 +78,9 @@
cfdata->show_popup = pager_config->popup;
cfdata->popup_speed = pager_config->popup_speed;
cfdata->drag_resist = pager_config->drag_resist;
+   cfdata->btn_drag = pager_config->btn_drag;
+   cfdata->btn_noplace = pager_config->btn_noplace;
+   cfdata->flip_desk = pager_config->flip_desk;
 }
 
 static void *
@@ -111,6 +145,25 @@
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);   
 
+   of = e_widget_frametable_add(evas, _("Buttons Settings"), 0);
+   ob = e_widget_label_add(evas, _("Drag and select button"));
+   e_widget_frametable_object_append(of, ob, 1, 1, 1, 1, 1, 1, 1, 1);
+   ob = e_widget_label_add(evas, _("Drag no place button"));
+   e_widget_frametable_object_append(of, ob, 1, 2, 1, 1, 1, 1, 1, 1);
+   ob = e_widget_button_add(evas, _("Click to set"), NULL, _grab_wnd_show, 
(void *)GRAB_BUTTON_DRAG, cfdata);
+   e_widget_frametable_object_append(of, ob, 2, 1, 1, 1, 1, 1, 0, 0);
+   cfdata->gui.o_btn1 = ob;
+   ob = e_widget_button_add(evas, _("Click to set"), NULL, _grab_wnd_show, 
(void *)GRAB_BUTTON_NOPLACE, cfdata);
+   e_widget_frametable_object_append(of, ob, 2, 2, 1, 1, 1, 1, 0, 0);
+   cfdata->gui.o_btn2 = ob;
+   _advanced_update_button_label(cfdata);
+   e_widget_list_object_append(o, of, 1, 1, 0.5);   
+   
+   of = e_widget_framelist_add(evas, _("Wheel callback"), 0);   
+   ob = e_widget_check_add(evas, _("Flip desktop on mouse wheel"), 
&(cfdata->flip_desk));
+   e_widget_framelist_object_append(of, ob);
+   e_widget_list_object_append(o, of, 1, 1, 0.5);   
+
return o;
 }
 
@@ -120,7 +173,135 @@
pager_config->popup = cfdata->show_popup;
pager_config->popup_speed = cfdata->popup_speed;
pager_config->drag_resist = cfdata->drag_resist;
+   pager_config->btn_drag = cfdata->btn_drag;
+   pager_config->btn_noplace = cfdata->btn_noplace;
+   pager_config->flip_desk = cfdata->flip_desk;
_pager_cb_config_updated();
e_config_save_queue();
+   return 1;
+}
+
+static void
+_advanced_update_button_label(E_Config_Dialog_Data *cfdata)
+{
+   char label[256] = "";
+   
+   if (cfdata->btn_drag)
+ snprintf(label, sizeof(label), _("Button %i"), cfdata->btn_drag);
+   else
+ snprintf(label, sizeof(label), _("Click to set"));
+   e_widget_button_label_set(cfdata->gui.o_btn1, label);
+   
+   if (cfdata->btn_noplace)
+ snprintf(label, sizeof(label), _("Button %i"), cfdata->btn_noplace);
+   else
+ snprintf(label, sizeof(label), _("Click to set"));
+   e_widget_button_label_set(cfdata->gui.o_btn2, label);
+}
+
+static void
+_grab_wnd_show(void *data1, void *data2)
+{
+   E_Manager *man;
+   E_Config_Dialog_Data *cfdata;
+
+   man = e_manager_current_get();
+   cfdata = data2;
+
+   if ((Pager_Grab_Button)data1 == GRAB_BUTTON_DRAG)
+ {
+   cfdata->grab.button1 = &(cfdata->btn_drag);
+   cfdata->grab.button2 = &(cfdata->btn_noplace);
+ }
+   else
+ {
+   cfdata->grab.button1 = &(cfdata->btn_noplace);
+   cfdata->grab.button2 = &(cfdata->btn_drag);
+ }
+
+   cfdata->grab.dia = e_di

E CVS: apps/e raster

2006-11-19 Thread Enlightenment CVS
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir : e17/apps/e/po


Modified Files:
fr.po 


Log Message:


patches from people (see mail list) and stuff.




-
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