static GnomeUIInfo file1_menu_uiinfo[] = { GNOMEUIINFO_MENU_EXIT_ITEM (on_exit1_activate, NULL), GNOMEUIINFO_END }; static GnomeUIInfo help1_menu_uiinfo[] = { GNOMEUIINFO_MENU_ABOUT_ITEM (on_about1_activate, NULL), GNOMEUIINFO_END }; static GnomeUIInfo menubar1_uiinfo[] = { GNOMEUIINFO_MENU_FILE_TREE (file1_menu_uiinfo), GNOMEUIINFO_MENU_HELP_TREE (help1_menu_uiinfo), GNOMEUIINFO_END }; GtkWidget* create_app (void) { GtkWidget *app; GtkWidget *dock1; GtkWidget *toolbar1; GtkWidget *tmp_toolbar_icon; GtkWidget *button_new; GtkWidget *button_open; GtkWidget *button_save; GtkWidget *button_save_as; GtkWidget *hexentry;
GNOMEUIINFO_END }; GnomeUIInfo helpmenu[] = { GNOMEUIINFO_HELP("samegnome"), GNOMEUIINFO_MENU_ABOUT_ITEM(game_about_callback, NULL), GNOMEUIINFO_END }; GnomeUIInfo mainmenu[] = { GNOMEUIINFO_MENU_GAME_TREE(gamemenu), GNOMEUIINFO_MENU_SETTINGS_TREE(settingsmenu), GNOMEUIINFO_MENU_HELP_TREE(helpmenu), GNOMEUIINFO_END }; #define ELEMENTS(x) (sizeof (x) / sizeof (x [0])) static int save_state (GnomeClient *client, gint phase, GnomeSaveStyle save_style, gint shutdown, GnomeInteractStyle interact_style, gint fast, gpointer client_data) {
GNOMEUIINFO_SEPARATOR, {GNOME_APP_UI_ITEM, N_("_Offline Messages"), NULL, (gpointer) on_Offline, NULL, NULL, 0, NULL, 0, 0, NULL}, GNOMEUIINFO_END }; static GnomeUIInfo mnuHelp_menu_uiinfo[] = { GNOMEUIINFO_MENU_ABOUT_ITEM (on_mnuAbout_activate, NULL), GNOMEUIINFO_END }; static GnomeUIInfo menubar_uiinfo[] = { {GNOME_APP_UI_SUBTREE, N_("_Conn"),NULL,conn_menu_uiinfo, NULL, NULL, 0, NULL, 0, 0, NULL}, {GNOME_APP_UI_SUBTREE, N_("Con_tacts"),NULL,mnuContacts_menu_uiinfo, NULL, NULL, 0, NULL, 0, 0, NULL}, GNOMEUIINFO_MENU_HELP_TREE (mnuHelp_menu_uiinfo), GNOMEUIINFO_END }; GtkWidget *scrolledwindow1; GtkWidget *scrolledwindow4; extern GtkWidget *gifmain; GtkWidget* create_gifmain (void) { GtkWidget *toolbar; GtkWidget *tmp_toolbar_icon; GtkWidget *butConnect,*butAdd, *butConf, *butOffline; GtkWidget *appbar; char pathname[MAX_PATH_LENGTH];