Hello community,

here is the log from the commit of package cinnamon for openSUSE:Factory 
checked in at 2019-08-07 14:01:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cinnamon (Old)
 and      /work/SRC/openSUSE:Factory/.cinnamon.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cinnamon"

Wed Aug  7 14:01:00 2019 rev:38 rq:721441 version:4.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/cinnamon/cinnamon.changes        2019-08-06 
15:12:07.403737845 +0200
+++ /work/SRC/openSUSE:Factory/.cinnamon.new.9556/cinnamon.changes      
2019-08-07 14:01:03.180853105 +0200
@@ -1,0 +2,7 @@
+Wed Aug  7 05:35:38 UTC 2019 - Marguerite Su <[email protected]>
+
+- refresh cinnamon-settings-4.2.3-tinycss2.patch
+  * get_declaration wants the int_value of DimensionToken
+    not a str
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cinnamon-settings-4.2.3-tinycss2.patch ++++++
--- /var/tmp/diff_new_pack.cWw2wb/_old  2019-08-07 14:01:03.724853099 +0200
+++ /var/tmp/diff_new_pack.cWw2wb/_new  2019-08-07 14:01:03.728853099 +0200
@@ -54,7 +54,7 @@
  
      def get_ruleset(self, selector_css):
          """
-@@ -101,21 +124,29 @@ class GtkCssEditor:
+@@ -101,21 +124,30 @@ class GtkCssEditor:
          If it isn't currently defined, returns an empty
          one.
          """
@@ -86,14 +86,15 @@
 +        for declaration in declarations:
              if decl_name == declaration.name:
 -                return declaration.value[0].value
-+                decl_value = ""
++                decl_value = None
 +                for component_value in declaration.value:
-+                    decl_value += component_value.serialize()
++                    if type(component_value) == tinycss2.ast.DimensionToken:
++                        decl_value = component_value.value
 +                return decl_value
  
          return None
  
-@@ -124,41 +155,63 @@ class GtkCssEditor:
+@@ -124,41 +156,67 @@ class GtkCssEditor:
          # get modified, they become invalid (or I'm doing something wrong)
          self.remove_declaration(selector, decl_name)
  
@@ -105,7 +106,11 @@
 -        new_decl = tinycss.css21.Declaration(decl_name, value_token, None, 
None, None)
 +        rs, idx = self.get_ruleset(selector)
 +        # rs.content[0].value: the value of the WhitespaceToken is the actual 
indent
-+        component_values = 
tinycss2.parse_component_value_list(rs.content[0].value + decl_name + ": " + 
value_as_str + ";")
++        prefix = "\n\t"
++        if len(rs.content) > 0:
++            prefix = rs.content[0].value
++
++        component_values = tinycss2.parse_component_value_list(prefix + 
decl_name + ": " + value_as_str + ";")
 +        for component_value in component_values:
 +            self.stylesheet[idx].content.append(component_value)
 +


Reply via email to