FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 05-24-2012, 02:30 PM
Chris Lumens
 
Default Make TimezoneMap better suitable for testing

> When testing, we need to set the location of the bitmaps our TimezoneMap is
> using, so let it try to get the location from the environment.

Have you also verified this works in a package build?

> diff --git a/widgets/src/tz.c b/widgets/src/tz.c
> index 5173808..ca42f8c 100644
> --- a/widgets/src/tz.c
> +++ b/widgets/src/tz.c
> @@ -41,6 +41,17 @@ static void sort_locations_by_country (GPtrArray *locations);
> static gchar * tz_data_file_get (void);
> static void load_backward_tz (TzDB *tz_db);
>
> +gchar *get_widgets_datadir() {
> + gchar *env_value;
> +
> + env_value = getenv("ANACONDA_WIDGETS_DATA");
> + if (env_value == NULL)
> + //defined in the widgets/src/Makefile.am

Please don't use this style of comment.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 03:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org