]> git.street.me.uk Git - andy/viking.git/blobdiff - src/main.c
GObjectify VikViewportDrawMode enum
[andy/viking.git] / src / main.c
index 0c9e032402ab158b70b51f9a0dccbfd0d2d4f605..017b27ab7f60cde9e0ea6845ee061c2a1d696893 100644 (file)
@@ -113,6 +113,7 @@ static void open_window ( VikWindow *vw, const gchar **files )
 /* Options */
 static GOptionEntry entries[] = 
 {
 /* Options */
 static GOptionEntry entries[] = 
 {
+  { "small_waypoint", 's', 0, G_OPTION_ARG_NONE, &vik_use_small_wp_icons, N_("Use smaller symbols for waypoints"), NULL },
   { "debug", 'd', 0, G_OPTION_ARG_NONE, &vik_debug, N_("Enable debug output"), NULL },
   { "verbose", 'V', 0, G_OPTION_ARG_NONE, &vik_verbose, N_("Enable verbose output"), NULL },
   { "version", 'v', 0, G_OPTION_ARG_NONE, &vik_version, N_("Show version"), NULL },
   { "debug", 'd', 0, G_OPTION_ARG_NONE, &vik_debug, N_("Enable debug output"), NULL },
   { "verbose", 'V', 0, G_OPTION_ARG_NONE, &vik_verbose, N_("Enable verbose output"), NULL },
   { "version", 'v', 0, G_OPTION_ARG_NONE, &vik_version, N_("Show version"), NULL },
@@ -181,7 +182,7 @@ int main( int argc, char *argv[] )
 #endif
 
   /* Set the icon */
 #endif
 
   /* Set the icon */
-  main_icon = gdk_pixbuf_from_pixdata(&viking_icon_pixbuf, FALSE, NULL);
+  main_icon = gdk_pixbuf_from_pixdata(&viking_pixbuf, FALSE, NULL);
   gtk_window_set_default_icon(main_icon);
 
   /* Create the first window */
   gtk_window_set_default_icon(main_icon);
 
   /* Create the first window */