[Xfce4-commits] [xfce/xfce4-power-manager] 60/63: Don't call present/show
noreply at xfce.org
noreply at xfce.org
Sun Mar 22 13:02:55 CET 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit d4403c194ba1fa7f3ce0ca836ea058bfe1142947
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Fri Mar 20 17:23:49 2015 +0300
Don't call present/show
Bringing the window to the foreground when it's a GtkPlug causes
the main dialog window contents to appear as a floating window. So
let's not do that.
---
settings/xfpm-settings-app.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/settings/xfpm-settings-app.c b/settings/xfpm-settings-app.c
index cfbb553..017ac56 100644
--- a/settings/xfpm-settings-app.c
+++ b/settings/xfpm-settings-app.c
@@ -144,8 +144,8 @@ xfpm_settings_app_launch (GApplication *app)
if (windows != NULL)
{
- DBG("window already opened, presenting it");
- gtk_window_present (GTK_WINDOW (windows->data));
+ XFPM_DEBUG ("window already opened");
+
gdk_notify_startup_complete ();
if (priv->device_id != NULL)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list