diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-08-10 23:00:53 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-08-10 23:00:53 +0200 |
commit | af7eb5322812b47a32ac3c246812fdc870163b6c (patch) | |
tree | a86f8953a37f50cf41228b1080f0231cd82c0655 /src/stylesheet.c | |
parent | 87d1c1c339768b8c9cde14e40b955e618ee4540f (diff) |
Update after stylesheet change
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r-- | src/stylesheet.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c index 3905865..92a0b11 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -86,6 +86,8 @@ static void text_font_set_sig(GtkFontButton *widget, font = gtk_font_button_get_font_name(widget); free(s->cur_text_style->font); s->cur_text_style->font = strdup(font); + + notify_style_update(s->p, s->cur_text_style); } @@ -100,6 +102,8 @@ static void text_colour_set_sig(GtkColorButton *widget, s->cur_text_style->colour = gdk_color_to_string(&col); al = gtk_color_button_get_alpha(widget); s->cur_text_style->alpha = (double)al / 65535.0; + + notify_style_update(s->p, s->cur_text_style); } |