aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_display_items.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-03-20 02:28:59 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-03-20 02:28:59 +0000
commitffeb33ec1bd580527cee861d1672a3e832a3ac34 (patch)
tree1697ced5d539d75e273e28d216bceda57900d39c /src/prefs_display_items.c
parent8c01863cb322ed0bcb2e5239c3a7df995e6698fc (diff)
win32: made a workaround for the CList redraw problem in GTK+ 2.10.11.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1573 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_display_items.c')
-rw-r--r--src/prefs_display_items.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prefs_display_items.c b/src/prefs_display_items.c
index 2706994b..41ebd9fa 100644
--- a/src/prefs_display_items.c
+++ b/src/prefs_display_items.c
@@ -470,6 +470,7 @@ static void prefs_display_items_add(GtkWidget *widget, gpointer data)
item = (PrefsDisplayItem *)gtk_clist_get_row_data(stock_clist, row);
if (!item->allow_multiple) {
gtk_clist_remove(stock_clist, row);
+ gtk_widget_queue_resize(GTK_WIDGET(stock_clist));
if (stock_clist->rows == row)
gtk_clist_select_row(stock_clist, row - 1, -1);
}
@@ -504,6 +505,7 @@ static void prefs_display_items_remove(GtkWidget *widget, gpointer data)
if (!item)
return;
gtk_clist_remove(shown_clist, row);
+ gtk_widget_queue_resize(GTK_WIDGET(shown_clist));
if (shown_clist->rows == row)
gtk_clist_select_row(shown_clist, row - 1, -1);