Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2002 12:28:36 +0300
From:      "Vladimir B.Grebenschikov" <vova@sw.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@freebsd.org
Subject:   ports/34603: gnome panel swallow applet do not actual swallow aplications
Message-ID:  <E16XfQS-0000PM-00@vbook.express.ru>

next in thread | raw e-mail | index | archive | help

>Number:         34603
>Category:       ports
>Synopsis:       gnome panel swallow applet do not actual swallow aplications
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 04 01:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir B. Grebenschikov
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
SWsoft
>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
<Ok>
-------------------

After this aplication (wmnet) is started but not swallowed

>Fix:
Don't know :(
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16XfQS-0000PM-00>