Commit 5ae7eceb authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

automate removing the generated files.


2001-04-13  Jody Goldberg <jgoldberg@home.com>

	* idl/Makefile.am (dist-hook) : automate removing the generated files.

	* src/workbook-control-gui.c (workbook_menu_data_outline) : new menu.
parent 7daf5711
2001-04-13 Jody Goldberg <jgoldberg@home.com>
* idl/Makefile.am (dist-hook) : automate removing the generated files.
* src/workbook-control-gui.c (workbook_menu_data_outline) : new menu.
* src/Makefile.am : workbook-control-bonobo is not ready for prime
time.
......
2001-04-13 Jody Goldberg <jgoldberg@home.com>
* idl/Makefile.am (dist-hook) : automate removing the generated files.
* src/workbook-control-gui.c (workbook_menu_data_outline) : new menu.
* src/Makefile.am : workbook-control-bonobo is not ready for prime
time.
......
2001-04-13 Jody Goldberg <jgoldberg@home.com>
* idl/Makefile.am (dist-hook) : automate removing the generated files.
* src/workbook-control-gui.c (workbook_menu_data_outline) : new menu.
* src/Makefile.am : workbook-control-bonobo is not ready for prime
time.
......
2001-04-13 Jody Goldberg <jgoldberg@home.com>
* idl/Makefile.am (dist-hook) : automate removing the generated files.
* src/workbook-control-gui.c (workbook_menu_data_outline) : new menu.
* src/Makefile.am : workbook-control-bonobo is not ready for prime
time.
......
2001-04-13 Jody Goldberg <jgoldberg@home.com>
* idl/Makefile.am (dist-hook) : automate removing the generated files.
* src/workbook-control-gui.c (workbook_menu_data_outline) : new menu.
* src/Makefile.am : workbook-control-bonobo is not ready for prime
time.
......
......@@ -9,25 +9,25 @@ noinst_LIBRARIES = libGnumericIDL.a
else
endif
GNUMERIC_CORBA_GENERATED = \
GNUMERIC_GENERATED = \
Gnumeric-common.c \
Gnumeric-skels.c \
Gnumeric-stubs.c \
Gnumeric.h
GNUMERIC_GRAPHS_CORBA_GENERATED = \
GNUMERIC_GRAPHS_GENERATED = \
gnumeric-graphs-common.c \
gnumeric-graphs-skels.c \
gnumeric-graphs-stubs.c \
gnumeric-graphs.h
libGnumericIDL_a_SOURCES = $(GNUMERIC_CORBA_GENERATED) $(GNUMERIC_GRAPHS_CORBA_GENERATED)
libGnumericIDL_a_SOURCES = $(GNUMERIC_GENERATED) $(GNUMERIC_GRAPHS_GENERATED)
$(GNUMERIC_CORBA_GENERATED): $(srcdir)/Gnumeric.idl
$(GNUMERIC_GENERATED): $(srcdir)/Gnumeric.idl
orbit-idl -I$(srcdir) $(IDL_FLAGS) $(srcdir)/Gnumeric.idl
touch my_gnumeric_idl
$(GNUMERIC_GRAPHS_CORBA_GENERATED): $(srcdir)/gnumeric-graphs.idl
$(GNUMERIC_GRAPHS_GENERATED): $(srcdir)/gnumeric-graphs.idl
orbit-idl -I$(srcdir) $(IDL_FLAGS) $(srcdir)/gnumeric-graphs.idl
touch my_gnumeric_graphs_idl
......@@ -35,5 +35,10 @@ idldir = $(gnumeric_datadir)/idl
idl_DATA = gnumeric-graphs.idl Gnumeric.idl
EXTRA_DIST = $(idl_DATA)
CLEANFILES += my_gnumeric_idl $(GNUMERIC_CORBA_GENERATED) \
my_gnumeric_graphs_idl $(GNUMERIC_GRAPHS_CORBA_GENERATED)
CLEANFILES += my_gnumeric_idl $(GNUMERIC_GENERATED) \
my_gnumeric_graphs_idl $(GNUMERIC_GRAPHS_GENERATED)
dist-hook :
for file in $(libGnumericIDL_a_SOURCES); do \
rm -f $(distdir)/$$file ; \
done
......@@ -435,6 +435,25 @@
_label="_Filter..."
_tip="Filter data with given criteria"/>
<submenu name="Outline" _label="_Group and Outline">
<menuitem name="DataOutlineHideDetail" verb=""
_label="_Hide Detail"
_tip="Collapse an outline group"/>
<menuitem name="DataOutlineShowDetail" verb=""
_label="_Show Detail"
_tip="Uncollapse an outline group"/>
<menuitem name="DataOutlineAddGroup" verb=""
_label="_Group"
_tip="Add an outline group"/>
<menuitem name="DataOutlineRemoveGroup" verb=""
_label="_Ungroup"
_tip="Remove an outline group"/>
</submenu>
</submenu>
<submenu name="Help" _label="_Help">
......
......@@ -1776,6 +1776,23 @@ cb_data_validate (GtkWidget *widget, WorkbookControlGUI *wbcg)
}
#endif
static void
cb_data_hide_detail (GtkWidget *widget, WorkbookControlGUI *wbcg)
{
}
static void
cb_data_show_detail (GtkWidget *widget, WorkbookControlGUI *wbcg)
{
}
static void
cb_data_add_group (GtkWidget *widget, WorkbookControlGUI *wbcg)
{
}
static void
cb_data_remove_group (GtkWidget *widget, WorkbookControlGUI *wbcg)
{
}
static void
cb_help_about (GtkWidget *widget, WorkbookControlGUI *wbcg)
{
......@@ -2279,6 +2296,22 @@ static GnomeUIInfo workbook_menu_tools [] = {
GNOMEUIINFO_END
};
static GnomeUIInfo workbook_menu_data_outline [] = {
GNOMEUIINFO_ITEM_NONE (N_("_Hide Detail"),
N_("Collapse an outline group"),
cb_data_hide_detail),
GNOMEUIINFO_ITEM_NONE (N_("_Show Detail"),
N_("Uncollapse an outline group"),
cb_data_show_detail),
GNOMEUIINFO_ITEM_NONE (N_("_Group..."),
N_("Add an outline group"),
cb_data_add_group),
GNOMEUIINFO_ITEM_NONE (N_("_Ungroup..."),
N_("Remove an outline group"),
cb_data_remove_group),
GNOMEUIINFO_END
};
/* Data menu */
static GnomeUIInfo workbook_menu_data [] = {
GNOMEUIINFO_ITEM_STOCK (N_("_Sort"),
......@@ -2293,6 +2326,10 @@ static GnomeUIInfo workbook_menu_data [] = {
cb_data_validate),
#endif
GNOMEUIINFO_SEPARATOR,
GNOMEUIINFO_SUBTREE(N_("_Group and Outline"), workbook_menu_data_outline),
GNOMEUIINFO_END
};
......@@ -2476,6 +2513,10 @@ static BonoboUIVerb verbs [] = {
#if 0
BONOBO_UI_UNSAFE_VERB ("DataValidate", cb_data_validate),
#endif
BONOBO_UI_UNSAFE_VERB ("DataOutlineHideDetail", cb_data_hide_detail),
BONOBO_UI_UNSAFE_VERB ("DataOutlineShowDetail", cb_data_show_detail),
BONOBO_UI_UNSAFE_VERB ("DataOutlineAddGroup", cb_data_add_group),
BONOBO_UI_UNSAFE_VERB ("DataOutlineRemoveGroup", cb_data_remove_group),
BONOBO_UI_UNSAFE_VERB ("AutoSum", cb_autosum),
BONOBO_UI_UNSAFE_VERB ("FunctionGuru", cb_formula_guru),
......@@ -3299,7 +3340,8 @@ workbook_control_gui_init (WorkbookControlGUI *wbcg,
bonobo_ui_component_add_verb_list_with_data (wbcg->uic, verbs, wbcg);
bonobo_ui_util_set_ui (wbcg->uic, GNOME_DATADIR, "gnumeric.xml", "gnumeric");
/* TODO : switch to gnumeric_sys_data_dir */
bonobo_ui_util_set_ui (wbcg->uic, GNOME_DATADIR, "GNOME_Gnumeric.xml", "gnumeric");
TOGGLE_REGISTER (display_formulas, SheetDisplayFormulas);
TOGGLE_REGISTER (hide_zero, SheetHideZeros);
......
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