Re: [Gtk-osx-users] ige-mac-bundler and gtk_image_new_from_file



On Mar 24, 2011, at 1:10 PM, Shawn Bakhtiar wrote:

> 
> The code in question:
> 
>              /* The Logo */
>              g_object_get((GObject*)self->display,"main_logo",&file_name,NULL);
>              logo = gtk_image_new_from_file (file_name);
>              gtk_box_pack_start(main_hbox,logo,FALSE,FALSE,0);
>              gtk_widget_show (logo);
> 
>      
> The code compiles and runs fine when I am in the jhbuild shell, the logo displays with no issues. However, after having created a bundle file using ige-mac-integration, all the files that use the ciaro_* functions work fine (load and display all images correctly, except for this one, and the only real difference is that I use gtk_image_new_from_file to create a widget to pack, instead of drawing it using cairo_* functions.
> 
> Here are the file locations when running in jhbuild shell:
> Main File: /Users/shawn/gtk/inst/share/isiod/macodie.ui
>      Base: /Users/shawn/gtk/inst/share/
>    Object: orderdesk
> Page Logo: /Users/shawn/gtk/inst/share/isiod/pixmaps/ISI40.png
> Page Bkgd: /Users/shawn/gtk/inst/share/isiod/pixmaps/ISI16-1.png
> Main Logo: /Users/shawn/gtk/inst/share/isiod/pixmaps/ISILOGO-TRANS.png
> 
> 
> Here are the files locations reported when running via the bundle:
> Main File: ///Users/shawn/odie_bundle/orderdesk.app/Contents/Resources/share/isiod/macodie.ui
>      Base: ///Users/shawn/odie_bundle/orderdesk.app/Contents/Resources/share/
>    Object: orderdesk
> Page Logo: ///Users/shawn/odie_bundle/orderdesk.app/Contents/Resources/share/isiod/pixmaps/ISI40.png
> Page Bkgd: ///Users/shawn/odie_bundle/orderdesk.app/Contents/Resources/share/isiod/pixmaps/ISI16-1.png
> Main Logo: ///Users/shawn/odie_bundle/orderdesk.app/Contents/Resources/share/isiod/pixmaps/ISILOGO-TRANS.png
> 
> 
> Any ideas?
> 

About what? Is there a problem or a question buried in there somewhere?

Regards,
John Ralls





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