Hi All, An irritating problem that I can't find any help for. When I put a gtk_menu_item onto a menu_bar rather than a sub_menu it all seems to work but I need to click the resulting button twice to get the action. If someone could tell me what I'm doing wrong I would be grateful.
Thanks, Richard. menu_bar = gtk_menu_bar_new (); gtk_box_pack_start (GTK_BOX(vbox),menu_bar,FALSE,FALSE,0); gtk_widget_show (menu_bar); display_time_item = gtk_menu_item_new_with_label ("Station Status"); gtk_menu_shell_append (GTK_MENU_SHELL(menu_bar),display_time_item); g_signal_connect_swapped (G_OBJECT(display_time_item),"activate",G_CALLBACK(menuitem_response),"t ime"); gtk_widget_show (display_time_item); *************************************************************************************************************** This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. *************************************************************************************************************** _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list