Re: [evolution-patches] [Shell] Can't import the file when glib filename encoding isn't utf8.



Hi Srini and Harish,

On Mon, 2006-01-02 at 11:36 +0530, Srinivasa Ragavan wrote:
> Simon,
> 
> As harish as pointed out in the bug, is there a possibility to use
> non-depricated call?.
> 

Actually, the whole widget GnomeFileEntry is deprecated. Instead,
someone told me GtkFileChooserButton is being using since GTK 2.6+.
http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooserButton.html

If we substuitue GtkFileChooserButton for GnomeFileEntry, many change
will be done.I'm not sure if it's suitable. What about your idea?

> Also it would be great, if you can extend the patch to entire
> evolution, since I'm sure that there are many such places where non-utf8
> file names play a role.
> 

Sure, I'll extend to all the code regarding GnomeFileEntry and
GnomePixmapEntry as much as possible.

> -Srini
> On Tue, 2005-12-27 at 20:48 +0800, simon.zheng wrote:
> > Hi,
> > 
> > Here's the bug information.
> > http://bugzilla.gnome.org/show_bug.cgi?id=323853.
> > 
> > As gnome_file_entry_get_full_path() has supported non-utf8 glib filename
> > encoding (just fixed in #321144, for more, please see
> > http://bugzilla.gnome.org/show_bug.cgi?id=321144), use
> > gnome_file_entry_get_full_path() instead of
> > gtk_entry_get_text().
> > 
> > Attached the patch, please review.
> > 
> > Thanks,
> > -Simon
> > _______________________________________________
> > Evolution-patches mailing list
> > Evolution-patches gnome org
> > http://mail.gnome.org/mailman/listinfo/evolution-patches
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]