diff options
author | Harald Sitter <sitter@kde.org> | 2013-04-11 11:51:33 +0200 |
---|---|---|
committer | Harald Sitter <sitter@kde.org> | 2013-04-11 11:51:33 +0200 |
commit | e80327f333e724ae394e582e358181a67fb2ff4d (patch) | |
tree | 92da0d8f798ba0c70076d458dc1725f4cc1848a3 /icons | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-e80327f333e724ae394e582e358181a67fb2ff4d.tar.xz |
honor filetype setting WRT embedding
there are 3 distinct states a filetype can have WRT kpart embeding
- always embed
- never embed
- do whatever the parent node does (e.g. application/foo would take the
setting of application)
since the logic to determine which of those it is going to be we are using
a bit of code imported from konqueror deciding in a boolean fashion
whether or not we are supposed to embed or not. this is particularly non-
intrusive as the decision directly relates to whether a kpart is created,
if not the file will simply be krun'.
this change is using static functions for the imported code. rationale
being that they are in fact static and not having them reflected in the
header makes them all the easier to remove should a better solution
arise in the future.
with that in mind: while the code is copy'n'pastable it seems like a
good idea to move this into some shared library in the long term such
that konqueror and rekonq (and any other kpart enabled app) can use the
same code.
REVIEW: 109942
BUG: 240400
BUG: 279423
Diffstat (limited to 'icons')
0 files changed, 0 insertions, 0 deletions