#! /bin/sh /usr/share/dpatch/dpatch-run ## 02_quitbutton.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad gnome-orca-1.0.0~/src/orca/orca-setup.glade gnome-orca-1.0.0/src/orca/orca-setup.glade --- gnome-orca-1.0.0~/src/orca/orca-setup.glade 2006-09-05 20:38:05.000000000 +0000 +++ gnome-orca-1.0.0/src/orca/orca-setup.glade 2006-09-05 20:38:19.000000000 +0000 @@ -47,6 +47,82 @@ + + True + True + True + GTK_RELIEF_NORMAL + True + -3 + + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-stop + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Quit Orca + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + True True diff -urNad gnome-orca-1.0.0~/src/orca/orca_gui_prefs.py gnome-orca-1.0.0/src/orca/orca_gui_prefs.py --- gnome-orca-1.0.0~/src/orca/orca_gui_prefs.py 2006-09-05 20:38:05.000000000 +0000 +++ gnome-orca-1.0.0/src/orca/orca_gui_prefs.py 2006-09-05 20:39:39.000000000 +0000 @@ -1372,6 +1372,10 @@ self.orcaSetupWindow.hide() + def quitButtonClicked(self, widget): + + orca.shutdown() + def okButtonClicked(self, widget): """Signal handler for the "clicked" signal for the okButton GtkButton widget. The user has clicked the OK button.