[maemo-commits] [maemo-commits] r17427 - in projects/haf/trunk/ke-recv: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Sat Feb 14 17:10:50 EET 2009
Author: kihamala
Date: 2009-02-14 17:10:50 +0200 (Sat, 14 Feb 2009)
New Revision: 17427

Modified:
   projects/haf/trunk/ke-recv/debian/changelog
   projects/haf/trunk/ke-recv/src/events.c
Log:
disabled 'memory card in use' dialog


Modified: projects/haf/trunk/ke-recv/debian/changelog
===================================================================
--- projects/haf/trunk/ke-recv/debian/changelog	2009-02-14 14:51:46 UTC (rev 17426)
+++ projects/haf/trunk/ke-recv/debian/changelog	2009-02-14 15:10:50 UTC (rev 17427)
@@ -6,6 +6,7 @@
     /usr/share/gconf/schemas.
   * Disabled Application Manager auto-start feature.
   * Disabled 'memory card available' banner. Fixes: NB#101300, NB#101094
+  * Disabled 'memory card in use' dialog. Fixes: NB#100744
 
  -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Fri, 13 Feb 2009 11:00:18 +0200
 

Modified: projects/haf/trunk/ke-recv/src/events.c
===================================================================
--- projects/haf/trunk/ke-recv/src/events.c	2009-02-14 14:51:46 UTC (rev 17426)
+++ projects/haf/trunk/ke-recv/src/events.c	2009-02-14 15:10:50 UTC (rev 17427)
@@ -47,12 +47,15 @@
 static void open_dialog_helper(mmc_info_t *mmc);
 static volume_list_t *get_nth_volume(mmc_info_t *mmc, int n);
 
+#if 0
 #define CLOSE_DIALOG if (mmc->dialog_id == -1) { \
                              ULOG_WARN_F("%s dialog_id is invalid", \
                                          mmc->name); \
                      } else { \
                              close_closeable_dialog(mmc->dialog_id); \
                      }
+#endif
+#define CLOSE_DIALOG
 
 #define CLOSE_SWAP_DIALOG \
             if (mmc->swap_dialog_id != -1) { \
@@ -1118,10 +1121,12 @@
 
 static void open_dialog_helper(mmc_info_t *mmc)
 {
+        /*
         if (mmc->dialog_id == -1 && mmc->swap_dialog_id == -1) {
                 mmc->dialog_id = open_closeable_dialog(OSSO_GN_WARNING,
                                      MSG_UNMOUNT_MEMORY_CARD_IN_USE, "");
         }
+        */
 }
 
 static int event_in_cover_closed(mmc_event_t e, mmc_info_t *mmc,


More information about the maemo-commits mailing list