Commit a5672c46 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

fix the icon names.

2002-01-25  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (scg_context_menu) : fix the icon names.

	* src/gui-util.c (gnumeric_popup_menu) : sink the menus.
parent f4df79a7
2002-01-25 Jody Goldberg <jody@gnome.org>
* src/sheet-control-gui.c (scg_context_menu) : fix the icon names.
* src/gui-util.c (gnumeric_popup_menu) : sink the menus.
* src/main.c (main) : lock the encoding to be utf-8.
* src/eval.c : enable the micro hash by default.
......
2002-01-25 Jody Goldberg <jody@gnome.org>
* src/sheet-control-gui.c (scg_context_menu) : fix the icon names.
* src/gui-util.c (gnumeric_popup_menu) : sink the menus.
* src/main.c (main) : lock the encoding to be utf-8.
* src/eval.c : enable the micro hash by default.
......
2002-01-25 Jody Goldberg <jody@gnome.org>
* src/sheet-control-gui.c (scg_context_menu) : fix the icon names.
* src/gui-util.c (gnumeric_popup_menu) : sink the menus.
* src/main.c (main) : lock the encoding to be utf-8.
* src/eval.c : enable the micro hash by default.
......
2002-01-25 Jody Goldberg <jody@gnome.org>
* src/sheet-control-gui.c (scg_context_menu) : fix the icon names.
* src/gui-util.c (gnumeric_popup_menu) : sink the menus.
* src/main.c (main) : lock the encoding to be utf-8.
* src/eval.c : enable the micro hash by default.
......
......@@ -318,16 +318,16 @@
_label="_Sheet"
_tip="Insert a new spreadsheet"/>
<menuitem name="InsertRows" verb=""
pixtype="stock" pixname="Gnumeric_RowAdd"
_label="_Rows"
_tip="Insert new rows"/>
<menuitem name="InsertColumns" verb=""
pixtype="stock" pixname="Gnumeric_ColumnAdd"
pixtype="stock" pixname="Gnumeric_AddColumn"
_label="_Columns"
_tip="Insert new columns"/>
<menuitem name="InsertRows" verb=""
pixtype="stock" pixname="Gnumeric_AddRow"
_label="_Rows"
_tip="Insert new rows"/>
<menuitem name="InsertCells" verb=""
_label="C_ells..."
_tip="Insert new cells"/>
......@@ -386,7 +386,7 @@
<submenu _label="C_olumn">
<menuitem name="Size" verb="ColumnSize"
pixtype="stock" pixname="Gnumeric_ColumnSize"
pixtype="stock" pixname="Gnumeric_CellWidth"
_label="_Width..."
_tip="Change width of the selected columns" />
......@@ -395,12 +395,12 @@
_tip="Ensure columns are just wide enough to display content" />
<menuitem name="Hide" verb="ColumnHide"
pixtype="stock" pixname="Gnumeric_ColumnHide"
pixtype="stock" pixname="Gnumeric_HideColumn"
_label="_Hide"
_tip="Hide the selected columns" />
<menuitem name="Unhide" verb="ColumnUnhide"
pixtype="stock" pixname="Gnumeric_ColumnUnhide"
pixtype="stock" pixname="Gnumeric_UnhideColumn"
_label="_Unhide"
_tip="Make any hidden columns in the selection visible" />
......@@ -420,12 +420,12 @@
_tip="Ensure rows are just tall enough to display content" />
<menuitem name="Hide" verb="RowHide"
pixtype="stock" pixname="Gnumeric_RowHide"
pixtype="stock" pixname="Gnumeric_HideRow"
_label="_Hide"
_tip="Hide the selected rows" />
<menuitem name="Unhide" verb="RowUnhide"
pixtype="stock" pixname="Gnumeric_RowUnhide"
pixtype="stock" pixname="Gnumeric_UnhideRow"
_label="_Unhide"
_tip="Make any hidden rows in the selection visible" />
......
......@@ -609,6 +609,9 @@ gnumeric_popup_menu (GtkMenu *menu, GdkEventButton *event)
g_return_if_fail (menu != NULL);
g_return_if_fail (GTK_IS_MENU (menu));
gtk_object_ref (GTK_OBJECT (menu));
gtk_object_sink (GTK_OBJECT (menu));
gtk_signal_connect (GTK_OBJECT (menu), "hide",
GTK_SIGNAL_FUNC (kill_popup_menu), menu);
......
......@@ -1388,11 +1388,11 @@ scg_context_menu (SheetControlGUI *scg, GdkEventButton *event,
};
static GnumericPopupMenuElement const popup_elements[] = {
{ N_("Cu_t"), "Menu_Gnumeric_Cut",
{ N_("Cu_t"), GTK_STOCK_CUT,
0, 0, CONTEXT_CUT },
{ N_("_Copy"), "Menu_Gnumeric_Copy",
{ N_("_Copy"), GTK_STOCK_COPY,
0, 0, CONTEXT_COPY },
{ N_("_Paste"), "Menu_Gnumeric_Paste",
{ N_("_Paste"), GTK_STOCK_PASTE,
0, 0, CONTEXT_PASTE },
{ N_("Paste _Special"), NULL,
0, CONTEXT_DISABLE_PASTE_SPECIAL, CONTEXT_PASTE_SPECIAL },
......@@ -1410,13 +1410,13 @@ scg_context_menu (SheetControlGUI *scg, GdkEventButton *event,
CONTEXT_DISPLAY_FOR_CELLS, 0, CONTEXT_INSERT },
{ N_("_Delete..."), NULL,
CONTEXT_DISPLAY_FOR_CELLS, 0, CONTEXT_DELETE },
{ N_("_Insert Column(s)"), "Menu_Gnumeric_ColumnAdd",
{ N_("_Insert Column(s)"), "Gnumeric_AddColumn",
CONTEXT_DISPLAY_FOR_COLS, CONTEXT_DISABLE_FOR_COLS, CONTEXT_INSERT },
{ N_("_Delete Column(s)"), "Menu_Gnumeric_ColumnDelete",
{ N_("_Delete Column(s)"), "Gnumeric_DeleteColumn",
CONTEXT_DISPLAY_FOR_COLS, CONTEXT_DISABLE_FOR_COLS, CONTEXT_DELETE },
{ N_("_Insert Row(s)"), "Menu_Gnumeric_RowAdd",
{ N_("_Insert Row(s)"), "Gnumeric_AddRow",
CONTEXT_DISPLAY_FOR_ROWS, CONTEXT_DISABLE_FOR_ROWS, CONTEXT_INSERT },
{ N_("_Delete Row(s)"), "Menu_Gnumeric_RowDelete",
{ N_("_Delete Row(s)"), "Gnumeric_DeleteRow",
CONTEXT_DISPLAY_FOR_ROWS, CONTEXT_DISABLE_FOR_ROWS, CONTEXT_DELETE },
{ N_("Clear Co_ntents"),NULL,
......@@ -1429,19 +1429,19 @@ scg_context_menu (SheetControlGUI *scg, GdkEventButton *event,
0, 0, CONTEXT_FORMAT_CELL },
/* Column specific (Note some labels duplicate row labels) */
{ N_("Column _Width..."), "Menu_Gnumeric_ColumnSize",
{ N_("Column _Width..."), "Gnumeric_CellWidth",
CONTEXT_DISPLAY_FOR_COLS, 0, CONTEXT_COL_WIDTH },
{ N_("_Hide"), "Menu_Gnumeric_ColumnHide",
{ N_("_Hide"), "Gnumeric_HideColumn",
CONTEXT_DISPLAY_FOR_COLS, 0, CONTEXT_COL_HIDE },
{ N_("_Unhide"), "Menu_Gnumeric_ColumnUnhide",
{ N_("_Unhide"), "Gnumeric_UnhideColumn",
CONTEXT_DISPLAY_FOR_COLS, 0, CONTEXT_COL_UNHIDE },
/* Row specific (Note some labels duplicate col labels) */
{ N_("_Row Height..."), "Menu_Gnumeric_RowSize",
{ N_("_Row Height..."), "Gnumeric_CellHeight",
CONTEXT_DISPLAY_FOR_ROWS, 0, CONTEXT_ROW_HEIGHT },
{ N_("_Hide"), "Menu_Gnumeric_RowHide",
{ N_("_Hide"), "Gnumeric_HideRow",
CONTEXT_DISPLAY_FOR_ROWS, 0, CONTEXT_ROW_HIDE },
{ N_("_Unhide"), "Menu_Gnumeric_RowUnhide",
{ N_("_Unhide"), "Gnumeric_UnhideRow",
CONTEXT_DISPLAY_FOR_ROWS, 0, CONTEXT_ROW_UNHIDE },
{ NULL, NULL, 0, 0, 0 },
......
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