Re: Toolbar bug?
- From: Federico Mena Quintero <federico redhat com>
- To: mclos000 correu udg es
- CC: gnome-devel-list gnome org
- Subject: Re: Toolbar bug?
- Date: Mon, 23 Aug 1999 18:12:32 -0400
> I need to put my own pixmap on a toolbar, I use this:
> {
> GNOME_APP_UI_ITEM,
> N_("Pause"), N_("Pause downloading the file(s)"),
> pause_cb, NULL, NULL,
> GNOME_APP_PIXMAP_DATA, pause_xpm,
> 0, (GdkModifierType)0, NULL
> },
> but when I disable it (gtk_widget_set_sensitive(widget, FALSE),
> the pixmap won't disable, only the word under it (Pause).
> Is this a bug or I'm doing something wrong?
If you want all the niceties of gnome-stock, then you must register
your pixmap against it first using gnome_stock_pixmap_register().
Then you can use it as a normal stock pixmap in your GnomeUIInfo
entries.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]