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

Resume using studlyCaps. Ditto. Ditto.


2000-09-28  Jody Goldberg <jgoldberg@home.com>

	* idl/gnumeric-graphs.idl : Resume using studlyCaps.
	* src/graph-series.c : Ditto.
	* src/dialogs/dialog-graph-guru.c : Ditto.
parent 88ad7da2
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* idl/gnumeric-graphs.idl : Resume using studlyCaps.
* src/graph-series.c : Ditto.
* src/dialogs/dialog-graph-guru.c : Ditto.
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* src/print-info.c (unit_name_get_name) : Control translation.
......
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* idl/gnumeric-graphs.idl : Resume using studlyCaps.
* src/graph-series.c : Ditto.
* src/dialogs/dialog-graph-guru.c : Ditto.
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* src/print-info.c (unit_name_get_name) : Control translation.
......
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* idl/gnumeric-graphs.idl : Resume using studlyCaps.
* src/graph-series.c : Ditto.
* src/dialogs/dialog-graph-guru.c : Ditto.
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* src/print-info.c (unit_name_get_name) : Control translation.
......
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* idl/gnumeric-graphs.idl : Resume using studlyCaps.
* src/graph-series.c : Ditto.
* src/dialogs/dialog-graph-guru.c : Ditto.
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* src/print-info.c (unit_name_get_name) : Control translation.
......
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* idl/gnumeric-graphs.idl : Resume using studlyCaps.
* src/graph-series.c : Ditto.
* src/dialogs/dialog-graph-guru.c : Ditto.
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* src/print-info.c (unit_name_get_name) : Control translation.
......
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* idl/gnumeric-graphs.idl : Resume using studlyCaps.
* src/graph-series.c : Ditto.
* src/dialogs/dialog-graph-guru.c : Ditto.
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* src/print-info.c (unit_name_get_name) : Control translation.
......
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* idl/gnumeric-graphs.idl : Resume using studlyCaps.
* src/graph-series.c : Ditto.
* src/dialogs/dialog-graph-guru.c : Ditto.
2000-09-28 Jody Goldberg <jgoldberg@home.com>
* src/print-info.c (unit_name_get_name) : Control translation.
......
......@@ -39,7 +39,7 @@
typedef struct
{
BonoboObjectClient *object_server;
BonoboObjectClient *manager_client;
GNOME_Gnumeric_Graph_Manager manager;
Bonobo_Control control;
......@@ -99,15 +99,9 @@ graph_guru_state_destroy (GraphGuruState *state)
state->control = CORBA_OBJECT_NIL;
}
if (state->manager != CORBA_OBJECT_NIL) {
CORBA_Environment ev;
CORBA_exception_init (&ev);
GNOME_Gnumeric_Graph_Manager_unref (state->manager, &ev);
if (ev._major != CORBA_NO_EXCEPTION)
g_warning ("Problems releasing the graph manager");
CORBA_exception_free (&ev);
if (state->manager_client != NULL) {
bonobo_object_client_unref (state->manager_client, NULL);
state->manager_client = NULL;
state->manager = CORBA_OBJECT_NIL;
}
......@@ -199,7 +193,7 @@ cb_graph_guru_clicked (GtkWidget *button, GraphGuruState *state)
bonobo_item_container_add (state->wb->priv->bonobo_container,
BONOBO_OBJECT (client_site));
if (bonobo_client_site_bind_embeddable (client_site, state->object_server)) {
if (bonobo_client_site_bind_embeddable (client_site, state->manager_client)) {
Sheet *sheet = state->wb->current_sheet;
sheet_mode_create_object (
sheet_object_container_new_bonobo (sheet,
......@@ -229,7 +223,7 @@ get_selector_control (GraphGuruState *state)
GtkWidget *res = NULL;
CORBA_exception_init (&ev);
state->control = GNOME_Gnumeric_Graph_Manager_get_type_select_control (state->manager, &ev);
state->control = GNOME_Gnumeric_Graph_Manager_getTypeSelectControl (state->manager, &ev);
if (ev._major != CORBA_NO_EXCEPTION)
return NULL;
CORBA_exception_free (&ev);
......@@ -294,10 +288,10 @@ graph_guru_init_manager (GraphGuruState *state)
state->manager = CORBA_OBJECT_NIL;
state->control = CORBA_OBJECT_NIL;
if (o != CORBA_OBJECT_NIL) {
state->object_server = bonobo_object_client_from_corba (o);
if (state->object_server != NULL)
state->manager_client = bonobo_object_client_from_corba (o);
if (state->manager_client != NULL)
state->manager = bonobo_object_query_interface (
BONOBO_OBJECT (state->object_server),
BONOBO_OBJECT (state->manager_client),
"IDL:GNOME/Gnumeric/Graph/Manager:1.0");
}
......
......@@ -602,7 +602,7 @@ add_unit (GtkWidget *menu, int i, dialog_print_info_t *dpi,
{
GtkWidget *item;
item = gtk_menu_item_new_with_label (unit_name_get_short_name (i), TRUE);
item = gtk_menu_item_new_with_label (unit_name_get_short_name (i, TRUE));
gtk_widget_show (item);
gtk_menu_append (GTK_MENU (menu), item);
......
......@@ -173,19 +173,19 @@ graph_series_eval (Dependent *dep)
CORBA_exception_init (&ev);
switch (series->type) {
case SERIES_SCALAR :
GNOME_Gnumeric_VectorScalarNotify_value_changed (
GNOME_Gnumeric_VectorScalarNotify_valueChanged (
series->subscriber.scalar,
0, graph_series_seq_scalar (series), &ev);
break;
case SERIES_DATE :
GNOME_Gnumeric_VectorDateNotify_value_changed (
GNOME_Gnumeric_VectorDateNotify_valueChanged (
series->subscriber.date,
0, graph_series_seq_date (series), &ev);
break;
case SERIES_STRING :
GNOME_Gnumeric_VectorStringNotify_value_changed (
GNOME_Gnumeric_VectorStringNotify_valueChanged (
series->subscriber.string,
0, graph_series_seq_string (series), &ev);
break;
......@@ -311,21 +311,21 @@ corba_implementation_classes_init (void)
static POA_GNOME_Gnumeric_VectorString__epv
vector_string_epv;
vector_scalar_notify_epv.value_changed = &impl_vector_scalar_changed;
vector_scalar_notify_epv.valueChanged = &impl_vector_scalar_changed;
vector_scalar_epv.value = & impl_vector_scalar_value;
vector_scalar_vepv.GNOME_Gnumeric_VectorScalarNotify_epv =
&vector_scalar_notify_epv;
vector_scalar_vepv.GNOME_Gnumeric_VectorScalar_epv =
&vector_scalar_epv;
vector_date_notify_epv.value_changed = & impl_vector_date_changed;
vector_date_notify_epv.valueChanged = & impl_vector_date_changed;
vector_date_epv.value = & impl_vector_date_value;
vector_date_vepv.GNOME_Gnumeric_VectorDateNotify_epv =
&vector_date_notify_epv;
vector_date_vepv.GNOME_Gnumeric_VectorDate_epv =
&vector_date_epv;
vector_string_notify_epv.value_changed = & impl_vector_string_changed;
vector_string_notify_epv.valueChanged = & impl_vector_string_changed;
vector_string_epv.value = & impl_vector_string_value;
vector_string_vepv.GNOME_Gnumeric_VectorStringNotify_epv =
&vector_string_notify_epv;
......@@ -514,19 +514,19 @@ graph_series_set_subscriber (GraphSeries *series, CORBA_Object graph_manager)
switch (series->type) {
case SERIES_SCALAR :
series->subscriber.scalar =
GNOME_Gnumeric_Graph_Manager_add_vector_scalar (manager,
GNOME_Gnumeric_Graph_Manager_addVectorScalar (manager,
series->vector_ref, &ev);
break;
case SERIES_DATE :
series->subscriber.scalar =
GNOME_Gnumeric_Graph_Manager_add_vector_date (manager,
GNOME_Gnumeric_Graph_Manager_addVectorDate (manager,
series->vector_ref, &ev);
break;
case SERIES_STRING :
series->subscriber.scalar =
GNOME_Gnumeric_Graph_Manager_add_vector_string (manager,
GNOME_Gnumeric_Graph_Manager_addVectorString (manager,
series->vector_ref, &ev);
break;
default :
......
......@@ -126,11 +126,11 @@ HFRenderInfo *hf_render_info_new (void);
void hf_render_info_destroy (HFRenderInfo *hfi);
const char *unit_name_get_short_name (UnitName name);
const char *unit_name_get_name (UnitName name);
const char *unit_name_get_short_name (UnitName name, gboolean translated);
const char *unit_name_get_name (UnitName name, gboolean translated);
UnitName unit_name_to_unit (const char *s, gboolean translated);
double print_unit_get_prefered (PrintUnit *unit);
double unit_convert (double value, UnitName source, UnitName target);
UnitName unit_name_to_unit (const char *s);
void print_init (void);
void print_shutdown (void);
......
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