Fix ordering of buttons to conform to the HIG.
Upstream Ticket #228
Index: nicotine-1.2.14+dfsg/pynicotine/gtkgui/dirchooser.py
===================================================================
--- nicotine-1.2.14+dfsg.orig/pynicotine/gtkgui/dirchooser.py 2009-11-21 11:25:55.000000000 +0100
+++ nicotine-1.2.14+dfsg/pynicotine/gtkgui/dirchooser.py 2009-11-21 11:25:58.000000000 +0100
@@ -74,7 +74,7 @@ def ChooseFile(parent = None, initialdir
return res
def SaveFile(parent = None, initialdir = "~", initialfile = "", title=None):
- dialog = gtk.FileChooserDialog(parent=parent, action=gtk.FILE_CHOOSER_ACTION_SAVE, buttons = (gtk.STOCK_OK, gtk.RESPONSE_ACCEPT, gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT))
+ dialog = gtk.FileChooserDialog(parent=parent, action=gtk.FILE_CHOOSER_ACTION_SAVE, buttons = (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT))
dialog.set_action(gtk.FILE_CHOOSER_ACTION_SAVE)
dialog.set_select_multiple(False)
dialog.set_show_hidden(True)
Index: nicotine-1.2.14+dfsg/pynicotine/gtkgui/nowplaying.glade
===================================================================
--- nicotine-1.2.14+dfsg.orig/pynicotine/gtkgui/nowplaying.glade 2009-11-21 11:34:58.000000000 +0100
+++ nicotine-1.2.14+dfsg/pynicotine/gtkgui/nowplaying.glade 2009-11-21 11:37:10.000000000 +0100
@@ -342,7 +342,7 @@
<packing>
<property name="expand">False</property>
<property name="pack_type">end</property>
- <property name="position">1</property>
+ <property name="position">0</property>
</packing>
</child>
<child>
@@ -357,7 +357,7 @@
<packing>
<property name="expand">False</property>
<property name="pack_type">end</property>
- <property name="position">0</property>
+ <property name="position">1</property>
</packing>
</child>
</widget>