2 This patch activates the Close button in the tray monitor window.
5 Apply it to Bacula version 2.2.5 with:
8 patch -p0 <2.2.5-tray-monitor.patch
13 Index: src/tray-monitor/tray-monitor.c
14 ===================================================================
15 --- src/tray-monitor/tray-monitor.c (revision 5717)
16 +++ src/tray-monitor/tray-monitor.c (working copy)
18 gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, FALSE, 0);
20 button = new_image_button("gtk-close", _("Close"));
21 -// g_signal_connect_swapped(G_OBJECT(button), "clicked", G_CALLBACK(gtk_widget_hide), G_OBJECT(window));
22 + g_signal_connect_swapped(G_OBJECT(button), "clicked", G_CALLBACK(gtk_widget_hide), G_OBJECT(window));
23 gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, FALSE, 0);
25 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);