diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 00:42:45 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-03-23 00:42:45 +0000 |
commit | 2e562ea7b4fcae053bf48939baaaea2baef55588 (patch) | |
tree | eadcb308f5d8cbad698060698163c1385858f2f5 | |
parent | 81297cee317800158e3eed2e3aac9bc0fa2f39c8 (diff) |
From Sake Blok (via -dev list and enhancement bug #1449):
I did however see some small errors in the
documentation that I did not notice when I sent in the patch. This
patch corrects them and adds an accelerated key:
- table 6.1 remove "Analyze" from "Identical..." column for "Copy as Filter"
- table 6.2 add "Edit" from "Identical..." column for "Copy as Filter"
- Added accelerator key for "Copy as Filter". I chose "Shift+Ctrl+C", so
that "Ctrl+C" is still available for "standard" copy
Image figure 3.4 should be renewed, reflecting the change in the menu
structure.
svn path=/trunk/; revision=21140
-rw-r--r-- | docbook/wsug_graphics/ws-edit-menu.png | bin | 52318 -> 50008 bytes | |||
-rw-r--r-- | docbook/wsug_src/WSUG_chapter_use.xml | 2 | ||||
-rw-r--r-- | docbook/wsug_src/WSUG_chapter_work.xml | 6 | ||||
-rw-r--r-- | gtk/menu.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/docbook/wsug_graphics/ws-edit-menu.png b/docbook/wsug_graphics/ws-edit-menu.png Binary files differindex 29d7ed1014..c879d445e1 100644 --- a/docbook/wsug_graphics/ws-edit-menu.png +++ b/docbook/wsug_graphics/ws-edit-menu.png diff --git a/docbook/wsug_src/WSUG_chapter_use.xml b/docbook/wsug_src/WSUG_chapter_use.xml index 411f9b19f9..6067017b04 100644 --- a/docbook/wsug_src/WSUG_chapter_use.xml +++ b/docbook/wsug_src/WSUG_chapter_use.xml @@ -575,7 +575,7 @@ <tbody> <row> <entry><command>Copy > As Filter</command></entry> - <entry></entry> + <entry>Shift+Ctrl+C</entry> <entry><para> This menu item will use the selected item in the detail view to create a display filter. This display filter is then copied to diff --git a/docbook/wsug_src/WSUG_chapter_work.xml b/docbook/wsug_src/WSUG_chapter_work.xml index 44b7d41ee9..10f1505ec3 100644 --- a/docbook/wsug_src/WSUG_chapter_work.xml +++ b/docbook/wsug_src/WSUG_chapter_work.xml @@ -185,8 +185,8 @@ </entry> </row> <row> - <entry><command>Copy as Filter</command></entry> - <entry>Analyze</entry> + <entry><command>Copy/ As Filter</command></entry> + <entry></entry> <entry> <para> Prepare a display filter based on the currently selected item @@ -360,7 +360,7 @@ </row> <row> <entry><command>Copy/ As Filter</command></entry> - <entry>-</entry> + <entry>Edit</entry> <entry> <para> Prepare a display filter based on the currently selected item diff --git a/gtk/menu.c b/gtk/menu.c index 58da46cdf3..b8c5ee1241 100644 --- a/gtk/menu.c +++ b/gtk/menu.c @@ -433,7 +433,7 @@ static GtkItemFactoryEntry menu_items[] = 0, GTK_STOCK_QUIT), ITEM_FACTORY_ENTRY("/_Edit", NULL, NULL, 0, "<Branch>", NULL), ITEM_FACTORY_ENTRY("/Edit/Copy", NULL, NULL, 0, "<Branch>", NULL), - ITEM_FACTORY_ENTRY("/Edit/Copy/As Filter", NULL, match_selected_ptree_cb, + ITEM_FACTORY_ENTRY("/Edit/Copy/As Filter", "<shift><control>C", match_selected_ptree_cb, MATCH_SELECTED_REPLACE|MATCH_SELECTED_COPY_ONLY, NULL, NULL), #if 0 /* Un-#if this when we actually implement Cut/Copy/Paste. */ |