summaryrefslogtreecommitdiffstats
path: root/desktop/mousam/load_from_data.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/mousam/load_from_data.patch')
-rw-r--r--desktop/mousam/load_from_data.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/mousam/load_from_data.patch b/desktop/mousam/load_from_data.patch
new file mode 100644
index 0000000000..7488a457d2
--- /dev/null
+++ b/desktop/mousam/load_from_data.patch
@@ -0,0 +1,11 @@
+--- a/src/main.py
++++ b/src/main.py
+@@ -49,7 +49,7 @@
+ Priority = Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION
+ with open(CSS_PATH+'style.css', 'r') as css_file:
+ css = bytes(css_file.read(), 'utf-8')
+- css_provider.load_from_data(css,len(css))
++ css_provider.load_from_data(css)
+ Gtk.StyleContext.add_provider_for_display(Gdk.Display.get_default(), css_provider, Priority)
+
+ launch_maximized = self.settings.get_boolean("launch-maximized")