Commit c2030954 authored by Giovanni Panozzo's avatar Giovanni Panozzo

Add background class to message panel

parent 1fe99831
......@@ -289,7 +289,6 @@ static void remmina_connection_window_class_init(RemminaConnectionWindowClass* k
".message_panel {\n"
" border: 0px solid;\n"
" padding: 20px 20px 20px 20px;\n"
" background-color: @bg_color;\n"
"}\n"
".message_panel entry {\n"
" background-image: none;\n"
......
......@@ -85,6 +85,7 @@ RemminaMessagePanel *remmina_message_panel_new()
/* Set widget class, for CSS styling */
// gtk_widget_set_name(GTK_WIDGET(mp), "remmina-cw-message-panel");
gtk_style_context_add_class(gtk_widget_get_style_context(GTK_WIDGET(mp)), "message_panel");
gtk_style_context_add_class(gtk_widget_get_style_context(GTK_WIDGET(mp)), "background");
return mp;
}
......
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