emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lwlib/lwlib-Xaw.c


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lwlib/lwlib-Xaw.c
Date: Tue, 04 Feb 2003 09:08:24 -0500

Index: emacs/lwlib/lwlib-Xaw.c
diff -c emacs/lwlib/lwlib-Xaw.c:1.19 emacs/lwlib/lwlib-Xaw.c:1.20
*** emacs/lwlib/lwlib-Xaw.c:1.19        Thu Nov 21 05:58:03 2002
--- emacs/lwlib/lwlib-Xaw.c     Tue Feb  4 09:08:23 2003
***************
*** 3,15 ****
  
  This file is part of the Lucid Widget Library.
  
! The Lucid Widget Library is free software; you can redistribute it and/or 
  modify it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  
  The Lucid Widget Library is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of 
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  
--- 3,15 ----
  
  This file is part of the Lucid Widget Library.
  
! The Lucid Widget Library is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  
  The Lucid Widget Library is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  
***************
*** 356,362 ****
         I want the separator to take up the slack between the buttons on
         the right and the buttons on the left (that is I want the buttons
         after the separator to be packed against the right edge of the
!        window) but I can't seem to make it do it.  
         */
        ac = 0;
        XtSetArg (av [ac], XtNfromHoriz, button); ac++;
--- 356,362 ----
         I want the separator to take up the slack between the buttons on
         the right and the buttons on the left (that is I want the buttons
         after the separator to be packed against the right edge of the
!        window) but I can't seem to make it do it.
         */
        ac = 0;
        XtSetArg (av [ac], XtNfromHoriz, button); ac++;
***************
*** 440,446 ****
      shell_name = "Question";
      break;
    }
!   
    total_buttons = name [1] - '0';
  
    if (name [3] == 'T' || name [3] == 't')
--- 440,446 ----
      shell_name = "Question";
      break;
    }
! 
    total_buttons = name [1] - '0';
  
    if (name [3] == 'T' || name [3] == 't')
***************
*** 450,458 ****
      }
    else if (name [3])
      right_buttons = name [4] - '0';
!   
    left_buttons = total_buttons - right_buttons;
!   
    widget = make_dialog (name, parent, pop_up_p,
                        shell_name, icon_name, text_input_slot, radio_box,
                        list, left_buttons, right_buttons);
--- 450,458 ----
      }
    else if (name [3])
      right_buttons = name [4] - '0';
! 
    left_buttons = total_buttons - right_buttons;
! 
    widget = make_dialog (name, parent, pop_up_p,
                        shell_name, icon_name, text_input_slot, radio_box,
                        list, left_buttons, right_buttons);
***************
*** 619,625 ****
    Widget scrollbar;
  
    XtVaGetValues (instance->parent, XtNwidth, &width, NULL);
!   
    XtSetArg (av[ac], XtNshowGrip, 0); ac++;
    XtSetArg (av[ac], XtNresizeToPreferred, 1); ac++;
    XtSetArg (av[ac], XtNallowResize, True); ac++;
--- 619,625 ----
    Widget scrollbar;
  
    XtVaGetValues (instance->parent, XtNwidth, &width, NULL);
! 
    XtSetArg (av[ac], XtNshowGrip, 0); ac++;
    XtSetArg (av[ac], XtNresizeToPreferred, 1); ac++;
    XtSetArg (av[ac], XtNallowResize, True); ac++;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]