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

27:    pgtk_verify_setup();    if (args) {    if (Pike_sp[-args].type==PIKE_T_STRING) { -  char *label; +  struct pike_string *label;    GtkWidget *gc; -  get_all_args("create",args,"%s",&label); -  if (label) -  gc=gtk_check_menu_item_new_with_mnemonic(label); -  else -  gc=gtk_check_menu_item_new(); +  get_all_args("create",args,"%t",&label); +  ref_push_string(label); +  f_string_to_utf8(1); +  gc=gtk_check_menu_item_new_with_mnemonic(STR0(Pike_sp[-1].u.string)); +  pop_stack();    THIS->obj=G_OBJECT(gc);    } else {    INIT_WITH_PROPS(GTK_TYPE_CHECK_MENU_ITEM);