gdm r6115 - in trunk: . gui/simple-greeter
- From: halfline svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6115 - in trunk: . gui/simple-greeter
- Date: Sun, 6 Apr 2008 06:09:04 +0100 (BST)
Author: halfline
Date: Sun Apr 6 06:09:04 2008
New Revision: 6115
URL: http://svn.gnome.org/viewvc/gdm?rev=6115&view=rev
Log:
2008-04-06 Ray Strode <rstrode redhat com>
* gui/simple-greeter/gdm-chooser-widget.c
(deactivate): select previously activated
row when deactivating, so the user gets
put back in the grown list where they started
Modified:
trunk/ChangeLog
trunk/gui/simple-greeter/gdm-chooser-widget.c
Modified: trunk/gui/simple-greeter/gdm-chooser-widget.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-chooser-widget.c (original)
+++ trunk/gui/simple-greeter/gdm-chooser-widget.c Sun Apr 6 06:09:04 2008
@@ -749,13 +749,21 @@
static void
deactivate (GdmChooserWidget *widget)
{
+ GtkTreePath *path;
+
if (widget->priv->active_row == NULL) {
return;
}
+ path = get_path_to_active_row (widget);
+
gtk_tree_row_reference_free (widget->priv->active_row);
widget->priv->active_row = NULL;
+ gtk_tree_view_set_cursor (GTK_TREE_VIEW (widget->priv->items_view),
+ path, NULL, FALSE);
+ gtk_tree_path_free (path);
+
if (widget->priv->state != GDM_CHOOSER_WIDGET_STATE_GROWN) {
gdm_chooser_widget_grow (widget);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]