static gboolean cb_arrow_pressed (GOComboBox *combo_box) { if (!combo_box->priv->updating_buttons) { if (combo_box->priv->toplevel == NULL || !GTK_WIDGET_VISIBLE (combo_box->priv->toplevel)) go_combo_box_popup_display (combo_box); else go_combo_box_popup_hide_unconditional (combo_box); } return TRUE; }
static gboolean cb_arrow_pressed (GOComboBox *combo_box) { if (!combo_box->priv->updating_buttons) { if (combo_box->priv->toplevel == NULL || !gtk_widget_get_visible (combo_box->priv->toplevel)) go_combo_box_popup_display (combo_box); else go_combo_box_popup_hide_unconditional (combo_box); } return TRUE; }