Package: gjiten Severity: wishlist Version: 2.6-2.3 Dear Maintainer,
Gjiten has a button labelled "KanjiPad", which launches kanjipad. But even after installing gjiten and kanjipad, clicking on this button pops up a warning about not knowing where the kanjipad executable is. Given that kanjipad is also a official debian package, integration between them can be improved. Attached is a patch that does the same, which has been applied in ubuntu. Regards, -- Bhavani Shankar Ubuntu Developer | www.ubuntu.com https://launchpad.net/~bhavi
diff -pruN 2.6-2.2/src/conf.c 2.6-2.2ubuntu1/src/conf.c --- 2.6-2.2/src/conf.c 2006-10-29 17:17:36.000000000 +0000 +++ 2.6-2.2ubuntu1/src/conf.c 2012-07-09 16:36:26.000000000 +0000 @@ -111,7 +111,7 @@ GjitenConfig *conf_load() { conf->kanjipad = gconf_client_get_string(gconf_client, "/apps/gjiten/general/kanjipad", NULL); - if (conf->kanjipad == NULL) conf->kanjipad = ""; + if (conf->kanjipad == NULL) conf->kanjipad = "/usr/bin/kanjipad"; conf->numofdics = gconf_client_get_int(gconf_client, "/apps/gjiten/general/numofdics", NULL); @@ -259,6 +259,7 @@ void conf_save_options(GjitenConfig *con gconf_client_set_bool(gconf_client, "/apps/gjiten/general/autoadjust_enabled", conf->autoadjust_enabled, NULL); gconf_client_set_bool(gconf_client, "/apps/gjiten/general/searchlimit_enabled", conf->searchlimit_enabled, NULL); gconf_client_set_int(gconf_client, "/apps/gjiten/general/maxwordmatches", conf->maxwordmatches, NULL); + gconf_client_set_string(gconf_client, "/apps/gjiten/general/kanjipad", conf->kanjipad, NULL); } gboolean conf_init_handler() {