Branch: Tag:

2005-12-17

2005-12-17 23:25:58 by Marcus Comstedt <marcus@mc.pp.se>

More UTF-8 fixes.

Rev: src/post_modules/GTK2/source/common_draw.inc:1.3
Rev: src/post_modules/GTK2/source/gnomedruidpagestandard.pre:1.5
Rev: src/post_modules/GTK2/source/gtkaction.pre:1.4
Rev: src/post_modules/GTK2/source/gtkaspectframe.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellview.pre:1.5
Rev: src/post_modules/GTK2/source/gtkcheckmenuitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcolorselectiondialog.pre:1.4
Rev: src/post_modules/GTK2/source/gtkeditable.inc:1.4
Rev: src/post_modules/GTK2/source/gtkexpander.pre:1.4
Rev: src/post_modules/GTK2/source/gtkfilechooserbutton.pre:1.5
Rev: src/post_modules/GTK2/source/gtkfilechooserdialog.pre:1.4
Rev: src/post_modules/GTK2/source/gtkfileselection.pre:1.4
Rev: src/post_modules/GTK2/source/gtkfontselectiondialog.pre:1.4
Rev: src/post_modules/GTK2/source/gtkimagemenuitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtkmenuitem.pre:1.5
Rev: src/post_modules/GTK2/source/gtkradioaction.pre:1.5

17:    pgtk_verify_setup();    {    if (Pike_sp[-args].type==PIKE_T_STRING) { -  char *title; +  struct pike_string *title;    INT_TYPE action;    GtkWidget *gf; -  get_all_args("create",args,"%s%i",&title,&action); -  gf=gtk_file_chooser_button_new(title,action); +  get_all_args("create",args,"%t%i",&title,&action); +  ref_push_string(title); +  f_string_to_utf8(1); +  gf=gtk_file_chooser_button_new(STR0(Pike_sp[-1].u.string),action); +  pop_stack();    THIS->obj=G_OBJECT(gf);    } else {    INIT_WITH_PROPS(GTK_TYPE_FILE_CHOOSER_BUTTON);