Bug#348680: Theme path issue when using gtk_file_chooser_new_with_backend()

Daniel Leidert daniel.leidert.spam at gmx.net
Fri Feb 10 18:11:56 UTC 2006


Am Freitag, den 10.02.2006, 15:03 +0100 schrieb Sebastien Bacher: 
> Le vendredi 27 janvier 2006 à 00:28 +0100, Daniel Leidert a écrit :
> > Am Donnerstag, den 26.01.2006, 23:33 +0100 schrieb Sebastien Bacher: 
> > > Le mercredi 18 janvier 2006 à 12:57 +0100, Daniel Leidert a écrit :
> > > 
> > > > when using gtk_file_chooser_dialog_new(), it searches gnome/index.theme
> > > > independent from the environment and the icons are available. Could this
> > > > be a bug in GTK?
> > > 
> > > Hi,
> > > 
> > > Thank your for your bug.
> > 
> > I hope you meant "report" :)
> > 
> > > Do you have a small code example of the issue?
> > 
> > I'm sorry. I cannot reproduce it anymore (made some strace-logs a few
> > minutes ago) and I deleted my old strace-logs. But there is still an
> > inconsistency between gtk_file_chooser_dialog_new() and
> > gtk_file_chooser_dialog_new_with_backend() left (IMHO). I use
> > gtk_file_chooser_dialog_new_with_backend( ..., "gnome-vfs", ...) and my
> > default theme in XFCE4 is the hicolor theme. The resulting dialog does
> > not have icons (try the open-dialog in bluefish, running it not in
> > GNOME). Using gtk_file_chooser_dialog_new() the dialog has icons. But in
> > the strace-logs I don't see any difference in the theme usage. If you
> > think, this left issue is not a GTK bug, please close my report, because
> > I cannot reproduce the theme path issue (I thought, this caused the
> > missing-icons issue) any longer.
> > 
> > Regards, Daniel
> 
> (please keep nnnn at bugs.debian.org Cc:ed so the BTS get the mails too and
> other people can work on the bug)

I'm sorry. I saw that I missed it a few hours later and sent the mail to
the BTS too.

> Do you have a screenshot of the difference you have between the 2 modes?

Yes. Attached are 2 screenshots. One shows
gtk_file_chooser_dialog_new_with_backend() with gnome-vfs backend and
the other shows gtk_file_chooser_dialog_new(). The default theme used is
hicolor. It seems, that the latter one used the gnome-theme as fallback.
Using gtk_file_chooser_dialog_new_with_backend() shows a dialog without
any icons.

> What theme do you use?

Under XFCE4 I had hicolor as default icon theme. Choosing other themes
make both functions work consistent (then both show the same theme
icons).

Regards, Daniel
-------------- next part --------------
Skipped content of type message/external-body-------------- next part --------------
Skipped content of type message/external-body


More information about the Pkg-gnome-maintainers mailing list