summaryrefslogtreecommitdiff
path: root/mail/sylpheed-gtk2/files/patch-src::main.c
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-18 17:14:10 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-18 17:14:10 +0000
commited6e532c278588a98270d0b64fdbc1b234b4ef67 (patch)
tree2a4ddaf0edb8d6e4f0e7203f7a8352d20821870d /mail/sylpheed-gtk2/files/patch-src::main.c
parent- Update to version 1.0.12 (diff)
- Fix loading empty preference keys
- Do not load ~/.gtkrc [1] [1] reported by Davide D'Amico and Giuseppe Serano PR: ports/65728 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=107446
Diffstat (limited to 'mail/sylpheed-gtk2/files/patch-src::main.c')
-rw-r--r--mail/sylpheed-gtk2/files/patch-src::main.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/sylpheed-gtk2/files/patch-src::main.c b/mail/sylpheed-gtk2/files/patch-src::main.c
new file mode 100644
index 000000000000..77ad5c747f58
--- /dev/null
+++ b/mail/sylpheed-gtk2/files/patch-src::main.c
@@ -0,0 +1,24 @@
+--- src/main.c.orig Sun Apr 18 17:22:45 2004
++++ src/main.c Sun Apr 18 17:23:11 2004
+@@ -194,21 +194,6 @@
+
+ srandom((gint)time(NULL));
+
+- /* parse gtkrc files */
+- userrc = g_strconcat(get_home_dir(), G_DIR_SEPARATOR_S, ".gtkrc",
+- NULL);
+- gtk_rc_parse(userrc);
+- g_free(userrc);
+- userrc = g_strconcat(get_home_dir(), G_DIR_SEPARATOR_S, ".gtk",
+- G_DIR_SEPARATOR_S, "gtkrc", NULL);
+- gtk_rc_parse(userrc);
+- g_free(userrc);
+- userrc = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, "gtkrc", NULL);
+- gtk_rc_parse(userrc);
+- g_free(userrc);
+-
+- gtk_rc_parse("./gtkrc");
+-
+ userrc = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, MENU_RC, NULL);
+ gtk_accel_map_load (userrc);
+ g_free(userrc);