[gdm/gnome-2-30] More debug statement fixes
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/gnome-2-30] More debug statement fixes
- Date: Fri, 11 Jun 2010 01:53:56 +0000 (UTC)
commit c2044126140c8809fad345114800956ec68bc7aa
Author: William Jon McCann <jmccann redhat com>
Date: Thu Jun 10 10:53:32 2010 -0400
More debug statement fixes
gui/simple-greeter/gdm-chooser-widget.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-chooser-widget.c b/gui/simple-greeter/gdm-chooser-widget.c
index 7110edd..e651a76 100644
--- a/gui/simple-greeter/gdm-chooser-widget.c
+++ b/gui/simple-greeter/gdm-chooser-widget.c
@@ -578,6 +578,8 @@ update_separator_visibility (GdmChooserWidget *widget)
GtkTreeIter iter;
gboolean is_visible;
+ g_debug ("GdmChooserWidget: updating separator visibility");
+
separator_path = gtk_tree_row_reference_get_path (widget->priv->separator_row);
if (separator_path == NULL) {
@@ -609,7 +611,7 @@ update_visible_items (GdmChooserWidget *widget)
GtkTreeIter iter;
if (! gtk_tree_view_get_visible_range (GTK_TREE_VIEW (widget->priv->items_view), &path, &end)) {
- g_debug ("Unable to get visible range");
+ g_debug ("GdmChooserWidget: Unable to get visible range");
goto out;
}
@@ -704,7 +706,7 @@ set_inactive_items_visible (GdmChooserWidget *widget,
active_item_id = get_active_item_id (widget, &active_item_iter);
if (active_item_id == NULL) {
- g_debug ("No active item set");
+ g_debug ("GdmChooserWidget: No active item set");
}
model = GTK_TREE_MODEL (widget->priv->list_store);
@@ -713,6 +715,8 @@ set_inactive_items_visible (GdmChooserWidget *widget,
return;
}
+ g_debug ("GdmChooserWidget: Setting inactive items visible: %s", should_show ? "true" : "false");
+
do {
if (active_item_id == NULL || !iters_equal (&active_item_iter, &iter)) {
/* inactive item */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]