Changeset 6408


Ignore:
Timestamp:
Nov 30, 2017, 9:13:10 AM (2 years ago)
Author:
Juanma
Message:

Hide info label when there's no text to show

Location:
n4dgtklogin/trunk/fuentes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • n4dgtklogin/trunk/fuentes/debian/changelog

    r6395 r6408  
     1python-n4dgtklogin (0.4.2) xenial; urgency=medium
     2
     3  * Hide info label when there's no text to show
     4
     5 -- Juanma Navarro Mañez <juanma1980@gmail.com>  Thu, 30 Nov 2017 09:05:41 +0100
     6
    17python-n4dgtklogin (0.4.1) xenial; urgency=medium
    28
  • n4dgtklogin/trunk/fuentes/python-n4dgtklogin.install/edupals/ui/n4dgtklogin.py

    r6395 r6408  
    163163                        print(e)
    164164                self.lbl_info_msg.set_markup(info_msg)
     165                self.lbl_info_msg.show()
    165166                return sw_ok
    166167        #def set_info_text
     
    262263                self.css_classes['#label']='{background-color:rgba(200,200,200,0.8);;}'
    263264                self.lbl_info_msg.set_name("label")
     265                self.lbl_info_msg.set_no_show_all(True)
     266                self.lbl_info_msg.hide()
    264267                self.info_box.set_name("info")
    265268                info_detail_box.props.valign=Gtk.Align.CENTER
  • n4dgtklogin/trunk/fuentes/python3-n4dgtklogin.install/edupals/ui/n4dgtklogin.py

    r6395 r6408  
    164164                        print(e)
    165165                self.lbl_info_msg.set_markup(info_msg)
     166                self.lbl_info_msg.show()
    166167                return sw_ok
    167168        #def set_info_text
     
    263264                self.css_classes['#label']='{background-color:rgba(200,200,200,0.8);;}'
    264265                self.lbl_info_msg.set_name("label")
     266                self.lbl_info_msg.set_no_show_all(True)
     267                self.lbl_info_msg.hide()
    265268                self.info_box.set_name("info")
    266269                info_detail_box.props.valign=Gtk.Align.CENTER
Note: See TracChangeset for help on using the changeset viewer.