forked from Mirrors/apostrophe
add tooltip to headerbar
parent
4a85f21d35
commit
c9b4bdd110
|
@ -410,7 +410,6 @@
|
|||
<property name="height_request">1</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="valign">start</property>
|
||||
<property name="visible_window">False</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
|
|
|
@ -634,6 +634,8 @@ class MainWindow(StyledWindow):
|
|||
self.headerbar.hb.props.subtitle = subtitle
|
||||
self.dm_headerbar.hb.props.subtitle = subtitle
|
||||
self.fs_headerbar.hb.props.subtitle = subtitle
|
||||
self.headerbar.hb.set_tooltip_text(subtitle)
|
||||
self.fs_headerbar.hb.set_tooltip_text(subtitle)
|
||||
self.set_title(title)
|
||||
|
||||
def set_filename(self, filename=None):
|
||||
|
|
Loading…
Reference in New Issue