From d20f05f9a6927d73093445125bb72718e8c06bcc Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 17 Dec 2011 22:50:57 +0100 Subject: [PATCH] Use classes in widget demo including file controls --- midori/midori-view.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 513ea3d8..b82939c0 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3914,22 +3914,22 @@ midori_view_set_uri (MidoriView* view, "", }; guint i; - GString* demo = g_string_new (""); + GString* demo = g_string_new ("<html><head><style>" + ".fallback, .fallback::-webkit-file-upload-button { " + "-webkit-appearance: none !important }" + ".column { display:inline-block; vertical-align:top;" + "width:25%;margin-right:1% }</style><title>"); g_string_append_printf (demo, "%s

%s

", uri, uri); - g_string_append (demo, "
"); katze_assign (view->uri, g_strdup (uri)); data = g_string_free (demo, FALSE); -- 2.39.5