Revision: 7181
Author: ek.kato
Date: Sun Jul 3 23:45:59 2011
Log: * gtk2/candwin/horizontal-gtk.c
- (uim_cand_win_gtk_set_page) : Call show_table() here to make
sure showing all labels.
- (uim_cand_win_gtk_show) : Not here.
http://code.google.com/p/uim/source/detail?r=7181
Modified:
/trunk/gtk2/candwin/horizontal-gtk.c
=======================================
--- /trunk/gtk2/candwin/horizontal-gtk.c Sun Jul 3 19:29:37 2011
+++ /trunk/gtk2/candwin/horizontal-gtk.c Sun Jul 3 23:45:59 2011
@@ -177,6 +177,7 @@
static void candwin_show_page(gchar **str);
static void str_parse(char *str);
static void clear_button(struct index_button *idxbutton, gint cell_index);
+static void show_table(GtkTable *view, GPtrArray *buttons);
static void scale_label(GtkEventBox *button, double factor);
static void index_changed_cb(UIMCandidateWindow *cwin)
@@ -1101,6 +1102,7 @@
update_table_button(GTK_TREE_MODEL(cwin->stores->pdata[new_page]),
cwin->buttons, cwin->display_limit);
+ show_table(GTK_TABLE(cwin->view), cwin->buttons);
cwin->page_index = new_page;
@@ -1305,7 +1307,6 @@
static void
uim_cand_win_gtk_show(UIMCandidateWindow *cwin)
{
- show_table(GTK_TABLE(cwin->view), cwin->buttons);
gtk_widget_show(GTK_WIDGET(cwin->viewport));
gtk_widget_show(GTK_WIDGET(cwin->scrolled_window));
gtk_widget_show(GTK_WIDGET(cwin->num_label));