aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-combo.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-11-06 03:52:33 +0800
committerChris Lahey <clahey@src.gnome.org>2001-11-06 03:52:33 +0800
commit514e14b2c6fe46d3a786517cfd546a9ac2080af9 (patch)
tree2492381b7de6967d2e8d7d178e7b6d8a751bb5ec /widgets/table/e-cell-combo.c
parent76d416305f74670cebaaaa639f39554b77cbe3e0 (diff)
downloadgsoc2013-evolution-514e14b2c6fe46d3a786517cfd546a9ac2080af9.tar
gsoc2013-evolution-514e14b2c6fe46d3a786517cfd546a9ac2080af9.tar.gz
gsoc2013-evolution-514e14b2c6fe46d3a786517cfd546a9ac2080af9.tar.bz2
gsoc2013-evolution-514e14b2c6fe46d3a786517cfd546a9ac2080af9.tar.lz
gsoc2013-evolution-514e14b2c6fe46d3a786517cfd546a9ac2080af9.tar.xz
gsoc2013-evolution-514e14b2c6fe46d3a786517cfd546a9ac2080af9.tar.zst
gsoc2013-evolution-514e14b2c6fe46d3a786517cfd546a9ac2080af9.zip
New functions here.
2001-11-03 Christopher James Lahey <clahey@ximian.com> * 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
Diffstat (limited to 'widgets/table/e-cell-combo.c')
-rw-r--r--widgets/table/e-cell-combo.c8
1 files changed, 4 insertions, 4 deletions
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)