afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-07-28 03:16 pm

[dw-free] Drifting has the wrong page setup on journal selection

[commit: http://hg.dwscoalition.org/dw-free/rev/896d4a9b6a82]

http://bugs.dwscoalition.org/show_bug.cgi?id=1502

Make the layout type consistent with actual (two-columns-left, not one-
column)

Patch by [personal profile] av8rmike.

Files modified:
  • bin/upgrading/s2layers/drifting/layout.s2
  • cgi-bin/LJ/S2Theme/drifting.pm
--------------------------------------------------------------------------------
diff -r 348b89a55eb4 -r 896d4a9b6a82 bin/upgrading/s2layers/drifting/layout.s2
--- a/bin/upgrading/s2layers/drifting/layout.s2	Tue Jul 28 09:00:51 2009 -0500
+++ b/bin/upgrading/s2layers/drifting/layout.s2	Tue Jul 28 15:16:20 2009 +0000
@@ -141,6 +141,7 @@ propgroup presentation
     property use use_custom_friend_colors;
 }
 
+set layout_type            = "two-columns-left";
 set show_userpics_recent   = true;
 set num_items_recent       = 20;
 set num_items_reading      = 20;
diff -r 348b89a55eb4 -r 896d4a9b6a82 cgi-bin/LJ/S2Theme/drifting.pm
--- a/cgi-bin/LJ/S2Theme/drifting.pm	Tue Jul 28 09:00:51 2009 -0500
+++ b/cgi-bin/LJ/S2Theme/drifting.pm	Tue Jul 28 15:16:20 2009 +0000
@@ -4,4 +4,6 @@ sub cats { qw( featured ) }
 sub cats { qw( featured ) }
 sub designer { "Jennie Griner" }
 
-1;
\ No newline at end of file
+sub layouts { ( "2l" => "two-columns-left" ) }
+sub layout_prop { "layout_type" }
+1;
--------------------------------------------------------------------------------