This file is indexed.

/usr/lib/luma/base/utils/gui/LumaErrorDialog.py is in luma 2.4-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- coding: utf-8 -*-

###########################################################################
#    Copyright (C) 2005 by Wido Depping
#    <widod@users.sourceforge.net>
#
# Copyright: See COPYING file that comes with this distribution
#
###########################################################################

from qt import *
import os.path

from base.utils.gui.LumaErrorDialogDesign import LumaErrorDialogDesign
import environment


class LumaErrorDialog(LumaErrorDialogDesign):

    def __init__(self,parent = None,name = None,modal = 0,fl = 0):
        LumaErrorDialogDesign.__init__(self,parent,name,modal,fl)
        
        iconPath = os.path.join(environment.lumaInstallationPrefix, "share", "luma", "icons")
        errorPixmap = QPixmap(os.path.join(iconPath, "error.png"))
        self.pixmapLabel.setPixmap(errorPixmap)
        
        
###############################################################################

    def setErrorMessage(self, errorMessage):
        """ Sets the error message for the dialog.
        """
        
        self.errorLabel.setText(errorMessage)