[gnome-shell/wip/app-system-rewrite: 3/13] app-system: Fix some enum warnings



commit 498ec52d970974b3d7f0a82fdd5096a32e619770
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Apr 20 15:51:04 2013 -0400

    app-system: Fix some enum warnings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=698486

 src/shell-app-system.c |    1 +
 src/shell-app.c        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index bef052c..b46959e 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -618,6 +618,7 @@ _shell_app_system_notify_app_state_changed (ShellAppSystem *self,
   switch (state)
     {
     case SHELL_APP_STATE_RUNNING:
+    case SHELL_APP_STATE_BUSY:
       g_hash_table_insert (self->priv->running_apps, g_object_ref (app), NULL);
       break;
     case SHELL_APP_STATE_STARTING:
diff --git a/src/shell-app.c b/src/shell-app.c
index 1f5017d..57b7684 100644
--- a/src/shell-app.c
+++ b/src/shell-app.c
@@ -653,6 +653,7 @@ shell_app_activate_full (ShellApp      *app,
       case SHELL_APP_STATE_STARTING:
         break;
       case SHELL_APP_STATE_RUNNING:
+      case SHELL_APP_STATE_BUSY:
         shell_app_activate_window (app, NULL, timestamp);
         break;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]