Fix uicontrol display & save 18/13718/2
Vincent COUVERT [Thu, 13 Feb 2014 08:37:58 +0000 (09:37 +0100)]
Change-Id: I351d64f34b2bf3831bf0a7b337677f0d4389bb55

scilab/modules/graphics/macros/%h_p.sci
scilab/modules/io/macros/%_save.sci

index ee3062e..fb0ac45 100755 (executable)
@@ -335,6 +335,7 @@ function %h_p(h)
             "layout = "+sci2exp(h.layout)
             "layout_options = "+sci2exp(l)
             "default_axes = "+sci2exp(h.default_axes)
+            "icon = "+fmtuser_data(h.icon)
             "tag = "+sci2exp(h.tag)
             ]
 
@@ -1019,6 +1020,7 @@ function %h_p(h)
                 "Margins = "+sci2exp(h.margins)
                 "Groupname = "+sci2exp(h.groupname)
                 "Scrollable = "+sci2exp(h.scrollable)
+                "Icon = "+fmtuser_data(h.icon)
                 "Userdata = "+fmtuser_data(u)
                 "Tag = "+h.tag
                 ]
index 33439e1..eaffc9b 100644 (file)
@@ -195,6 +195,7 @@ function [] = %_save(%__filename__, varargin)
         "dockable", ...
         "layout", ...
         "default_axes", ...
+        "icon", ...
         "children", ...
         "user_data"]);
 
@@ -866,8 +867,13 @@ function [] = %_save(%__filename__, varargin)
         "callback", ...
         "callback_type", ...
         "layout", ...
+        "layout_options", ...
         "constraints", ...
+        "border", ...
         "margins", ...
+        "groupname", ...
+        "scrollable", ...
+        "icon", ...
         "user_data", ...
         "tag", ...
         "children"]);