~ubuntu-branches/ubuntu/trusty/kvirc/trusty

« back to all changes in this revision

Viewing changes to src/modules/texticons/libkvitexticons.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Kai Wasserbäch, Kai Wasserbäch, Raúl Sánchez Siles
  • Date: 2011-02-12 10:40:21 UTC
  • mfrom: (14.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110212104021-5mh4f75jlku20mnt
The combined "Twisted Experiment" and "Nocturnal Raid" release.

[ Kai Wasserbäch ]
* Synced to upstream's SVN revision 5467.
* debian/rules:
  - Added .PHONY line.
  - Resurrect -DMANUAL_REVISION, got lost somewhere and we build SVN
    revisions again.
  - Replace "-DWITH_NO_EMBEDDED_CODE=YES" with "-DWANT_CRYPTOPP=YES".
  - Change the remaining -DWITH/-DWITHOUT to the new -DWANT syntax.
* debian/control:
  - Removed DMUA, I'm a DD now.
  - Changed my e-mail address.
  - Removed unneeded relationships (no upgrades over two releases are
    supported).
  - Fix Suggests for kvirc-dbg.
  - kvirc-data: Make the "Suggests: kvirc" a Recommends, doesn't make much
    sense to install the -data package without the program.
* debian/source/local-options: Added with "unapply-patches".
* debian/kvirc.lintian-overrides: Updated to work for 4.1.1.
* debian/patches/21_make_shared-mime-info_B-D_superfluous.patch: Updated.
* debian/kvirc-data.install: Added .notifyrc.

[ Raúl Sánchez Siles ]
* Stating the right version where kvirc-data break and replace should happen.
* Fixing link to license file.
* Added French and Portuguese man pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
//   File : libkvitexticons.cpp
4
4
//   Creation date : Wed May 10 14:00:12 2006 GMT by Alexey Uzhva
5
5
//
6
 
//   This math is part of the KVirc irc client distribution
 
6
//   This math is part of the KVIrc irc client distribution
7
7
//   Copyright (C) 2006-2008 Alexey Uzhva (wizard at opendoor dot ru)
8
8
//
9
9
//   This program is FREE software. You can redistribute it and/or
22
22
//
23
23
//=============================================================================
24
24
 
25
 
#include "kvi_module.h"
26
 
#include "kvi_texticonmanager.h"
 
25
#include "KviModule.h"
 
26
#include "KviIconManager.h"
 
27
#include "KviTextIconManager.h"
27
28
 
28
29
/*
29
30
        @doc: texticons.get
114
115
                pIcon = g_pTextIconManager->lookupTextIcon(szName);
115
116
                if(!pIcon)
116
117
                {
117
 
                        KviTextIcon * pTmpIcon = new KviTextIcon(-1);
 
118
                        KviTextIcon * pTmpIcon = new KviTextIcon(KviIconManager::None);
118
119
                        g_pTextIconManager->insert(szName,*pTmpIcon);
119
120
                        delete pTmpIcon;
120
121
                        pIcon = g_pTextIconManager->lookupTextIcon(szName);
129
130
                        pIcon->setFilename(szIcon);
130
131
 
131
132
        }
132
 
        g_pTextIconManager->checkDefaultAssociations();
133
133
        return true;
134
134
}
135
135