From owner-freebsd-gnome Mon Feb 4 1:28:53 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by hub.freebsd.org (Postfix) with ESMTP id BE82137B419; Mon, 4 Feb 2002 01:28:34 -0800 (PST) Received: from vova by vbook.express.ru with local (Exim 3.33 #1) id 16XfQS-0000PM-00; Mon, 04 Feb 2002 12:28:36 +0300 To: FreeBSD-gnats-submit@freebsd.org Subject: gnome panel swallow applet do not actual swallow aplications From: Vladimir B.Grebenschikov Reply-To: Vladimir B.Grebenschikov Cc: gnome@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: Date: Mon, 04 Feb 2002 12:28:36 +0300 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Submitter-Id: current-users >Originator: Vladimir B. Grebenschikov >Organization: SWsoft >Confidential: no >Synopsis: gnome panel swallow applet do not actual swallow aplications >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 5.0-CURRENT i386 >Environment: System: FreeBSD vbook.express.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #10: Fri Dec 28 19:17:02 MSK 2001 root@walder.asplinux.ru:/usr/obj/ext/current/src/sys/VBOOK i386 some packages installed: gnomebasic-0.0.20 Provide Visual Basic compatible functionality for GNOME, es gnomelibs-1.4.1.4 Libraries for GNOME, a GNU desktop environment gnomecore-1.4.0.6 Core component for the Gnome Desktop Environment sawfish-gnome-1.0.1 Lisp configurable window manager gtk-1.2.10_3 Gimp Toolkit for X11 GUI gtk-engines-0.12_1 Theme engine for gtk+ toolkits gtkglarea-1.2.2 An OpenGL widget for the GTK+ GUI toolkit gtkhtml-1.0.1 Lightweight HTML rendering/printing/editing engine gtkmm-1.2.8 C++ wrapper for gtk, a x11 graphics library guile-gtk-0.20_1 Guile binding library for GTK+ py-gtk-0.6.9 A set of Python bindings for GTK rep-gtk-gnome-0.15_1 GTK+ binding for rep Lisp interpreter XFree86-libraries-4.1.0_1 XFree86-4 include/(shared) library kit window manager used - sawfish >Description: After some digging into pannel code I have found that in /usr/ports/x11/gnomecore/work/gnome-core-1.4.0.6/panel/xstuff.c static void try_checking_swallows (GwmhTask *task) { GList *li; if (!task->name) return; for (li = check_swallows; li; li = li->next) { Swallow *swallow = li->data; if (strstr (task->name, swallow->title) != NULL) { swallow->wid = task->xwin; gtk_socket_steal (GTK_SOCKET (swallow->socket), swallow->wid); check_swallows = g_list_remove (check_swallows, swallow); break; } } } gtk_socket_steal is called, and more if I set some size and application allow resize (xload for example) application window is resized, but not swallowed. >How-To-Repeat: PanelMenu -> AddToPanel -> SwallowedAplication enter in dialogue box: ------------------- Title: wmnet Programm: wmnet Width: 64 Heigh: 64 ------------------- After this aplication (wmnet) is started but not swallowed >Fix: Don't know :( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message