~ubuntu-branches/ubuntu/trusty/freeguide/trusty

« back to all changes in this revision

Viewing changes to src/freeguide/plugins/grabber/kulichki/KulichkiConfig.java

  • Committer: Bazaar Package Importer
  • Author(s): Shaun Jackman
  • Date: 2007-09-11 16:52:59 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070911165259-4r32oke21i1ezbmv
Tags: 0.10.5-1
* New upstream release.
* Update the watch file.
* Change Debian policy to version 3.7.2.2. No changes necessary.
* Add ant-optional to build dependencies. Closes: #441762.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
import freeguide.common.lib.fgspecific.data.TVChannelsSelection;
4
4
import freeguide.common.lib.fgspecific.data.TVChannelsSet;
5
5
 
 
6
import java.util.ResourceBundle;
 
7
 
6
8
/**
7
9
 * Class for store config information.
8
10
 *
16
18
/**
17
19
     * Creates a new Config object.
18
20
     */
19
 
    public KulichkiConfig(  )
 
21
    public KulichkiConfig( final ResourceBundle i18n )
20
22
    {
21
 
        channels.allChannels.add( 
22
 
            new TVChannelsSet.Channel( "kulichki", "All" ) );
23
 
 
 
23
        if( i18n != null )
 
24
        {
 
25
            channels.allChannels.add( 
 
26
                new TVChannelsSet.Channel( 
 
27
                    GrabberKulichki.CHANNEL_PREFIX_ID,
 
28
                    i18n.getString( "MainChannelName" ) ) );
 
29
        }
24
30
    }
25
31
 
26
32
    /**
30
36
     */
31
37
    public Object clone(  )
32
38
    {
33
 
        KulichkiConfig result = new KulichkiConfig(  );
 
39
        KulichkiConfig result = new KulichkiConfig( null );
34
40
 
35
41
        result.channels = (TVChannelsSelection)channels.clone(  );
36
42