diff --git a/src/sakia/gui/navigation/txhistory/table_model.py b/src/sakia/gui/navigation/txhistory/table_model.py index 22bcc7e10ed637279e9a33819f4f2acdbc08d8c2..dae1eba1dcc152fcb379e50e06192dd17f10ad03 100644 --- a/src/sakia/gui/navigation/txhistory/table_model.py +++ b/src/sakia/gui/navigation/txhistory/table_model.py @@ -425,7 +425,7 @@ class HistoryTableModel(QAbstractTableModel): elif state_data == Transaction.REFUSED: font.setItalic(True) elif state_data == Transaction.TO_SEND: - font.setBold(True) + font.setItalic(True) else: font.setItalic(False) return font @@ -441,9 +441,7 @@ class HistoryTableModel(QAbstractTableModel): color = QColor(Qt.darkRed) elif state_data == HistoryTableModel.DIVIDEND: color = QColor(Qt.darkBlue) - if state_data == Transaction.AWAITING or ( - state_data == Transaction.VALIDATED and current_confirmations == 0 - ): + if state_data == Transaction.AWAITING: color = QColor("#ffb000") if color: if self.app.parameters.dark_theme: diff --git a/src/sakia/gui/navigation/txhistory/txhistory.ui b/src/sakia/gui/navigation/txhistory/txhistory.ui index 9d00b07f0f32b31c5b60af82682acc725a7c3297..5b8e67966963d78e6a96c154d4d966eeeafd86e5 100644 --- a/src/sakia/gui/navigation/txhistory/txhistory.ui +++ b/src/sakia/gui/navigation/txhistory/txhistory.ui @@ -201,17 +201,17 @@ <number>6</number> </property> <item> - <spacer name="horizontalSpacer_4"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <widget class="QLabel" name="label"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> + <property name="text"> + <string><html><head/><body><p><span style=" color:#0000ff;">â– </span><span style=" font-style:italic;">to send </span><span style=" color:#ffb000;">â– </span><span style=" font-style:italic;">pending </span><span style=" color:#808080;">â– </span><span style=" font-style:italic;">refused </span><span style=" color:#000000;">â– </span><span style=" font-style:italic;">not confirmed </span><span style=" color:#000000;">â– </span> validated </p></body></html></string> </property> - </spacer> + </widget> </item> <item> <widget class="QSpinBox" name="spin_page"/>