diff options
author | Dejan Lukan <dejan@proteansec.com> | 2016-12-02 11:47:35 +0100 |
---|---|---|
committer | Dejan Lukan <dejan@proteansec.com> | 2016-12-02 11:47:35 +0100 |
commit | d78b890178ce5c497c396ce181c1a055b2fda515 (patch) | |
tree | 2bfa30ccb268e67b23273f08990e83691ccf2be7 /pkgs/desktops/gnome-2/desktop/mail-notification/patches/mail-notification-5.4-remove-ubuntu-special-case.patch | |
parent | acddb5d36745d06b608e71b098ad90d625e9cd5a (diff) | |
download | nixlib-d78b890178ce5c497c396ce181c1a055b2fda515.tar nixlib-d78b890178ce5c497c396ce181c1a055b2fda515.tar.gz nixlib-d78b890178ce5c497c396ce181c1a055b2fda515.tar.bz2 nixlib-d78b890178ce5c497c396ce181c1a055b2fda515.tar.lz nixlib-d78b890178ce5c497c396ce181c1a055b2fda515.tar.xz nixlib-d78b890178ce5c497c396ce181c1a055b2fda515.tar.zst nixlib-d78b890178ce5c497c396ce181c1a055b2fda515.zip |
mail-notification: init at 5.4
Diffstat (limited to 'pkgs/desktops/gnome-2/desktop/mail-notification/patches/mail-notification-5.4-remove-ubuntu-special-case.patch')
-rw-r--r-- | pkgs/desktops/gnome-2/desktop/mail-notification/patches/mail-notification-5.4-remove-ubuntu-special-case.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-2/desktop/mail-notification/patches/mail-notification-5.4-remove-ubuntu-special-case.patch b/pkgs/desktops/gnome-2/desktop/mail-notification/patches/mail-notification-5.4-remove-ubuntu-special-case.patch new file mode 100644 index 000000000000..4516f32c6f52 --- /dev/null +++ b/pkgs/desktops/gnome-2/desktop/mail-notification/patches/mail-notification-5.4-remove-ubuntu-special-case.patch @@ -0,0 +1,33 @@ +--- jbsrc/lib/src/core/jb-feature.c.~1~ 2008-04-27 16:47:27.000000000 +0200 ++++ jbsrc/lib/src/core/jb-feature.c 2008-07-22 11:40:50.856886210 +0200 +@@ -164,8 +164,6 @@ + static void + gconf_configure (void) + { +- JBVariable *variable; +- + jb_require_program("gconftool-2"); + + if (! strcmp(jb_variable_get_string("gconf-config-source"), "autodetect")) +@@ -178,21 +176,6 @@ + jb_variable_set_string("gconf-config-source", config_source); + g_free(config_source); + } +- +- /* fix the default schemas dir on Ubuntu */ +- variable = jb_variable_get_variable_or_error("gconf-schemas-dir"); +- if (! variable->user_set) +- { +- static const char *ubuntu_dir = "$datadir/gconf/schemas"; +- char *expanded; +- +- expanded = jb_variable_expand(ubuntu_dir, NULL); +- +- if (g_file_test(expanded, G_FILE_TEST_IS_DIR)) +- jb_variable_set_string("gconf-schemas-dir", ubuntu_dir); +- +- g_free(expanded); +- } + } + + static void |