Commit 96e2ec21 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

disable the removal of Shift as an accelerator fixes the double movement

2002-02-02  Jody Goldberg <jody@gnome.org>

	* src/main.c (main) : disable the removal of Shift as an accelerator
	  fixes the double movement in treeviews strangeness.

	* src/workbook-control-gui.c : reorganize the insert menu.
	* src/GNOME_Gnumeric.xml : ditto.
parent 05d19cf8
2002-02-02 Jody Goldberg <jody@gnome.org>
* src/main.c (main) : disable the removal of Shift as an accelerator
fixes the double movement in treeviews strangeness.
* src/workbook-control-gui.c : reorganize the insert menu.
* src/GNOME_Gnumeric.xml : ditto.
2002-02-01 Jody Goldberg <jody@gnome.org>
* src/xml-io-autoft.c : port to libxml2 and begin merging into
......
2002-02-02 Jody Goldberg <jody@gnome.org>
* src/main.c (main) : disable the removal of Shift as an accelerator
fixes the double movement in treeviews strangeness.
* src/workbook-control-gui.c : reorganize the insert menu.
* src/GNOME_Gnumeric.xml : ditto.
2002-02-01 Jody Goldberg <jody@gnome.org>
* src/xml-io-autoft.c : port to libxml2 and begin merging into
......
2002-02-02 Jody Goldberg <jody@gnome.org>
* src/main.c (main) : disable the removal of Shift as an accelerator
fixes the double movement in treeviews strangeness.
* src/workbook-control-gui.c : reorganize the insert menu.
* src/GNOME_Gnumeric.xml : ditto.
2002-02-01 Jody Goldberg <jody@gnome.org>
* src/xml-io-autoft.c : port to libxml2 and begin merging into
......
......@@ -314,23 +314,22 @@
<submenu name="Insert" _label="_Insert">
<menuitem name="InsertSheet" verb=""
_label="_Sheet"
_tip="Insert a new spreadsheet"/>
<menuitem name="InsertRows" verb=""
pixtype="stock" pixname="Gnumeric_RowAdd"
_label="_Rows"
_tip="Insert new rows"/>
<menuitem name="InsertCells" verb=""
_label="C_ells..."
_tip="Insert new cells"/>
<menuitem name="InsertColumns" verb=""
pixtype="stock" pixname="Gnumeric_ColumnAdd"
_label="_Columns"
_tip="Insert new columns"/>
<menuitem name="InsertRows" verb=""
pixtype="stock" pixname="Gnumeric_RowAdd"
_label="_Rows"
_tip="Insert new rows"/>
<menuitem name="InsertSheet" verb=""
_label="_Sheet"
_tip="Insert a new spreadsheet"/>
<menuitem name="InsertCells" verb=""
_label="C_ells..."
_tip="Insert new cells"/>
<separator/>
<menuitem name="InsertGraph" verb="GraphGuru"
pixtype="stock" pixname="Gnumeric_GraphGuru"
......
......@@ -216,6 +216,14 @@ main (int argc, char *argv [])
global_gnome_font_init ();
#if 0
/* 2/Feb/2002 JEG
* disable the code below and pray for a solution to 50300
* With it enabled treeview (and probably other widgets) get
* confused and register duplicate bindings for the shifted and non
* shifted versions. When we disable shift, things go to hell
* and happen twice.
*/
/* Ignore Shift for accelerators to avoid problems with different
* keyboard layouts that change the shift state of various keys.
*
......@@ -223,8 +231,8 @@ main (int argc, char *argv [])
*/
gtk_accelerator_set_default_mod_mask (
gtk_accelerator_get_default_mod_mask() & ~GDK_SHIFT_MASK);
#endif
/* Glade */
glade_gnome_init ();
if (dump_file_name) {
......
......@@ -216,6 +216,14 @@ main (int argc, char *argv [])
global_gnome_font_init ();
#if 0
/* 2/Feb/2002 JEG
* disable the code below and pray for a solution to 50300
* With it enabled treeview (and probably other widgets) get
* confused and register duplicate bindings for the shifted and non
* shifted versions. When we disable shift, things go to hell
* and happen twice.
*/
/* Ignore Shift for accelerators to avoid problems with different
* keyboard layouts that change the shift state of various keys.
*
......@@ -223,8 +231,8 @@ main (int argc, char *argv [])
*/
gtk_accelerator_set_default_mod_mask (
gtk_accelerator_get_default_mod_mask() & ~GDK_SHIFT_MASK);
#endif
/* Glade */
glade_gnome_init ();
if (dump_file_name) {
......
......@@ -2798,18 +2798,18 @@ static GnomeUIInfo workbook_menu_names [] = {
};
static GnomeUIInfo workbook_menu_insert [] = {
GNOMEUIINFO_ITEM_NONE (N_("_Sheet"),
N_("Insert a new spreadsheet"),
cb_insert_sheet),
GNOMEUIINFO_ITEM_STOCK (N_("_Rows"),
N_("Insert new rows"),
cb_insert_rows, "Gnumeric_RowAdd"),
GNOMEUIINFO_ITEM_STOCK (N_("_Columns"),
N_("Insert new columns"),
cb_insert_cols, "Gnumeric_ColumnAdd"),
GNOMEUIINFO_ITEM_NONE (N_("C_ells..."),
N_("Insert new cells"),
cb_insert_cells),
GNOMEUIINFO_ITEM_STOCK (N_("_Columns"),
N_("Insert new columns"),
cb_insert_cols, "Gnumeric_ColumnAdd"),
GNOMEUIINFO_ITEM_STOCK (N_("_Rows"),
N_("Insert new rows"),
cb_insert_rows, "Gnumeric_RowAdd"),
GNOMEUIINFO_ITEM_NONE (N_("_Sheet"),
N_("Insert a new spreadsheet"),
cb_insert_sheet),
GNOMEUIINFO_SEPARATOR,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment