summarylogtreecommitdiffstats
path: root/missing-close-event.patch
diff options
context:
space:
mode:
authorMuflone2017-11-01 22:10:14 +0100
committerMuflone2017-11-01 22:10:14 +0100
commit0ab91e9de08386190bd4ac1dd5a85e94c6bc3a4e (patch)
tree0892b7bb8a5cf420147dd7702797d3e40d49e947 /missing-close-event.patch
parent31c813fd5dad22dc82f53cbe91ee2b188c486732 (diff)
downloadaur-html2pdf.tar.gz
Updated package html2pdf 1.0-2
Diffstat (limited to 'missing-close-event.patch')
-rw-r--r--missing-close-event.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/missing-close-event.patch b/missing-close-event.patch
new file mode 100644
index 00000000000..eeb1edd7ac6
--- /dev/null
+++ b/missing-close-event.patch
@@ -0,0 +1,23 @@
+diff -Naur usr.orig/share/html2pdf/html2pdf.py usr/share/html2pdf/html2pdf.py
+--- usr.orig/share/html2pdf/html2pdf.py 2010-01-19 18:26:38.000000000 +0100
++++ usr/share/html2pdf/html2pdf.py 2017-11-01 22:00:38.850860399 +0100
+@@ -72,7 +72,7 @@
+ self.glade.get_widget("combobox2").set_active(1)
+ self.window.show()
+
+- def on_close(self, widget):
++ def on_close(self, widget, event=None):
+ gtk.main_quit()
+ sys.exit(0)
+
+diff -Naur usr.orig/share/html2pdf/ui.glade usr/share/html2pdf/ui.glade
+--- usr.orig/share/html2pdf/ui.glade 2010-01-19 17:49:16.000000000 +0100
++++ usr/share/html2pdf/ui.glade 2017-11-01 22:01:05.460789677 +0100
+@@ -8,6 +8,7 @@
+ <property name="resizable">False</property>
+ <property name="window_position">center</property>
+ <property name="icon">html2pdf.png</property>
++ <signal name="delete_event" handler="on_close"/>
+ <child>
+ <widget class="GtkVBox" id="vbox12">
+ <property name="visible">True</property>