[gdm/gnome-2-30] Don't try to move the cursor to the top after every change



commit b78998bdfb4ea8384f76b5dadde62f0e79c6e790
Author: William Jon McCann <jmccann redhat com>
Date:   Mon Jun 14 21:13:10 2010 -0400

    Don't try to move the cursor to the top after every change

 gui/simple-greeter/gdm-chooser-widget.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-chooser-widget.c b/gui/simple-greeter/gdm-chooser-widget.c
index ebcd383..702cd12 100644
--- a/gui/simple-greeter/gdm-chooser-widget.c
+++ b/gui/simple-greeter/gdm-chooser-widget.c
@@ -2281,7 +2281,6 @@ gdm_chooser_widget_add_item (GdmChooserWidget *widget,
                                            CHOOSER_LOAD_DATA_COLUMN, load_data,
                                            -1);
 
-        queue_move_cursor_to_top (widget);
         queue_update_chooser_visibility (widget);
 }
 
@@ -2330,7 +2329,6 @@ gdm_chooser_widget_remove_item (GdmChooserWidget *widget,
 
         gtk_list_store_remove (widget->priv->list_store, &iter);
 
-        queue_move_cursor_to_top (widget);
         queue_update_chooser_visibility (widget);
 }
 
@@ -2734,6 +2732,6 @@ gdm_chooser_widget_propagate_pending_key_events (GdmChooserWidget *widget)
 void
 gdm_chooser_widget_loaded (GdmChooserWidget *widget)
 {
-        gdm_chooser_widget_grow (widget);
         g_signal_emit (widget, signals[LOADED], 0);
+        queue_move_cursor_to_top (widget);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]