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

rpms/gdm/devel gdm-2.8.0.2-hide-throbber.patch, NONE, 1.1 gdm.spec, 1.88, 1.89



Author: rstrode

Update of /cvs/dist/rpms/gdm/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv27222

Modified Files:
	gdm.spec 
Added Files:
	gdm-2.8.0.2-hide-throbber.patch 
Log Message:
- hide throbber


gdm-2.8.0.2-hide-throbber.patch:
 greeter.c |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+)

--- NEW FILE gdm-2.8.0.2-hide-throbber.patch ---
--- gdm-2.8.0.2/gui/greeter/greeter.c.hide-throbber	2005-08-20 17:15:15.000000000 -0400
+++ gdm-2.8.0.2/gui/greeter/greeter.c	2005-08-20 17:17:36.000000000 -0400
@@ -818,8 +818,33 @@
 }
 
 static void
+greeter_hide_throbber (void)
+{
+  static const gchar *id[] = {
+        "throbber-background",
+        "throbber-label",
+        "throbber-pixmap",
+        NULL
+  };
+
+  GreeterItemInfo *info;
+  gint i;
+
+  for (i = 0; id[i]; i++) {
+        info = greeter_lookup_id (id[i]);
+        if (info) {
+              if (info->item)
+                gnome_canvas_item_hide (GNOME_CANVAS_ITEM (info->item));
+              if (info->group_item)
+                gnome_canvas_item_hide (GNOME_CANVAS_ITEM (info->group_item));
+        }
+  }
+}
+
+static void
 greeter_setup_items (void)
 {
+  greeter_hide_throbber ();
   greeter_item_clock_setup ();
   greeter_item_pam_setup ();
 


Index: gdm.spec
===================================================================
RCS file: /cvs/dist/rpms/gdm/devel/gdm.spec,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- gdm.spec	19 Aug 2005 21:36:39 -0000	1.88
+++ gdm.spec	22 Aug 2005 13:47:54 -0000	1.89
@@ -16,7 +16,7 @@
 Summary: The GNOME Display Manager.
 Name: gdm
 Version: 2.8.0.2
-Release: 1
+Release: 2
 Epoch: 1
 License: LGPL/GPL
 Group: User Interface/X
@@ -39,6 +39,7 @@
 Patch11: gdm-2.6.0.8-xdmcp.patch
 Patch12: gdm-2.8.0.2-process-all-messages.patch
 Patch13: gdm-2.6.0.8-prune-lang-list.patch
+Patch14: gdm-2.8.0.2-hide-throbber.patch
 
 BuildRoot: %{_tmppath}/gdm-%{PACKAGE_VERSION}-root
 
@@ -104,6 +105,7 @@
 #%patch11 -p1 -b .xdmcp
 %patch12 -p1 -b .process-all-messages
 #%patch13 -p1 -b .prune-lang-list
+%patch14 -p1 -b .hide-throbber
 
 # fix the time format for ja
 perl -pi -e "s|^msgstr \"%a %b %d, %H:%M\"|msgstr \"%m/%d \(%a\) %H:%M\"|; s|^msgstr \"%a %b %d, %I:%M %p\"|msgstr \"%m/%d \(%a\) %p %I:%M\"|" po/ja.po
@@ -272,7 +274,10 @@
 %attr(1770, root, gdm) %dir %{_localstatedir}/gdm
 
 %changelog
-* Fri Aug 19 2005 Ray Strode <rstrode redhat com> 1:2.8.0.2-19
+* Sat Aug 20 2005 Ray Strode <rstrode redhat com> 1:2.8.0.2-2
+- hide throbber
+
+* Fri Aug 19 2005 Ray Strode <rstrode redhat com> 1:2.8.0.2-1
 - update to 2.8.0.2
 - disable early login stuff temporarily
 


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