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 |
|
|
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; |
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 |
} |
} |