[gnome-shell] [ShellApp] Signal windows-changed when removing a window
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] [ShellApp] Signal windows-changed when removing a window
- Date: Fri, 23 Oct 2009 15:29:26 +0000 (UTC)
commit 369e0c2c6ffba477de0114198b389dd438b0ca62
Author: Colin Walters <walters verbum org>
Date: Fri Oct 23 10:56:48 2009 -0400
[ShellApp] Signal windows-changed when removing a window
https://bugzilla.gnome.org/show_bug.cgi?id=599412
src/shell-app.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-app.c b/src/shell-app.c
index e89fcbe..3ae3f5c 100644
--- a/src/shell-app.c
+++ b/src/shell-app.c
@@ -329,6 +329,8 @@ _shell_app_remove_window (ShellApp *app,
g_object_unref (window);
app->windows = g_slist_remove (app->windows, window);
+ g_signal_emit (app, shell_app_signals[WINDOWS_CHANGED], 0);
+
if (app->windows == NULL)
disconnect_workspace_switch (app);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]