[easytag] Set a fallback drive icon for mingw
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Set a fallback drive icon for mingw
- Date: Sun, 28 Apr 2013 10:57:46 +0000 (UTC)
commit 49cb67b700786093fce0153488a4fde2b7b97896
Author: David King <amigadave amigadave com>
Date: Sun Apr 28 11:49:31 2013 +0100
Set a fallback drive icon for mingw
src/browser.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/browser.c b/src/browser.c
index d1e5977..07e73e0 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -2475,7 +2475,10 @@ Browser_Tree_Initialize (void)
drives = GetLogicalDrives();
if (!drives)
- g_warning ("GetLogicalDrives failed.");
+ {
+ g_warning ("GetLogicalDrives failed");
+ drive_icon = g_themed_icon_new ("folder");
+ }
while (drives && drive[0] <= 'Z')
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]