Christophe Fergeau | 22 Jan 21:01
Picon

Wake Up World! Meet the New Boss, Same as the Old Boss

If you want to know who the real establishment is in America and around the world, the real power behind the
so-called ''military-industrial complex'', the real maleficent power that has led this world to
inexorable conflict, war, hatreds, destruction of real human values, morality, conscience — it is the
global media establishment.

This same media witnessed the Zionist slaughter of 1,300 people in Gaza, and the maiming of 6,000 more, half
of them women and children. More than 20,000 homes and buildings were destroyed or damaged and thousands
became homeless. This horrendous mass slaughter of Palestinians is compared to the loss of 3 Israeli
civilians. Yet, the media never dare to call this slaughter exactly what it is: terrorism on a horrendous
scale! This same American and global media has not informed the American people or the people of the world
of the damning truth about Barack Obama.

In truth, Obama is a complete creation of extremist Jewish Zionists and he has already begun to serve Israel
by his top appointments.

The Jewish-dominated media in America is promoting the Obama inauguration as akin to the Second Coming of
Jesus Christ. (If you question Jewish control of the media read Who Runs the Media? and you will find
documentation proving the Jewish control being far greater than you might suspect) The rest of the
world’s powerful media (Which also has a powerful Jewish presence in the UK, France, Spain, Sweden,
Russia, and the rest of Europe) takes its cues from the NY/Hollywood media axis, and presents Obama as kind
of a superhuman agent of real change.

In fact, it is a Huge Lie!

Obama is completely controlled by the same forces that have controlled George Bush, so much so that The
Chicago Tribune quotes leading Jews bragging that Obama is so in the hands of the Zionists that he is ''the
first Jewish President.'' Obama received about 80 percent of the Jewish vote in the United States!

The Three critical things that made Obama President:

(Continue reading)

marek | 28 Jun 09:12
Picon
Favicon

row height in tree and grid components

Hi everybody, could you help me please?
How could I change the row height in tree or grid (table) component in gnome?
Please see attached screenshots. There you can see differences between MS Windows components and Gnome components.
In both screenshots is used well known Eclipse IDE as example.
I would like to change row height in Gnome because there is a lot of unused space between rows. I tried a lot of
Gnome themes but no one change this height, so I am not sure if this height can be changed by Gnome theme.

thanks a lot
marek
_______________________________________________
gnome-components-list mailing list
gnome-components-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-components-list
Grahame Bowland | 8 May 10:52
Gravatar

Bonobo activation: new library to old bonobo-activation-server

Hi guys

I'm having trouble getting libbonobo-activation (from bonobo 2.18.0)
to talk to bonobo-activation-server from bonobo-action 2.2.2. I've got
some software that uses a newer libgnome, and thus we've included the
required libraries and RPATHed the executable.

I'm trying to get that software to run with the
bonobo-activation-server from RHEL3 and not getting anywhere. It does
work with the bonobo-activation-server on Fedora Core 3 (2.8.0).

The component does show up in:
 bonobo-activation-run-query "has(repo_ids, 'IDL:Bonobo/Unknown:1.0'"
and stracing our program trying to launch it I see
bonobo-activation-server read the .server file in. I get the
mysterious message:
 Couldn't find which child the server was listed in
which I've no idea about :-)

Any help would be great!

Thanks
Grahame
Picon
Favicon

When a bonobo call is executed in my object?

Hi,

When my object is running it's executing a lot of computations. When
this object receive a bonobo call, how it's processed? Can someone
explaim how is the flow from the client call until my code?

Thanks.
--

-- 
Carlos Eduardo Rodrigues Diógenes
Ariel Rios | 3 May 22:23
Picon

Enabling IPv4 on orbit2

How do I enable IPv4 on orbit2. I don't see a configuration flag to do
this. I only find src/orb/orb-core/corba-orb.c:

#ifdef G_OS_WIN32
static gboolean     orbit_use_ipv4           = TRUE;
#else
static gboolean     orbit_use_ipv4           = FALSE;
#endif

So I assume I only have to put that FALSE into a TRUE and I'll be happy?

thanks
ariel
aparna.nand | 4 Mar 07:19

Activation of remote objects

Does bonobo support using of remote objects. I have the IOR of the object on the remote machine and machines IP address. Bonobo is also activated on the remote object. I want to query the remote object . How do I tell bonobo to query the remote object instead of the local object (I dont see a provision to specify OAFAID in configuration)? Any help on this will be appreciated.

_______________________________________________
gnome-components-list mailing list
gnome-components-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-components-list
michael meeks | 7 Feb 12:36
Picon
Favicon

GTK_MODULE (G)Option breakage & init ordering ...

Hi there,

	So - I've been chasing a rather interesting bug:

		 "GNOME hangs on login with a11y enabled"

	Of course - clobbering the proximate cause: gnome-session activating
vino-server synchronously works around this nicely; but there is a
deeper problem:

	When bonobo-activation-server spawns a process; it requires that
process to send back to the parent an IOR reference on a given
file-descriptor - specified in the arguments. If this is not found, the
server registers another way [ as if it were run by hand ]. So - far so
good.

	Like other libraries - bonobo has a double-init guard; so these
arguments need to get to the 1st 'bonobo_init' call; otherwise we
potentially never get the --oaf-ior-fd=NN argument, and bad things
happen[1].

	So - in the 'bad old days' (gtk-2.4) - this worked beautifully. When
you enable a11y you do:

	export GTK_MODULES=gail:atk-bridge

	The arguments passed to gtk_init got dupped, and subsequently passed to
gtk_module_init and onwards to libbonobo & the registration all passed
away nicely.

	Unfortunately - the introduction of GOption clobbered all GtkModule
argument passing; and ensures that no GtkModule gets anything but a
0/NULL argc/argv cf.

	gtkmain.c (do_post_parse_initialization)

	Also - I see no mechanism for allowing modules to register their own
arguments [ though presumably that'd be fairly easy with the new
GOptions framework ]. So; that can't be used to fix this either :-)

	So ... in the absence of any blindingly brilliant solutions, or
suggestions, or corrections :-) there are 2-3 possible solutions:

	* every app need retro-fitting to reflect the underlying
	  functionality change: to call bonobo_init before
	  gtk_init [urgh - very sub-optimal].

	* add more code to libbonobo to try to 'do better' on
	  a 2nd init with more argument data - ie. re-parse the
	  relevant arguments.

	* we have to propagate the pipe name / argument to the
	  child process via a (presumably reliable) environment
	  variable instead of an argument.

	I guess we'll need one or other of the latter two; perhaps the argument
re-parsing on 2nd init. Either way: Bill - I'm slightly amazed we havn't
seen this before - whatsup there ? :-)

	HTH,

		Michael.

[1] - like b-a-s potentially never returning a status for previous
activations on the stack, or the app itself.
--

-- 
 michael.meeks <at> novell.com  <><, Pseudo Engineer, itinerant idiot
michael meeks | 3 Feb 16:03
Picon
Favicon

bonobo_get_object_async (take 2)...

Hi Mark,

	Please find attached trivial patch to gnome-session making the vino
activation (more) truly async & hence not blocking login etc. until it's
started :-) [ should also avoid loading those pesky moniker libraries
too I think ;-] (can I/Rodrigo commit & to the stable branch too ?).

	Rodrigo is also looking at the panel which uses the same method (with
commensurate performance problems I'd guess) - hopefully we can get an
easy win there too.

	However - the root cause of this (a hang at login) seems related to
VINO: my suggested patch is here:

--- ./server/vino-shell.c
+++ ./server/vino-shell.c
@@ -50,7 +50,8 @@
   shell = g_object_new (vino_shell_get_type (), NULL);

   display_name = g_strdup (gdk_display_get_name (gdk_display_get_default ()));
-  
+
+#if 0  
   /* Strip off the screen portion of the display */
   p = strrchr (display_name, ':');
   if (p)
@@ -59,6 +60,7 @@
       if (p)
 	p [0] = '\0';
     }
+#endif

   reg_env = bonobo_activation_registration_env_set (reg_env, "DISPLAY", display_name);
   result = bonobo_activation_register_active_server (VINO_SERVER_IID,

	Briefly - why is that mangling of the DISPLAY variable necessary ? I
must confess that even without it vino fails to launch properly ;-) so
is there some cockup with gnome-session & the way it activates stuff
too ?

	Curious as to why that sort of thing might be necessary ? perhaps the
vino cvs annotations make that clear ?

	HTH,

		Michael.

-- 
 michael.meeks <at> novell.com  <><, Pseudo Engineer, itinerant idiot
--- ./gnome-session/gsm-remote-desktop.c
+++ ./gnome-session/gsm-remote-desktop.c
@@ -111,10 +111,12 @@
 }

 static void
-remote_desktop_obj_activated (Bonobo_Unknown     object,
-			      CORBA_Environment *ev,
-			      RemoteDesktopData *data)
+remote_desktop_obj_activated (CORBA_Object   object, 
+			      const char    *error_reason, 
+			      gpointer       user_data)
 {
+  RemoteDesktopData *data = user_data;
+
   g_return_if_fail (data->obj == CORBA_OBJECT_NIL);
   g_return_if_fail (data->activating == TRUE);

@@ -123,11 +125,10 @@

   if (object == CORBA_OBJECT_NIL)
     {
-      if (BONOBO_EX (ev))
+      if (error_reason)
 	{
 	  gsm_warning (G_STRLOC ": activation of %s failed: %s\n",
-		       REMOTE_DESKTOP_IID,
-		       bonobo_exception_general_error_get (ev));
+		       REMOTE_DESKTOP_IID, error_reason);
 	}
       else
 	{
@@ -213,11 +214,9 @@

   setup_per_display_activation ();

-  bonobo_get_object_async (REMOTE_DESKTOP_IID,
-			   "IDL:Bonobo/Unknown:1.0",
-			   &ev,
-			   (BonoboMonikerAsyncFn) remote_desktop_obj_activated,
-			   data);
+  bonobo_activation_activate_from_id_async
+      ( REMOTE_DESKTOP_IID, 0,
+	&remote_desktop_obj_activated, data, &ev );

   if (BONOBO_EX (&ev))
     {
_______________________________________________
gnome-components-list mailing list
gnome-components-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-components-list
Davyd Madeley | 23 Nov 07:22
Picon

getting the PID from a listener callback

In gnome-terminal:

A listener is being registered with bonobo_listener_new() which calls
the appropriate callback (terminal_new_event).

Is it possible to get the PID of the client from inside that callback (I
want to copy environ out of the client's PID).

--d

--

-- 
Davyd Madeley

http://www.davyd.id.au/
08B0 341A 0B9B 08BB 2118  C060 2EDD BB4F 5191 6CDA
Kutloisiso Mona | 28 Sep 16:10
Picon
Picon
Favicon

Gnumeric component

Hi

Can one embed a gnumeric component to edit a spreadsheet, i.e. are there 
any methods that have been implemented for editing.

Kutloisiso
Kutloisiso Mona | 25 Sep 12:26
Picon
Picon
Favicon

gnumeric component

Hi Again

I have managed to embed a gnumeric component into a gtk application. Is 
the component only a viewer, I am unable to edit. Has the component been 
implemented as a viewer only. Here is the code I am using: I dont

#include <bonobo.h>
#include <glib.h>
#include <gnome.h>

static Bonobo_PropertyBag      prop_bag = CORBA_OBJECT_NIL;
static GtkWidget               *bonobo_win;
static    CORBA_Environment ev;
static    BonoboControlFrame *control_frame;
static    Bonobo_Control gnumericControl;

/*
 * close the app, but clean up things first
 */
static void on_destroy  (GtkWidget *app, BonoboUIContainer *uic)
{
    if (uic)
        bonobo_object_unref (BONOBO_OBJECT (uic));

        if (prop_bag != CORBA_OBJECT_NIL)
                bonobo_object_release_unref (prop_bag, CORBA_OBJECT_NIL);
    bonobo_control_frame_control_deactivate(control_frame);
    bonobo_object_release_unref(gnumericControl,CORBA_OBJECT_NIL);
    bonobo_main_quit();
}

static gboolean s_entry_activated(GtkWidget * wgnumericEntry, gpointer p)
{
    gchar *command;
    gchar ** ptr;
    gchar s_command[100];
    gint n;
    command = (gchar *) gtk_entry_get_text (GTK_ENTRY (wgnumericEntry));
    printf("command is %s \n",command);
    ptr = g_strsplit(command," ",100);
    n = 0;
    while(ptr[n] != NULL)
    {
        n++;
    }
    if(n > 1)
    {
        if(strcmp(ptr[0],"load-file") == 0)
        {
            bonobo_pbclient_set_string(prop_bag,
                        "gnumericWidget--load-file",
                        (gchar *) ptr[1], &ev);
        }
    }
    else if(strcmp(ptr[0],"cursoron") == 0)
    {
        bonobo_pbclient_set_boolean(prop_bag,
                    "gnumericWidget--cursoron", TRUE, &ev);
    }
    else if(n=1)
    {
        strcpy(s_command,"gnumericWidget--");
        strcat(s_command,command);
        printf("command sent is %s \n",s_command);
        bonobo_pbclient_set_boolean(prop_bag,
                    s_command,
                    TRUE, &ev);
    }       
#if 0
//    else
//    {
//        bonobo_property_bag_client_set_value_string (prop_bag,
//                                                
 "AbiWidget::invoke_noargs",(gchar *) command,NULL);
//    }
#endif
    g_strfreev (ptr);
    return FALSE;
}

/*
 * Create the container frame, the control, the property bag and the
 * surrounding GTK nicities.
 */
static guint create_app (char *gnumeric_file)
{
    GtkWidget *box, *control, *button;
    GtkWidget * frame1;
    GtkWidget * hseparator1;
    BonoboUIContainer *uic;
    GtkWidget * hboxEntry;
    GtkWidget * gnumericCommandLabel;
    GtkWidget * wGnumericEntry;
    GtkWidget* gmoniker;

    /*
     *  Now acquire a property bag.
     *  The property bag is associated with the control frame, so get a
     *  control frame first
     */
    CORBA_exception_init (&ev);

    /* Create a bonobo application (window) */
    bonobo_win = bonobo_window_new ("gnumeric_control",
                    "A container for Gnumeric");
    gtk_widget_set_usize (GTK_WIDGET(bonobo_win), 600, 600);

    /* Connect a ui container to the application */
    uic = bonobo_window_get_ui_container (BONOBO_WINDOW (bonobo_win));
    //uic = bonobo_ui_container_new ();
    //bonobo_ui_container_set_win (uic, BONOBO_WINDOW(bonobo_win));
    /* Get our remote control */
    //gnumericControl = bonobo_get_object ("OAFIID:GNOME_Gnumeric_Workbook",
//
    //            "Bonobo/Control", &ev);

    control =  bonobo_widget_new_control (
                  "file:/home/kmona/test.gnumeric", BONOBO_OBJREF(uic));
    if (BONOBO_EX (&ev) || (control == CORBA_OBJECT_NIL))
    {
        g_error("Can't get the Gnumeric Control\n");
        return FALSE;
    }

    /* Get a widget, containing the control */
    //control = bonobo_widget_new_control_from_objref(gnumericControl,
    //                        BONOBO_OBJREF (uic));
    if (!control)
    {
        g_error ("Can't create control\n");
        return FALSE;
    }
    gtk_widget_show(control);

    control_frame = bonobo_widget_get_control_frame 
(BONOBO_WIDGET(control));
    if (!control_frame)
    {
        g_error ("Can't find control frame\n");
        return FALSE;
    }
    prop_bag = bonobo_control_frame_get_control_property_bag 
(control_frame, NULL);
    if (prop_bag != CORBA_OBJECT_NIL) {
            /* Set editable property */
            bonobo_pbclient_set_boolean(prop_bag, "bonobo:editable", 
TRUE, NULL);
            //DEBUGM("viewer: set editable to false\n");
    }

    /* Now, get a ref to the property bag */
    //prop_bag =Bonobo_Control_getProperties(gnumericControl, &ev);
    /*prop_bag = bonobo_control_frame_get_control_property_bag 
(control_frame, &ev);
    if (prop_bag == CORBA_OBJECT_NIL)
    {
        //g_error ("Can't connect to property bag\n");
        //return FALSE;
    }*/
    //GList * keyValues = bonobo_pbclient_get_keys (prop_bag, &ev);
    /*GList * curVal = g_list_first(keyValues);
    int i = 0;
    while(curVal)
    {
        printf("Key %d  value %s \n",i,curVal->data);
        curVal = g_list_next(curVal);
        i++;
    }*/
    /* Build the gtk support structure. */

    box = gtk_vbox_new (FALSE, 0);
    gtk_widget_show(box);
    bonobo_window_set_contents (BONOBO_WINDOW(bonobo_win), box);

     frame1 = gtk_frame_new ("GnumericControl");
    gtk_widget_show (frame1);
    gtk_box_pack_start (GTK_BOX (box), frame1, TRUE, TRUE, 0);
    gtk_frame_set_label_align (GTK_FRAME (frame1), 0.04, 0.5);
    gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_ETCHED_OUT);

    hseparator1 = gtk_hseparator_new ();
    gtk_widget_show (hseparator1);
    gtk_box_pack_start (GTK_BOX (box), hseparator1, FALSE, FALSE, 0);

    /* Add the gnumeric Widget to our app */
    gtk_container_add (GTK_CONTAINER (frame1), control);

    /* Create an entry so we can play with the widget. */
    hboxEntry = gtk_hbox_new(FALSE,0);
    gtk_widget_show(hboxEntry);
    gtk_box_pack_start (GTK_BOX (box), hboxEntry, FALSE, FALSE, 0);

    gnumericCommandLabel = gtk_label_new("GnumericWidget Command: ");
    gtk_widget_show(gnumericCommandLabel);
    gtk_box_pack_start (GTK_BOX (hboxEntry), gnumericCommandLabel, TRUE, 
TRUE, 0);

    wGnumericEntry = gtk_entry_new();
    gtk_widget_show(wGnumericEntry);
    gtk_box_pack_start (GTK_BOX (hboxEntry), wGnumericEntry, TRUE, TRUE, 0);
    g_signal_connect(G_OBJECT(wGnumericEntry),
                       "activate",
                       G_CALLBACK(s_entry_activated),
                       (gpointer) NULL);

    /* Create a "close" button and add it to the app */
    button = gtk_button_new_with_label ("close");
    gtk_box_pack_start(GTK_BOX (box), button, FALSE,FALSE,0);
    g_signal_connect (G_OBJECT(button), "clicked",
                G_CALLBACK(on_destroy), NULL);

    /* Create a 'destroy' handler, so we can clean things up */
    g_signal_connect (G_OBJECT(bonobo_win), "destroy", 
G_CALLBACK(on_destroy), uic);

    /* OK Boris let her rip!!! */
    gtk_widget_show_all (GTK_WIDGET(bonobo_win));

    /* Load a file in the control */
    if(prop_bag != CORBA_OBJECT_NIL)
    {
        /*bonobo_pbclient_set_string(prop_bag,
                        "GnumericWidget--load-file",
                        abw_file, &ev);*/
    }

    return TRUE;
}

int
main (int argc, char** argv)
{

    gnome_init("Gnumeric-test-container", "0.0",
                     argc, argv);
    if (!bonobo_init (NULL, NULL))
        g_error ("could not initialize Bonobo");

    if(gnome_vfs_init () == FALSE)
        g_error (_("Could not initialize GnomeVFS!\n"));

    /*if (argc != 2)
    {
        printf("Usage: test-gnumericContainer <file.abw>\n");
        return 1;
    }*/

    /*
     * We can't make any CORBA calls unless we're in the main
     * loop.  So we delay creating the container here.
     */
    if (!create_app(argv[1]))
        return 1; /* Emergency bailout */

    bonobo_main ();

    return 0;
}

Kutloisiso

Gmane