summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1998-12-17 23:35:22 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-12-17 23:35:22 +0000
commit1bde7a559951e24b737e3c7c2b9692f77d758286 (patch)
tree4690d16038748b0681ceeb726e68123df638d482 /gtk/gtkfilesel.c
parent55ce42dad100465d08012e987bc5cd7d74629019 (diff)
downloadgdk-pixbuf-1bde7a559951e24b737e3c7c2b9692f77d758286.tar.gz
Remove the info tag from the context so if the source unexpectedly
Thu Dec 17 18:25:52 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the info tag from the context so if the source unexpectedly responds in the future, we do nothing properly. Thu Dec 17 18:24:41 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle the case where one side of the the pane is empty. * gtk/gtkfilesel.c (gtk_file_selection_init): Set dir_title before using it. (Pointed out by Lavoie Philippe <lavoie@zeus.genie.uottawa.ca>)
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index 8379118f6..0386dbbc4 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -408,6 +408,9 @@ gtk_file_selection_init (GtkFileSelection *filesel)
gtk_widget_show (list_hbox);
/* 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);
gtk_signal_connect (GTK_OBJECT (filesel->dir_list), "select_row",
@@ -416,8 +419,6 @@ gtk_file_selection_init (GtkFileSelection *filesel)
gtk_clist_column_titles_passive (GTK_CLIST (filesel->dir_list));
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),
GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);