Mouse effects: updated tint2conf

This commit is contained in:
o9000 2015-11-05 01:13:21 +01:00
parent 6061b76331
commit 7d972e53d7
2 changed files with 3 additions and 0 deletions

View file

@ -634,6 +634,8 @@ void create_background(GtkWidget *parent)
g_signal_connect(G_OBJECT(background_border_color), "color-set", G_CALLBACK(background_update), NULL);
g_signal_connect(G_OBJECT(background_fill_color_over), "color-set", G_CALLBACK(background_update), NULL);
g_signal_connect(G_OBJECT(background_border_color_over), "color-set", G_CALLBACK(background_update), NULL);
g_signal_connect(G_OBJECT(background_fill_color_press), "color-set", G_CALLBACK(background_update), NULL);
g_signal_connect(G_OBJECT(background_border_color_press), "color-set", G_CALLBACK(background_update), NULL);
g_signal_connect(G_OBJECT(background_border_width), "value-changed", G_CALLBACK(background_update), NULL);
g_signal_connect(G_OBJECT(background_corner_radius), "value-changed", G_CALLBACK(background_update), NULL);

View file

@ -785,6 +785,7 @@ void add_entry(char *key, char *value)
// 'rounded' is the first parameter => alloc a new background
finalize_bg();
background_create_new();
num_bg++;
read_bg_color_hover = 0;
read_border_color_hover = 0;
read_bg_color_press = 0;