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

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

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

revision 1.4 by jefbed, Mon Aug 16 17:27:05 2004 UTC revision 1.5 by jefbed, Mon Aug 23 01:15:56 2004 UTC
# Line 135  antiright_toolbar_button(Widget parent, Line 135  antiright_toolbar_button(Widget parent,
135    Widget button;    Widget button;
136    ARCLARG;    ARCLARG;
137    antiright_set(XmNshadowThickness, 0);    antiright_set(XmNshadowThickness, 0);
138    button=antiright_button(parent, "button", arshell_open_cb, NULL);    button=antiright_button(parent, "button", callback, client_data);
139    antiright_set_tooltip(button, description);    antiright_set_tooltip(button, description);
140    antiright_set_pixmap_from_data(button, icon);    antiright_set_pixmap_from_data(button, icon);
141    ARCLARG;    ARCLARG;
# Line 151  arshell_toolbar_button(char *description Line 151  arshell_toolbar_button(char *description
151  }  }
152    
153  void  void
154  arshell_toggle_toolbar_cb(Widget widget, XtPointer client_data, XtPointer call_data)  arshell_toggle_toolbar_cb(Widget widget,
155                              XtPointer client_data, XtPointer call_data)
156  {  {
157    if(XmToggleButtonGetState(widget))    if(XmToggleButtonGetState(widget))
158      {      {
# Line 167  arshell_toggle_toolbar_cb(Widget widget, Line 168  arshell_toggle_toolbar_cb(Widget widget,
168            XtUnmanageChild(XtParent(XtParent(arshell.edit.toolbar)));            XtUnmanageChild(XtParent(XtParent(arshell.edit.toolbar)));
169          }          }
170      }      }
171      client_data=NULL;
172      call_data=NULL;
173  }  }
174    
175  void  void
176  arshell_setup_editor_toolbar()  arshell_setup_editor_toolbar()
177  {  {
   Widget button;  
178    arshell_initialize_row_manager();    arshell_initialize_row_manager();
179    ARCLARG;    ARCLARG;
180    antiright_set(XmNmarginWidth, 0);    antiright_set(XmNmarginWidth, 0);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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