libxfcegui4 version to try

Jasper Huijsmans jasper at xfce.org
Tue Feb 3 08:15:12 CET 2004


On Mon, Feb 02, 2004 at 10:29:28PM +0100, Benedikt Meurer wrote:
> Good evening everybody,
> 
> I finally came around to finish my work on an about dialog for xfce 
> applications (something ones one ask me to do in the pre 4.0 days, but I 
> never completed the stuff till now). The class for this is XfceAboutDialog 
> in xfce_aboutdialog.h/.c. To minimize the API for this dialog class (to 
> keep it easy to adjust), I put the data in a separate structure 
> XfceAboutInfo which is given to the XfceAboutDialog constructor, besides a 
> parent window and an optionally application icon.
> 

Very nice. I will put API in the panel for plugins to provide an about
dialog. I also very much like the idea of putting the license texts in
libxfce4util.

> Attached to this mail are 3 screenshots showing how the about dialog looks 
> like (in case of the session manager).
> 
> The attached tarball requires latest libxfce4util to work, as I moved the 
> licenses to libxfce4util to not require the user to install xfce-utils just 
> to get the license texts showing.
> 
> The XFce version ("XFce 4.1.4") string you see on the screenshots is 
> currently taken from the libxfcegui4 VERSION macro. This is one thing I'd 
> like to get rid of. I'd like to see a function xfce_get_version_string() or 
> similar in libxfce4util that returns a) either the libxfce4util VERSION, 
> replacing xfce-utils as the "Version package" (which makes more sense to 
> me, since libxfce4util has to be installed in any case, whereas xfce-utils 
> is optinal), or b) adding a special version string to libxfce4util - set 
> from configure.ac - that tells the XFce version number, which can then be 
> different from the version number of the libxfce4util package. Olivier, 
> Jasper, Edscott, Botsie, what do you think? a), b) or another way?
> 

The "XFce" version is a bit difficult to define, since it refers to a
release of all packages. That's why I put it in xfce-utils. As I said
before, I'd like to see that renamed to xfce4-common with the optional
stuff removed (taskbar), so that an XFce system will depend on it, even
if the separate components don't necessarily need it.

We could also simply forget about the overall XFce version and use the
component's version everywhere.

	Jasper



More information about the Xfce4-dev mailing list