Mercurial > geeqie
diff src/layout.c @ 726:a1dcef8cd1ae
Use G_DIR_SEPARATOR where applicable.
author | zas_ |
---|---|
date | Wed, 21 May 2008 11:07:23 +0000 |
parents | eda074e91ddd |
children | a7289f9e8d29 |
line wrap: on
line diff
--- a/src/layout.c Wed May 21 11:00:13 2008 +0000 +++ b/src/layout.c Wed May 21 11:07:23 2008 +0000 @@ -149,7 +149,7 @@ if ((!lw->path || strcmp(lw->path, buf) != 0) && layout_set_path(lw, buf)) { gint pos = -1; - /* put the '/' back, if we are in tab completion for a dir and result was path change */ + /* put the G_DIR_SEPARATOR back, if we are in tab completion for a dir and result was path change */ gtk_editable_insert_text(GTK_EDITABLE(lw->path_entry), G_DIR_SEPARATOR_S, -1, &pos); gtk_editable_set_position(GTK_EDITABLE(lw->path_entry), strlen(gtk_entry_get_text(GTK_ENTRY(lw->path_entry))));