Use GNOME-style layout of OK and Cancel buttons.
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 8 Feb 2005 21:49:25 +0000 (21:49 +0000)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 8 Feb 2005 21:49:25 +0000 (21:49 +0000)
src/gkofoto/gkofoto/generatehtmldialog.py
src/gkofoto/gkofoto/handleimagesdialog.py
src/gkofoto/gkofoto/registerimagesdialog.py

index 6044f25..ff42025 100644 (file)
@@ -38,8 +38,8 @@ class GenerateHTMLDialog:
             title="Choose directory",
             action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
             buttons=(
-                gtk.STOCK_OK, gtk.RESPONSE_OK,
-                gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL))
+                gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
+                gtk.STOCK_OK, gtk.RESPONSE_OK))
         if dirDialog.run() == gtk.RESPONSE_OK:
             self.directoryTextEntry.set_text(dirDialog.get_filename())
         dirDialog.destroy()
index ea5c6f4..700df93 100644 (file)
@@ -15,8 +15,8 @@ class HandleImagesDialog(gtk.FileChooserDialog):
             title="Handle images",
             action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
             buttons=(
-                gtk.STOCK_OK, gtk.RESPONSE_OK,
-                gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL))
+                gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
+                gtk.STOCK_OK, gtk.RESPONSE_OK))
         self.connect("response", self._response)
 
     def _response(self, widget, responseId):
index 316c61f..e49d764 100644 (file)
@@ -12,8 +12,8 @@ class RegisterImagesDialog(gtk.FileChooserDialog):
             title="Register images",
             action=gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
             buttons=(
-                gtk.STOCK_OK, gtk.RESPONSE_OK,
-                gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL))
+                gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
+                gtk.STOCK_OK, gtk.RESPONSE_OK))
         self.__albumToAddTo = albumToAddTo
         self.connect("response", self._response)