[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#574594: dots: About dialog missing



Package: dots
Version: 0.0.20100108-1
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch



*** /tmp/tmpkUP4LU
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
  APT policy: (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-6-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== 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:40:32 +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'

=== 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:41:21 +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()


Reply to: