Request permision to add a new function to numpad layer for gnopernicus



Hi,

In gnopernicus current version is a feature that allows the user to
monitor (watch) events for a particular object, but there is no way to
stop this process.In order to do that, a new key from numpad layers
should be assigned for that, and this key should be exposed to user. 
Bug #132865 (http://bugzilla.gnome.org/show_bug.cgi?id=132865) filed
against gnopernicus is requiring this.

The function will be assigned to an unused key, and its action will be
to clear an internal list of watched object. Its intention is to provide
a way to stop an action in which the user is no longer interested.

We have the release team approval for this changes and we require
gnome-i18n approval.I attached a proposed patch, which will assigned the
required function to an unused key.


Best regards,
Dana
? gnopernicus/autom4te.cache
? gnopernicus/intltool-extract
? gnopernicus/intltool-merge
? gnopernicus/intltool-update
? gnopernicus/brlmon/braille_fonts/fonts.dir
? gnopernicus/gnopi/gnopi_files/Braille_Monitor_Settings/Makefile
? gnopernicus/gnopi/gnopi_files/Braille_Monitor_Settings/Makefile.in
? gnopernicus/help/braille_monitor/C/omf_timestamp
? gnopernicus/help/braille_monitor/es/Makefile
? gnopernicus/help/braille_monitor/es/Makefile.in
? gnopernicus/help/braille_monitor/es/brlmonitor-es.omf.out
? gnopernicus/help/braille_monitor/es/omf_timestamp
? gnopernicus/help/gnopernicus/C/omf_timestamp
? gnopernicus/help/gnopernicus/es/Makefile
? gnopernicus/help/gnopernicus/es/Makefile.in
? gnopernicus/help/gnopernicus/es/gnopernicus-es.omf.out
? gnopernicus/help/gnopernicus/es/omf_timestamp
Index: gnopernicus/NEWS
===================================================================
RCS file: /cvs/gnome/gnopernicus/NEWS,v
retrieving revision 1.30
diff -u -r1.30 NEWS
--- gnopernicus/NEWS	18 Jan 2004 15:30:10 -0000	1.30
+++ gnopernicus/NEWS	3 Feb 2004 16:04:59 -0000
@@ -1,5 +1,6 @@
 UI
     * map shutup function on control-left key.
+    * Possibility to remove all watches.
 
 ================
 Changes in 0.7.3
Index: gnopernicus/README
===================================================================
RCS file: /cvs/gnome/gnopernicus/README,v
retrieving revision 1.69
diff -u -r1.69 README
--- gnopernicus/README	29 Jan 2004 09:43:46 -0000	1.69
+++ gnopernicus/README	3 Feb 2004 16:05:00 -0000
@@ -358,6 +358,7 @@
 LAYER 1:
     1 - attributes at caret		X
     2 - watch current object		X
+    3 - unwatch all objects		X
     12 (+) - goto caret			X
 LAYER 2:
 LAYER 3:
Index: gnopernicus/gnopi/cmdmapconf.c
===================================================================
RCS file: /cvs/gnome/gnopernicus/gnopi/cmdmapconf.c,v
retrieving revision 1.32
diff -u -r1.32 cmdmapconf.c
--- gnopernicus/gnopi/cmdmapconf.c	7 Jan 2004 13:02:10 -0000	1.32
+++ gnopernicus/gnopi/cmdmapconf.c	3 Feb 2004 16:05:02 -0000
@@ -110,6 +110,7 @@
 	{"L01K12", {"goto caret",	 	NULL}},	
 	{"L01K01", {"attributes at caret", 	NULL}},
 	{"L01K02", {"watch current object", 	NULL}},
+	{"L01K03", {"unwatch all objects", 	NULL}},
 
 	{"L03K05", {"flat review",	 	NULL}},	
 	{"L03K04", {"window hierarchy",	 	NULL}},
Index: gnopernicus/gnopi/cmdmapui.c
===================================================================
RCS file: /cvs/gnome/gnopernicus/gnopi/cmdmapui.c,v
retrieving revision 1.44
diff -u -r1.44 cmdmapui.c
--- gnopernicus/gnopi/cmdmapui.c	7 Jan 2004 13:02:11 -0000	1.44
+++ gnopernicus/gnopi/cmdmapui.c	3 Feb 2004 16:05:05 -0000
@@ -102,6 +102,7 @@
 	{"find set", 		N_("find set")},
 	{"attributes at caret", N_("attributes at caret")},	
 	{"watch current object", N_("watch current object")},	
+	{"unwatch all objects", N_("unwatch all objects")},	
 
 	{"mouse left press", 	N_("mouse left press")},
 	{"mouse left click", 	N_("mouse left click")},
Index: gnopernicus/schemas/gnopernicus.schemas
===================================================================
RCS file: /cvs/gnome/gnopernicus/schemas/gnopernicus.schemas,v
retrieving revision 1.53
diff -u -r1.53 gnopernicus.schemas
--- gnopernicus/schemas/gnopernicus.schemas	26 Jan 2004 14:42:26 -0000	1.53
+++ gnopernicus/schemas/gnopernicus.schemas	3 Feb 2004 16:05:20 -0000
@@ -740,7 +740,7 @@
 <owner>gnopernicus</owner>
 <type>list</type>
 <list_type>string</list_type>
-<default>[L06K04,L06K06,L06K02,L06K08,L06K05,L06K07,L06K09,L06K10,L06K01,L06K03,L06K11,L06K12,L06K13,L07K09,L07K01,L07K03,L07K11,L07K08,L07K02,L07K06,L07K04,L07K05,L07K13,L07K10,L08K07,L08K09,L08K08,L08K04,L08K06,L08K05,L08K01,L08K03,L08K02,L08K10,L08K13,L00K08,L00K02,L00K04,L00K06,L00K05,L00K10,L00K07,L00K09,L00K01,L00K03,L00K11,L00K12,L00K15,L00K13,L00K14,L01K01,L01K02,L01K12,L03K05,L03K04,L03K07,L03K06,L03K02,L03K03,L03K10,L03K01,L05K01,L05K02,L05K03,L05K04,L05K05,L05K06,L05K07,L05K08,L05K09,L05K10,L09K01,L09K03,L09K04,L09K06,L10K01,L10K02,L10K03,L10L04]</default>
+<default>[L06K04,L06K06,L06K02,L06K08,L06K05,L06K07,L06K09,L06K10,L06K01,L06K03,L06K11,L06K12,L06K13,L07K09,L07K01,L07K03,L07K11,L07K08,L07K02,L07K06,L07K04,L07K05,L07K13,L07K10,L08K07,L08K09,L08K08,L08K04,L08K06,L08K05,L08K01,L08K03,L08K02,L08K10,L08K13,L00K08,L00K02,L00K04,L00K06,L00K05,L00K10,L00K07,L00K09,L00K01,L00K03,L00K11,L00K12,L00K15,L00K13,L00K14,L01K01,L01K02,L01K03,L01K12,L03K05,L03K04,L03K07,L03K06,L03K02,L03K03,L03K10,L03K01,L05K01,L05K02,L05K03,L05K04,L05K05,L05K06,L05K07,L05K08,L05K09,L05K10,L09K01,L09K03,L09K04,L09K06,L10K01,L10K02,L10K03,L10L04]</default>
 <locale name="C"></locale>
 </schema>
 <schema>
@@ -1058,6 +1058,18 @@
       </locale>
       </schema>
       <schema>
+      <key>/schemas/apps/gnopernicus/command_map/keyboard/L01K03/key_list</key>
+      <applyto>/apps/gnopernicus/command_map/keyboard/L01K03/key_list</applyto>
+      <owner>gnopernicus</owner>
+      <type>list</type>
+      <list_type>string</list_type>
+      <default>[unwatch all objects]</default>
+      <locale name="C">
+        <short>Command Map</short>
+        <long>Command Map</long>
+      </locale>
+      </schema>
+      <schema>
       <key>/schemas/apps/gnopernicus/command_map/keyboard/L01K12/key_list</key>
       <applyto>/apps/gnopernicus/command_map/keyboard/L01K12/key_list</applyto>
       <owner>gnopernicus</owner>
Index: gnopernicus/srcore/srctrl.c
===================================================================
RCS file: /cvs/gnome/gnopernicus/srcore/srctrl.c,v
retrieving revision 1.83
diff -u -r1.83 srctrl.c
--- gnopernicus/srcore/srctrl.c	29 Jan 2004 13:15:00 -0000	1.83
+++ gnopernicus/srcore/srctrl.c	3 Feb 2004 16:05:31 -0000
@@ -1229,6 +1229,17 @@
 }
 
 static gboolean
+src_unwatch_all ()
+{
+    srl_unwatch_all_objects ();
+    if (src_use_speech)
+    {
+	src_say_message (_("unwatch all objects"));
+    }
+    return TRUE;
+}
+
+static gboolean
 src_nav_caret ()
 {
     gboolean rv = FALSE;
@@ -3013,6 +3024,7 @@
 
 	{"attributes at caret", 	src_caret_attributes	 	},
 	{"watch current object", 	src_watch_current	 	},
+	{"unwatch all objects", 	src_unwatch_all	 		},
 
 	{"window hierarchy",		src_hierarchy_logic		},
 	{"window hierarchy flat",	src_hierarchy_flat		},


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]