gdm r6228 - in trunk: . gui/simple-greeter
- From: halfline svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6228 - in trunk: . gui/simple-greeter
- Date: Sat, 10 May 2008 05:09:47 +0100 (BST)
Author: halfline
Date: Sat May 10 04:09:47 2008
New Revision: 6228
URL: http://svn.gnome.org/viewvc/gdm?rev=6228&view=rev
Log:
2008-05-10 Ray Strode <rstrode redhat com>
* gui/simple-greeter/gdm-option-widget.c
(gdm_option_widget_check_visibility): Don't erroneously
hide language option widget on new installs.
(Patch from Matthias)
Modified:
trunk/ChangeLog
trunk/gui/simple-greeter/gdm-option-widget.c
Modified: trunk/gui/simple-greeter/gdm-option-widget.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-option-widget.c (original)
+++ trunk/gui/simple-greeter/gdm-option-widget.c Sat May 10 04:09:47 2008
@@ -617,13 +617,9 @@
static gboolean
gdm_option_widget_check_visibility (GdmOptionWidget *widget)
{
- int number_of_rows;
-
- number_of_rows = widget->priv->number_of_top_rows +
- widget->priv->number_of_middle_rows +
- widget->priv->number_of_bottom_rows;
-
- if (number_of_rows > 1) {
+ if (widget->priv->number_of_top_rows > 0 ||
+ widget->priv->number_of_middle_rows > 1 ||
+ widget->priv->number_of_bottom_rows > 0) {
gtk_widget_show (widget->priv->items_combo_box);
gtk_widget_show (widget->priv->label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]