Re: [Gtk-osx-users] Did ige-mac-integration changed in the latest 2.20 release [WAS: (no subject) :S ]



aaarrrrrrrggggg.......

I had cleaned up the the make file to take out all the other junk I had built in, amongst them was the ige-mac-integration option to pkg-config.

As always John your crystal ball has spoken true ")



From: jralls ceridwen us
Date: Mon, 27 Sep 2010 12:23:14 -0700
To: gtk-osx-users lists sourceforge net
Subject: Re: [Gtk-osx-users] Did ige-mac-integration changed in the latest 2.20 release [WAS: (no subject) :S ]


On Sep 27, 2010, at 11:15 AM, Shawn Bakhtiar wrote:


Ok... I know we've talked about this, but I forgot what the change were, and if they have already happened...

I am now compiling our app using GTK+-2.20 (used the website script) in 10.5 i386 mode (can't get our app to work in 64bit), and I even have double made sure I have the ige-mac-integration via jhbuild, but my menu is showing up in my window, instead of being integrated into menu bar. I know there has been a lot of talk about GTKApplication (which I support greatly) did I miss the boat. Did the implementation for the integration change, and I did not catch it?


What am I missing, the website still looks the same.


I'm still using the old:



#ifdef MAC_INTEGRATION


void
isi_display_activate_quartz(IsiDisplay *self){


     /* Sanity Check */
    g_return_val_if_fail(self != NULL, NULL);

    /* Check for valid toolbar */
    if ( self->priv->menubar == NULL )
         self->priv->menubar = gtk_menu_bar_new();

    gtk_widget_hide(self->priv->menubar);

    ige_mac_menu_set_menu_bar(GTK_MENU_SHELL(self->priv->menubar));
    
    
     GtkMenuItem * quit_item = gtk_menu_item_new_with_label ("Quit");
      g_signal_connect (quit_item, "activate", G_CALLBACK (isi_display_widget_quit), self);
     ige_mac_menu_set_quit_menu_item (GTK_MENU_ITEM (quit_item));
 
 
  self->priv->igedock = ige_mac_dock_new ();
  g_signal_connect (self->priv->igedock,
                    "clicked",
                    G_CALLBACK ( isi_display_diconify ),
                    self);
  g_signal_connect (self->priv->igedock,
                    "quit-activate",
                    G_CALLBACK (isi_display_widget_quit),
                    self);
return;}

#endif




    /* TESTING: IMAC Quarts integration */


void self_foo_function(){


#ifdef MAC_INTEGRATION
    
    isi_display_activate_quartz(self->display);

#endif


return
}


GtkOSXApplication has been in ige-mac-integration for several months, but ige_mac_menu is still there. Is this something that used to work, or is it new? Did you include the necessary configure macros to define MAC_INTEGRATION?

Regards,
John Ralls


------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Gtk-osx-users mailing list Gtk-osx-users lists sourceforge net https://lists.sourceforge.net/lists/listinfo/gtk-osx-users






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]