set window title according to document
This commit is contained in:
parent
4c94b2164b
commit
bcf499a7d1
@ -23,6 +23,10 @@
|
|||||||
(fn [self pspec c]
|
(fn [self pspec c]
|
||||||
(if (= pspec.name "uri")
|
(if (= pspec.name "uri")
|
||||||
(url:set_text self.uri)
|
(url:set_text self.uri)
|
||||||
|
(and (= pspec.name "title")
|
||||||
|
(> (# self.title) 0))
|
||||||
|
(window:set_title
|
||||||
|
(.. self.title " - Just browsing"))
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
back (Gtk.Button {
|
back (Gtk.Button {
|
||||||
|
Loading…
Reference in New Issue
Block a user