Re: Fw: new release

Frédéric <[email protected]> Sat, 14 Oct 2006 22:05:11 +0200
Newsgroups gmane.comp.gnome.apps.gqview.devel
Organization Home
Message-ID <[email protected]>
On Saturday 14 October 2006 21:57, John Ellis wrote:

> Sorry, I forgot about that. You could also change the function:
>
> void editor_reset_defaults(void)
> {
>    gint i;
>
>    for (i = 0; i < GQVIEW_EDITOR_SLOTS; i++)
>       {
>       g_free(editor_name[i]);
>       g_free(editor_command[i]);
>       if (i < sizeof(editor_slot_defaults) / 2)
>          {
>          editor_name[i] = g_strdup(_(editor_slot_defaults[i * 2]));
>          editor_command[i] = g_strdup(editor_slot_defaults[i * 2 + 1]);
>          }
>       else
>          {
>          editor_name[i] = NULL;
>          editor_command[i] = NULL;
>          }
> }

Yes, this is better.

> The main menu is in layout_util.c as menu_entries[] and
> menu_ui_description[]. If you look you can see that the top level
> branches of the main menu are fixed, the only dynamic portion is the
> recent files submenu.
>
> To add editor slots above 10, it would be easiest to create a submenu
> built in the same way as recent files for the remaining editor slots.

Ok, I'll do that. Thanks :o)

-- 
   Frédéric

   http://www.gbiloba.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Gqview-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gqview-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBFMUL7YSjuFMxF2CgRAqWnAJ9IcX3iOAPO9q04J0VolqraHy7fUgCeM61G
teOVRA7+lIkTlTnGLKuSUtk=
=7KPs
-----END PGP SIGNATURE-----