~ubuntu-branches/ubuntu/maverick/mythtv/maverick

« back to all changes in this revision

Viewing changes to libs/libmythui/myththemebase.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello, Dave Walker, Mario Limonciello
  • Date: 2010-02-27 14:33:45 UTC
  • mfrom: (1.1.48 upstream)
  • Revision ID: james.westby@ubuntu.com-20100227143345-qye52374g4b4caf9
Tags: 0.23.0~trunk23623-0ubuntu1
[ Dave Walker ]
* debian/control:  Added quilt as a build-depends, primarily
  for karmic builds.

[ Mario Limonciello ]
* New checkout (r23623).
  - Fixes audio issues w/ ac3 audio.
* debian/patches/36_setgroups_too:
  - Set the right args for setgroups. (LP: #524822)
* debian/rules:
  - Explicitly set all shell scripts executable.  Fixes problems on < lucid
    builds.
* debian/control:
  - Correct the replaces statements. (LP: #527288)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include "mythscreentype.h"
5
5
#include "xmlparsebase.h"
6
6
#include "mythfontproperties.h"
 
7
#include "mythfontmanager.h"
7
8
 
8
9
#include "oldsettings.h"
9
10
#include "mythuihelper.h"
27
28
 
28
29
MythThemeBase::~MythThemeBase()
29
30
{
 
31
    GetGlobalFontManager()->ReleaseFonts("UI");
30
32
    delete d;
31
33
}
32
34
 
37
39
 
38
40
    GetGlobalFontMap()->Clear();
39
41
    XMLParseBase::ClearGlobalObjectStore();
 
42
    GetGlobalFontManager()->ReleaseFonts("UI");
 
43
    GetGlobalFontManager()->LoadFonts(GetMythUI()->GetThemeDir(), "UI");
40
44
    XMLParseBase::LoadBaseTheme();
41
45
 
42
46
    d->background->PopScreen(false, true);
68
72
    d->background = new MythScreenStack(mainWindow, "background");
69
73
    d->background->DisableEffects();
70
74
 
 
75
    GetGlobalFontManager()->LoadFonts(GetMythUI()->GetThemeDir(), "UI");
71
76
    XMLParseBase::LoadBaseTheme();
72
77
    d->backgroundscreen = new MythScreenType(d->background, "backgroundscreen");
73
78