From: ntakahas Date: Tue, 1 May 2007 06:32:45 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-0-9-0~17 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=a3cfe968a428bb26d0b16e23be49b77db998e73d;p=m17n%2Fm17n-im-config.git *** empty log message *** --- 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);