Package: dots Version: 0.0.20100108-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu maverick ubuntu-patch
Patch from upstream *** /tmp/tmpbAIbIF In Ubuntu, we've applied the attached patch to achieve the following: * Fixes missing about dialog (LP: #541723) We thought you might be interested in doing the same. -- System Information: Debian Release: squeeze/sid APT prefers lucid-updates APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid') Architecture: i386 (i686) Kernel: Linux 2.6.32-22-generic (SMP w/1 CPU core) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u dots-0.0.20100108/debian/changelog dots-0.0.20100108/debian/changelog only in patch2: unchanged: --- dots-0.0.20100108.orig/7_6.diff +++ dots-0.0.20100108/7_6.diff @@ -0,0 +1,47 @@ +=== modified file 'data/app_window.xml' +--- data/app_window.xml 2009-05-24 19:29:13 +0000 ++++ data/app_window.xml 2010-03-19 08:42:59 +0000 +@@ -161,6 +161,7 @@ + <child> + <object class="GtkImageMenuItem" id="imagemenuitem10"> + <property name="label">gtk-about</property> ++ <signal name="activate" handler="_onAbout"/> + <property name="visible">True</property> + <property name="use_underline">True</property> + <property name="use_stock">True</property> + +=== modified file 'debian/changelog' +--- debian/changelog 2010-01-12 23:40:08 +0000 ++++ debian/changelog 2010-03-19 08:42:59 +0000 +@@ -1,3 +1,9 @@ ++dots (0.0.20100108-1ubuntu1) lucid; urgency=low ++ ++ * Fixes missing about dialog (LP: #541723) ++ ++ -- arky <rakesh_amb...@yahoo.com> Fri, 19 Mar 2010 14:11:40 +0530 ++ + dots (0.0.20100108-1) unstable; urgency=low + + * New upstream snapshot. + +=== modified file 'dots/app_window.py' +--- dots/app_window.py 2009-05-24 19:29:13 +0000 ++++ dots/app_window.py 2010-03-19 08:42:59 +0000 +@@ -102,6 +102,16 @@ + self.main_notebook.append_page(dotsproj, dotsproj.tab_label) + dotsproj.show_all() + ++ ++ def _onAbout(self, widget): ++ about = gtk.AboutDialog() ++ about.set_name("Dots") ++ about.set_logo_icon_name("dots") ++ about.set_version("0.1") ++ about.set_comments( "A braille typesetting program for GNOME") ++ about.run() ++ about.destroy() ++ + def run(self): + self.window.show_all() + gtk.main() + only in patch2: unchanged: --- dots-0.0.20100108.orig/data/app_window.xml +++ dots-0.0.20100108/data/app_window.xml @@ -161,6 +161,7 @@ <child> <object class="GtkImageMenuItem" id="imagemenuitem10"> <property name="label">gtk-about</property> + <signal name="activate" handler="_onAbout"/> <property name="visible">True</property> <property name="use_underline">True</property> <property name="use_stock">True</property> only in patch2: unchanged: --- dots-0.0.20100108.orig/dots/app_window.py +++ dots-0.0.20100108/dots/app_window.py @@ -102,6 +102,17 @@ self.main_notebook.append_page(dotsproj, dotsproj.tab_label) dotsproj.show_all() + def _onAbout(self, widget): + about = gtk.AboutDialog() + about.set_name("Dots") + about.set_logo_icon_name("dots") + about.set_version("0.1") + about.set_comments( "A braille typesetting program for GNOME") + about.run() + about.destroy() + + + def run(self): self.window.show_all() gtk.main()