[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: i_callbacks.nw
User: ahvezda
Date: 05/02/20 19:10:04
Modified: . i_callbacks.nw
Log:
Added hotkey assignment, hotkey callback implementation, and move the new
Add/Picture... menu item to the end of the menu list.
Revision Changes Path
1.41 +4 -2 eda/geda/devel/gschem/noweb/i_callbacks.nw
(In the diff below, changes in quantity of whitespace are not shown.)
Index: i_callbacks.nw
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/i_callbacks.nw,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- i_callbacks.nw 20 Feb 2005 17:07:32 -0000 1.40
+++ i_callbacks.nw 21 Feb 2005 00:10:04 -0000 1.41
@@ -3456,8 +3456,10 @@
<<i_callbacks.c : i_callback_add_picture_hotkey()>>=
DEFINE_I_CALLBACK(add_picture_hotkey)
{
- /* FIXME: If this function necessary? */
- fprintf(stderr, "Define add picture hotkey function if necessary!!\n");
+ TOPLEVEL *w_current = (TOPLEVEL *) data;
+
+ /* If this function necessary? Yes, if you want the hotkey to work. */
+ i_callback_add_picture(w_current, 0, NULL);
}