sharing: Remove sharing.css

The .tls-cert-fingerprint style class is part of "Verify Encryption"
dialog from the Remote Desktop feature, which is now present in the
System panel. sharing.css isn't needed anymore.
This commit is contained in:
Automeris naranja 2024-04-06 23:10:00 -03:00 committed by Felipe Borges
parent a5aa2baa25
commit 22c0982349
3 changed files with 0 additions and 14 deletions

View file

@ -599,8 +599,6 @@ sharing_proxy_ready (GObject *source,
static void
cc_sharing_panel_init (CcSharingPanel *self)
{
g_autoptr(GtkCssProvider) provider = NULL;
g_resources_register (cc_sharing_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));
@ -612,13 +610,6 @@ cc_sharing_panel_init (CcSharingPanel *self)
cc_panel_get_cancellable (CC_PANEL (self)),
sharing_proxy_ready,
self);
provider = gtk_css_provider_new ();
gtk_css_provider_load_from_resource (provider,
"/org/gnome/control-center/sharing/sharing.css");
gtk_style_context_add_provider_for_display (gdk_display_get_default (),
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
}
CcSharingPanel *

View file

@ -1,4 +0,0 @@
.tls-cert-fingerprint {
font-family: monospace;
margin: 10px;
}

View file

@ -3,6 +3,5 @@
<gresource prefix="/org/gnome/control-center/sharing">
<file preprocess="xml-stripblanks">cc-sharing-panel.ui</file>
<file preprocess="xml-stripblanks">cc-sharing-networks.ui</file>
<file>sharing.css</file>
</gresource>
</gresources>