]> git.pld-linux.org Git - packages/avr_simulator.git/blame - avr_simulator-xpm.patch
- xpm path patch
[packages/avr_simulator.git] / avr_simulator-xpm.patch
CommitLineData
ebdf8dbd
MP
1diff -Nur avr_simulator.ori/avr_simulator.c avr_simulator.mod/avr_simulator.c
2--- avr_simulator.ori/avr_simulator.c 2002-09-05 16:15:51.000000000 +0200
3+++ avr_simulator.mod/avr_simulator.c 2008-08-06 11:42:25.258776632 +0200
4@@ -474,11 +474,11 @@
5 /* &current_pixmap,NULL,NULL))) */
6 /* fprintf(stderr,"%s\n",XpmGetErrorString(errno)); */
7
8- if((stop_pixmap=XmGetPixmap(XtScreen(toplevel),"xpm/breakpoint.xpm",
9+ if((stop_pixmap=XmGetPixmap(XtScreen(toplevel),"/usr/share/avr_simulator/breakpoint.xpm",
10 drawarea.foreground,drawarea.background
11 ))==XmUNSPECIFIED_PIXMAP)
12 fprintf(stderr," Pixmap problem with file breakpoint.xpm\n");
13- if((current_pixmap=XmGetPixmap(XtScreen(toplevel),"xpm/current.xpm",
14+ if((current_pixmap=XmGetPixmap(XtScreen(toplevel),"/usr/share/avr_simulator/current.xpm",
15 drawarea.foreground,drawarea.background
16 ))==XmUNSPECIFIED_PIXMAP)
17 fprintf(stderr," Pixmap problem with file current.xpm\n");
18diff -Nur avr_simulator.ori/buttons_menu.c avr_simulator.mod/buttons_menu.c
19--- avr_simulator.ori/buttons_menu.c 2002-09-05 16:13:47.000000000 +0200
20+++ avr_simulator.mod/buttons_menu.c 2008-08-06 11:43:45.471163795 +0200
21@@ -65,20 +65,20 @@
22 int thread_stop;
23
24 Buttons buttons[]={
25- {_("Open"),load_flash_callback,&file_selection,"xpm/load.xpm",_("Load Flash")},
26- {_("Reload"),reload_flash_callback,NULL,"xpm/reload.xpm",_("Reload Flash")},
27+ {_("Open"),load_flash_callback,&file_selection,"/usr/share/avr_simulator/load.xpm",_("Load Flash")},
28+ {_("Reload"),reload_flash_callback,NULL,"/usr/share/avr_simulator/reload.xpm",_("Reload Flash")},
29 {"separator",NULL,NULL,NULL,NULL},
30- {_("Trace"),trace_into_callback,NULL,"xpm/trace_into.xpm",
31+ {_("Trace"),trace_into_callback,NULL,"/usr/share/avr_simulator/trace_into.xpm",
32 _("Trace into")},
33- {_("Step Over"),step_over_callback,NULL,"xpm/step_over.xpm",_("Step Over")},
34- {_("Step Out"),step_out_callback,NULL,"xpm/step_out.xpm",_("Step Out")},
35- {_("Multi Step"),multi_step_callback,NULL,"xpm/multi_step.xpm",_("Multi Step")},
36- {_("Auto Step"),auto_step_callback,NULL,"xpm/auto_step.xpm",_("Auto Step")},
37+ {_("Step Over"),step_over_callback,NULL,"/usr/share/avr_simulator/step_over.xpm",_("Step Over")},
38+ {_("Step Out"),step_out_callback,NULL,"/usr/share/avr_simulator/step_out.xpm",_("Step Out")},
39+ {_("Multi Step"),multi_step_callback,NULL,"/usr/share/avr_simulator/multi_step.xpm",_("Multi Step")},
40+ {_("Auto Step"),auto_step_callback,NULL,"/usr/share/avr_simulator/auto_step.xpm",_("Auto Step")},
41 {"separator",NULL,NULL,NULL,NULL},
42- {_("Run"),run_callback,NULL,"xpm/run.xpm",_("Run")},
43- {_("Stop"),stop_callback,NULL,"xpm/stop.xpm",_("Stop")},
44+ {_("Run"),run_callback,NULL,"/usr/share/avr_simulator/run.xpm",_("Run")},
45+ {_("Stop"),stop_callback,NULL,"/usr/share/avr_simulator/stop.xpm",_("Stop")},
46 {"separator",NULL,NULL,NULL,NULL},
47- {_("Reset"),reset_callback,NULL,"xpm/reset.xpm",_("Reset")},
48+ {_("Reset"),reset_callback,NULL,"/usr/share/avr_simulator/reset.xpm",_("Reset")},
49
50 };
51
This page took 0.311426 seconds and 4 git commands to generate.