]> git.sur5r.net Git - bacula/bacula/commitdiff
kes Activate Close button on tray-monitor window. This fixes
authorKern Sibbald <kern@sibbald.com>
Tue, 16 Oct 2007 19:00:51 +0000 (19:00 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 16 Oct 2007 19:00:51 +0000 (19:00 +0000)
     bug #986.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@5752 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/patches/2.2.5-tray-monitor.patch [new file with mode: 0644]
bacula/src/tray-monitor/tray-monitor.c
bacula/technotes-2.1

diff --git a/bacula/patches/2.2.5-tray-monitor.patch b/bacula/patches/2.2.5-tray-monitor.patch
new file mode 100644 (file)
index 0000000..542aea7
--- /dev/null
@@ -0,0 +1,25 @@
+
+ This patch activates the Close button in the tray monitor window.
+ It fixes bug #986.
+
+ Apply it to Bacula version 2.2.5 with:
+
+ cd <bacula-source>
+ patch -p0 <2.2.5-tray-monitor.patch
+ make
+ ...
+ make install
+
+Index: src/tray-monitor/tray-monitor.c
+===================================================================
+--- src/tray-monitor/tray-monitor.c    (revision 5717)
++++ src/tray-monitor/tray-monitor.c    (working copy)
+@@ -478,7 +478,7 @@
+    gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, FALSE, 0);
+    button = new_image_button("gtk-close", _("Close"));
+-// g_signal_connect_swapped(G_OBJECT(button), "clicked", G_CALLBACK(gtk_widget_hide), G_OBJECT(window));
++   g_signal_connect_swapped(G_OBJECT(button), "clicked", G_CALLBACK(gtk_widget_hide), G_OBJECT(window));
+    gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, FALSE, 0);
+    gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
index 3f8fbec5b8b715dd7ea20f1986d67d5e753d8109..195bfd5b949c9abe48d9a23d5b99e9377151c55c 100644 (file)
@@ -478,7 +478,7 @@ int main(int argc, char *argv[])
    gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, FALSE, 0);
 
    button = new_image_button("gtk-close", _("Close"));
-// g_signal_connect_swapped(G_OBJECT(button), "clicked", G_CALLBACK(gtk_widget_hide), G_OBJECT(window));
+   g_signal_connect_swapped(G_OBJECT(button), "clicked", G_CALLBACK(gtk_widget_hide), G_OBJECT(window));
    gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, FALSE, 0);
 
    gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
index 3b5813ae982d578aff4bc6e1606ad51df89cd45a..56b6c7f0515b4f15aa2019e3816166867f0eae6b 100644 (file)
@@ -1,6 +1,9 @@
               Technical notes on version 2.2
 
 General:
+16Oct07
+kes  Activate Close button on tray-monitor window. This fixes
+     bug #986.
 12Oct07
 kes  Fix spurious warning message printed when creating a volume with
      a LabelFormat. This fixes bug #976.