fileselector bug and patch



Hello

When bringing up a fileselector the title over the directory-list is
wrong.
It seems two lines of code have been moved to the wrong place. This patch
should fix it.

I dunno if this bug has been fixed in the cvs, but it's there in 1.1.9.
I also don't know if this is the right place to send a patch.
Anyway, here it goes:

*** gtkfilesel.c.orig   Tue Dec 22 19:18:34 1998
--- gtkfilesel.c        Tue Dec 22 19:18:45 1998
***************
*** 409,412 ****
--- 409,414 ----

    /* The directories clist */
+   dir_title[0] = _("Directories");
+   dir_title[1] = NULL;
    filesel->dir_list = gtk_clist_new_with_titles (1, (gchar**)
dir_title);
    gtk_widget_set_usize (filesel->dir_list, DIR_LIST_WIDTH,
DIR_LIST_HEIGHT);
***************
*** 417,422 ****

    scrolled_win = gtk_scrolled_window_new (NULL, NULL);
-   dir_title[0] = _("Directories");
-   dir_title[1] = NULL;
    gtk_container_add (GTK_CONTAINER (scrolled_win), filesel->dir_list);
    gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_win),
--- 419,422 ----

/Johan Levin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]