]> git.street.me.uk Git - andy/viking.git/blobdiff - src/viktrwlayer_analysis.c
Add Refresh to consider reloading a Mapnik Rendering configuration.
[andy/viking.git] / src / viktrwlayer_analysis.c
index 429cf1342c682ef4c736f87be03c258ff954ee9d..47e229e7cd36b807a1dee619284e132b728ccd32 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "viking.h"
 #include "viktrwlayer_analysis.h"
+#include "ui_util.h"
 
 // Units of each item are in SI Units
 // (as returned by the appropriate internal viking track functions)
@@ -213,7 +214,7 @@ static GtkWidget *create_layout ( GtkWidget *content[] )
 {
        int cnt = 0;
        for ( cnt = 0; cnt < G_N_ELEMENTS(label_texts); cnt++ )
-               content[cnt] = gtk_label_new ( NULL );
+               content[cnt] = ui_label_new_selectable ( NULL );
 
        return create_table (cnt, label_texts, content);
 }
@@ -503,7 +504,7 @@ static void analyse_close ( GtkWidget *dialog, gint resp, analyse_cb_t *data )
  * Returns: The dialog that is created to display the analyse information
  */
 GtkWidget* vik_trw_layer_analyse_this ( GtkWindow *window,
-                                        gchar *name,
+                                        const gchar *name,
                                         VikLayer *vl,
                                         gpointer user_data,
                                         VikTrwlayerGetTracksAndLayersFunc get_tracks_and_layers_cb,