|
From: <enl...@li...> - 2002-02-09 18:01:09
|
Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : apps/ebindings
Dir : e17/apps/ebindings/src
Modified Files:
keybind_interface.c menu_interface.c action_extra.c
Log Message:
Patch from Alan Schmitt to do desktop relative.
Fixed a misspelling in the menu interface
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/ebindings/src/keybind_interface.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- keybind_interface.c 3 Nov 2001 16:54:04 -0000 1.3
+++ keybind_interface.c 9 Feb 2002 18:01:08 -0000 1.4
@@ -69,8 +69,9 @@
"Window_Snap",
"Window_Zoom",
"Desktop",
+ "Desktop_Relative",
"Window_Next"
- /* count is 22 currently */
+ /* count is 23 currently */
/* based on options in e_action_init in actions.c in e17/e/src */
};
@@ -389,7 +390,7 @@
/* setup the specified key */
gtk_clist_get_text(GTK_CLIST(w), row, 2, &temp);
- if ((!strcmp("Execute", temp)) || (!strcmp("Desktop", temp)))
+ if ((!strcmp("Execute", temp)) || (!strcmp("Desktop", temp)) || (!strcmp("Desktop_Relative",temp)))
{
gtk_entry_set_editable(GTK_ENTRY(k_entry.p), TRUE);
gtk_clist_get_text(GTK_CLIST(w), row, 3, ¶ms);
@@ -417,7 +418,7 @@
gtk_clist_get_text(GTK_CLIST(w), row, 0, &temp);
- if ((!strcmp("Execute", temp)) || (!strcmp("Desktop", temp)))
+ if ((!strcmp("Execute", temp)) || (!strcmp("Desktop", temp)) || (!strcmp("Desktop_Relative",temp)))
{
gtk_entry_set_editable(GTK_ENTRY(k_entry.p), TRUE);
}
@@ -470,7 +471,7 @@
tmp = NULL;
gtk_clist_get_text(GTK_CLIST(k_entry.list), i, 3, &tmp);
- if ((!strcmp("Execute", e->action)) || (!strcmp("Desktop", e->action)))
+ if ((!strcmp("Execute", e->action)) || (!strcmp("Desktop", e->action)) || (!strcmp("Desktop_Relative", e->action)))
{
if (tmp)
e->params = strdup(tmp);
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/ebindings/src/menu_interface.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- menu_interface.c 3 Nov 2001 16:54:04 -0000 1.4
+++ menu_interface.c 9 Feb 2002 18:01:08 -0000 1.5
@@ -816,7 +816,7 @@
case E_MENU_SEPARATOR:
fields[3] = g_strdup("Separator");
g_free(fields[0]);
- fields[0] = g_strdup("-(SEPERATOR)-");
+ fields[0] = g_strdup("-(SEPARATOR)-");
break;
case E_MENU_EXECUTABLE:
fields[3] = g_strdup("Executable");
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/ebindings/src/action_extra.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- action_extra.c 3 Nov 2001 16:54:03 -0000 1.3
+++ action_extra.c 9 Feb 2002 18:01:08 -0000 1.4
@@ -79,8 +79,9 @@
"Window_Snap",
"Window_Zoom",
"Desktop",
+ "Desktop_Relative",
"Window_Next",
- /* count is 19 currently */
+ /* count is 20 currently */
/* based on options in e_action_init in actions.c in e17/e/src */
};
static gchar *ebits_hot_spots[] = {
|