[gnome-shell/HEAD: 2/2] app-system: Fix some enum warnings
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/HEAD: 2/2] app-system: Fix some enum warnings
- Date: Wed, 2 Oct 2013 13:48:10 +0000 (UTC)
commit 9ff9160d0a535583bd34053bb73fd6d7bb610a31
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 ad27ade..f312b80 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 9e16f80..fdc7f3f 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]