Re: markup problem

2009-12-02 Thread Max Usachev
daniel wilms ?: Hi, To create links you have GtkLinkButton. But don't forget to set then the callback-function, to tell what the button should do, like: gtk.link_button_set_uri_hook(callback) def callback (button_obj,url): bus = dbus.SessionBus() obj = bus.get_ob

Re: markup problem

2009-12-02 Thread daniel wilms
Hi, > To create links you have GtkLinkButton. But don't forget to set then the callback-function, to tell what the button should do, like: gtk.link_button_set_uri_hook(callback) def callback (button_obj,url): bus = dbus.SessionBus() obj = bus.get_object('com.nokia.osso_browser',

Re: markup problem

2009-12-02 Thread Xabier Rodriguez Calvar
O Mér, 02-12-2009 ás 15:31 +0200, Max Usachev escribiu: > > according to [1] it doesn't seem to be part of the pango markup > > language, used in pygtk. Anybody can confirm this? > >> On desktop - everything is OK. > > Wondering why it works on the desktop then. Links support was introduced in Gt

Re: markup problem

2009-12-02 Thread Max Usachev
daniel wilms пишет: > Hi, >> when I run my app at N810 I have errors: >> GtkWarning: Failed to set text from markup due to error parsing >> markup: Unknown tag 'a' on line XXX char XXX >> > according to [1] it doesn't seem to be part of the pango markup > language, used in pygtk. Anybody can conf

Re: markup problem

2009-12-02 Thread daniel wilms
Hi, > when I run my app at N810 I have errors: > GtkWarning: Failed to set text from markup due to error parsing markup: > Unknown tag 'a' on line XXX char XXX > > according to [1] it doesn't seem to be part of the pango markup language, used in pygtk. Anybody can confirm this? > On desktop -

markup problem

2009-12-02 Thread Max Usachev
Hello! I wrote application using python and pygtk. It is very simple - window with label. I want to make label as link: ... label = gtk.Label() label.set_use_markup(True) label.set_markup("maemo.org") ... when I run my app at N810 I have errors: GtkWarning: Failed to set text from markup due to e