1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-24 15:12:32 +01:00
Files
wmaker/src
Rodolfo García Peñas (kix) c3a1c76b44 get_default_icon_filename rewritten
The function get_default_icon_filename(), now get_icon_filename(),
was working in a bad way. Before this patch, the function always
searched the default icon in the second search:

-     file_name = wDefaultGetIconFile(winstance, wclass, True);
+     file_name = wDefaultGetIconFile(winstance, wclass, False);

For this reason, the argument default_icon didn't work.

This patch change it. Now, if the default_icon is false, the function
can return NULL, then other functions can do the correct work. For
example, now wDefaultGetImage() doesn't need do nothing, because the
default_icon is set to True. get_icon_filename() checks if the
icon exists in the disk before returning it (except for default icon
in get_default_image_path(scr).
2012-11-10 19:42:24 +00:00
..
2012-10-06 15:46:13 +01:00
2012-06-26 16:56:20 +01:00
2012-10-30 15:26:52 +00:00
2012-05-04 18:41:01 -03:00
2010-09-11 17:32:57 +02:00
2012-10-28 10:58:43 +00:00
2012-11-10 19:42:24 +00:00
2012-11-10 19:42:24 +00:00
2012-02-19 10:05:31 +00:00
2012-07-18 11:12:01 +01:00
2010-09-11 17:32:57 +02:00
2012-10-06 15:23:26 +01:00
2012-11-10 19:42:24 +00:00
2012-11-04 12:54:16 +00:00
2012-04-04 12:12:12 +01:00
2012-06-24 12:32:36 +01:00
2012-01-18 12:04:57 +00:00
2012-06-24 12:32:36 +01:00
2012-06-26 16:56:20 +01:00
2010-03-27 10:31:13 +01:00
2012-05-04 18:41:01 -03:00
2012-04-04 19:44:40 +01:00
2012-04-04 19:44:40 +01:00
2012-06-24 12:30:17 +01:00
2012-06-24 12:32:36 +01:00
2012-10-28 10:58:43 +00:00
2012-06-24 12:32:36 +01:00
2012-06-26 10:49:05 +01:00
2012-06-24 12:32:36 +01:00
2012-06-23 11:25:37 +01:00
2012-06-23 11:25:37 +01:00
2012-05-04 18:41:01 -03:00
2012-10-08 15:11:57 +01:00
2012-11-09 23:35:16 +00:00
2012-06-26 16:56:20 +01:00
2012-06-24 12:32:36 +01:00
2012-04-04 19:44:40 +01:00
2012-04-04 19:44:40 +01:00
2012-10-30 15:26:52 +00:00
2012-10-30 15:26:52 +00:00
1998-09-29 22:36:29 +00:00