Gtk::GladeXML Bug Example



Attached is a simple example script to illustrate the bug I described
yesterday. To reveal the problem open the "about" help menu item, close
it, then attempt to reopen it.

Attachment: sendmailcheck.pl
Description: Perl program

Title: SendmailCheck
SendmailCheck sendmailcheck src pixmaps Perl True True GnomeApp app1 300 200 destroy gtk_main_quit Thu, 27 Jul 2000 17:45:09 GMT GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False True False True GnomeDock GnomeApp:dock dock1 True 0 True True GnomeDockItem dockitem1 2 GNOME_DOCK_TOP 0 0 0 False True False True False GTK_SHADOW_OUT GtkMenuBar menubar1 GTK_SHADOW_NONE GtkMenuItem file1 GNOMEUIINFO_MENU_FILE_TREE GtkMenu file1_menu GtkPixmapMenuItem new_file1 activate on_new_file1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_NEW_ITEM GtkPixmapMenuItem open1 activate on_open1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_OPEN_ITEM GtkPixmapMenuItem save1 activate on_save1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_SAVE_ITEM GtkPixmapMenuItem save_as1 activate on_save_as1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_SAVE_AS_ITEM GtkMenuItem separator1 False GtkPixmapMenuItem exit1 activate gtk_main_quit Thu, 27 Jul 2000 17:39:11 GMT GNOMEUIINFO_MENU_EXIT_ITEM GtkMenuItem edit1 GNOMEUIINFO_MENU_EDIT_TREE GtkMenu edit1_menu GtkPixmapMenuItem cut1 activate on_cut1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_CUT_ITEM GtkPixmapMenuItem copy1 activate on_copy1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_COPY_ITEM GtkPixmapMenuItem paste1 activate on_paste1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_PASTE_ITEM GtkPixmapMenuItem clear1 activate on_clear1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_CLEAR_ITEM GtkMenuItem separator2 False GtkPixmapMenuItem properties1 activate on_properties1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_PROPERTIES_ITEM GtkMenuItem view1 GNOMEUIINFO_MENU_VIEW_TREE GtkMenuItem settings1 GNOMEUIINFO_MENU_SETTINGS_TREE GtkMenu settings1_menu GtkPixmapMenuItem preferences1 activate on_preferences1_activate Tue, 13 Jun 2000 21:07:52 GMT GNOMEUIINFO_MENU_PREFERENCES_ITEM GtkMenuItem help1 GNOMEUIINFO_MENU_HELP_TREE GtkMenu help1_menu GtkPixmapMenuItem about1 activate gtk_widget_show about1 Thu, 27 Jul 2000 17:34:47 GMT GNOMEUIINFO_MENU_ABOUT_ITEM GnomeDockItem dockitem2 1 GNOME_DOCK_TOP 1 0 0 False True False False False GTK_SHADOW_OUT GtkToolbar toolbar1 1 GTK_ORIENTATION_HORIZONTAL GTK_TOOLBAR_BOTH 16 GTK_TOOLBAR_SPACE_LINE GTK_RELIEF_NONE True GtkButton Toolbar:button button1 New File clicked on_run_clicked Thu, 27 Jul 2000 17:46:44 GMT GNOME_STOCK_PIXMAP_REFRESH GtkScrolledWindow GnomeDock:contents scrolledwindow1 GTK_POLICY_ALWAYS GTK_POLICY_ALWAYS GTK_UPDATE_CONTINUOUS GTK_UPDATE_CONTINUOUS GtkCList clist1 True 2 80,80 GTK_SELECTION_SINGLE True GTK_SHADOW_IN GtkLabel CList:title label1 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GtkLabel CList:title label2 GTK_JUSTIFY_CENTER False 0.5 0.5 0 0 GnomeAppBar GnomeApp:appbar appbar1 True True 0 True True GnomeAbout about1 False delete_event gtk_widget_hide about1 Thu, 27 Jul 2000 17:40:16 GMT True (c) 2000 GSH Gregory Hayes Test of Gtk::GladeXML

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