Skip to content

Commit

Permalink
Merge branch 'Hotfix-1.0.1'
Browse files Browse the repository at this point in the history
- Fixes the card's title losing its bold attribute after editing it.
- Added pycairo in the requirements.
- Updated the about version property.
  • Loading branch information
Lyaaaaaaaaaaaaaaa authored and Lyaaaaaaaaaaaaaaa committed Oct 22, 2020
2 parents ee55f61 + 29d3add commit ac7418e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
PyGObject >= 3.0.3
pyyaml
PyGObject >= 3.0.3
pycairo
pyyaml
7 changes: 6 additions & 1 deletion src/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@
#-- - Added the following signals On_Help_Dialog_Close_Clicked,
#-- On_Help_Dialog_Apply_Clicked, On_Help_Dialog_Cancel_Clicked.
#--
#-- 19/10/2020 Lyaaaaa
#-- - Updated On_Edit_Card_Dialog_Save_Clicked and "Edit_Card" case.
#-- Card_Label.set_text is replaced by set_markup to make the title
#-- of the card bold again. (This avoid the card's title lossing it's
#-- bold attribut at each edit).
#---------------------------------------------------------------------------

from gi.repository import Gtk, Gdk, GdkPixbuf
Expand Down Expand Up @@ -577,7 +582,7 @@ def On_Edit_Card_Dialog_Save_Clicked(self, *args):
Card_Buffer = Card_View_Text.get_buffer()
Old_Card_Title = Card_Box.get_name()

Card_Label.set_text(title)
Card_Label.set_markup("<b>" + title + "</b>")
Card_Buffer.set_text(description)
Card_Box.set_name(title)
self.Kanban.Edit_Card(P_Key = Old_Card_Title,
Expand Down
3 changes: 2 additions & 1 deletion src/interface.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<property name="type_hint">dialog</property>
<property name="deletable">False</property>
<property name="program_name">Project Kanban</property>
<property name="version">1.0.0</property>
<property name="version">1.0.1</property>
<property name="copyright" translatable="yes">Copyright (c) 2020 Lyaaaaaaaaaaaaaaa</property>
<property name="website">https://github.com/Lyaaaaaaaaaaaaaaa/Project_Kanban</property>
<property name="authors">Lyaaaaa</property>
Expand Down Expand Up @@ -263,6 +263,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Type the description of your card here.</property>
<property name="wrap_mode">word</property>
<property name="buffer">Edit_Card_Dialog_Description_Buffer</property>
</object>
<packing>
Expand Down

0 comments on commit ac7418e

Please sign in to comment.