From a3cfe968a428bb26d0b16e23be49b77db998e73d Mon Sep 17 00:00:00 2001 From: ntakahas Date: Tue, 1 May 2007 06:32:45 +0000 Subject: [PATCH] *** empty log message *** --- src/variable.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/variable.c b/src/variable.c index cfc66c1..8e1f524 100644 --- a/src/variable.c +++ b/src/variable.c @@ -512,8 +512,6 @@ activated_cb (GtkTreeView *parent, GtkTreePath *path, g_signal_connect (G_OBJECT (ci.ok), "clicked", G_CALLBACK (ok_cb), &ci); - ci.need_config = FALSE; - vbox = gtk_vbox_new (FALSE, 12); gtk_container_set_border_width (GTK_CONTAINER (vbox), 12); gtk_container_add (GTK_CONTAINER (GTK_DIALOG (ci.dialog)->vbox), vbox); @@ -534,8 +532,7 @@ activated_cb (GtkTreeView *parent, GtkTreePath *path, gtk_container_add (GTK_CONTAINER (GTK_DIALOG (ci.dialog)->action_area), ci.ok); - - update_widget (&ci); + status = CURRENT_STATUS; if (status == Mconfigured) { @@ -556,6 +553,8 @@ activated_cb (GtkTreeView *parent, GtkTreePath *path, gtk_label_set_text (GTK_LABEL (ci.status), _("default")); } + ci.need_config = FALSE; + gtk_widget_show_all (ci.dialog); gtk_dialog_run (GTK_DIALOG (ci.dialog)); gtk_tree_model_get_iter (model, &iter, path); -- 1.7.10.4