/[antiright]/antiright/src/arshell/update.c
ViewVC logotype

Diff of /antiright/src/arshell/update.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by jefbed, Sat Jun 25 06:13:36 2005 UTC revision 1.8 by jefbed, Sat Jul 23 17:10:09 2005 UTC
# Line 1  Line 1 
1  /*  /*
2    AntiRight    AntiRight
3    (c) 2003-2005 Jeffrey Bedard    (c) 2003-2005 Jeffrey Bedard
4    jefbed@e-list.net    antiright@gmail.com
5        
6    This file is part of AntiRight.    This file is part of AntiRight.
7        
# Line 31  arshell_update() Line 31  arshell_update()
31      {      {
32        char *input_string;        char *input_string;
33        iterator=iterator->next;        iterator=iterator->next;
34          
35        if(iterator->widget==arshell.gui.clockload.clockload)        if(iterator->widget==arshell.gui.clockload.clockload)
36          {          {
37            char *clockload_label_string;            char *clockload_label_string;
# Line 105  arshell_update() Line 105  arshell_update()
105          }          }
106        else if(iterator->widget==antiright.parent_widget)        else if(iterator->widget==antiright.parent_widget)
107          {          {
108            input_string=antiright_pipe_read(iterator->command_string);            if(arshell.flags.lowered)
109            input_string[strlen(input_string)-1]='\0';              {
110            /* Set the title to input_string.  */                XLowerWindow(XtDisplay(iterator->widget),
111            antiright_set_title(input_string);                             XtWindow(iterator->widget));
112            free(input_string);              }
113              else
114                {
115                  input_string=antiright_pipe_read
116                    (iterator->command_string);
117                  input_string[strlen(input_string)-1]='\0';
118                  /* Set the title to input_string.  */
119                  antiright_set_title(input_string);
120                  free(input_string);
121                }
122          }          }
123      }      }
124  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26