[Slashdotjp-dev 1368] [899] Fix to change firehose default tab name

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 12月 19日 (金) 21:04:15 JST


Revision: 899
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=899
Author:   tach
Date:     2008-12-19 21:04:14 +0900 (Fri, 19 Dec 2008)

Log Message:
-----------
Fix to change firehose default tab name

Modified Paths:
--------------
    slashjp/trunk/debian/changelog
    slashjp/trunk/plugins/FireHose/FireHose.pm


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2008-12-19 10:38:33 UTC (rev 898)
+++ slashjp/trunk/debian/changelog	2008-12-19 12:04:14 UTC (rev 899)
@@ -3,8 +3,9 @@
   * New upstream git tag
   * Add selectable d2 default using constants "d2_default"
   * Disable "getAd()"
+  * Fix to change firehose default tab name
 
- -- Taku YASUI <tach****@osdn*****>  Mon, 15 Dec 2008 09:14:51 +0000
+ -- Taku YASUI <tach****@osdn*****>  Fri, 19 Dec 2008 12:03:52 +0000
 
 slash (2.5.0.231-1) unstable; urgency=low
 

Modified: slashjp/trunk/plugins/FireHose/FireHose.pm
===================================================================
--- slashjp/trunk/plugins/FireHose/FireHose.pm	2008-12-19 10:38:33 UTC (rev 898)
+++ slashjp/trunk/plugins/FireHose/FireHose.pm	2008-12-19 12:04:14 UTC (rev 899)
@@ -2063,7 +2063,7 @@
 
 	my $defaults = {
 		pause		=> 1,
-		mode 		=> 'full',
+		mode 		=> 'fulltitle',
 		orderdir	=> 'DESC',
 		orderby		=> 'createtime',
 		mixedmode 	=> 0,
@@ -2300,7 +2300,7 @@
 
 		# Jump to default view as necessary
 		if (!$tab && !defined $options->{fhfilter} && !$opts->{view} && !$form->{view}) {
-			$opts->{view} = "stories";
+			$opts->{view} = $constants->{firehose_default_tab} || "stories";
 		}
 
 		my $view;


Slashdotjp-dev メーリングリストの案内
Back to archive index