Re: [Planner Dev] Bug in planner-window.c:get_last_dir
- From: Jani tiainen <redetin luukku com>
- To: Planner Project Manager - Development List <planner-dev lists imendio com>
- Subject: Re: [Planner Dev] Bug in planner-window.c:get_last_dir
- Date: Wed, 28 Jul 2004 18:05:14 +0300
Richard Hult wrote:
On ons, 2004-07-28 at 17:46 +0300, Jani tiainen wrote:
In planner-window.c, function get_last_dir there is condition:
599 if (last_dir[strlen (last_dir)] != G_DIR_SEPARATOR) {
600 gchar *tmp;
601
602 tmp = g_strconcat (last_dir, G_DIR_SEPARATOR_S, NULL);
603 g_free (last_dir);
604 last_dir = tmp;
605 }
606
should there be:
if (last_dir[strlen(last_dir) - 1] != G_DIR_SEPARATOR) {
Yeah, but we can remove that check altogether now that we are using the
filechooser (since that doesn't need the slash).
And it seems that at least in CyGnome2 you must not put slash there,
since I changed it so that it _removes_ slash and voilá, now open and
save as dialogs work!
Err.. Now it seems that I have at least most of systems up and running.
Is there somewhere sample plan that I could use to test things...
And still I get those darn project-start errors, it never goes g_log
function...
--
Jani Tiainen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]