Displaying 4 results from an estimated 4 matches for "current_size".
2006 Dec 30
0
[809] trunk/wxsugar/lib/wx_sugar/layout.rb: Fix default sizers to arrange_vertically, add padding on specified sides
...n><span class="lines">@@ -67,7 +67,9 @@
</span><span class="cx"> elsif sizer = self.get_sizer
</span><span class="cx"> return sizer
</span><span class="cx"> else
</span><del>- return @current_sizer = Wx::BoxSizer.new(Wx::VERTICAL)
</del><ins>+ @current_sizer = Wx::BoxSizer.new(Wx::VERTICAL)
+ self.set_sizer(@current_sizer)
+ @current_sizer
</ins><span class="cx"> end
</span><span class="cx"> end
</span><spa...
2006 Dec 30
0
[811] trunk/wxsugar/lib/wx_sugar/layout.rb: Yield the sizer rather than the underlying parent to an ''arrange'' block
...p;nbsp  2006-12-30 16:14:22 UTC (rev 811)
</span><span class="lines">@@ -95,7 +95,7 @@
</span><span class="cx"> end
</span><span class="cx">
</span><span class="cx"> superior_sizer, @current_sizer = @current_sizer, a_sizer
</span><del>- yield(self)
</del><ins>+ yield(a_sizer)
</ins><span class="cx"> @current_sizer = superior_sizer
</span><span class="cx"> proportion = layout[:proportion] || 0
</span...
2009 Aug 20
3
[PATCH ovirt-node-image] fixes for edit-livecd
Patch set fixes issues with image size increase when using edit-livecd
Also address issue with ext4 root fs
2009 Aug 03
0
[PATCH node-image] Fix edit-livecd to re-create ext2 filesystem each time
...t; Mounting old ext3fs"
+ mnt "-t ext2 $input_file -o ro,loop" $input_dir
+ ext_used=$(df $WDIR/$input_dir | tail -1 | awk '{print $3}')
+ ext_max=$(df $WDIR/$input_dir | tail -1 | awk '{print $2}')
+
+ echo ">>> $input_file max_size=$ext_max current_size=$ext_used"
+
+ local new_size=
+ if [[ -z "$size" ]]; then
+ new_size=$ext_max
+ elif [ $size -lt $ext_used ]; then
+ echo "New size of $size is less than the current used size $ext_used"
+ exit 1
+ else
+ new_size=$size
+ fi
+
+ echo...