diff options
Diffstat (limited to 'xd_view.c')
-rw-r--r-- | xd_view.c | 41 |
1 files changed, 0 insertions, 41 deletions
@@ -277,30 +277,6 @@ static void menu_cb_quit(void) gtk_widget_destroy(xd_toplevel); } -static void menu_cb_xenstore(void) -{ - if (NULL == xs_toplevel) - xenstore_create_window(); - gtk_widget_show_all(xs_toplevel); -} - -static void menu_cb_mdns(void) -{ -#ifdef HAVE_AVAHI - struct mdns_window *mdns; - - mdns = mdns_create_window(0, MDNS_VIEW_XEN, NULL); - if (NULL == mdns) { - gtk_message(GTK_MESSAGE_ERROR, "Can't setup mDNS browser, sorry.\n"); - return; - } - mdns_browse(mdns, 1, "_xendom._tcp", NULL); - mdns_show_window(mdns); -#else - gtk_message(GTK_MESSAGE_ERROR, "Compiled without mDNS support, sorry.\n"); -#endif -} - static void menu_cb_open_vnc(void) { char *name, *tty, *ostype; @@ -399,9 +375,6 @@ static const GtkActionEntry entries[] = { .name = "DomainMenu", .label = "_Domain", },{ - .name = "WindowMenu", - .label = "_Window", - },{ .name = "HelpMenu", .label = "_Help", },{ @@ -463,16 +436,6 @@ static const GtkActionEntry entries[] = { .label = "Destroy", .tooltip = "Radically kill off domain", .callback = menu_cb_domain_destroy, - },{ - - .name = "Xenstore", - .label = "_Xenstore browser", - .accelerator = "<control>X", - .callback = menu_cb_xenstore, - },{ - .name = "mDNS", - .label = "mDNS browser", - .callback = menu_cb_mdns, }, }; @@ -493,10 +456,6 @@ static char ui_xml[] = " <menuitem action='DomainShutdown'/>" " <menuitem action='DomainDestroy'/>" " </menu>" -" <menu action='WindowMenu'>" -" <menuitem action='Xenstore'/>" -" <menuitem action='mDNS'/>" -" </menu>" " <menu action='HelpMenu'>" " <menuitem action='About'/>" " </menu>" |