[Geany-devel] SF.net SVN: geany:[3343] trunk
Enrico Tröger
enrico.troeger at xxxxx
Mon Dec 8 16:59:09 UTC 2008
On Mon, 08 Dec 2008 12:59:13 +0000, ntrel at users.sourceforge.net wrote:
> base_name = g_path_get_basename(DOC_FILENAME(doc));
>+ /* we need to use the event box for the tooltip, labels don't
>get the necessary events */
> parent = gtk_widget_get_parent(doc->priv->tab_label);
>+ parent = gtk_widget_get_parent(parent);
>
> gtk_label_set_text(GTK_LABEL(doc->priv->tab_label),
> base_name); gtk_label_set_text(GTK_LABEL(doc->priv->tabmenu_label),
> base_name);
Oops, sorry.
On GTK >= 2.12 it works also with the tab_label's parent, so I couldn't
notice this :).
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20081208/573f9fda/attachment.pgp>
More information about the Devel
mailing list