Changeset 5849 for trunk/Ohana/src/kii/setup/NameWindow.c
- Timestamp:
- Dec 27, 2005, 8:38:11 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/kii/setup/NameWindow.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/kii/setup/NameWindow.c
r2466 r5849 2 2 3 3 /************** NameWindow *************/ 4 void 5 NameWindow (graphic, Name) 6 Graphic graphic[]; 7 char *Name; 8 { 4 void NameWindow (Graphic *graphic, char *name) { 9 5 10 char *name;11 6 char *class_name; 12 7 char *class_type; 13 8 XClassHint *classhints; 14 9 15 name = strrchr (Name, '/');16 if (name != NULL)17 name ++;18 else19 name = Name;20 10 class_type = class_name = name; 21 22 11 23 12 classhints = XAllocClassHint (); … … 33 22 XSetIconName (graphic[0].display, graphic[0].window, name); 34 23 } 35
Note:
See TracChangeset
for help on using the changeset viewer.
