gdm r6180 - in trunk: . gui/simple-greeter
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6180 - in trunk: . gui/simple-greeter
- Date: Tue, 29 Apr 2008 15:54:15 +0100 (BST)
Author: matthiasc
Date: Tue Apr 29 14:54:14 2008
New Revision: 6180
URL: http://svn.gnome.org/viewvc/gdm?rev=6180&view=rev
Log:
2008-04-29 Matthias Clasen <mclasen redhat com>
* gui/simple-greeter/gdm-language-chooser-dialog.c
(gdm_language_chooser_dialog_realize): Show a wait cursor while
populating the language list, since this can take a while, initially.
Modified:
trunk/ChangeLog
trunk/gui/simple-greeter/gdm-language-chooser-dialog.c
Modified: trunk/gui/simple-greeter/gdm-language-chooser-dialog.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-language-chooser-dialog.c (original)
+++ trunk/gui/simple-greeter/gdm-language-chooser-dialog.c Tue Apr 29 14:54:14 2008
@@ -113,12 +113,23 @@
gdm_language_chooser_dialog_realize (GtkWidget *widget)
{
GdmLanguageChooserDialog *chooser_dialog;
+ GdkWindow *root_window;
+ GdkCursor *cursor;
+
+ root_window = gdk_screen_get_root_window (gdk_screen_get_default ());
+ cursor = gdk_cursor_new (GDK_WATCH);
+ gdk_window_set_cursor (root_window, cursor);
+ gdk_cursor_unref (cursor);
chooser_dialog = GDM_LANGUAGE_CHOOSER_DIALOG (widget);
gtk_widget_show (chooser_dialog->priv->chooser_widget);
GTK_WIDGET_CLASS (gdm_language_chooser_dialog_parent_class)->realize (widget);
+
+ cursor = gdk_cursor_new (GDK_LEFT_PTR);
+ gdk_window_set_cursor (root_window, cursor);
+ gdk_cursor_unref (cursor);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]