Nice popups for every toolbar

In the Go-oo team, we wanted to refactor some toolbar popups to tend to some general look. The following screenshots give a good idea of the differences between those popups.Differences between the toolbars

Then I changed the popup windows by something looking more like the third of the above screenshots. For some popups I even removed the menu to use normal dialog controls: the effect was pretty awful with the OpenSuse 11.2 default GTK theme (with black menus). Here are some screenshots to better realize what has changed, though there are other refactored popups…Some changed toolbars

The patch has been committed to ooo-build master branch, but is not yet applied as there are still some crashes to fix when reopening the toolbar.

[del.icio.us] [Digg] [dzone] [Facebook] [Furl] [Google] [Newsvine] [Slashdot] [StumbleUpon] [Technorati] [Yahoo!]

Tags:

COOoder windows bug is fixed

Everything is in the title. You can download the 1.1.2 version containing the fix from the usual place on the OOo extensions website.

Many thanks for your patience and enjoy the new release.

[del.icio.us] [Digg] [dzone] [Facebook] [Furl] [Google] [Newsvine] [Slashdot] [StumbleUpon] [Technorati] [Yahoo!]

Dotted border types in Calc and Writer

As this has often heard people complaining about the lack of dotted and dashed line types in Calc and Writer, I have started to implement it (139 votes on i#8275). Kohei told me that these line types are heavily used by the Japanese administration in their forms. Even thought I am in the early development of this feature, this post exposes the progress.

What is working:

  • Dotted lines have been added to the border types selection list and the border selection control has been updated according to it.
  • Writer tables and Calc now show dotted lines as well as the other writer objects supporting borders (frames, pictures or pages for example).
  • Some ugly display in the border selection control has been fixed (i#86716)

What still has to be done:

  • Loading (saving) the dotted lines style from (to) the different file formats
  • Make the current changes more generic to support other kinds of lines like dashed lines.

This is one step to improve the interoperability with Word and Excel documents, but only the dashed and dotted types will be handled as the others can’t be stored in OpenDocument. ODF uses the XSL-FO border style…

Now here is the time for the screenshots:

Dotted borders in Calc

Dotted borders in Calc

Dotted borders in writer

Dotted borders in writer

Here are two screenshots to compare the borders format dialog before and after the fix.

Border format dialog before the fix

Border format dialog before the fix

Border format dialog with the fix

Border format dialog with the fix

Given the fact that the development is still not finished, there is still no patch available, but please be patient: it will come soon…

EDIT: the patch is available on Go-oo git repository.

[del.icio.us] [Digg] [dzone] [Facebook] [Furl] [Google] [Newsvine] [Slashdot] [StumbleUpon] [Technorati] [Yahoo!]

Tags:

New export wizard for ooeclipse

During the last days, I have started to rework the export wizard of OOEclipse. There are several reasons for this change:

  • Getting rid of the package.properties file and replace it by the manifest.xml file.
  • Better fit the Eclipse UI standards
  • Propose the user to generate scripts to build the project without Eclipse. Ant scripts would be generated for Java projects, Makefiles for C++ projects.

The package.properties file in its current form is a barrier to  any fully Eclipse-independent build system. This would require to add some extra target to Ant in order to generate the manifest.xml file. In the next version the package.properties file won’t be generated anymore, but there will be an action in the context menu to convert it to manifest.xml in order to migrate the projects to the new structure.

This new version of the wizard was also the occasion to refactor some parts of the language extension point: that code isn’t really clean at the moment. The code of those changes is already committed and pushed to Git, but I didn’t remove the legacy wizard yet. Most of the UI code is already written: the missing part to implement is the actual export.

Here are some screenshots of the two pages of the new export wizard for a Java project. The langage specific part is the second half of the second page.

Page 1

Page 1

Page 2

Page 2

[del.icio.us] [Digg] [dzone] [Facebook] [Furl] [Google] [Newsvine] [Slashdot] [StumbleUpon] [Technorati] [Yahoo!]

Tags:

Changing Gnome language for NX connections

A colleague of mine kindly opened me an access to one of his machines using the NX Client from nomachine.com. It works nicely, but I had some troubles to get Gnome speak something else that the default language of the machine (Czech). I tried various solutions including the definition of .dmrc file setting the language to the fr_FR.UTF-8 locale… but nothing changed the language. I finally found a solution that I’m writing it here to avoid forgetting it; it may also help a few persons as well.

The solution is composed of two steps:

  1. Create a small script on the remote machine to launch gnome in the desired language
  2. Change the command to run by NX Client on the local machine

The launch script

Here is the script I wrote on the remote machine, this is the ~/bin/gnome-fr file:

#!/bin/sh
export LANG=fr_FR.UTF8
/usr/bin/dbus-launch --exit-with-session gnome-session

The NX client configuration

Set the Desktop configuration to Custom instead of Gnome and click on the Settings… button.

  • Choose the option Run the following command
  • Input the path to your script file, in my case: ~/bin/gnome-fr
  • Choose the New virtual desktop option in the bottom part of the dialog

Here is a screenshot to better understand this configuration:

NX Client configuration

NX Client configuration

[del.icio.us] [Digg] [dzone] [Facebook] [Furl] [Google] [Newsvine] [Slashdot] [StumbleUpon] [Technorati] [Yahoo!]

Tags:

Bad Behavior has blocked 310 access attempts in the last 7 days.