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

when we add an hlink underline the content and turn it blue.


2003-05-31  Jody Goldberg <jody@gnome.org>

	* dialog-hyperlink.c (dhl_cb_ok) : when we add an hlink underline the
	  content and turn it blue.
parent 18345556
2003-05-31 Jody Goldberg <jody@gnome.org>
* dialog-hyperlink.c (dhl_cb_ok) : when we add an hlink underline the
content and turn it blue.
* cell-format.glade : @$^#$ HIG. It is a Cancel button
* dialog-fill-series.c (dialog_fill_series) : default the cols/rows
......
......@@ -29,6 +29,7 @@
#include <gui-util.h>
#include <hlink.h>
#include <mstyle.h>
#include <style-color.h>
#include <sheet-control.h>
#include <sheet-view.h>
#include <sheet-style.h>
......@@ -267,6 +268,9 @@ dhl_cb_ok (G_GNUC_UNUSED GtkWidget *button, HyperlinkState *state)
gnm_hlink_set_tip (state->link, dhl_get_tip (state));
style = mstyle_new ();
mstyle_set_hlink (style, g_object_ref (state->link));
mstyle_set_font_uline (style, UNDERLINE_SINGLE);
mstyle_set_color (style, MSTYLE_COLOR_FORE,
style_color_new_name ("blue"));
if (state->is_new)
cmdname = _("Add Hyperlink");
......
......@@ -1188,9 +1188,8 @@ cb_checkbox_set_focus (GtkWidget *window, GtkWidget *focus_widget,
}
static gboolean
cb_checkbox_config_destroy (GtkObject *w, CheckboxConfigState *state)
cb_checkbox_config_destroy (CheckboxConfigState *state)
{
g_return_val_if_fail (w != NULL, FALSE);
g_return_val_if_fail (state != NULL, FALSE);
wbcg_edit_detach_guru (state->wbcg);
......@@ -1285,15 +1284,14 @@ sheet_widget_checkbox_user_config (SheetObject *so, SheetControl *sc)
g_signal_connect (G_OBJECT (state->label),
"changed",
G_CALLBACK (cb_checkbox_label_changed), state);
g_signal_connect (G_OBJECT (state->dialog),
"destroy",
G_CALLBACK (cb_checkbox_config_destroy), state);
g_signal_connect (G_OBJECT (glade_xml_get_widget (state->gui, "ok_button")),
"clicked",
G_CALLBACK (cb_checkbox_config_ok_clicked), state);
g_signal_connect (G_OBJECT (glade_xml_get_widget (state->gui, "cancel_button")),
"clicked",
G_CALLBACK (cb_checkbox_config_cancel_clicked), state);
g_object_set_data_full (G_OBJECT (state->dialog),
"state", state, (GDestroyNotify) cb_checkbox_config_destroy);
gnumeric_init_help_button (
glade_xml_get_widget (state->gui, "help_button"),
"so-checkbox.html");
......
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