X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=blobdiff_plain;f=player%2Fpreferences.c;fp=player%2Fpreferences.c;h=1f39927082e077073dc8b0aa978a3434521e4595;hp=9154f4e290a4299e221fe4211688e2d76cdba244;hb=d9646c0bf915d1ee5d9d3601a273ff20214bfae7;hpb=0ae54d1f83e8581396969afcf6362be5c04c5f55 diff --git a/player/preferences.c b/player/preferences.c index 9154f4e..1f39927 100644 --- a/player/preferences.c +++ b/player/preferences.c @@ -252,7 +252,6 @@ on_toggle_left(GtkToggleButton *button, ChimaraGlk *glk) { if( !gtk_toggle_button_get_active(button) ) return; g_object_set(current_tag, "justification", GTK_JUSTIFY_LEFT, "justification-set", TRUE, NULL); - chimara_glk_update_style(glk); } void @@ -260,7 +259,6 @@ on_toggle_center(GtkToggleButton *button, ChimaraGlk *glk) { if( !gtk_toggle_button_get_active(button) ) return; g_object_set(current_tag, "justification", GTK_JUSTIFY_CENTER, "justification-set", TRUE, NULL); - chimara_glk_update_style(glk); } void @@ -268,7 +266,6 @@ on_toggle_right(GtkToggleButton *button, ChimaraGlk *glk) { if( !gtk_toggle_button_get_active(button) ) return; g_object_set(current_tag, "justification", GTK_JUSTIFY_RIGHT, "justification-set", TRUE, NULL); - chimara_glk_update_style(glk); } void @@ -276,7 +273,6 @@ on_toggle_justify(GtkToggleButton *button, ChimaraGlk *glk) { if( !gtk_toggle_button_get_active(button) ) return; g_object_set(current_tag, "justification", GTK_JUSTIFY_FILL, "justification-set", TRUE, NULL); - chimara_glk_update_style(glk); } void @@ -285,8 +281,6 @@ on_toggle_bold(GtkToggleButton *button, ChimaraGlk *glk) { g_object_set(current_tag, "weight", PANGO_WEIGHT_BOLD, "weight-set", TRUE, NULL); else g_object_set(current_tag, "weight", PANGO_WEIGHT_NORMAL, "weight-set", TRUE, NULL); - - chimara_glk_update_style(glk); } void @@ -295,8 +289,6 @@ on_toggle_italic(GtkToggleButton *button, ChimaraGlk *glk) { g_object_set(current_tag, "style", PANGO_STYLE_ITALIC, "style-set", TRUE, NULL); else g_object_set(current_tag, "style", PANGO_STYLE_NORMAL, "style-set", TRUE, NULL); - - chimara_glk_update_style(glk); } void @@ -305,8 +297,6 @@ on_toggle_underline(GtkToggleButton *button, ChimaraGlk *glk) { g_object_set(current_tag, "underline", PANGO_UNDERLINE_SINGLE, "underline-set", TRUE, NULL); else g_object_set(current_tag, "underline", PANGO_UNDERLINE_NONE, "underline-set", TRUE, NULL); - - chimara_glk_update_style(glk); } void @@ -315,7 +305,6 @@ on_foreground_color_set(GtkColorButton *button, ChimaraGlk *glk) GdkColor color; gtk_color_button_get_color(button, &color); g_object_set(current_tag, "foreground-gdk", &color, "foreground-set", TRUE, NULL); - chimara_glk_update_style(glk); } void @@ -324,7 +313,6 @@ on_background_color_set(GtkColorButton *button, ChimaraGlk *glk) GdkColor color; gtk_color_button_get_color(button, &color); g_object_set(current_tag, "background-gdk", &color, "background-set", TRUE, NULL); - chimara_glk_update_style(glk); } void @@ -333,7 +321,6 @@ on_font_set(GtkFontButton *button, ChimaraGlk *glk) const gchar *font_name = gtk_font_button_get_font_name(button); PangoFontDescription *font_description = pango_font_description_from_string(font_name); g_object_set(current_tag, "font-desc", font_description, NULL); - chimara_glk_update_style(glk); } void