Re: [E-devel] [EFM] Desktop HAL icons

2008-08-11 Thread Fedor Gusev
On Sun, Aug 10, 2008 at 07:08:20PM -0500, Nick Hughart wrote: This change: - snprintf(buf, sizeof(buf), %s/.e/e/fileman/favorites/|%s_%d.desktop, + snprintf(buf, sizeof(buf) - 1, %s/.e/e/fileman/favorites/|%s_%d.desktop, e_user_homedir_get(), id, v-partition_number); isn't

Re: [E-devel] [EFM] Desktop HAL icons

2008-08-11 Thread Fedor Gusev
On Sun, Aug 10, 2008 at 07:08:20PM -0500, Nick Hughart wrote: This change: - snprintf(buf, sizeof(buf), %s/.e/e/fileman/favorites/|%s_%d.desktop, + snprintf(buf, sizeof(buf) - 1, %s/.e/e/fileman/favorites/|%s_%d.desktop, e_user_homedir_get(), id, v-partition_number); isn't

[E-devel] [EFM] Desktop HAL icons

2008-08-10 Thread Fedor Gusev
Hello everyone! Attached patch adds an ability to show/hide desktop icons that HAL produces. Apply from E's source top, since it makes changes in both core E and fileman module. -- King regards, Fedor Gusev. diff --git a/src/bin/e_config.c b/src/bin/e_config.c index 4489b8f..e06515f 100644 ---

Re: [E-devel] [EFM] Desktop HAL icons

2008-08-10 Thread Nick Hughart
This change: - snprintf(buf, sizeof(buf), %s/.e/e/fileman/favorites/|%s_%d.desktop, + snprintf(buf, sizeof(buf) - 1, %s/.e/e/fileman/favorites/|%s_%d.desktop, e_user_homedir_get(), id, v-partition_number); isn't necessary. snprintf is smart enough to know that it needs space for