From: Christian Dywan Date: Sat, 17 Dec 2011 21:50:57 +0000 (+0100) Subject: Use classes in widget demo including file controls X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d20f05f9a6927d73093445125bb72718e8c06bcc;p=midori Use classes in widget demo including file controls --- 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);