All pastes #592804 Raw Edit

Miscellany

public text v1 · immutable
#592804 ·published 2007-06-27 22:54 UTC
rendered paste body
Index: lang/desktop-control.fsg
===================================================================
--- lang/desktop-control.fsg	(revision 101)
+++ lang/desktop-control.fsg	(working copy)
@@ -1,7 +1,7 @@
 FSG_BEGIN desktop-control
-NUM_STATES 17
+NUM_STATES 19
 START_STATE 0
-FINAL_STATE 16
+FINAL_STATE 18
 
 # Transitions
 TRANSITION 0 1 0.0909
@@ -18,12 +18,15 @@
 TRANSITION 9 15 1.0 WINDOW
 TRANSITION 10 15 1.0 WINDOW
 TRANSITION 5 11 1.0 RUN
-TRANSITION 11 12 0.3 TERMINAL
-TRANSITION 11 13 0.3 BROWSER
-TRANSITION 11 14 0.3 MAIL
+TRANSITION 11 12 0.25 TERMINAL
+TRANSITION 11 13 0.25 BROWSER
+TRANSITION 11 14 0.25 MAIL
+TRANSITION 11 17 0.25 TEXT
+TRANSITION 17 18 1.0 EDITOR
 TRANSITION 12 16 0.0909
 TRANSITION 13 16 0.0909
 TRANSITION 14 16 0.0909
 TRANSITION 15 16 0.0909
+TRANSITION 18 16 0.0909
 TRANSITION 16 0  1.0
 FSG_END
Index: src/action.h
===================================================================
--- src/action.h	(revision 101)
+++ src/action.h	(working copy)
@@ -9,6 +9,7 @@
     ACTION_NEXT_WINDOW,
     ACTION_MINIMIZE_WINDOW,
     ACTION_MAXIMIZE_WINDOW,
+    ACTION_RUN_TEXT_EDITOR
 } VoiceAction;
 
 void 
Index: src/voice-control.c
===================================================================
--- src/voice-control.c	(revision 101)
+++ src/voice-control.c	(working copy)
@@ -205,7 +205,10 @@
 	} else if (g_strrstr (message, "RUN MAIL")) {
 		do_action (ACTION_RUN_MAIL);
 		return;
-	} else if (g_strrstr (message, "CLOSE WINDOW")) {
+	} else if (g_strrstr (message, "RUN TEXT EDITOR")) {
+		do_action (ACTION_RUN_TEXT_EDITOR);
+		return;
+        } else if (g_strrstr (message, "CLOSE WINDOW")) {
 		g_idle_add ((GSourceFunc)do_action, GINT_TO_POINTER (ACTION_CLOSE_WINDOW));
 		return;
 	} else if (g_strrstr (message, "NEXT WINDOW")) {
@@ -217,7 +220,7 @@
 	} else if (g_strrstr (message, "MAXIMIZE WINDOW")) {
 		g_idle_add ((GSourceFunc)do_action, GINT_TO_POINTER (ACTION_MAXIMIZE_WINDOW));
 		return;
-	}
+	} 
 	
 	if (voice_control->last_message)
 		g_free (voice_control->last_message);
Index: src/action.c
===================================================================
--- src/action.c	(revision 101)
+++ src/action.c	(working copy)
@@ -26,6 +26,9 @@
 	    case ACTION_RUN_MAIL:
     		g_spawn_command_line_async ("evolution", NULL);
 		break;
+            case ACTION_RUN_TEXT_EDITOR:
+    		g_spawn_command_line_async ("gedit", NULL);
+                break;
 	    case ACTION_CLOSE_WINDOW:
 		screen = wnck_screen_get_default ();
 		if (screen)
Index: NEWS
===================================================================
--- NEWS	(revision 104)
+++ NEWS	(working copy)
@@ -4,20 +4,12 @@
 
 New features added:
 
-    * Suport to control menus with voice
+    * Suport to control menus with voice.
 
 Bugs fixed:
 
-    * Stop on calibration(Nickolay V. Shmyrev).
+    * Stop on calibration.
 
-Where to get the last release of the gnome-voice-control:
-
-    http://live.gnome.org/GnomeVoiceControl/Downloads
-
-More Information about the gnome-voice-control
-
-    http://live.gnome.org/GnomeVoiceControl
-
 Translators:
 
     Nickolay V. Shmyrev (ru)
Index: README
===================================================================
--- README	(revision 103)
+++ README	(working copy)
@@ -7,7 +7,7 @@
 Dependency:
 
 sphinx2
-
+	
 Where to download sphinx2:
 
 http://cmusphinx.org/download/nightly/sphinx2.nightly.tar.gz
@@ -35,8 +35,11 @@
 make
 make install
 
-After all, add the VoiceControl to pannel
+After all, add the VoiceControl to pannel and enable the ally support.
 
+The gnome-voice-control need the ally support enabled to function some
+features.
+
 Actions implemented:
 
 RUN TERMINAL     : open gnome-terminal
@@ -68,5 +71,3 @@
 
 and others.
 
- 
-Raphael Nunes da Motta <raphael.nunes.enc04@gmail.com>