[X2Go-Commits] [mteleplayer] 29/29: mTP GUI: use gtk_window_present() instead of gtk_window_deiconify/_iconify. This is more reliable.~
git-admin at x2go.org
git-admin at x2go.org
Fri Aug 29 21:12:06 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch gzng
in repository mteleplayer.
commit 70dd645d18535d60d69f08e51d14d4974d5430de
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Aug 29 21:11:11 2014 +0200
mTP GUI: use gtk_window_present() instead of gtk_window_deiconify/_iconify. This is more reliable.~
---
serverside/bin/mteleplayer | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/serverside/bin/mteleplayer b/serverside/bin/mteleplayer
index 4b9b2db..9959e16 100755
--- a/serverside/bin/mteleplayer
+++ b/serverside/bin/mteleplayer
@@ -512,7 +512,7 @@ sub handleTheLocalSocket {
appDBugLog("##################### REINIT MTP ########################");
$sstatusi{'runState'} = "R";
print $LocalSocket "APP|RESUME|mteleplayer|$selfSID|\n";
- $GTKS{'MainAppWindow'}->iconify;$GTKS{'MainAppWindow'}->deiconify;
+ $GTKS{'MainAppWindow'}->present;
stateChangePAUSED(0);
}
@@ -726,8 +726,7 @@ sub actOnEnqueuedMEDIA {
$PlayerStatus{'currentMediaSeek'} = 0;
appCOM("MPCMD|PLAYMEDIA|$1|FILE|0|0|");
if ($_[2] eq 1) {
- $GTKS{'MainAppWindow'}->iconify;
- $GTKS{'MainAppWindow'}->deiconify;
+ $GTKS{'MainAppWindow'}->present;
}
}
$GTKS{'MainMediaEBOXGFX'}->set_from_pixbuf($GTKS{'PixBUF'}{'eyesore'});
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/mteleplayer.git
More information about the x2go-commits
mailing list