From 514e14b2c6fe46d3a786517cfd546a9ac2080af9 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 5 Nov 2001 19:52:33 +0000 Subject: New functions here. 2001-11-03 Christopher James Lahey * e-cell-popup.c, e-cell-popup.h (e_cell_popup_set_shown, e_cell_popup_queue_cell_redraw): New functions here. * e-cell-combo.c: Use e_cell_popup_set_shown to set the popup_shown variable so that ECellPopup can properly request a redraw. svn path=/trunk/; revision=14592 --- widgets/table/e-cell-combo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'widgets/table/e-cell-combo.c') diff --git a/widgets/table/e-cell-combo.c b/widgets/table/e-cell-combo.c index d4e6b605d2..1844c5c81f 100644 --- a/widgets/table/e-cell-combo.c +++ b/widgets/table/e-cell-combo.c @@ -350,7 +350,7 @@ e_cell_combo_show_popup (ECellCombo *ecc, int row, int view_col) gdk_window_resize (ecc->popup_window->window, width, height); gtk_widget_show (ecc->popup_window); - E_CELL_POPUP (ecc)->popup_shown = TRUE; + e_cell_popup_set_shown (E_CELL_POPUP (ecc), TRUE); d(g_print("%s: popup_shown = TRUE\n", __FUNCTION__)); } @@ -520,7 +520,7 @@ e_cell_combo_button_press (GtkWidget *popup_window, gdk_pointer_ungrab (event->button.time); gtk_widget_hide (ecc->popup_window); - E_CELL_POPUP (ecc)->popup_shown = FALSE; + e_cell_popup_set_shown (E_CELL_POPUP (ecc), FALSE); d(g_print("%s: popup_shown = FALSE\n", __FUNCTION__)); /* We don't want to update the cell here. Since the list is in browse @@ -561,7 +561,7 @@ e_cell_combo_button_release (GtkWidget *popup_window, gdk_pointer_ungrab (event->time); gtk_widget_hide (ecc->popup_window); - E_CELL_POPUP (ecc)->popup_shown = FALSE; + e_cell_popup_set_shown (E_CELL_POPUP (ecc), FALSE); d(g_print("%s: popup_shown = FALSE\n", __FUNCTION__)); e_cell_combo_update_cell (ecc); @@ -590,7 +590,7 @@ e_cell_combo_key_press (GtkWidget *popup_window, gdk_pointer_ungrab (event->time); gtk_widget_hide (ecc->popup_window); - E_CELL_POPUP (ecc)->popup_shown = FALSE; + e_cell_popup_set_shown (E_CELL_POPUP (ecc), FALSE); d(g_print("%s: popup_shown = FALSE\n", __FUNCTION__)); if (event->keyval != GDK_Escape) -- cgit v1.2.3