aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/prefs-dialog.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a4ef3bb26..1a4310a93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-19 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/prefs-dialog.c: (add_lang_dialog_response_cb):
+
+ Remove debug output leftovers.
+
2003-12-18 Christian Persch <chpe@cvs.gnome.org>
* data/glade/prefs-dialog.glade:
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 129357cba..36f875587 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -731,9 +731,9 @@ add_lang_dialog_response_cb (GtkWidget *widget,
GList *rows, *r;
g_return_if_fail (dialog != NULL);
-g_print ("response_cb\n");
+
if (response == GTK_RESPONSE_OK)
- {g_print ("response OK");
+ {
treeview = GTK_TREE_VIEW (ephy_dialog_get_control
(dialog, add_lang_props[LANGUAGE_PROP].id));
selection = gtk_tree_view_get_selection (treeview);
@@ -743,7 +743,7 @@ g_print ("response_cb\n");
for (r = rows; r != NULL; r = r->next)
{
GtkTreePath *path = (GtkTreePath *) r->data;
-g_print ("row\n");
+
if (gtk_tree_model_get_iter (model, &iter, path))
{
char *code, *desc;
@@ -752,7 +752,7 @@ g_print ("row\n");
COL_LANG_NAME, &desc,
COL_LANG_CODE, &code,
-1);
- g_print ("inner! desc %s code %s\n", desc, code);
+
language_editor_add (pd, code, desc);
g_free (desc);