[uim-commit] r416 - trunk/helper
yamaken at freedesktop.org
yamaken at freedesktop.org
Mon Jan 31 03:09:27 PST 2005
Author: yamaken
Date: 2005-01-31 03:09:23 -0800 (Mon, 31 Jan 2005)
New Revision: 416
Modified:
trunk/helper/pref-gtk.c
Log:
* helper/pref-gtk.c
- (update_custom_type_choice_cb): Add debug message
Modified: trunk/helper/pref-gtk.c
===================================================================
--- trunk/helper/pref-gtk.c 2005-01-31 06:16:08 UTC (rev 415)
+++ trunk/helper/pref-gtk.c 2005-01-31 11:09:23 UTC (rev 416)
@@ -611,7 +611,7 @@
OBJECT_DATA_UIM_CUSTOM, custom,
(GDestroyNotify) uim_custom_free);
gtk_widget_set_sensitive(combobox, custom->is_active);
- /*
+#if 0
item = custom->range->as_choice.valid_items;
if(item == NULL || *item == NULL)
@@ -624,6 +624,7 @@
default_symbol = custom->value->as_choice->symbol;
while(*item) {
+ fprintf(stderr, "item = %s\n", (*item)->symbol);
gtk_combo_box_append_text(GTK_COMBO_BOX(combobox), (*item)->label);
if(!strcmp(default_symbol, (*item)->symbol))
default_index = i;
@@ -633,7 +634,7 @@
gtk_combo_box_set_active(GTK_COMBO_BOX(combobox), default_index);
g_signal_connect(G_OBJECT(combobox), "changed",
G_CALLBACK(custom_combo_box_changed), NULL);
- */
+#endif
}
static void
More information about the Uim-commit
mailing list