diff -NrbBc xfce-3.8.12/configure xfce-3.8.12D/configure
*** xfce-3.8.12/configure	Tue Nov 20 11:16:28 2001
--- xfce-3.8.12D/configure	Wed Nov 21 13:29:48 2001
***************
*** 805,815 ****
  
  LIB_MAJOR=1
  LIB_MINOR=38
! LIB_TINY=12
  
  LIBVERSION=${LIB_MAJOR}:${LIB_MINOR}:${LIB_TINY}
  
! XFCE_VERSION=3.8.12
  
  
  
--- 805,815 ----
  
  LIB_MAJOR=1
  LIB_MINOR=38
! LIB_TINY=12D
  
  LIBVERSION=${LIB_MAJOR}:${LIB_MINOR}:${LIB_TINY}
  
! XFCE_VERSION=3.8.12D
  
  
  
diff -NrbBc xfce-3.8.12/configure.in xfce-3.8.12D/configure.in
*** xfce-3.8.12/configure.in	Tue Nov 20 11:06:36 2001
--- xfce-3.8.12D/configure.in	Wed Nov 21 13:29:48 2001
***************
*** 12,22 ****
  
  LIB_MAJOR=1
  LIB_MINOR=38
! LIB_TINY=12
  
  LIBVERSION=${LIB_MAJOR}:${LIB_MINOR}:${LIB_TINY}
  
! XFCE_VERSION=3.8.12
  
  AC_SUBST(VERSION, $XFCE_VERSION)
  AC_SUBST(LIBVERSION)
--- 12,22 ----
  
  LIB_MAJOR=1
  LIB_MINOR=38
! LIB_TINY=12D
  
  LIBVERSION=${LIB_MAJOR}:${LIB_MINOR}:${LIB_TINY}
  
! XFCE_VERSION=3.8.12D
  
  AC_SUBST(VERSION, $XFCE_VERSION)
  AC_SUBST(LIBVERSION)
diff -NrbBc xfce-3.8.12/libs/mygtkclock.c xfce-3.8.12D/libs/mygtkclock.c
*** xfce-3.8.12/libs/mygtkclock.c	Fri Oct  5 00:47:47 2001
--- xfce-3.8.12D/libs/mygtkclock.c	Wed Nov 21 13:29:48 2001
***************
*** 565,573 ****
        clock->mode = MY_GTK_CLOCK_DIGITAL;
        break;
      case MY_GTK_CLOCK_DIGITAL:
-       clock->mode = MY_GTK_CLOCK_LEDS;
-       break;
-     case MY_GTK_CLOCK_LEDS:
      default:
        clock->mode = MY_GTK_CLOCK_ANALOG;
    }
--- 565,570 ----
***************
*** 886,1000 ****
  }
  
  static void
- my_gtk_clock_draw_leds (GtkWidget * widget)
- {
-   MyGtkClock *clock;
-   time_t ticks;
-   struct tm *tm;
-   gint h, m, s;
-   gint x, y;
-   guint c_width = 0;
-   guint c_height = 0;
-   guint len, i;
-   gchar ampm[2] = "A";
-   gchar separator[2] = ":";
-   gchar time_buf[24];
-   
-   g_return_if_fail (widget != NULL);
-   g_return_if_fail (GTK_IS_MY_CLOCK (widget));
- 
-   clock = MY_GTK_CLOCK (widget);
- 
-   ticks = time (0);
-   tm = localtime (&ticks);
-   h = tm->tm_hour;
-   m = tm->tm_min;
-   s = tm->tm_sec;
- 
-   if (h >= 12)
-     ampm[0] = 'P';
- 
-   if (s & 1)
-     separator[0] = ':';
-   else
-     separator[0] = ' ';
-   
-   if (!(clock->military_time))
-   {
-     if (h > 12)
-       h -= 12;
-     if (h == 0)
-       h = 12;
-   }
- 
-   if (clock->military_time)
-   {
-     if (clock->display_secs)
-       sprintf (time_buf, "%02d%s%02d%s%02d", h, separator, m, separator, s);
-     else
-       sprintf (time_buf, "%02d%s%02d", h, separator, m);
-   }
-   else
-   {
-     if (clock->display_am_pm)
-     {
-       if (clock->display_secs)
- 	sprintf (time_buf, "%02d%s%02d%s%02d%s", h, separator, m, separator, s, ampm);
-       else
- 	sprintf (time_buf, "%02d%s%02d%s", h, separator, m, ampm);
-     }
-     else
-     {
-       if (clock->display_secs)
- 	sprintf (time_buf, "%02d%s%02d%s%02d", h, separator, m, separator, s);
-       else
- 	sprintf (time_buf, "%02d%s%02d", h, separator, m);
-     }
-   }
-   if (time_buf[0] == '0')
-     time_buf[0] = ' ';
-     
-   len = strlen (time_buf);
-   
-   if (((len * digits_huge_width) <= widget->allocation.width) && (digits_huge_height <= widget->allocation.height))
-   {
-     clock->leds_size = DIGIT_HUGE;
-     c_width          = digits_huge_width;
-     c_height         = digits_huge_height;
-   }
-   else if (((len * digits_large_width) <= widget->allocation.width) && (digits_large_height <= widget->allocation.height))
-   {
-     clock->leds_size = DIGIT_LARGE;
-     c_width          = digits_large_width;
-     c_height         = digits_large_height;
-   }
-   else if (((len * digits_medium_width) <= widget->allocation.width) && (digits_medium_height <= widget->allocation.height))
-   {
-     clock->leds_size = DIGIT_MEDIUM;
-     c_width          = digits_medium_width;
-     c_height         = digits_medium_height;
-   }
-   else
-   {
-     clock->leds_size = DIGIT_SMALL;
-     c_width          = digits_small_width;
-     c_height         = digits_small_height;
-   }
-   
-   /* Center in the widget */
-   x = (widget->allocation.width - (c_width * len)) / 2;
- 
-   y = (widget->allocation.height - c_height) / 2;
- 
-   gtk_draw_box (widget->style, widget->window, widget->state, clock->shadow_type, 0, 0, widget->allocation.width, widget->allocation.height);
-   for (i = 0; i < len; i++)
-   {
-     draw_digits (clock, widget->style->dark_gc[GTK_STATE_NORMAL], x + i *c_width + 1, y + 1, time_buf[i]);
-     draw_digits (clock, widget->style->text_gc[GTK_STATE_NORMAL], x + i *c_width , y, time_buf[i]);
-   }
- }
- 
- static void
  my_gtk_clock_draw_internal (GtkWidget * widget)
  {
    MyGtkClock *clock;
--- 883,888 ----
***************
*** 1011,1019 ****
      case MY_GTK_CLOCK_ANALOG:
        my_gtk_clock_draw_analog (widget);
        break;
-     case MY_GTK_CLOCK_LEDS:
-       my_gtk_clock_draw_leds (widget);
-       break;
      case MY_GTK_CLOCK_DIGITAL:
      default:
        my_gtk_clock_draw_digital (widget);
--- 899,904 ----
***************
*** 1084,1090 ****
    h = tm->tm_hour;
    m = tm->tm_min;
    s = tm->tm_sec;
!   if (!(((!((clock->display_secs) || (clock->mode == MY_GTK_CLOCK_LEDS))) || (s == os)) && (m == om) && (h == oh)))
    {
      os = s;
      om = m;
--- 969,975 ----
    h = tm->tm_hour;
    m = tm->tm_min;
    s = tm->tm_sec;
!   if (!(((!((clock->display_secs))) || (s == os)) && (m == om) && (h == oh)))
    {
      os = s;
      om = m;
***************
*** 1123,1185 ****
      my_gtk_clock_draw_internal (GTK_WIDGET (clock));
  }
  
- 
- static void
- draw_digits (MyGtkClock * clock, GdkGC * gc, gint x, gint y, gchar c)
- {
-   gint tsx, tsy ,tsw, tsh;
-   guint tc = 0;
-    
-   g_return_if_fail (clock != NULL);
-   g_return_if_fail (GTK_IS_MY_CLOCK (clock));
- 
-   if ((c >= '0') && (c <= '9'))
-     tc = c - '0';
-   else if ((c == 'A') || (c == 'a'))
-     tc = 10;
-   else if ((c == 'P') || (c == 'p'))
-     tc = 11;
-   else if (c == ':')
-     tc = 12;
-   else 
-     return;
-   
-   switch (clock->leds_size)
-   {
-     case DIGIT_HUGE:
-       tsx = tc * digits_huge_width;
-       tsy = digits_small_height + digits_medium_height + digits_large_height;
-       tsw = digits_huge_width;
-       tsh = digits_huge_height;
-       break;
-     case DIGIT_LARGE:
-       tsx = tc * digits_large_width;
-       tsy = digits_small_height + digits_medium_height;
-       tsw = digits_large_width;
-       tsh = digits_large_height;
-       break;
-     case DIGIT_MEDIUM:
-       tsx = tc * digits_medium_width;
-       tsy = digits_small_height;
-       tsw = digits_medium_width;
-       tsh = digits_medium_height;
-       break;
-     case DIGIT_SMALL:
-     default:
-       tsx = tc * digits_small_width;
-       tsy = 0;
-       tsw = digits_small_width;
-       tsh = digits_small_height;
-       break;
-   }
- 
-   gdk_gc_set_stipple (gc, clock->digits_bmap);
-   gdk_gc_set_fill (gc, GDK_STIPPLED);
-   gdk_gc_set_ts_origin (gc, digits_width - tsx + x, digits_height - tsy + y);
- 
-   gdk_draw_rectangle (GTK_WIDGET(clock)->window, gc, TRUE, x, y, tsw, tsh);
- 
-   gdk_gc_set_fill (gc, GDK_SOLID);
- 
- }
  
--- 1008,1011 ----
diff -NrbBc xfce-3.8.12/libs/mygtkclock.h xfce-3.8.12D/libs/mygtkclock.h
*** xfce-3.8.12/libs/mygtkclock.h	Tue Oct  2 02:39:27 2001
--- xfce-3.8.12D/libs/mygtkclock.h	Wed Nov 21 13:29:48 2001
***************
*** 42,48 ****
    {
      MY_GTK_CLOCK_ANALOG,
      MY_GTK_CLOCK_DIGITAL,
-     MY_GTK_CLOCK_LEDS
    }
    MyGtkClockMode;
  
--- 42,47 ----
diff -NrbBc xfce-3.8.12/scripts/xflock xfce-3.8.12D/scripts/xflock
*** xfce-3.8.12/scripts/xflock	Thu Jul 12 14:45:22 2001
--- xfce-3.8.12D/scripts/xflock	Wed Nov 21 13:29:48 2001
***************
*** 19,23 ****
  #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  #
  
! xscreensaver-command -lock || xlock $*
  exit 0
--- 19,29 ----
  #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  #
  
! xalid=`ps -u ${LOGNAME} | grep xautolock | grep -v grep`
! if [ "x$xalid" != "x" ]; then
!   xautolock -locknow
! else
!   exec xlock -resetsaver ${1:+"$*"}
! fi
  exit 0
+ # EOF
diff -NrbBc xfce-3.8.12/xfce/minpower.h xfce-3.8.12D/xfce/minpower.h
*** xfce-3.8.12/xfce/minpower.h	Fri Aug 31 14:30:49 2001
--- xfce-3.8.12D/xfce/minpower.h	Wed Nov 21 13:29:48 2001
***************
*** 1,27 ****
  /* XPM */
  static char *minpower[] = {
  /* width height num_colors chars_per_pixel */
!   "    14    16        4            1",
  /* colors */
!   ". c none",
!   "# c #595959",
!   "a c #183c59",
!   "b c #fff7f7",
  /* pixels */
!   ".....###b.....",
!   ".....#aab.....",
!   ".....#aab.....",
!   "..##b#aab###..",
!   ".#aab#aab#aab.",
!   "#aaab#aab#aaab",
!   "#aab.#aab.#aab",
!   "#aab.#aab.#aab",
!   "#aab.bbbb.#aab",
!   "#aab......#aab",
!   "#aab......#aab",
!   "#aaab....#aaab",
!   ".#aaa####aaab.",
!   ".#aaaaaaaaaab.",
!   "..bbaaaaaabb..",
!   "....bbbbbb...."
  };
--- 1,30 ----
  /* XPM */
  static char *minpower[] = {
  /* width height num_colors chars_per_pixel */
! "    24    17        6            1",
  /* colors */
! ". c none",
! "# c #5d6169",
! "a c #dfdfdf",
! "b c #bebebe",
! "c c #414141",
! "d c #202020",
  /* pixels */
! "########################",
! "#aaaaaaaaaaaaaaaaaaaaaaa",
! "#abbbbbbbbbbbbbbbbbbbbca",
! "#abddddbdbbbdbcbdddddbca",
! "#abdbbbbdbbbdbdbbbdbbbca",
! "#abdbbbbbdbdbbdbbbdbbbca",
! "#abdbbbbbdddbbdbbbdbbbca",
! "#abdbbbbbbdbbbdbbbdbbbca",
! "#abdddbbbbdbbbdbbbdbbbca",
! "#abdbbbbbdddbbdbbbdbbbca",
! "#abdbbbbbdbdbbdbbbdbbbca",
! "#abdbbbbbdbdbbdbbbdbbbca",
! "#abdbbbbdbbbdbdbbbdbbbca",
! "#abddddbdbbbdbdbbbdbbbca",
! "#abbbbbbbbbbbbbbbbbbbbca",
! "caccccccccccccccccccccca",
! "caaaaaaaaaaaaaaaaaaaaaaa"
  };
diff -NrbBc xfce-3.8.12/xfce/xfce.c xfce-3.8.12D/xfce/xfce.c
*** xfce-3.8.12/xfce/xfce.c	Thu Oct  4 13:36:26 2001
--- xfce-3.8.12D/xfce/xfce.c	Wed Nov 21 13:29:48 2001
***************
*** 121,131 ****
  void
  update_gxfce_clock (void)
  {
- #ifdef OLD_STYLE
    my_gtk_clock_set_mode (MY_GTK_CLOCK (gxfce_clock), current_config.digital_clock ? MY_GTK_CLOCK_DIGITAL : MY_GTK_CLOCK_ANALOG);
- #else
-   my_gtk_clock_set_mode (MY_GTK_CLOCK (gxfce_clock), current_config.digital_clock ? MY_GTK_CLOCK_LEDS : MY_GTK_CLOCK_ANALOG);
- #endif
    my_gtk_clock_show_military (MY_GTK_CLOCK (gxfce_clock), current_config.hrs_mode);
  }
  
--- 121,127 ----
***************
*** 700,706 ****
    gtk_container_add (GTK_CONTAINER (gxfce_quit), gxfce_quit_pixmap);
  
    gxfce_quit_tooltip = my_tooltips_new (current_config.tooltipsdelay);
!   gtk_tooltips_set_tip (gxfce_quit_tooltip, gxfce_quit, _("Quit"), "ContextHelp/buttons/?");
    gtk_object_set_data (GTK_OBJECT (gxfce), "tooltips", gxfce_quit_tooltip);
  
    gtk_table_attach (GTK_TABLE (gxfce_rightbuttons_table), gxfce_quit, 0, 1, 1, 2, (GtkAttachOptions) GTK_EXPAND | GTK_FILL | GTK_SHRINK, (GtkAttachOptions) GTK_EXPAND | GTK_SHRINK, 0, 0);
--- 696,702 ----
    gtk_container_add (GTK_CONTAINER (gxfce_quit), gxfce_quit_pixmap);
  
    gxfce_quit_tooltip = my_tooltips_new (current_config.tooltipsdelay);
!   gtk_tooltips_set_tip (gxfce_quit_tooltip, gxfce_quit, _("Exit"), "ContextHelp/buttons/?");
    gtk_object_set_data (GTK_OBJECT (gxfce), "tooltips", gxfce_quit_tooltip);
  
    gtk_table_attach (GTK_TABLE (gxfce_rightbuttons_table), gxfce_quit, 0, 1, 1, 2, (GtkAttachOptions) GTK_EXPAND | GTK_FILL | GTK_SHRINK, (GtkAttachOptions) GTK_EXPAND | GTK_SHRINK, 0, 0);
diff -NrbBc xfce-3.8.12/xfce/xfce_cb.c xfce-3.8.12D/xfce/xfce_cb.c
*** xfce-3.8.12/xfce/xfce_cb.c	Thu Oct  4 13:36:26 2001
--- xfce-3.8.12D/xfce/xfce_cb.c	Wed Nov 21 13:29:48 2001
***************
*** 230,247 ****
  
    clock = MY_GTK_CLOCK (data);
    mode = my_gtk_clock_get_mode (clock);
- #ifdef OLD_STYLE
    if (mode == MY_GTK_CLOCK_DIGITAL)
- #else
-   if (mode == MY_GTK_CLOCK_LEDS)
- #endif
      my_gtk_clock_set_mode (clock, MY_GTK_CLOCK_ANALOG);
    else
- #ifdef OLD_STYLE
      my_gtk_clock_set_mode (clock, MY_GTK_CLOCK_DIGITAL);
- #else
-     my_gtk_clock_set_mode (clock, MY_GTK_CLOCK_LEDS);
- #endif
    current_config.digital_clock = (mode == MY_GTK_CLOCK_ANALOG);
    writeconfig ();
  }
--- 230,239 ----
***************
*** 273,290 ****
  
    mode = my_gtk_clock_get_mode (clock);
  
- #ifdef OLD_STYLE
    GTK_CHECK_MENU_ITEM (gxfce_clock_digital_mode)->active = (mode == MY_GTK_CLOCK_DIGITAL);
- #else
-   GTK_CHECK_MENU_ITEM (gxfce_clock_digital_mode)->active = (mode == MY_GTK_CLOCK_LEDS);
- #endif
    GTK_CHECK_MENU_ITEM (gxfce_clock_hrs_mode)->active = my_gtk_clock_military_shown (clock);
  
- #ifdef OLD_STYLE
    gtk_widget_set_sensitive (GTK_WIDGET (gxfce_clock_hrs_mode), (mode == MY_GTK_CLOCK_DIGITAL));
- #else
-   gtk_widget_set_sensitive (GTK_WIDGET (gxfce_clock_hrs_mode), (mode == MY_GTK_CLOCK_LEDS));
- #endif
  
    gtk_menu_popup (GTK_MENU (gxfce_clock_popup_menu), NULL, NULL, NULL, NULL, event->button, event->time);
    return (TRUE);
--- 265,274 ----
diff -NrbBc xfce-3.8.12/xfce-3.8.12.lsm xfce-3.8.12D/xfce-3.8.12.lsm
*** xfce-3.8.12/xfce-3.8.12.lsm	Tue Nov 20 11:14:10 2001
--- xfce-3.8.12D/xfce-3.8.12.lsm	Wed Nov 21 13:29:48 2001
***************
*** 1,6 ****
  Begin3
  Title		XFce
! Version:        3.8.12
  Entered-date:   21NOV01
  Description:    XFce is an easy-to-use and easy-to-configure environment 
  		using the popular GTK+ toolkit for X11, featuring drag'n drop,
--- 1,6 ----
  Begin3
  Title		XFce
! Version:        3.8.12D
  Entered-date:   21NOV01
  Description:    XFce is an easy-to-use and easy-to-configure environment 
  		using the popular GTK+ toolkit for X11, featuring drag'n drop,
diff -NrbBc xfce-3.8.12/xfce.spec xfce-3.8.12D/xfce.spec
*** xfce-3.8.12/xfce.spec	Sun Nov  4 05:55:30 2001
--- xfce-3.8.12D/xfce.spec	Wed Nov 21 13:29:48 2001
***************
*** 1,5 ****
  %define 	name	xfce
! %define 	version	3.8.12
  %define		release	1
  %define		prefix 	/usr
  %define		datadir /usr/share
--- 1,5 ----
  %define 	name	xfce
! %define 	version	3.8.12D
  %define		release	1
  %define		prefix 	/usr
  %define		datadir /usr/share
***************
*** 17,23 ****
  Source:		http://www.xfce.org/archive/%{name}-%{version}.tar.gz
  Buildroot: 	/var/tmp/%{name}-root
  # Requires: 	xscreensaver, xfce-libs, gtk+ >= 1.2.8
! Requires: 	xscreensaver, gtk+ >= 1.2.8
  Packager:	Olivier Fourdan <fourdan@xfce.org>
  
  %description
--- 17,23 ----
  Source:		http://www.xfce.org/archive/%{name}-%{version}.tar.gz
  Buildroot: 	/var/tmp/%{name}-root
  # Requires: 	xscreensaver, xfce-libs, gtk+ >= 1.2.8
! Requires: 	gtk+ >= 1.2.8
  Packager:	Olivier Fourdan <fourdan@xfce.org>
  
  %description
diff -NrbBc xfce-3.8.12/xfwm/events.c xfce-3.8.12D/xfwm/events.c
*** xfce-3.8.12/xfwm/events.c	Sun Nov 11 01:25:15 2001
--- xfce-3.8.12D/xfwm/events.c	Wed Nov 21 13:30:22 2001
***************
*** 361,373 ****
    {
      if (*w == t->title_w)
        Context = C_TITLE;
!     if (*w == t->w)
        Context = C_WINDOW;
      if (*w == t->icon_w)
        Context = C_ICON;
      if (*w == t->icon_pixmap_w)
        Context = C_ICON;
!     if ((*w == t->frame) || (*w == t->Parent))
        Context = C_SIDEBAR;
      for (i = 0; i < 4; i++)
        if (*w == t->corners[i])
--- 361,373 ----
    {
      if (*w == t->title_w)
        Context = C_TITLE;
!     if (*w == t->w || *w == t->Parent)
        Context = C_WINDOW;
      if (*w == t->icon_w)
        Context = C_ICON;
      if (*w == t->icon_pixmap_w)
        Context = C_ICON;
!     if (*w == t->frame)
        Context = C_SIDEBAR;
      for (i = 0; i < 4; i++)
        if (*w == t->corners[i])
