summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-11-29 03:36:28 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-11-29 03:36:28 +0000
commit8928402efc42cc743576989d4dbe24e5a2112a52 (patch)
tree75dfcaa2b04b459ffec6502f93f9eb7f21ad1452 /games-emulation/gens/files
parentVersion bump (diff)
downloadhistorical-8928402efc42cc743576989d4dbe24e5a2112a52.tar.gz
historical-8928402efc42cc743576989d4dbe24e5a2112a52.tar.bz2
historical-8928402efc42cc743576989d4dbe24e5a2112a52.zip
add patch from Daniel Schneidereit to fix "Open Rom" always starting in ~/.gens (bug #153593)
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'games-emulation/gens/files')
-rw-r--r--games-emulation/gens/files/gens-2.12b-romsdir.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-emulation/gens/files/gens-2.12b-romsdir.patch b/games-emulation/gens/files/gens-2.12b-romsdir.patch
new file mode 100644
index 000000000000..76b066b931cd
--- /dev/null
+++ b/games-emulation/gens/files/gens-2.12b-romsdir.patch
@@ -0,0 +1,13 @@
+diff -ruN gens-rc3.5-opengl/src/gens/util/rom.c gens-rc3.5-opengl-patched/src/gens/util/rom.c
+--- gens-rc3.5-opengl/src/gens/util/rom.c 2005-01-10 22:24:01.000000000 +0100
++++ gens-rc3.5-opengl-patched/src/gens/util/rom.c 2006-10-29 14:58:14.000000000 +0100
+@@ -411,6 +411,9 @@
+ create_file_chooser_dialog ("Open Rom", GTK_FILE_CHOOSER_ACTION_OPEN);
+ // fileselection_set_dir (fd.filesel, Rom_Dir);
+ addRomsFilter (widget);
++
++ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (widget), Rom_Dir);
++
+ res = gtk_dialog_run (GTK_DIALOG (widget));
+ if (res == GTK_RESPONSE_OK)
+ {