[gnumeric] Add CopyDown and CopyRight to fill sub menu
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] Add CopyDown and CopyRight to fill sub menu
- Date: Tue, 29 Dec 2009 03:49:58 +0000 (UTC)
commit f3efdfe7125280c13a69467107b4ead543aa8655
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Mon Dec 28 20:49:23 2009 -0700
Add CopyDown and CopyRight to fill sub menu
2009-12-28 Andreas J. Guelzow <aguelzow pyrshep ca>
* component/Gnumeric-embed.xml.in: add CopyDown and CopyRight
to menu
* src/GNOME_Gnumeric-gtk.xml.in: ditto
* src/HILDON_Gnumeric-gtk.xml.in: ditto
* src/wbc-gtk-actions.c (actions): add description for CopyDown
and CopyRight
ChangeLog | 9 +++++++++
component/Gnumeric-embed.xml.in | 2 ++
src/GNOME_Gnumeric-gtk.xml.in | 2 ++
src/HILDON_Gnumeric-gtk.xml.in | 2 ++
src/wbc-gtk-actions.c | 10 +++++-----
5 files changed, 20 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f5d5484..2c1ef21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2009-12-28 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * component/Gnumeric-embed.xml.in: add CopyDown and CopyRight
+ to menu
+ * src/GNOME_Gnumeric-gtk.xml.in: ditto
+ * src/HILDON_Gnumeric-gtk.xml.in: ditto
+ * src/wbc-gtk-actions.c (actions): add description for CopyDown
+ and CopyRight
+
+2009-12-28 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* src/wbc-gtk-actions.c (sort_by_rows): consider singleton
selections to be a request to sort the whole sheet [#141313]
diff --git a/component/Gnumeric-embed.xml.in b/component/Gnumeric-embed.xml.in
index 1dbbd91..855d4ef 100644
--- a/component/Gnumeric-embed.xml.in
+++ b/component/Gnumeric-embed.xml.in
@@ -213,6 +213,8 @@
<menuitem action="RandomGeneratorUncorrelated"/>
<menuitem action="RandomGeneratorCorrelated"/>
</menu>
+ <menuitem action="CopyDown"/>
+ <menuitem action="CopyRight"/>
</menu>
<menu name="Filter" action="MenuFilter">
<menuitem action="DataAutoFilter"/>
diff --git a/src/GNOME_Gnumeric-gtk.xml.in b/src/GNOME_Gnumeric-gtk.xml.in
index 22d1646..836b96a 100644
--- a/src/GNOME_Gnumeric-gtk.xml.in
+++ b/src/GNOME_Gnumeric-gtk.xml.in
@@ -212,6 +212,8 @@
<menuitem action="RandomGeneratorUncorrelated"/>
<menuitem action="RandomGeneratorCorrelated"/>
</menu>
+ <menuitem action="CopyDown"/>
+ <menuitem action="CopyRight"/>
</menu>
<menu name="Filter" action="MenuFilter">
<menuitem action="DataAutoFilter"/>
diff --git a/src/HILDON_Gnumeric-gtk.xml.in b/src/HILDON_Gnumeric-gtk.xml.in
index e93184e..f2b4980 100644
--- a/src/HILDON_Gnumeric-gtk.xml.in
+++ b/src/HILDON_Gnumeric-gtk.xml.in
@@ -46,6 +46,8 @@
<menuitem action="RandomGeneratorUncorrelated"/>
<menuitem action="RandomGeneratorCorrelated"/>
</menu>
+ <menuitem action="CopyDown"/>
+ <menuitem action="CopyRight"/>
</menu>
<menu name="Clear" action="MenuEditClear">
<menuitem action="EditClearAll"/>
diff --git a/src/wbc-gtk-actions.c b/src/wbc-gtk-actions.c
index 5c9ea22..cd9128a 100644
--- a/src/wbc-gtk-actions.c
+++ b/src/wbc-gtk-actions.c
@@ -2214,8 +2214,12 @@ static GtkActionEntry const actions[] = {
NULL, N_("Generate random numbers of a selection of distributions"),
G_CALLBACK (cb_tools_random_generator_uncorrelated) },
{ "RandomGeneratorCorrelated", NULL, N_("_Correlated..."),
- NULL, N_("Generate varaites for correlated normal distributed random variables"),
+ NULL, N_("Generate variates for correlated normal distributed random variables"),
G_CALLBACK (cb_tools_random_generator_correlated) },
+ { "CopyDown", NULL, N_("Fill downwards"), "<control>D",
+ N_("Copy the content from the top row to the cells below"), G_CALLBACK (cb_copydown) },
+ { "CopyRight", NULL, N_("Fill to right"), "<control>R",
+ N_("Copy the content from the left column to the cells on the right"), G_CALLBACK (cb_copyright) },
/* Data -> Outline */
@@ -2372,10 +2376,6 @@ static GtkActionEntry const actions[] = {
{ "FormatIncreaseIndent", GTK_STOCK_INDENT, NULL,
"<control><alt>Tab", N_("Increase the indent, and align the contents to the left"),
G_CALLBACK (cb_format_inc_indent) },
-/* Unattached */
-#warning add descriptions for copy down/right
- { "CopyDown", NULL, "", "<control>D", NULL, G_CALLBACK (cb_copydown) },
- { "CopyRight", NULL, "", "<control>R", NULL, G_CALLBACK (cb_copyright) }
};
#define TOGGLE_HANDLER(flag,property) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]