# FileChooserDialog raising warnings on Windows

**URL:** <https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044>\
**Category:** Ruby-Gnome 2\
**Created:** [December 20, 2011, 11:42am UTC](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044 "2011-12-20T11:42:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [December 20, 2011, 11:42am UTC](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044/1 "2011-12-20T11:42:46Z")

</div>

Microsoft Windows [version 6.1.7601]  
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]  
gtk2-1.0.3-x86-mingw32

FileChooserDialog complains. It does not find the gtk-file icon nor the  
hicolor theme : “impossible de trouver l’ic�ne ��gtk-file��. Le th�me  
��hicolor�� n’a pas non plus �t� trouv�.”

I do not know about the ‘hicolor’ theme, but the ‘gtk-file’ icon is  
available as Gtk::Stock::FILE and I use it elsewhere in the same  
program.

Ideas ?

\_md

---

<div class="post-metadata">

**Author:** ![micheldogger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5e925/32.png) [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Post date:** [December 20, 2011, 12:12pm UTC](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044/2 "2011-12-20T12:12:18Z")

</div>

On Tue, Dec 20, 2011 at 11:42, Michel D.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> FileChooserDialog complains. It does not find the gtk-file icon nor the  
> hicolor theme : “impossible de trouver l’ic�ne ��gtk-file��. Le th�me  
> ��hicolor�� n’a pas non plus �t� trouv�.”
> 
> I do not know about the ‘hicolor’ theme, but the ‘gtk-file’ icon is  
> available as Gtk::Stock::FILE and I use it elsewhere in the same  
> program.
> 
> Ideas ?

As I mentioned on ruby-talk, perhaps hicolor-icon-theme should be  
included with the Windows gem. Kouhei, what do you think?

---

<div class="post-metadata">

**Author:** ![micheldogger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5e925/32.png) [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Post date:** [December 20, 2011, 12:38pm UTC](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044/3 "2011-12-20T12:38:19Z")

</div>

Nikolai W. wrote in post #1037523:

> On Tue, Dec 20, 2011 at 11:42, Michel D.  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > FileChooserDialog complains. It does not find the gtk-file icon nor the  
> > hicolor theme : “impossible de trouver l’ic�ne ��gtk-file��. Le th�me  
> > ��hicolor�� n’a pas non plus �t� trouv�.”
> > 
> > I do not know about the ‘hicolor’ theme, but the ‘gtk-file’ icon is  
> > available as Gtk::Stock::FILE and I use it elsewhere in the same  
> > program.
> > 
> > Ideas ?
> 
> As I mentioned on ruby-talk, perhaps hicolor-icon-theme should be  
> included with the Windows gem. Kouhei, what do you think?

Nikolai, as you suggested, I added a feature request in this direction.

\_md

---

<div class="post-metadata">

**Author:** ![micheldogger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5e925/32.png) [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Post date:** [December 22, 2011, 3:33pm UTC](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044/4 "2011-12-22T15:33:36Z")

</div>

Hi,

In [CADdV=MsRUb5gQNEEAYC+\_be47V=xwuW1EmDYrC0xV\_c=removed\_email\_address@domain.invalid](mailto:CADdV=MsRUb5gQNEEAYC+_be47V=xwuW1EmDYrC0xV_c=removed_email_address@domain.invalid)  
“Re: [ruby-gnome2-devel-en] FileChooserDialog raising warnings on  
Windows” on Tue, 20 Dec 2011 12:11:47 +0100,  
Nikolai W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > Ideas ?
> 
> As I mentioned on ruby-talk, perhaps hicolor-icon-theme should be  
> included with the Windows gem. Kouhei, what do you think?

It’s OK for me if we can include hicolor-icon-theme into gem  
by a rake task. (I don’t want to download it by hand…)  
Shold we download hicolor-icon-theme from  
[http://icon-theme.freedesktop.org/wiki/HicolorTheme](http://icon-theme.freedesktop.org/wiki/HicolorTheme) ?

## Thanks,

kou

---

<div class="post-metadata">

**Author:** ![micheldogger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5e925/32.png) [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Post date:** [December 22, 2011, 3:38pm UTC](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044/5 "2011-12-22T15:38:34Z")

</div>

On Thu, Dec 22, 2011 at 15:32, Kouhei S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Shold we download hicolor-icon-theme from  
> [http://icon-theme.freedesktop.org/wiki/HicolorTheme](http://icon-theme.freedesktop.org/wiki/HicolorTheme) ?

That’s the home for it, yes.

---

<div class="post-metadata">

**Author:** ![micheldogger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5e925/32.png) [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Post date:** [December 25, 2011, 4:22pm UTC](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044/6 "2011-12-25T16:22:55Z")

</div>

Kouhei S. wrote in post #1038142:

> OK. I’ve added a download task for hicolor-icon-theme to  
> Windows gem build tasks.
> 
> ## Thanks,
> 
> kou

Thanks to you,  
\_md

---

<div class="post-metadata">

**Author:** ![micheldogger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b5e925/32.png) [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Post date:** [December 25, 2011, 11:31am UTC](https://www.ruby-forum.com/t/filechooserdialog-raising-warnings-on-windows/215044/7 "2011-12-25T11:31:51Z")

</div>

Hi,

In [CADdV=removed\_email\_address@domain.invalid](mailto:CADdV=removed_email_address@domain.invalid)  
“Re: [ruby-gnome2-devel-en] FileChooserDialog raising warnings on  
Windows” on Thu, 22 Dec 2011 15:38:00 +0100,  
Nikolai W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On Thu, Dec 22, 2011 at 15:32, Kouhei S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Shold we download hicolor-icon-theme from  
> > [http://icon-theme.freedesktop.org/wiki/HicolorTheme](http://icon-theme.freedesktop.org/wiki/HicolorTheme) ?
> 
> Thats the home for it, yes.

OK. I’ve added a download task for hicolor-icon-theme to  
Windows gem build tasks.

## Thanks,

kou
