aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-combo.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /widgets/table/e-cell-combo.c
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.bz2
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.lz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.xz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
Diffstat (limited to 'widgets/table/e-cell-combo.c')
-rw-r--r--widgets/table/e-cell-combo.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/widgets/table/e-cell-combo.c b/widgets/table/e-cell-combo.c
index 764a2c2031..6a8992d119 100644
--- a/widgets/table/e-cell-combo.c
+++ b/widgets/table/e-cell-combo.c
@@ -140,7 +140,7 @@ e_cell_combo_init (ECellCombo *ecc)
gtk_window_set_policy (GTK_WINDOW (ecc->popup_window),
TRUE, TRUE, FALSE);
-
+
frame = gtk_frame_new (NULL);
gtk_container_add (GTK_CONTAINER (ecc->popup_window), frame);
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT);
@@ -226,7 +226,7 @@ e_cell_combo_dispose (GObject *object)
void
-e_cell_combo_set_popdown_strings (ECellCombo *ecc,
+e_cell_combo_set_popdown_strings (ECellCombo *ecc,
GList *strings)
{
GList *elem;
@@ -278,7 +278,7 @@ e_cell_combo_do_popup (ECellPopup *ecp,
error_code = gdk_pointer_grab (ecc->popup_list->window, TRUE,
GDK_ENTER_NOTIFY_MASK |
- GDK_BUTTON_PRESS_MASK |
+ GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK |
GDK_POINTER_MOTION_HINT_MASK |
GDK_BUTTON1_MOTION_MASK,
@@ -388,11 +388,11 @@ e_cell_combo_get_popup_pos (ECellCombo *ecc,
gint column_width, row_height, scrollbar_width;
double x1, y1;
double wx, wy;
-
+
/* This code is practically copied from GtkCombo. */
popup = GTK_SCROLLED_WINDOW (ecc->popup_scrolled_window);
popwin = GTK_BIN (ecc->popup_window);
-
+
gdk_window_get_origin (canvas->window, x, y);
x1 = e_table_header_col_diff (eti->header, 0, view_col + 1);
@@ -427,13 +427,13 @@ e_cell_combo_get_popup_pos (ECellCombo *ecc,
the vertical scrollbar in case we need to show that. */
screen_width = gdk_screen_width ();
avail_width = screen_width - scrollbar_width;
-
+
gtk_widget_size_request (ecc->popup_list, &list_requisition);
- min_height = MIN (list_requisition.height,
+ min_height = MIN (list_requisition.height,
popup->vscrollbar->requisition.height);
if (!GTK_LIST (ecc->popup_list)->children)
list_requisition.height += E_CELL_COMBO_LIST_EMPTY_HEIGHT;
-
+
/* Calculate the desired width. */
*width = list_requisition.width
+ 2 * popwin->child->style->xthickness
@@ -587,7 +587,7 @@ e_cell_combo_button_release (GtkWidget *popup_window,
GtkWidget *event_widget;
event_widget = gtk_get_event_widget ((GdkEvent*) event);
-
+
/* See if the button was released in the list (or its children). */
while (event_widget && event_widget != ecc->popup_list)
event_widget = event_widget->parent;