- Fix an uninitialized variable that makes the session list stop growing
before its finished sometimes
This commit is contained in:
parent
d0e8d54990
commit
53e221b992
@ -199,7 +199,7 @@ index 0000000..64186a2
|
||||
+ if (gtk_tree_model_get_iter (model, iter, path)) {
|
||||
+ gtk_tree_model_get (model, iter,
|
||||
+ CHOOSER_ID_COLUMN, &item_id, -1);
|
||||
+ };
|
||||
+ }
|
||||
+ gtk_tree_path_free (path);
|
||||
+
|
||||
+ return item_id;
|
||||
@ -361,6 +361,8 @@ index 0000000..64186a2
|
||||
+{
|
||||
+ gboolean is_done;
|
||||
+
|
||||
+ is_done = FALSE;
|
||||
+
|
||||
+ if (widget->priv->state == GDM_CHOOSER_WIDGET_STATE_SHRINKING) {
|
||||
+ if (widget->priv->top_edge_row != NULL) {
|
||||
+ is_done = shrink_edge_toward_active_row (widget,
|
||||
@ -1559,7 +1561,7 @@ index 0000000..64186a2
|
||||
+ }
|
||||
+ g_free (active_item_id);
|
||||
+
|
||||
+ gtk_tree_model_get (model, &iter,
|
||||
+ gtk_tree_model_get (GTK_TREE_MODEL (widget->priv->list_store), &iter,
|
||||
+ CHOOSER_IMAGE_COLUMN, image,
|
||||
+ CHOOSER_NAME_COLUMN, name,
|
||||
+ CHOOSER_ITEM_IS_IN_USE_COLUMN, is_in_use,
|
||||
@ -1704,10 +1706,8 @@ index 0000000..9a5581f
|
||||
+ const char *comment,
|
||||
+ gboolean is_in_use,
|
||||
+ gboolean keep_separate);
|
||||
+
|
||||
+void gdm_chooser_widget_remove_item (GdmChooserWidget *widget,
|
||||
+ const char *id);
|
||||
+
|
||||
+gboolean gdm_chooser_widget_lookup_item (GdmChooserWidget *widget,
|
||||
+ const char *id,
|
||||
+ GdkPixbuf **image,
|
||||
|
6
gdm.spec
6
gdm.spec
@ -16,7 +16,7 @@
|
||||
Summary: The GNOME Display Manager
|
||||
Name: gdm
|
||||
Version: 2.21.2
|
||||
Release: 0.2007.11.20.5%{?dist}
|
||||
Release: 0.2007.11.20.6%{?dist}
|
||||
Epoch: 1
|
||||
License: GPLv2+
|
||||
Group: User Interface/X
|
||||
@ -293,6 +293,10 @@ fi
|
||||
%attr(1770, root, gdm) %dir %{_localstatedir}/lib/gdm
|
||||
|
||||
%changelog
|
||||
* Fri Dec 14 2007 Ray Strode <rstrode@redhat.com> - 1:2.21.2-0.2007.11.20.6
|
||||
- Fix an uninitialized variable that makes the session list stop
|
||||
growing before its finished sometimes
|
||||
|
||||
* Thu Dec 13 2007 Ray Strode <rstrode@redhat.com> - 1:2.21.2-0.2007.11.20.5
|
||||
- add session chooser to login screen
|
||||
- add hoaky animations
|
||||
|
Loading…
Reference in New Issue
Block a user